From 458cb2ca56dc608cff4942e8059d963180f7975f Mon Sep 17 00:00:00 2001 From: Steve Dignam Date: Wed, 3 Sep 2025 09:05:27 +0200 Subject: [PATCH] release: 2.25.1 --- CHANGELOG.md | 6 ++++++ Cargo.lock | 2 +- crates/squawk/Cargo.toml | 2 +- crates/squawk_github/src/app.rs | 2 +- flake.nix | 2 +- package.json | 2 +- s/update-version | 2 +- squawk-vscode/package.json | 2 +- 8 files changed, 13 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7a227c3..70b392bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## v2.25.1 - 2025-09-03 + +## Fixed + +github: fix api calls failing with 403. (#643) + ## v2.25.0 - 2025-09-02 ## Added diff --git a/Cargo.lock b/Cargo.lock index e5eb9805..6fedc46b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1833,7 +1833,7 @@ dependencies = [ [[package]] name = "squawk" -version = "2.25.0" +version = "2.25.1" dependencies = [ "annotate-snippets", "anyhow", diff --git a/crates/squawk/Cargo.toml b/crates/squawk/Cargo.toml index f371b8d0..98df2238 100644 --- a/crates/squawk/Cargo.toml +++ b/crates/squawk/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "squawk" -version = "2.25.0" +version = "2.25.1" default-run = "squawk" authors.workspace = true diff --git a/crates/squawk_github/src/app.rs b/crates/squawk_github/src/app.rs index 158cb24a..a693b58c 100644 --- a/crates/squawk_github/src/app.rs +++ b/crates/squawk_github/src/app.rs @@ -11,7 +11,7 @@ use serde_json::Value; use std::time::Duration; use std::time::{SystemTime, UNIX_EPOCH}; -pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.25.0"; +pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/2.25.1"; #[derive(Debug, Serialize)] struct CommentBody { diff --git a/flake.nix b/flake.nix index 8f8dc038..f2fe6f1b 100644 --- a/flake.nix +++ b/flake.nix @@ -18,7 +18,7 @@ { squawk = final.rustPlatform.buildRustPackage { pname = "squawk"; - version = "2.25.0"; + version = "2.25.1"; cargoLock = { lockFile = ./Cargo.lock; diff --git a/package.json b/package.json index 7127a73e..08939be8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squawk-cli", - "version": "2.25.0", + "version": "2.25.1", "description": "linter for PostgreSQL, focused on migrations", "repository": "git@github.com:sbdchd/squawk.git", "author": "Squawk Team & Contributors", diff --git a/s/update-version b/s/update-version index f1ee23d5..93a72e31 100755 --- a/s/update-version +++ b/s/update-version @@ -30,7 +30,7 @@ main() { fastmod --accept-all '"version": ".*"' '"version": "'$NEW_VERSION'"' package.json fastmod --accept-all '"version": ".*"' '"version": "'$NEW_VERSION'"' squawk-vscode/package.json fastmod --accept-all -m '(pname = "squawk";.*?)version = ".*?"' '${1}version = "'$NEW_VERSION'"' flake.nix - fastmod --accept-all 'pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/.*"' 'pub(crate) const SQUAWK_USER_AGENT: &str = "squawk/'$NEW_VERSION'"' crates/squawk_github/src/app.rs + fastmod --accept-all 'const SQUAWK_USER_AGENT: &str = "squawk/.*"' 'const SQUAWK_USER_AGENT: &str = "squawk/'$NEW_VERSION'"' crates/squawk_github/src/app.rs echo "Updating CHANGELOG.md..." CURRENT_DATE=$(date +"%Y-%m-%d") diff --git a/squawk-vscode/package.json b/squawk-vscode/package.json index 5b83a055..20b9f7a3 100644 --- a/squawk-vscode/package.json +++ b/squawk-vscode/package.json @@ -9,7 +9,7 @@ "icon": "icon.png", "author": "Squawk Team & Contributors", "license": "(Apache-2.0 OR MIT)", - "version": "2.25.0", + "version": "2.25.1", "engines": { "vscode": "^1.101.0" },