diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 12:19:06 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 12:19:31 +0000 |
| commit | b13c6d924f7de5ff34405254b8bb21adf33c78c0 (patch) | |
| tree | 67f5205d0b01cf9677b8b21fb3dce97954e51e30 /CHANGELOG.md | |
| parent | fd6b098f41baf8621551f15114c50891642b5872 (diff) | |
send auth rejection reason to git client via ERR pkt-line
Previously push auth failures returned HTTP 403 which git clients
display as a generic transport error. Now they return HTTP 200 with
an ERR pkt-line containing the rejection reason (e.g. 'authorisation
failed: No state events in purgatory'), which git displays directly.
Remove GitError::Unauthorized as it is no longer used. GitError
variants now represent only transport/infrastructure failures; app-level
rejections use ERR pkt-line responses.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 613bdf8..b613097 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 7 | 7 | ||
| 8 | ## [Unreleased] | 8 | ## [Unreleased] |
| 9 | 9 | ||
| 10 | ### Changed | ||
| 11 | |||
| 12 | - Push auth rejections now send the reason to the git client via ERR pkt-line (e.g. "authorisation failed: No state events in purgatory") instead of a generic HTTP 403, so users see actionable error messages directly in their terminal | ||
| 13 | |||
| 10 | ## [1.0.0] - 2026-02-26 | 14 | ## [1.0.0] - 2026-02-26 |
| 11 | 15 | ||
| 12 | Initial release of ngit-grasp, a GRASP relay implementation in Rust. | 16 | Initial release of ngit-grasp, a GRASP relay implementation in Rust. |