Skip to content

Commit 201e011

Browse files
authored
release: 2.19.0 (#586)
1 parent 5fb2b5e commit 201e011

File tree

7 files changed

+38
-5
lines changed

7 files changed

+38
-5
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## v2.19.0 - 2025-07-09
11+
12+
## Added
13+
14+
- linter: file level rule violation ignore comments. (#585)
15+
16+
Now you can ignore all violations in a file via:
17+
18+
```sql
19+
-- squawk-ignore-file
20+
```
21+
22+
or ignore a specific rule for the file:
23+
24+
```sql
25+
-- squawk-ignore-file prefer-robust-stmts
26+
```
27+
28+
This works with the existing line level ignores:
29+
30+
```sql
31+
create table t (id int);
32+
-- squawk-ignore prefer-robust-stmts
33+
create table u (id int);
34+
```
35+
36+
- vscode: incremental sync. (#583)
37+
38+
No more debouncing of file updates making squawk in vscode snappier!
39+
40+
- vscode: tracing setting `squawk.trace.server` & output channel. (#584), (#585)
41+
1042
## v2.18.0 - 2025-07-03
1143

1244
## 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.18.0"
3+
version = "2.19.0"
44
default-run = "squawk"
55

66
authors.workspace = true

crates/squawk_linter/src/ignore.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ fn comment_body(token: &SyntaxToken) -> Option<(&str, TextRange)> {
4141
None
4242
}
4343

44+
// TODO: maybe in a future version we can rename this to squawk-ignore-line
4445
const IGNORE_LINE_TEXT: &str = "squawk-ignore";
4546
const IGNORE_FILE_TEXT: &str = "squawk-ignore-file";
4647

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.18.0";
21+
version = "2.19.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.18.0",
3+
"version": "2.19.0",
44
"description": "linter for PostgreSQL, focused on migrations",
55
"repository": "[email protected]:sbdchd/squawk.git",
66
"author": "Squawk Team & Contributors",

squawk-vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"icon": "icon.png",
1010
"author": "Squawk Team & Contributors",
1111
"license": "(Apache-2.0 OR MIT)",
12-
"version": "2.18.0",
12+
"version": "2.19.0",
1313
"engines": {
1414
"vscode": "^1.101.0"
1515
},

0 commit comments

Comments
 (0)