From b41c87ac6c7b1382bf13f3ac75299947ac9922c6 Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Sun, 17 May 2026 19:33:36 -0400 Subject: [PATCH] release: 2.53.0 --- CHANGELOG.md | 15 +++++++++++++++ Cargo.lock | 24 ++++++++++++------------ Cargo.toml | 18 +++++++++--------- README.md | 2 +- crates/squawk_github/src/app.rs | 2 +- flake.nix | 2 +- npm/darwin-arm64/package.json | 2 +- npm/darwin-x64/package.json | 2 +- npm/linux-arm64/package.json | 2 +- npm/linux-x64/package.json | 2 +- npm/win32-x64/package.json | 2 +- package.json | 2 +- squawk-vscode/package.json | 2 +- 13 files changed, 46 insertions(+), 31 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5065f973..bee1ca11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.53.0 - 2026-05-17 + +### Added + +- parser: validate string continuations (#1137) +- parser: improve create rule ast (#1147) + +### Changed + +- parser: update ast nodes to include their trailing semicolons (#1145, #1148) + +### Fixed + +- install: fix windows npx install bug (#1140) + ## v2.52.1 - 2026-05-12 ### Changed diff --git a/Cargo.lock b/Cargo.lock index e3720e7f..85785bd5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2434,7 +2434,7 @@ dependencies = [ [[package]] name = "squawk" -version = "2.52.1" +version = "2.53.0" dependencies = [ "annotate-snippets", "anyhow", @@ -2465,7 +2465,7 @@ dependencies = [ [[package]] name = "squawk-fmt" -version = "2.52.1" +version = "2.53.0" dependencies = [ "anyhow", "camino", @@ -2481,7 +2481,7 @@ dependencies = [ [[package]] name = "squawk-github" -version = "2.52.1" +version = "2.53.0" dependencies = [ "jsonwebtoken", "log", @@ -2492,7 +2492,7 @@ dependencies = [ [[package]] name = "squawk-ide" -version = "2.52.1" +version = "2.53.0" dependencies = [ "annotate-snippets", "etcetera", @@ -2514,14 +2514,14 @@ dependencies = [ [[package]] name = "squawk-lexer" -version = "2.52.1" +version = "2.53.0" dependencies = [ "insta", ] [[package]] name = "squawk-linter" -version = "2.52.1" +version = "2.53.0" dependencies = [ "annotate-snippets", "enum-iterator", @@ -2536,7 +2536,7 @@ dependencies = [ [[package]] name = "squawk-parser" -version = "2.52.1" +version = "2.53.0" dependencies = [ "annotate-snippets", "camino", @@ -2549,7 +2549,7 @@ dependencies = [ [[package]] name = "squawk-server" -version = "2.52.1" +version = "2.53.0" dependencies = [ "anyhow", "crossbeam-channel", @@ -2575,7 +2575,7 @@ dependencies = [ [[package]] name = "squawk-syntax" -version = "2.52.1" +version = "2.53.0" dependencies = [ "annotate-snippets", "camino", @@ -2589,7 +2589,7 @@ dependencies = [ [[package]] name = "squawk-thread" -version = "2.52.1" +version = "2.53.0" dependencies = [ "crossbeam-channel", "crossbeam-utils", @@ -2601,7 +2601,7 @@ dependencies = [ [[package]] name = "squawk-wasm" -version = "2.52.1" +version = "2.53.0" dependencies = [ "console_error_panic_hook", "console_log", @@ -3477,7 +3477,7 @@ checksum = "32ac00cd3f8ec9c1d33fb3e7958a82df6989c42d747bd326c822b1d625283547" [[package]] name = "xtask" -version = "2.52.1" +version = "2.53.0" dependencies = [ "anyhow", "camino", diff --git a/Cargo.toml b/Cargo.toml index 8dac7518..ad6a87a8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "2.52.1" +version = "2.53.0" edition = "2024" rust-version = "1.94" authors = ["Squawk Team & Contributors"] @@ -79,14 +79,14 @@ rustc-hash = "2.1.1" # local # we have to make the versions explicit otherwise `cargo publish` won't work -squawk-github = { path = "./crates/squawk_github", version = "2.52.1" } -squawk-ide = { path = "./crates/squawk_ide", version = "2.52.1" } -squawk-lexer = { path = "./crates/squawk_lexer", version = "2.52.1" } -squawk-parser = { path = "./crates/squawk_parser", version = "2.52.1" } -squawk-syntax = { path = "./crates/squawk_syntax", version = "2.52.1" } -squawk-linter = { path = "./crates/squawk_linter", version = "2.52.1" } -squawk-server = { path = "./crates/squawk_server", version = "2.52.1" } -squawk-thread = { path = "./crates/squawk_thread", version = "2.52.1" } +squawk-github = { path = "./crates/squawk_github", version = "2.53.0" } +squawk-ide = { path = "./crates/squawk_ide", version = "2.53.0" } +squawk-lexer = { path = "./crates/squawk_lexer", version = "2.53.0" } +squawk-parser = { path = "./crates/squawk_parser", version = "2.53.0" } +squawk-syntax = { path = "./crates/squawk_syntax", version = "2.53.0" } +squawk-linter = { path = "./crates/squawk_linter", version = "2.53.0" } +squawk-server = { path = "./crates/squawk_server", version = "2.53.0" } +squawk-thread = { path = "./crates/squawk_thread", version = "2.53.0" } [workspace.lints.clippy] collapsible_else_if = "allow" diff --git a/README.md b/README.md index 8f3c88a1..b6f12fbf 100644 --- a/README.md +++ b/README.md @@ -265,7 +265,7 @@ to your project's `.pre-commit-config.yaml`: ```yaml repos: - repo: https://github.com/sbdchd/squawk - rev: 2.52.1 + rev: 2.53.0 hooks: - id: squawk files: path/to/postgres/migrations/written/in/sql diff --git a/crates/squawk_github/src/app.rs b/crates/squawk_github/src/app.rs index 1c7b778a..daa0cc18 100644 --- a/crates/squawk_github/src/app.rs +++ b/crates/squawk_github/src/app.rs @@ -11,7 +11,7 @@ use serde_json::Value; use std::time::Duration; use std::time::{SystemTime, UNIX_EPOCH}; -pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.52.1"; +pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.53.0"; #[derive(Debug, Serialize)] struct CommentBody { diff --git a/flake.nix b/flake.nix index 5112ce7e..6e5c5c39 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.52.1"; + version = "2.53.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/npm/darwin-arm64/package.json b/npm/darwin-arm64/package.json index b3d12df9..feb14ba8 100644 --- a/npm/darwin-arm64/package.json +++ b/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@squawk-cli/darwin-arm64", - "version": "2.52.1", + "version": "2.53.0", "description": "squawk-cli binary for darwin-arm64", "repository": "git@github.com:sbdchd/squawk.git", "license": "(Apache-2.0 OR MIT)", diff --git a/npm/darwin-x64/package.json b/npm/darwin-x64/package.json index 877c3543..6d815655 100644 --- a/npm/darwin-x64/package.json +++ b/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@squawk-cli/darwin-x64", - "version": "2.52.1", + "version": "2.53.0", "description": "squawk-cli binary for darwin-x64", "repository": "git@github.com:sbdchd/squawk.git", "license": "(Apache-2.0 OR MIT)", diff --git a/npm/linux-arm64/package.json b/npm/linux-arm64/package.json index 7c13e261..617b6629 100644 --- a/npm/linux-arm64/package.json +++ b/npm/linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@squawk-cli/linux-arm64", - "version": "2.52.1", + "version": "2.53.0", "description": "squawk-cli binary for linux-arm64", "repository": "git@github.com:sbdchd/squawk.git", "license": "(Apache-2.0 OR MIT)", diff --git a/npm/linux-x64/package.json b/npm/linux-x64/package.json index 90cdb3aa..4ca077b5 100644 --- a/npm/linux-x64/package.json +++ b/npm/linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "@squawk-cli/linux-x64", - "version": "2.52.1", + "version": "2.53.0", "description": "squawk-cli binary for linux-x64", "repository": "git@github.com:sbdchd/squawk.git", "license": "(Apache-2.0 OR MIT)", diff --git a/npm/win32-x64/package.json b/npm/win32-x64/package.json index c50f0b62..924b31c3 100644 --- a/npm/win32-x64/package.json +++ b/npm/win32-x64/package.json @@ -1,6 +1,6 @@ { "name": "@squawk-cli/win32-x64", - "version": "2.52.1", + "version": "2.53.0", "description": "squawk-cli binary for win32-x64", "repository": "git@github.com:sbdchd/squawk.git", "license": "(Apache-2.0 OR MIT)", diff --git a/package.json b/package.json index 2f2940dd..5adaaa7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.52.1", + "version": "2.53.0", "description": "linter for PostgreSQL, focused on migrations", "repository": "git@github.com:sbdchd/squawk.git", "author": "Squawk Team & Contributors", diff --git a/squawk-vscode/package.json b/squawk-vscode/package.json index 81dd93ce..960885d9 100644 --- a/squawk-vscode/package.json +++ b/squawk-vscode/package.json @@ -12,7 +12,7 @@ "icon": "icon.png", "author": "Squawk Team & Contributors", "license": "(Apache-2.0 OR MIT)", - "version": "2.52.1", + "version": "2.53.0", "engines": { "vscode": "^1.101.0" },