From 46d1181ee538305450081e36b68ef3e0c217b79b Mon Sep 17 00:00:00 2001 From: ijl Date: Fri, 8 Sep 2023 15:57:45 +0000 Subject: [PATCH] 3.9.7 --- CHANGELOG.md | 12 ++++++++++-- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24eef33c..8410317c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,15 @@ # Changelog +## 3.9.7 - 2023-09-08 + +### Fixed + +- Fix crash in `orjson.loads()` due to non-reentrant handling of persistent +buffer. This was introduced in 3.9.3. +- Handle some FFI removals in CPython 3.13. + + ## 3.9.6 - 2023-09-07 ### Fixed @@ -8,8 +17,7 @@ - Fix numpy reference leak on unsupported array dtype. - Fix numpy.datetime64 reference handling. - -### Changd +### Changed - Minor performance improvements. diff --git a/Cargo.lock b/Cargo.lock index ffff694f..f8ec5823 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -171,7 +171,7 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "orjson" -version = "3.9.6" +version = "3.9.7" dependencies = [ "ahash", "arrayvec", diff --git a/Cargo.toml b/Cargo.toml index 952efcff..8ca77f73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "orjson" -version = "3.9.6" +version = "3.9.7" authors = ["ijl "] description = "Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy" edition = "2021"