Skip to content

Commit b2b6bf3

Browse files
authored
release: 2.10.0 (#512)
1 parent 2c62c1f commit b2b6bf3

File tree

5 files changed

+31
-4
lines changed

5 files changed

+31
-4
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## v2.10.0 - 2025-05-27
11+
12+
### Fixed
13+
14+
- Fix typo in rule name parsing causing `unused-ignore` to warn for `prefer-timestamp-tz`. (#511)
15+
16+
- Fix parsing window definition. (#510)
17+
18+
Previously the following would error:
19+
20+
```sql
21+
WITH ranked_notifications AS (
22+
SELECT
23+
notification_id,
24+
ROW_NUMBER() OVER (
25+
PARTITION BY user_id, board_id ORDER BY created_at DESC
26+
) AS rn
27+
FROM public.notification
28+
WHERE android_channel_id = 'watchlist'
29+
)
30+
UPDATE public.notification
31+
SET dismissed_at = current_timestamp
32+
WHERE notification_id IN (
33+
SELECT notification_id FROM ranked_notifications WHERE rn > 1
34+
);
35+
```
36+
1037
## v2.9.0 - 2025-05-25
1138

1239
### 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.9.0"
3+
version = "2.10.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.9.0";
21+
version = "2.10.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.9.0",
3+
"version": "2.10.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)