From 252c3a087f38284c118e527262c9dce8e7d523d7 Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Sat, 28 Feb 2026 12:18:09 -0500 Subject: [PATCH] release: 2.43.0 --- CHANGELOG.md | 22 ++++++++++++++++++++++ Cargo.lock | 22 +++++++++++----------- Cargo.toml | 16 ++++++++-------- README.md | 2 +- crates/squawk_github/src/app.rs | 2 +- flake.nix | 2 +- package.json | 2 +- squawk-vscode/package.json | 2 +- 8 files changed, 46 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b3c9b4e..1953735d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.43.0 - 2026-02-28 + +### Added + +- ide: quick action for `timestamp with out timezone` to `timestamptz` (#976) +- ide: goto def for create aggregate params (#972) +- ide: hover/goto def for subquery w/ alias (#970) +- ide: lateral joins, subqueries with table, hover aliases (#969) +- ide: support table alias with column list (#968) + +### Fixed + +- linter: fix ignore comment not working with trailing content (#975) +- ide: fix column name infer & related goto def (#977) +- syntax: update ast with missing `detach partition` fields (#978) +- ide: fix builtin aggregates being defined as functions (#971) +- ci: fix arm musl build (#966) + +### Internal + +- ide: refactor hover to use goto def (#967) + ## v2.42.0 - 2026-02-25 ### Changed diff --git a/Cargo.lock b/Cargo.lock index 5cfc8997..3910b837 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2552,7 +2552,7 @@ dependencies = [ [[package]] name = "squawk" -version = "2.42.0" +version = "2.43.0" dependencies = [ "annotate-snippets", "anyhow", @@ -2581,7 +2581,7 @@ dependencies = [ [[package]] name = "squawk-fmt" -version = "2.42.0" +version = "2.43.0" dependencies = [ "insta", "itertools 0.14.0", @@ -2591,7 +2591,7 @@ dependencies = [ [[package]] name = "squawk-github" -version = "2.42.0" +version = "2.43.0" dependencies = [ "jsonwebtoken", "log", @@ -2602,7 +2602,7 @@ dependencies = [ [[package]] name = "squawk-ide" -version = "2.42.0" +version = "2.43.0" dependencies = [ "annotate-snippets", "insta", @@ -2620,14 +2620,14 @@ dependencies = [ [[package]] name = "squawk-lexer" -version = "2.42.0" +version = "2.43.0" dependencies = [ "insta", ] [[package]] name = "squawk-linter" -version = "2.42.0" +version = "2.43.0" dependencies = [ "annotate-snippets", "enum-iterator", @@ -2642,7 +2642,7 @@ dependencies = [ [[package]] name = "squawk-parser" -version = "2.42.0" +version = "2.43.0" dependencies = [ "annotate-snippets", "camino", @@ -2656,7 +2656,7 @@ dependencies = [ [[package]] name = "squawk-server" -version = "2.42.0" +version = "2.43.0" dependencies = [ "anyhow", "etcetera", @@ -2678,7 +2678,7 @@ dependencies = [ [[package]] name = "squawk-syntax" -version = "2.42.0" +version = "2.43.0" dependencies = [ "annotate-snippets", "camino", @@ -2691,7 +2691,7 @@ dependencies = [ [[package]] name = "squawk-wasm" -version = "2.42.0" +version = "2.43.0" dependencies = [ "console_error_panic_hook", "console_log", @@ -3583,7 +3583,7 @@ checksum = "32ac00cd3f8ec9c1d33fb3e7958a82df6989c42d747bd326c822b1d625283547" [[package]] name = "xtask" -version = "2.42.0" +version = "2.43.0" dependencies = [ "anyhow", "camino", diff --git a/Cargo.toml b/Cargo.toml index 3e0af1da..023a1547 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "2.42.0" +version = "2.43.0" edition = "2024" rust-version = "1.93" authors = ["Squawk Team & Contributors"] @@ -66,13 +66,13 @@ etcetera = "0.11.0" # local # we have to make the versions explicit otherwise `cargo publish` won't work -squawk-github = { path = "./crates/squawk_github", version = "2.42.0" } -squawk-ide = { path = "./crates/squawk_ide", version = "2.42.0" } -squawk-lexer = { path = "./crates/squawk_lexer", version = "2.42.0" } -squawk-parser = { path = "./crates/squawk_parser", version = "2.42.0" } -squawk-syntax = { path = "./crates/squawk_syntax", version = "2.42.0" } -squawk-linter = { path = "./crates/squawk_linter", version = "2.42.0" } -squawk-server = { path = "./crates/squawk_server", version = "2.42.0" } +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" } [workspace.lints.clippy] collapsible_else_if = "allow" diff --git a/README.md b/README.md index 7029e4a1..ce85d016 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.42.0 + rev: 2.43.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 acd77c76..375ebc6f 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.42.0"; +pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.43.0"; #[derive(Debug, Serialize)] struct CommentBody { diff --git a/flake.nix b/flake.nix index 3a7002af..b910a74d 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.42.0"; + version = "2.43.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index 109e7692..e23829eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.42.0", + "version": "2.43.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 c0eb6287..6a51fbdc 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.42.0", + "version": "2.43.0", "engines": { "vscode": "^1.101.0" },