diff --git a/CHANGELOG.md b/CHANGELOG.md index fd8859b5..fcbca07a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## v2.4.0 - 2025-05-14 +## v2.5.0 - 2025-05-14 + +### Fixed + +- Fixed parsing `create or replace view` (#474). + + Previously, the following would error: + + ```sql + create or replace view my_view as + select x from foo; + ``` + +## v2.4.0 - 2025-05-13 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index cdc32dc2..e6f9bac6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2543,7 +2543,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "squawk" -version = "2.4.0" +version = "2.5.0" dependencies = [ "annotate-snippets", "anyhow", diff --git a/crates/squawk/Cargo.toml b/crates/squawk/Cargo.toml index f662af08..8b5e7f24 100644 --- a/crates/squawk/Cargo.toml +++ b/crates/squawk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "squawk" -version = "2.4.0" +version = "2.5.0" default-run = "squawk" authors.workspace = true diff --git a/flake.nix b/flake.nix index adb54025..72e34a1c 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.4.0"; + version = "2.5.0"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index 2edd2511..3516e891 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.4.0", + "version": "2.5.0", "description": "linter for PostgreSQL, focused on migrations", "repository": "git@github.com:sbdchd/squawk.git", "author": "Steve Dignam ",