From e0e540bfe2bf32497d4a4e46e8e44e61ec030055 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 29 Jun 2026 16:28:02 +0100 Subject: [PATCH] chore: prepare 1.2.0 release candidate --- CHANGELOG.md | 13 +++++++++++-- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- flake.nix | 4 ++-- grasp-audit/Cargo.toml | 3 ++- nix/module.nix | 2 +- 6 files changed, 20 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cff9e20..b42df96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,13 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.0-rc.1] - 2026-06-29 + ### Added - Implemented repository lifecycle handling for removals caused by NIP-09 deletion requests, NIP-62 requests-to-vanish, repository blacklist matches, and removal from whitelist. Removed repository scopes now archive git data and move data through holding/recovery flows with a 90-day default retention period, cascade-delete related events that lose their accepted-reference path, roll back deleted state-event versions where possible, and keep served nostr state aligned with git refs. This is an enabler for moderation features. ### Changed -- Upgraded dependencies: rust-nostr to `0.45.0-alpha.1` from a patched version to enable publishing ngit-grasp to crates.io, a Rust toolchain bump via Nix flake upgrade, and other Rust dependencies. +- Stream git smart HTTP responses instead of buffering full responses before sending them to clients, improving behavior for long-running fetch and push operations. + +- Upgraded dependencies: rust-nostr to `0.45.0-alpha.3` from a patched version to enable publishing ngit-grasp to crates.io, a Rust toolchain bump via Nix flake upgrade, and other Rust dependencies. + +### Fixed + +- Wrapped `receive-pack` error pkt-lines in sideband framing so git clients receive push rejection messages correctly during smart HTTP pushes. ## [1.1.0] - 2026-05-22 @@ -55,7 +63,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 Initial release of ngit-grasp, a GRASP relay implementation in Rust. -[unreleased]: https://gitworkshop.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp/compare/v1.1.0...HEAD +[unreleased]: https://gitworkshop.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp/compare/v1.2.0-rc.1...HEAD +[1.2.0-rc.1]: https://gitworkshop.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp/compare/v1.1.0...v1.2.0-rc.1 [1.1.0]: https://gitworkshop.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp/compare/v1.0.2...v1.1.0 [1.0.2]: https://gitworkshop.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp/compare/v1.0.1...v1.0.2 [1.0.1]: https://gitworkshop.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp/compare/v1.0.0...v1.0.1 diff --git a/Cargo.lock b/Cargo.lock index 203ae67..e71768b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -762,7 +762,7 @@ dependencies = [ [[package]] name = "grasp-audit" -version = "0.1.0" +version = "0.2.0" dependencies = [ "anyhow", "clap", @@ -1275,7 +1275,7 @@ checksum = "f0efe882e02d206d8d279c20eb40e03baf7cb5136a1476dc084a324fbc3ec42d" [[package]] name = "ngit-grasp" -version = "1.1.0" +version = "1.2.0-rc.1" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 3cf97b1..c56359f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ngit-grasp" -version = "1.1.0" +version = "1.2.0-rc.1" edition = "2021" authors = ["ngit-grasp contributors"] license = "MIT" @@ -69,7 +69,7 @@ tempfile = "3" [dev-dependencies] # Testing -grasp-audit = { path = "grasp-audit" } +grasp-audit = { path = "grasp-audit", version = "0.2.0" } tempfile = "3" reqwest = { version = "0.13", default-features = false, features = ["native-tls"] } diff --git a/flake.nix b/flake.nix index b5cec69..e46c3d1 100644 --- a/flake.nix +++ b/flake.nix @@ -42,7 +42,7 @@ packages.ngit-grasp = pkgs.rustPlatform.buildRustPackage { pname = "ngit-grasp"; - version = "1.1.0"; + version = "1.2.0-rc.1"; src = ./.; cargoLock = { lockFile = ./Cargo.lock; @@ -63,7 +63,7 @@ packages.grasp-audit = pkgs.rustPlatform.buildRustPackage { pname = "grasp-audit"; - version = "0.1.0"; + version = "0.2.0"; src = ./.; cargoLock = { lockFile = ./Cargo.lock; diff --git a/grasp-audit/Cargo.toml b/grasp-audit/Cargo.toml index 93931c3..922522e 100644 --- a/grasp-audit/Cargo.toml +++ b/grasp-audit/Cargo.toml @@ -1,10 +1,11 @@ [package] name = "grasp-audit" -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.75" description = "Audit and compliance testing tool for GRASP protocol implementations" license = "MIT" +repository = "https://gitworkshop.dev/ngit-grasp" [[bin]] name = "grasp-audit" diff --git a/nix/module.nix b/nix/module.nix index 4ce19a6..04e3d45 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -6,7 +6,7 @@ let # Build ngit-grasp package (shared across all instances) ngit-grasp = pkgs.rustPlatform.buildRustPackage { pname = "ngit-grasp"; - version = "1.1.0"; + version = "1.2.0-rc.1"; src = ../.; cargoLock = { lockFile = ../Cargo.lock;