Skip to content

Commit 6f44981

Browse files
authored
release: 2.13.0 (#541)
1 parent 908fac1 commit 6f44981

File tree

5 files changed

+43
-4
lines changed

5 files changed

+43
-4
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## v2.13.0 - 2025-06-15
11+
12+
### Fixed
13+
14+
- parsing compound select statements & their trailing clauses, i.e.
15+
16+
```sql
17+
(select 1) limit 1;
18+
19+
select * from (
20+
(select 1)
21+
union all
22+
(select 1)
23+
);
24+
```
25+
26+
- join parsing to be more error resilent:
27+
28+
```
29+
error[syntax-error]: Join missing condition.
30+
--> stdin:2:23
31+
|
32+
2 | select * from t join u;
33+
| ^
34+
|
35+
error[syntax-error]: Join `using` clause is not allowed for cross joins.
36+
--> stdin:16:30
37+
|
38+
16 | select * from t cross join u using (id);
39+
| ^^^^^^^^^^
40+
|
41+
error[syntax-error]: Join condition is not allowed for cross joins.
42+
--> stdin:18:30
43+
|
44+
18 | select * from t cross join u on true;
45+
| ^^^^^^^
46+
|
47+
```
48+
1049
## v2.12.0 - 2025-06-09
1150

1251
### Changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/squawk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "squawk"
3-
version = "2.12.0"
3+
version = "2.13.0"
44
default-run = "squawk"
55

66
authors.workspace = true

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{
1919
squawk = final.rustPlatform.buildRustPackage {
2020
pname = "squawk";
21-
version = "2.12.0";
21+
version = "2.13.0";
2222

2323
cargoLock = {
2424
lockFile = ./Cargo.lock;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "squawk-cli",
3-
"version": "2.12.0",
3+
"version": "2.13.0",
44
"description": "linter for PostgreSQL, focused on migrations",
55
"repository": "[email protected]:sbdchd/squawk.git",
66
"author": "Squawk Team & Contributors",

0 commit comments

Comments
 (0)