diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cf11248..e7a227c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.25.0 - 2025-09-02 + +## Added + +- linter: `--no-error-on-unmatched-pattern` argument to not exit with an error if no files are matched (default: false) (#639). Thanks @PascalFrenz! +- linter: gitlab reporter (#624). Thanks @benedikt-bartscher! + +## Fixed + +- linter: adding-field-with-default now checks that the postgres version is `<= 11` before reporting an error for non-volatile defaults (#637). Thanks @ermakov-oleg! + +- linter: github commenting truncates when too large (#605). Thanks @ienugr! + +- parser: parsing path's named `operator` now works (#640). + + Previously the following would error: + + ```sql + create table operator(); + ``` + +- squawk_syntax: `ast::BinExpr` `lhs` & `rhs` properties now work correctly (#634). +- internal: bumped a bunch of outdated JS & Rust dependencies (#630), (#631), (#632), (#633). + ## v2.24.0 - 2025-08-24 ## Added diff --git a/Cargo.lock b/Cargo.lock index e638042a..e5eb9805 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1833,7 +1833,7 @@ dependencies = [ [[package]] name = "squawk" -version = "2.24.0" +version = "2.25.0" dependencies = [ "annotate-snippets", "anyhow", diff --git a/crates/squawk/Cargo.toml b/crates/squawk/Cargo.toml index 298fa4cb..f371b8d0 100644 --- a/crates/squawk/Cargo.toml +++ b/crates/squawk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "squawk" -version = "2.24.0" +version = "2.25.0" default-run = "squawk" authors.workspace = true diff --git a/flake.nix b/flake.nix index 1f3a08f2..8f8dc038 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.24.0"; + version = "2.25.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index b8025171..7127a73e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.24.0", + "version": "2.25.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 4fba3973..5b83a055 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.24.0", + "version": "2.25.0", "engines": { "vscode": "^1.101.0" },