You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* ⚠️ Bump minimum supported Rust version (MSRV) from `1.67` to `1.77`.
22
+
* Security fix by bumping PyO3 (Rust binding for Python) from `0.22.4` to `0.24.2`.
23
+
* Update `maturin` (Python package builder) from `~= 1.6.0` to `~= 1.8.3`.
24
+
* Harden `Structure` class against memory leak ([#50]).
25
+
The extensions' implementation of packstream `Structure` could leak memory when being part of a reference cycle.
26
+
In reality this doesn't matter because the driver never constructs cyclic `Structure`s.
27
+
Every packstream value is a tree in terms of references (both directions: packing and unpacking).
28
+
This change is meant to harden the extensions against introducing effective memory leaks in the driver should the driver's usage of `Structure` change in the future.
29
+
* Optimize packing of `bytearray` ([#51]).
30
+
By special-casing `bytearray`, we can avoid an allocation and complete extra copy of the data when packing it.
31
+
This speeds up packing of `bytearray`s by roughly 1/3.
0 commit comments