diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a3d8eac..17c29a4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.14.0 - 2025-06-17 + +### Added + +- The npm install script now checks an env var (`SQUAWK_LOCAL_CDNURL`), that + defaults to `https://github.com/sbdchd/squawk/releases/download`, for + downloading binaries. This should help when you want to use a cache or in case + GitHub is down. + +### Fixed + +- The last of the pg regression suite errors. (#543), (#542) + +- Precendence when parsing compound select statements. (#544) + + ```sql + SELECT foo UNION SELECT bar ORDER BY baz; + -- equal to: + (SELECT foo UNION SELECT bar) ORDER BY baz; + ``` + ## v2.13.0 - 2025-06-15 ### Fixed -- parsing compound select statements & their trailing clauses, i.e. +- parsing compound select statements & their trailing clauses, i.e. (#539) ```sql (select 1) limit 1; @@ -23,7 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ); ``` -- join parsing to be more error resilent: +- join parsing to be more error resilent: (#538) ``` error[syntax-error]: Join missing condition. diff --git a/Cargo.lock b/Cargo.lock index c4434ee3..30eec9fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2543,7 +2543,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "squawk" -version = "2.13.0" +version = "2.14.0" dependencies = [ "annotate-snippets", "anyhow", diff --git a/crates/squawk/Cargo.toml b/crates/squawk/Cargo.toml index 8550a4bf..b3c6943d 100644 --- a/crates/squawk/Cargo.toml +++ b/crates/squawk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "squawk" -version = "2.13.0" +version = "2.14.0" default-run = "squawk" authors.workspace = true diff --git a/flake.nix b/flake.nix index 1d2df7fc..2b475c06 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.13.0"; + version = "2.14.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index b9bbfdf1..c79abcc5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.13.0", + "version": "2.14.0", "description": "linter for PostgreSQL, focused on migrations", "repository": "git@github.com:sbdchd/squawk.git", "author": "Squawk Team & Contributors",