Skip to content

Commit 736984a

Browse files
authored
release: 2.0.0 (#451)
1 parent 20162f5 commit 736984a

File tree

6 files changed

+19
-5
lines changed

6 files changed

+19
-5
lines changed

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## v2.0.0 - 2025-05-07
11+
12+
### Added
13+
14+
- [Ignore comments to disable a rule inline](https://squawkhq.com/docs/cli#disabling-rules-via-comments).
15+
- Fancier lint violation formatting in the terminal using [annotate-snippets](https://github.com/rust-lang/annotate-snippets-rs).
16+
- [WASM powered playground](https://play.squawkhq.com) to run Squawk locally in the browser.
17+
- [New parser with error recovery](https://github.com/sbdchd/squawk/blob/master/crates/squawk_parser/src/grammar.rs) -- it doesn't fail if you're missing a comma, semicolon, etc! This also means we've removed the dependency on libpg_query.
18+
- Dockerfile to run Squawk in a container (#422). Thanks @alphayax!
19+
20+
### Removed
21+
22+
- `prefer-big-int` rule, which has been deprecated in favor of `prefer-bigint-over-int` and `prefer-bigint-over-smallint` for a while now.
23+
1024
## v1.6.1 - 2025-05-02
1125

1226
### Fixed

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/cli/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 = "1.6.1"
3+
version = "2.0.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 = "1.6.1";
21+
version = "2.0.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": "1.6.1",
3+
"version": "2.0.0",
44
"description": "linter for PostgreSQL, focused on migrations",
55
"repository": "[email protected]:sbdchd/squawk.git",
66
"author": "Steve Dignam <[email protected]>",

s/update-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
function main {
77
NEW_VERSION="$1"
88
echo "updating version to '$NEW_VERSION'..."
9-
fastmod '^version = ".*"' 'version = "'$NEW_VERSION'"' cli/Cargo.toml
9+
fastmod '^version = ".*"' 'version = "'$NEW_VERSION'"' crates/cli/Cargo.toml
1010
fastmod -m '(name = "squawk"\n)version = ".*?"' '${1}version = "'$NEW_VERSION'"' Cargo.lock
1111
fastmod '"version": ".*"' '"version": "'$NEW_VERSION'"' package.json
1212
fastmod -m '(pname = "squawk";.*?)version = ".*?"' '${1}version = "'$NEW_VERSION'"' flake.nix

0 commit comments

Comments
 (0)