Skip to content

Commit 2fdef09

Browse files
authored
release: 2.15.0 (#555)
1 parent dad7905 commit 2fdef09

File tree

5 files changed

+74
-4
lines changed

5 files changed

+74
-4
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## v2.15.0 - 2025-06-21
11+
12+
### Added
13+
14+
- validation for missing types in `create table` args. (#550)
15+
16+
The following now parses with an error:
17+
18+
```sql
19+
create table t (
20+
x int,
21+
description
22+
);
23+
```
24+
25+
```
26+
error[syntax-error]: Missing column type
27+
--> stdin:3:14
28+
|
29+
3 | description
30+
| ^
31+
|
32+
```
33+
34+
- Make `alter table` actions robust to missing commas. (#549)
35+
36+
The following now parses with an error:
37+
38+
```sql
39+
alter table t
40+
validate constraint foo
41+
validate constraint b;
42+
```
43+
44+
```
45+
error[syntax-error]: missing comma
46+
--> stdin:2:26
47+
|
48+
2 | validate constraint foo
49+
| ^
50+
|
51+
```
52+
53+
### Fixed
54+
55+
- Crash with trailing comma in select target list. (#551)
56+
57+
The following now parses with an error:
58+
59+
```sql
60+
select a, from t;
61+
```
62+
63+
```
64+
error[syntax-error]: unexpected trailing comma
65+
--> stdin:1:9
66+
|
67+
1 | select a, from t;
68+
| ^
69+
|
70+
```
71+
72+
- Parsing idents with `uescape`. (#533)
73+
74+
The following now parses:
75+
76+
```sql
77+
select U&"d!0061t!+000061" UESCAPE '!';
78+
```
79+
1080
## v2.14.0 - 2025-06-17
1181

1282
### Added

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.14.0"
3+
version = "2.15.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.14.0";
21+
version = "2.15.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.14.0",
3+
"version": "2.15.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)