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

## [Unreleased]

## v2.19.0 - 2025-07-09

## Added

- linter: file level rule violation ignore comments. (#585)

Now you can ignore all violations in a file via:

```sql
-- squawk-ignore-file
```

or ignore a specific rule for the file:

```sql
-- squawk-ignore-file prefer-robust-stmts
```

This works with the existing line level ignores:

```sql
create table t (id int);
-- squawk-ignore prefer-robust-stmts
create table u (id int);
```

- vscode: incremental sync. (#583)

No more debouncing of file updates making squawk in vscode snappier!

- vscode: tracing setting `squawk.trace.server` & output channel. (#584), (#585)

## v2.18.0 - 2025-07-03

## 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.18.0"
version = "2.19.0"
default-run = "squawk"

authors.workspace = true
Expand Down
1 change: 1 addition & 0 deletions crates/squawk_linter/src/ignore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ fn comment_body(token: &SyntaxToken) -> Option<(&str, TextRange)> {
None
}

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

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.18.0";
version = "2.19.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.18.0",
"version": "2.19.0",
"description": "linter for PostgreSQL, focused on migrations",
"repository": "git@github.com:sbdchd/squawk.git",
"author": "Squawk Team & Contributors",
Expand Down
2 changes: 1 addition & 1 deletion squawk-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"icon": "icon.png",
"author": "Squawk Team & Contributors",
"license": "(Apache-2.0 OR MIT)",
"version": "2.18.0",
"version": "2.19.0",
"engines": {
"vscode": "^1.101.0"
},
Expand Down
Loading