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
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,76 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## v2.15.0 - 2025-06-21

### Added

- validation for missing types in `create table` args. (#550)

The following now parses with an error:

```sql
create table t (
x int,
description
);
```

```
error[syntax-error]: Missing column type
--> stdin:3:14
|
3 | description
| ^
|
```

- Make `alter table` actions robust to missing commas. (#549)

The following now parses with an error:

```sql
alter table t
validate constraint foo
validate constraint b;
```

```
error[syntax-error]: missing comma
--> stdin:2:26
|
2 | validate constraint foo
| ^
|
```

### Fixed

- Crash with trailing comma in select target list. (#551)

The following now parses with an error:

```sql
select a, from t;
```

```
error[syntax-error]: unexpected trailing comma
--> stdin:1:9
|
1 | select a, from t;
| ^
|
```

- Parsing idents with `uescape`. (#533)

The following now parses:

```sql
select U&"d!0061t!+000061" UESCAPE '!';
```

## v2.14.0 - 2025-06-17

### Added
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.14.0"
version = "2.15.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.14.0";
version = "2.15.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.14.0",
"version": "2.15.0",
"description": "linter for PostgreSQL, focused on migrations",
"repository": "git@github.com:sbdchd/squawk.git",
"author": "Squawk Team & Contributors",
Expand Down
Loading