diff --git a/CHANGELOG.md b/CHANGELOG.md index ffce66ee..51111404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,52 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.35.0 - 2026-01-02 + +### Added + +- ide: add goto def & hover support for types in casts (#799) +- ide: add initial goto def support for types (#798) +- ide: support ctes with update (#797) +- ide: hover with update (#796) +- ide: goto def with update (#795) +- ide: goto def with insert/delete & CTE (#794) +- ide: goto def for joins (#793) +- ide: goto def & hover with procedures (#792) +- ide: table alias goto def support (#791) +- ide: hover for create aggregate (#789) +- ide: goto def for aggregates (#788) +- ide: cte improvements, subqueries, values, union select (#787) +- ide: code action to remove redundant alias (#785) +- ide: add hover to cte table & columns (#784) +- ide: support more CTEs in goto def (#783) +- ide: goto def with cte & select (#782) +- ide: code action for making inferred column alias explicit (#781) +- playground: inlay hints, doc symbols, hover, goto def/refs, actions (#779) +- ide: add columns to document symbols (#778) +- ide: add document symbols (#777) +- ide: support hover & goto def for function call style columns in where (#776) +- ide: support func call syntax in select (#775) +- ide: support goto def on schema (#774) +- ide: support hover for delete, insert, and select targets (#773) +- ide: goto def & hover tables refs in from clause (#772) +- ide: inlay hints for insert & add goto def for hints (#771) +- ide: goto def for insert and delete (#770) +- ide: inlay hints for function calls (#769) +- ide: function call goto def and hover (#768) +- ide: add hover for create function (#767) +- ide: goto def with create & drop function (#766) +- ide: add hover for create index (#765) +- ide: add hover for create table (#764) +- ide: add hover for column in create index (#763) +- ide: goto def on create/drop index (#762) +- ide: add basic find refs support (#760) + +### Fixed + +- parser: fix parsing group by all in CTE (#780) +- ide: fix goto def with temp table (#761) + ## v2.34.0 - 2025-12-22 ### Added diff --git a/Cargo.lock b/Cargo.lock index 372b6058..3977a60d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1837,7 +1837,7 @@ dependencies = [ [[package]] name = "squawk" -version = "2.34.0" +version = "2.35.0" dependencies = [ "annotate-snippets", "anyhow", @@ -1866,7 +1866,7 @@ dependencies = [ [[package]] name = "squawk-github" -version = "2.34.0" +version = "2.35.0" dependencies = [ "jsonwebtoken", "log", @@ -1877,7 +1877,7 @@ dependencies = [ [[package]] name = "squawk-ide" -version = "2.34.0" +version = "2.35.0" dependencies = [ "annotate-snippets", "insta", @@ -1892,14 +1892,14 @@ dependencies = [ [[package]] name = "squawk-lexer" -version = "2.34.0" +version = "2.35.0" dependencies = [ "insta", ] [[package]] name = "squawk-linter" -version = "2.34.0" +version = "2.35.0" dependencies = [ "annotate-snippets", "enum-iterator", @@ -1914,7 +1914,7 @@ dependencies = [ [[package]] name = "squawk-parser" -version = "2.34.0" +version = "2.35.0" dependencies = [ "annotate-snippets", "camino", @@ -1928,7 +1928,7 @@ dependencies = [ [[package]] name = "squawk-server" -version = "2.34.0" +version = "2.35.0" dependencies = [ "anyhow", "insta", @@ -1948,7 +1948,7 @@ dependencies = [ [[package]] name = "squawk-syntax" -version = "2.34.0" +version = "2.35.0" dependencies = [ "annotate-snippets", "camino", @@ -1961,7 +1961,7 @@ dependencies = [ [[package]] name = "squawk-wasm" -version = "2.34.0" +version = "2.35.0" dependencies = [ "console_error_panic_hook", "console_log", @@ -2780,7 +2780,7 @@ checksum = "32ac00cd3f8ec9c1d33fb3e7958a82df6989c42d747bd326c822b1d625283547" [[package]] name = "xtask" -version = "2.34.0" +version = "2.35.0" dependencies = [ "anyhow", "camino", diff --git a/Cargo.toml b/Cargo.toml index 7ad78e4c..0ae3deff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["crates/*"] resolver = "2" [workspace.package] -version = "2.34.0" +version = "2.35.0" edition = "2024" rust-version = "1.90.0" authors = ["Squawk Team & Contributors"] @@ -60,13 +60,13 @@ snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] } # local # we have to make the versions explicit otherwise `cargo publish` won't work -squawk-github = { path = "./crates/squawk_github", version = "2.34.0" } -squawk-ide = { path = "./crates/squawk_ide", version = "2.34.0" } -squawk-lexer = { path = "./crates/squawk_lexer", version = "2.34.0" } -squawk-parser = { path = "./crates/squawk_parser", version = "2.34.0" } -squawk-syntax = { path = "./crates/squawk_syntax", version = "2.34.0" } -squawk-linter = { path = "./crates/squawk_linter", version = "2.34.0" } -squawk-server = { path = "./crates/squawk_server", version = "2.34.0" } +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" } [workspace.lints.clippy] collapsible_else_if = "allow" diff --git a/crates/squawk_github/src/app.rs b/crates/squawk_github/src/app.rs index b2c5a554..3ca49912 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.34.0"; +pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.35.0"; #[derive(Debug, Serialize)] struct CommentBody { diff --git a/flake.nix b/flake.nix index bd4a18e9..5eefcdb7 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.34.0"; + version = "2.35.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index 7788d1a6..22a26224 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.34.0", + "version": "2.35.0", "description": "linter for PostgreSQL, focused on migrations", "repository": "git@github.com:sbdchd/squawk.git", "author": "Squawk Team & Contributors", diff --git a/s/update-version b/s/update-version index 1983c2a0..955171eb 100755 --- a/s/update-version +++ b/s/update-version @@ -23,7 +23,7 @@ main() { fi echo "Switching to release branch: release-$NEW_VERSION" - git switch "release-$NEW_VERSION-v2" 2>/dev/null || git switch -c "release-$NEW_VERSION-v2" + git switch "release-$NEW_VERSION" 2>/dev/null || git switch -c "release-$NEW_VERSION" echo "updating version to '$NEW_VERSION'..." fastmod --accept-all '^version = ".*"' 'version = "'$NEW_VERSION'"' Cargo.toml fastmod --accept-all '(squawk-[a-z_]+ = \{ path = "[^"]+", )version = "[^"]+"' '${1}version = "'$NEW_VERSION'"' Cargo.toml diff --git a/squawk-vscode/package.json b/squawk-vscode/package.json index 48bc821c..f45711bb 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.34.0", + "version": "2.35.0", "engines": { "vscode": "^1.101.0" },