From 5aebdcf3305abb9cf3bc3b451484bdd929b09078 Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Tue, 6 Jan 2026 00:49:12 -0500 Subject: [PATCH 1/2] release: 2.36.0 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ Cargo.lock | 20 ++++++++++---------- Cargo.toml | 16 ++++++++-------- crates/squawk_github/src/app.rs | 2 +- flake.nix | 2 +- package.json | 2 +- squawk-vscode/package.json | 2 +- 7 files changed, 51 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 51111404..a085244e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.36.0 - 2026-01-06 + +### Added + +- ide: goto def support for merge (#826),(#825) +- ide: goto def truncate, lock, vacuum, alter table column, refresh (#823) +- ide: document symbol support for create view (#807) +- ide: goto def create/alter/drop server (#821) +- ide: goto def foreign tables (#820) +- ide: use previous token in more cases of punctuation (#819) +- ide: support hover with * in queries (#818) +- ide: goto def support for references column constraints & `select t.* from t;` (#817) +- ide: support find references for join using clause (#816) +- ide: goto def using clause in join (#815) +- ide: goto def for tablespace (#814) +- ide: better goto def with create table (#813) +- ide: mat view goto def/hover, agg/procedure/mat view doc symbols (#812) +- ide: better goto def support for types (#811) +- ide: composite field goto def & hover (#810) +- ide: document symbol support for CTEs (#806) +- ide: hover for views (#804) +- ide: goto def with create view (#802) +- vscode: restart server command (#808) + +### Fixed + +- ide: fix column name for special cased functions (#824) +- playground: fix dupe hover results in editor (#805) + ## v2.35.0 - 2026-01-02 ### Added diff --git a/Cargo.lock b/Cargo.lock index a95a0eb1..c635265c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1837,7 +1837,7 @@ dependencies = [ [[package]] name = "squawk" -version = "2.35.0" +version = "2.36.0" dependencies = [ "annotate-snippets", "anyhow", @@ -1866,7 +1866,7 @@ dependencies = [ [[package]] name = "squawk-github" -version = "2.35.0" +version = "2.36.0" dependencies = [ "jsonwebtoken", "log", @@ -1877,7 +1877,7 @@ dependencies = [ [[package]] name = "squawk-ide" -version = "2.35.0" +version = "2.36.0" dependencies = [ "annotate-snippets", "insta", @@ -1893,14 +1893,14 @@ dependencies = [ [[package]] name = "squawk-lexer" -version = "2.35.0" +version = "2.36.0" dependencies = [ "insta", ] [[package]] name = "squawk-linter" -version = "2.35.0" +version = "2.36.0" dependencies = [ "annotate-snippets", "enum-iterator", @@ -1915,7 +1915,7 @@ dependencies = [ [[package]] name = "squawk-parser" -version = "2.35.0" +version = "2.36.0" dependencies = [ "annotate-snippets", "camino", @@ -1929,7 +1929,7 @@ dependencies = [ [[package]] name = "squawk-server" -version = "2.35.0" +version = "2.36.0" dependencies = [ "anyhow", "insta", @@ -1949,7 +1949,7 @@ dependencies = [ [[package]] name = "squawk-syntax" -version = "2.35.0" +version = "2.36.0" dependencies = [ "annotate-snippets", "camino", @@ -1962,7 +1962,7 @@ dependencies = [ [[package]] name = "squawk-wasm" -version = "2.35.0" +version = "2.36.0" dependencies = [ "console_error_panic_hook", "console_log", @@ -2781,7 +2781,7 @@ checksum = "32ac00cd3f8ec9c1d33fb3e7958a82df6989c42d747bd326c822b1d625283547" [[package]] name = "xtask" -version = "2.35.0" +version = "2.36.0" dependencies = [ "anyhow", "camino", diff --git a/Cargo.toml b/Cargo.toml index 60ffb3e9..a7beeb8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "2.35.0" +version = "2.36.0" edition = "2024" rust-version = "1.90.0" authors = ["Squawk Team & Contributors"] @@ -61,13 +61,13 @@ smallvec = "1.13.2" # local # we have to make the versions explicit otherwise `cargo publish` won't work -squawk-github = { path = "./crates/squawk_github", version = "2.35.0" } -squawk-ide = { path = "./crates/squawk_ide", version = "2.35.0" } -squawk-lexer = { path = "./crates/squawk_lexer", version = "2.35.0" } -squawk-parser = { path = "./crates/squawk_parser", version = "2.35.0" } -squawk-syntax = { path = "./crates/squawk_syntax", version = "2.35.0" } -squawk-linter = { path = "./crates/squawk_linter", version = "2.35.0" } -squawk-server = { path = "./crates/squawk_server", version = "2.35.0" } +squawk-github = { path = "./crates/squawk_github", version = "2.36.0" } +squawk-ide = { path = "./crates/squawk_ide", version = "2.36.0" } +squawk-lexer = { path = "./crates/squawk_lexer", version = "2.36.0" } +squawk-parser = { path = "./crates/squawk_parser", version = "2.36.0" } +squawk-syntax = { path = "./crates/squawk_syntax", version = "2.36.0" } +squawk-linter = { path = "./crates/squawk_linter", version = "2.36.0" } +squawk-server = { path = "./crates/squawk_server", version = "2.36.0" } [workspace.lints.clippy] collapsible_else_if = "allow" diff --git a/crates/squawk_github/src/app.rs b/crates/squawk_github/src/app.rs index 3ca49912..8178ade7 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.35.0"; +pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.36.0"; #[derive(Debug, Serialize)] struct CommentBody { diff --git a/flake.nix b/flake.nix index 5eefcdb7..598c9ee0 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.35.0"; + version = "2.36.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index 22a26224..cb8e395d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.35.0", + "version": "2.36.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 aa027b44..55c480f6 100644 --- a/squawk-vscode/package.json +++ b/squawk-vscode/package.json @@ -9,7 +9,7 @@ "icon": "icon.png", "author": "Squawk Team & Contributors", "license": "(Apache-2.0 OR MIT)", - "version": "2.35.0", + "version": "2.36.0", "engines": { "vscode": "^1.101.0" }, From 90c36436bc0bbd3a767dbdc24d427c53b97ae1b8 Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Tue, 6 Jan 2026 01:00:55 -0500 Subject: [PATCH 2/2] lint --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a085244e..075a4d68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ide: goto def create/alter/drop server (#821) - ide: goto def foreign tables (#820) - ide: use previous token in more cases of punctuation (#819) -- ide: support hover with * in queries (#818) +- ide: support hover with `*` in queries (#818) - ide: goto def support for references column constraints & `select t.* from t;` (#817) - ide: support find references for join using clause (#816) - ide: goto def using clause in join (#815)