Skip to content

Commit 7b0a32d

Browse files
authored
release: 2.27.0 (#664)
1 parent b0dfb17 commit 7b0a32d

File tree

7 files changed

+59
-21
lines changed

7 files changed

+59
-21
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## v2.27.0 - 2025-09-23
11+
12+
## Added
13+
14+
- cli: rendering of diffs for suggestions in output. (#662)
15+
16+
We now include a diff below the rule error.
17+
18+
```
19+
warning[require-concurrent-index-creation]: During normal index creation, table updates are blocked, but reads are still allowed.
20+
╭▸ example.sql:10:1
21+
22+
10 │ CREATE INDEX "field_name_idx" ON "table_name" ("field_name");
23+
│ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
24+
25+
├ help: Use `concurrently` to avoid blocking writes.
26+
╭╴
27+
10 │ CREATE INDEX concurrently "field_name_idx" ON "table_name" ("field_name");
28+
╰╴ ++++++++++++
29+
```
30+
31+
## Fixed
32+
33+
- parser: parsing some `set` related commands. (#657)
34+
35+
The following now parse:
36+
37+
```sql
38+
set schema 'foo';
39+
set foo.bar from current;
40+
set bar from current;
41+
```
42+
43+
## Changed
44+
45+
- internal: bump rust to 1.90.0 (#659)
46+
- syntax: fill out more of the ast (#658)
47+
1048
## v2.26.0 - 2025-09-15
1149

1250
## Added

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ members = ["crates/*"]
33
resolver = "2"
44

55
[workspace.package]
6-
version = "2.26.0"
6+
version = "2.27.0"
77
edition = "2024"
88
rust-version = "1.90.0"
99
authors = ["Squawk Team & Contributors"]
@@ -55,12 +55,12 @@ snapbox = { version = "0.6.0", features = ["diff", "term-svg", "cmd"] }
5555

5656
# local
5757
# we have to make the versions explicit otherwise `cargo publish` won't work
58-
squawk_github = { path = "./crates/squawk_github", version = "2.26.0" }
59-
squawk_lexer = { path = "./crates/squawk_lexer", version = "2.26.0" }
60-
squawk_parser = { path = "./crates/squawk_parser", version = "2.26.0" }
61-
squawk_syntax = { path = "./crates/squawk_syntax", version = "2.26.0" }
62-
squawk_linter = { path = "./crates/squawk_linter", version = "2.26.0" }
63-
squawk_server = { path = "./crates/squawk_server", version = "2.26.0" }
58+
squawk_github = { path = "./crates/squawk_github", version = "2.27.0" }
59+
squawk_lexer = { path = "./crates/squawk_lexer", version = "2.27.0" }
60+
squawk_parser = { path = "./crates/squawk_parser", version = "2.27.0" }
61+
squawk_syntax = { path = "./crates/squawk_syntax", version = "2.27.0" }
62+
squawk_linter = { path = "./crates/squawk_linter", version = "2.27.0" }
63+
squawk_server = { path = "./crates/squawk_server", version = "2.27.0" }
6464

6565
[workspace.lints.clippy]
6666
collapsible_else_if = "allow"

crates/squawk_github/src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use serde_json::Value;
1111
use std::time::Duration;
1212
use std::time::{SystemTime, UNIX_EPOCH};
1313

14-
pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.26.0";
14+
pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.27.0";
1515

1616
#[derive(Debug, Serialize)]
1717
struct CommentBody {

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.26.0";
21+
version = "2.27.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.26.0",
3+
"version": "2.27.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.26.0",
12+
"version": "2.27.0",
1313
"engines": {
1414
"vscode": "^1.101.0"
1515
},

0 commit comments

Comments
 (0)