Skip to content

Commit 89ccdc7

Browse files
authored
release: 2.8.0 (#503)
1 parent a76109c commit 89ccdc7

File tree

5 files changed

+52
-4
lines changed

5 files changed

+52
-4
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## v2.8.0 - 2025-05-25
11+
12+
### Fixed
13+
14+
- Fix parsing `select select`. (#499)
15+
16+
Previously, the following would panic:
17+
18+
```sql
19+
select select
20+
```
21+
22+
- Fix displaying warnings as errors. (#502)
23+
24+
We were highlighting warnings using the error syntax (red `^` instead of yellow `-`). We also were rendering syntax errors as warnings instead of errors!
25+
26+
- Fix parsing aggregate args with modifiers like `distinct` or `all`. (#498) Thanks @psteinroe!
27+
28+
Previously the following would error:
29+
30+
```sql
31+
select string_agg(distinct c, ',')
32+
filter (where length(c) > 1)
33+
from t;
34+
```
35+
36+
- Fix parsing data sources within params. (#497) Thanks @psteinroe!
37+
38+
Previously the following would error:
39+
40+
```sql
41+
select f1, count(*) from
42+
t1 x(x0,x1) left join (t1 left join t2 using(f1)) on (x0 = 0)
43+
```
44+
45+
- Fix parsing alternative boolean keywords. (#493) Thanks @psteinroe!
46+
47+
Previously the following would error:
48+
49+
```sql
50+
explain (costs off) select;
51+
```
52+
53+
## Changed
54+
55+
- Renamed `ast::Item` to `ast::Stmt`. (#483)
56+
- Split `select` into `select`, `tables`, and `values` statements. (#484)
57+
1058
## v2.7.0 - 2025-05-14
1159

1260
### Fixed

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.7.0"
3+
version = "2.8.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.7.0";
21+
version = "2.8.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.7.0",
3+
"version": "2.8.0",
44
"description": "linter for PostgreSQL, focused on migrations",
55
"repository": "[email protected]:sbdchd/squawk.git",
66
"author": "Steve Dignam <[email protected]>",

0 commit comments

Comments
 (0)