Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/squawk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "squawk"
version = "2.13.0"
version = "2.14.0"
default-run = "squawk"

authors.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{
squawk = final.rustPlatform.buildRustPackage {
pname = "squawk";
version = "2.13.0";
version = "2.14.0";

cargoLock = {
lockFile = ./Cargo.lock;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading