Skip to content

chore: modernize release workflow and expand README#6

Open
dsherret wants to merge 4 commits into
mainfrom
chore/modernize-ci-and-readme
Open

chore: modernize release workflow and expand README#6
dsherret wants to merge 4 commits into
mainfrom
chore/modernize-ci-and-readme

Conversation

@dsherret
Copy link
Copy Markdown
Member

Summary

  • Bump release.yml to use jsr:@dprint/automation@0.10.3/tasks/publish-release.
  • Expand README with a proper Install section covering both dprint add sql and dprint add npm:@dprint/sql.

Test plan

  • CI passes on this branch.

dsherret added 4 commits May 23, 2026 16:14
- Bump release.yml to use jsr:@dprint/automation@0.10.3/tasks/publish-release
- Expand README with proper Install section covering both
  `dprint add sql` and `dprint add npm:@dprint/sql`
Previously update.ts only bumped the sqlformat version in Cargo.toml.
If sqlformat ever raises its declared rust-version above what's in
rust-toolchain.toml, CI would silently end up trying to compile newer
sqlformat on the old toolchain. Match what dprint-plugin-ruff already
does: fetch the new sqlformat crate version's rust_version from
crates.io and bump rust-toolchain.toml to match (only ever upgrading;
never downgrading).
Aligns with how dprint-plugin-ruff's update.ts already calls crates.io —
$.request auto-throws on non-2xx and `.json()` returns the parsed body
in one call, so the manual response.ok checks go away. Custom User-Agent
is set via `.header(...)`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant