From 59e467b423e0ba66c30c7f1b7d41d47d938615de Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 28 Apr 2026 10:48:50 +0000 Subject: chore: release v2.4.2 Fix GRASP server push path for PR proposals: URL normalisation mismatch meant repo GRASP servers were never tried, causing every PR submission to fall through to the fork-creation fallback. --- CHANGELOG.md | 2 ++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6147439..af340fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.4.2] - 2026-04-28 + ### Fixed - when submitting a PR (via `--force-pr` or when the existing proposal is already a PR kind), repository GRASP servers were never tried when pushing proposal refs; a URL normalisation mismatch (`repo_grasps` holds normalised hostnames but the comparison was made against full clone URLs) meant the candidate server list was always empty, so every submission fell through to the fork-creation / personal GRASP server fallback path instead of pushing directly to the repository's own GRASP servers diff --git a/Cargo.lock b/Cargo.lock index eb1c80a..0155c88 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1548,7 +1548,7 @@ checksum = "f0efe882e02d206d8d279c20eb40e03baf7cb5136a1476dc084a324fbc3ec42d" [[package]] name = "ngit" -version = "2.4.1" +version = "2.4.2" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 5b5c06c..b16d327 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ngit" -version = "2.4.1" +version = "2.4.2" edition = "2021" description = "nostr plugin for git" authors = ["DanConwayDev "] -- cgit v1.2.3