Skip to content

Commit 1ed22e7

Browse files
authored
release: 2.26.0 (#655)
1 parent 034d98b commit 1ed22e7

File tree

7 files changed

+44
-14
lines changed

7 files changed

+44
-14
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## v2.26.0 - 2025-09-15
11+
12+
## Added
13+
14+
- linter: `adding-field-with-default` now allows more cases (#652).
15+
16+
```sql
17+
alter table t add column c text[] default array[]::text[];
18+
alter table t add column c timestamptz default current_timestamp;
19+
20+
-- const/non-volatile binary expressions are also allowed
21+
alter table t add column c timestamptz default now() - interval '100 years';
22+
```
23+
24+
25+
## Fixed
26+
27+
- parser: parse materialized views using a paren select (#651).
28+
29+
The following now parses:
30+
31+
```sql
32+
create materialized view v
33+
as (select * from t);
34+
```
35+
36+
## Changed
37+
38+
- cli now uses unicode for snippet annotations (#654).
39+
1040
## v2.25.1 - 2025-09-03
1141

1242
## Fixed

Cargo.lock

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

Cargo.toml

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

55
[workspace.package]
6-
version = "2.25.1"
6+
version = "2.26.0"
77
edition = "2024"
88
rust-version = "1.88.0"
99
authors = ["Squawk Team & Contributors"]

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.25.1";
14+
pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.26.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.25.1";
21+
version = "2.26.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.25.1",
3+
"version": "2.26.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.25.1",
12+
"version": "2.26.0",
1313
"engines": {
1414
"vscode": "^1.101.0"
1515
},

0 commit comments

Comments
 (0)