From 6a43e83dd66c83cee523b612805e4e6b5c0485a3 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Thu, 4 Sep 2025 14:42:25 +0300 Subject: [PATCH] Release 1.3.1 Update the CHANGELOG for the 1.3.1 release detailing the fixing of panics --- CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d566711..377d98cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -47,6 +47,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Fixed Bugs +## 1.3.1 - 2025-09-04 + +## Fixed Bugs + +### Fixed Panics + +Two instances of panics were fixed in this release. + +The first, and most important, was a panic around serializing wire messages. +There is a strict size limit on the protocol messages that we control. However, +this size limit is not intended to be imposed on Git streams, for example during +fetching from other nodes. We incorrectly placed a check for this size limit in +the `serialize` function, which meant it would panic for some Git fetches. This +was fixed by moving the check elsewhere, while also improving the code so we do +not make that mistake again. + +The second involved using the `read` method from the `sqlite` crate. This method +calls `try_read` and `unwrap`s the `Result`, which would cause a panic. We have +replaced the calls to `read` with `try_read` to more gracefully handle the +error. + + ## 1.3.0 - 2025-08-12 ## Release Highlights