diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dc8fb14..b107280f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.7.0 - 2025-05-14 + +### Fixed + +- Fix parsing table constraint foreign key actions. (#480) + + Previously, the following would error: + + ```sql + alter table foo + add constraint foo_bar_id_fkey foreign key (bar_id) + references bar (id) on update cascade on delete cascade; + ``` + ## v2.6.0 - 2025-05-14 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index cf3fe475..aabf18f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2543,7 +2543,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "squawk" -version = "2.6.0" +version = "2.7.0" dependencies = [ "annotate-snippets", "anyhow", diff --git a/crates/squawk/Cargo.toml b/crates/squawk/Cargo.toml index 5a4f7edd..24d73839 100644 --- a/crates/squawk/Cargo.toml +++ b/crates/squawk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "squawk" -version = "2.6.0" +version = "2.7.0" default-run = "squawk" authors.workspace = true diff --git a/flake.nix b/flake.nix index 723f8cd6..275a56b7 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.6.0"; + version = "2.7.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index f9acbd35..a1caab13 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.6.0", + "version": "2.7.0", "description": "linter for PostgreSQL, focused on migrations", "repository": "git@github.com:sbdchd/squawk.git", "author": "Steve Dignam ",