From 067500c3815898500087343fe31cbdecd939613e Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Thu, 19 Mar 2026 21:06:14 -0400 Subject: [PATCH] release: 2.44.0 --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++ Cargo.lock | 24 +++++++++++----------- Cargo.toml | 18 ++++++++--------- README.md | 2 +- crates/squawk_github/src/app.rs | 2 +- flake.nix | 2 +- package.json | 2 +- squawk-vscode/package.json | 2 +- 8 files changed, 61 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1953735d..6e2710e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,41 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.44.0 - 2026-03-19 + +### Added + +- linter: add require-enum-value-ordering rule (#992). Thanks @cabello! +- linter: add cross-file validation for `NOT NULL` constraint pattern (#957). Thanks @reteps! +- parser: support postgres 18 graph language (#1010) +- parser: support new except table clause (#986) +- parser: alter type ast improvements (#993) +- playground: add code folding support (#1000) +- ide: folding range support (#999) +- ide: goto def window defs & over clauses (#994) +- ide: goto def subquery compound selects (#988) + +### Fixed + +- server: handle errors from handlers by converting to a lsp err response (#1005) +- parser: we weren't handling compound selects with extra parens (#989) + +### Changed + +- server: pull based diagnostics (#1006) + +### Internal + +- internal: replace lazy_static with std::sync::OnceLock (#1009) +- internal: HashMap -> FxHashMap, FxHashSet (#1007) +- server: refactor notification handling to embrace types (#1004) +- server: refactor request handling to embrace types (#1003) +- server: refactor lib.rs into separate files (#1002) +- ide: add thread module from rust-analyzer (#1001) +- parser: sync plpgsql test suite from postgres (#991) +- ide/playground: salsa most of the server functions (#981) +- ide: update sql stub codegen to include some extensions (#984) + ## v2.43.0 - 2026-02-28 ### Added diff --git a/Cargo.lock b/Cargo.lock index d7822a44..c3987381 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2590,7 +2590,7 @@ dependencies = [ [[package]] name = "squawk" -version = "2.43.0" +version = "2.44.0" dependencies = [ "annotate-snippets", "anyhow", @@ -2619,7 +2619,7 @@ dependencies = [ [[package]] name = "squawk-fmt" -version = "2.43.0" +version = "2.44.0" dependencies = [ "insta", "itertools 0.14.0", @@ -2629,7 +2629,7 @@ dependencies = [ [[package]] name = "squawk-github" -version = "2.43.0" +version = "2.44.0" dependencies = [ "jsonwebtoken", "log", @@ -2640,7 +2640,7 @@ dependencies = [ [[package]] name = "squawk-ide" -version = "2.43.0" +version = "2.44.0" dependencies = [ "annotate-snippets", "etcetera", @@ -2662,14 +2662,14 @@ dependencies = [ [[package]] name = "squawk-lexer" -version = "2.43.0" +version = "2.44.0" dependencies = [ "insta", ] [[package]] name = "squawk-linter" -version = "2.43.0" +version = "2.44.0" dependencies = [ "annotate-snippets", "enum-iterator", @@ -2684,7 +2684,7 @@ dependencies = [ [[package]] name = "squawk-parser" -version = "2.43.0" +version = "2.44.0" dependencies = [ "annotate-snippets", "camino", @@ -2698,7 +2698,7 @@ dependencies = [ [[package]] name = "squawk-server" -version = "2.43.0" +version = "2.44.0" dependencies = [ "anyhow", "etcetera", @@ -2721,7 +2721,7 @@ dependencies = [ [[package]] name = "squawk-syntax" -version = "2.43.0" +version = "2.44.0" dependencies = [ "annotate-snippets", "camino", @@ -2734,7 +2734,7 @@ dependencies = [ [[package]] name = "squawk-thread" -version = "2.43.0" +version = "2.44.0" dependencies = [ "crossbeam-channel", "crossbeam-utils", @@ -2746,7 +2746,7 @@ dependencies = [ [[package]] name = "squawk-wasm" -version = "2.43.0" +version = "2.44.0" dependencies = [ "console_error_panic_hook", "console_log", @@ -3654,7 +3654,7 @@ checksum = "32ac00cd3f8ec9c1d33fb3e7958a82df6989c42d747bd326c822b1d625283547" [[package]] name = "xtask" -version = "2.43.0" +version = "2.44.0" dependencies = [ "anyhow", "camino", diff --git a/Cargo.toml b/Cargo.toml index ca21076d..ea46e046 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "2.43.0" +version = "2.44.0" edition = "2024" rust-version = "1.93" authors = ["Squawk Team & Contributors"] @@ -72,14 +72,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.43.0" } -squawk-ide = { path = "./crates/squawk_ide", version = "2.43.0" } -squawk-lexer = { path = "./crates/squawk_lexer", version = "2.43.0" } -squawk-parser = { path = "./crates/squawk_parser", version = "2.43.0" } -squawk-syntax = { path = "./crates/squawk_syntax", version = "2.43.0" } -squawk-linter = { path = "./crates/squawk_linter", version = "2.43.0" } -squawk-server = { path = "./crates/squawk_server", version = "2.43.0" } -squawk-thread = { path = "./crates/squawk_thread", version = "2.43.0" } +squawk-github = { path = "./crates/squawk_github", version = "2.44.0" } +squawk-ide = { path = "./crates/squawk_ide", version = "2.44.0" } +squawk-lexer = { path = "./crates/squawk_lexer", version = "2.44.0" } +squawk-parser = { path = "./crates/squawk_parser", version = "2.44.0" } +squawk-syntax = { path = "./crates/squawk_syntax", version = "2.44.0" } +squawk-linter = { path = "./crates/squawk_linter", version = "2.44.0" } +squawk-server = { path = "./crates/squawk_server", version = "2.44.0" } +squawk-thread = { path = "./crates/squawk_thread", version = "2.44.0" } [workspace.lints.clippy] collapsible_else_if = "allow" diff --git a/README.md b/README.md index ce85d016..f4ec430f 100644 --- a/README.md +++ b/README.md @@ -252,7 +252,7 @@ to your project's `.pre-commit-config.yaml`: ```yaml repos: - repo: https://github.com/sbdchd/squawk - rev: 2.43.0 + rev: 2.44.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 375ebc6f..9f262f4b 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.43.0"; +pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.44.0"; #[derive(Debug, Serialize)] struct CommentBody { diff --git a/flake.nix b/flake.nix index b910a74d..5f3bf5a6 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.43.0"; + version = "2.44.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index e23829eb..a0921faf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.43.0", + "version": "2.44.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 6a51fbdc..dc3aad3e 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.43.0", + "version": "2.44.0", "engines": { "vscode": "^1.101.0" },