From 05621cb1b40d308a7ab8ccb9ad21e9d70c64bfe7 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 30 Jul 2025 08:13:31 +0200 Subject: [PATCH 1/4] Target driver version 5.28.2 --- changelog.d/54.feature.md | 1 + driver | 2 +- pyproject.toml | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 changelog.d/54.feature.md diff --git a/changelog.d/54.feature.md b/changelog.d/54.feature.md new file mode 100644 index 0000000..51ccd88 --- /dev/null +++ b/changelog.d/54.feature.md @@ -0,0 +1 @@ +Target driver version 5.28.2. diff --git a/driver b/driver index 92ea0de..f4fcf70 160000 --- a/driver +++ b/driver @@ -1 +1 @@ -Subproject commit 92ea0de17f91bf68affbc589c6cd12d0a31a1025 +Subproject commit f4fcf70d9e03266481bb4dd26aff73903595450b diff --git a/pyproject.toml b/pyproject.toml index 174ffe4..a6ee11f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ authors = [ {name = "Neo4j, Inc.", email = "drivers@neo4j.com"}, ] dependencies = [ - "neo4j == 5.28.1" + "neo4j == 5.28.2" ] requires-python = ">=3.7" keywords = ["neo4j", "graph", "database"] @@ -45,7 +45,7 @@ classifiers = [ "Topic :: Database", "Topic :: Software Development", ] -version = "5.28.1.0" +version = "5.28.2.0" [project.urls] Homepage = "https://neo4j.com/" @@ -83,7 +83,7 @@ exclude = [ [tool.towncrier] directory = "changelog.d" -version = "5.28.1.0" +version = "5.28.2.0" filename = "CHANGELOG.md" title_format = "## [{version}](https://github.com/neo4j/neo4j-python-driver-rust-ext/tree/{version}) ({project_date})\n***" issue_format = "[#{issue}]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/{issue}" From c94e06e3b484eb3619ed719334ae0de871bebd02 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 30 Jul 2025 08:14:47 +0200 Subject: [PATCH 2/4] Bump dependencies --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a6ee11f..24ca638 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ pandas = ["neo4j[pandas]"] pyarrow = ["neo4j[pyarrow]"] [build-system] -requires = ["maturin ~= 1.9.0"] +requires = ["maturin ~= 1.9.1"] build-backend = "maturin" [tool.maturin] From 1818f9fff0084f93f7250c8e4af23cb41e0c5ff5 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 30 Jul 2025 08:25:52 +0200 Subject: [PATCH 3/4] Render 5.28.2.0 changelog --- CHANGELOG.md | 35 +++++++++++++++++++++++++++++++++++ changelog.d/32.improve.md | 4 ---- changelog.d/41.pkg.md | 2 -- changelog.d/43.dev.md | 1 - changelog.d/43.pkg.md | 1 - changelog.d/53.improve.md | 5 ----- changelog.d/54.feature.md | 1 - 7 files changed, 35 insertions(+), 14 deletions(-) delete mode 100644 changelog.d/32.improve.md delete mode 100644 changelog.d/41.pkg.md delete mode 100644 changelog.d/43.dev.md delete mode 100644 changelog.d/43.pkg.md delete mode 100644 changelog.d/53.improve.md delete mode 100644 changelog.d/54.feature.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 93f48a0..3accd8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,41 @@ Changelog +## [5.28.2.0](https://github.com/neo4j/neo4j-python-driver-rust-ext/tree/5.28.2.0) (2025-07-30) +*** +### **⭐️ New Features** +* Target driver version 5.28.2 ([#54]). + +[#54]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/54 + +### **👏️ Improvements** +* Update dependencies ([#32]): + * ⚠️ Bump minimum supported Rust version (MSRV) from `1.67` to `1.77`. + * Security fix by bumping PyO3 (Rust binding for Python) from `0.22.4` to `0.24.2`. + * Update `maturin` (Python package builder) from `~= 1.6.0` to `~= 1.8.3`. +* Harden `Structure` class against memory leak ([#53]). + The extensions' implementation of packstream `Structure` could leak memory when being part of a reference cycle. + In reality this doesn't matter because the driver never constructs cyclic `Structure`s. + Every packstream value is a tree in terms of references (both directions: packing and unpacking). + 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. + +[#32]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/32 +[#53]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/53 + +### **📦️ Packaging** +* Update licensing meta data to be PEP 639 compliant ([#41]). + * Update `maturin` (Python package builder) from `~= 1.8.3` to `~= 1.9.0`. +* ⚠️ Change licensing from "Apache-2.0" to "Apache-2.0 AND MIT" ([#43]). + +[#41]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/41 +[#43]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/43 + +### **🧑️‍💻️ Development** +* Introduce [towncrier](https://towncrier.readthedocs.io/) for managing changelog entries ([#43]). + +[#43]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/43 + + ## [5.28.1.0](https://github.com/neo4j/neo4j-python-driver-rust-ext/tree/5.28.1.0) (2025-02-10) *** * Target driver version 5.28.1 diff --git a/changelog.d/32.improve.md b/changelog.d/32.improve.md deleted file mode 100644 index 0bc13eb..0000000 --- a/changelog.d/32.improve.md +++ /dev/null @@ -1,4 +0,0 @@ -Update dependencies: -* ⚠️ Bump minimum supported Rust version (MSRV) from `1.67` to `1.77`. -* Security fix by bumping PyO3 (Rust binding for Python) from `0.22.4` to `0.24.2`. -* Update `maturin` (Python package builder) from `~= 1.6.0` to `~= 1.8.3`. diff --git a/changelog.d/41.pkg.md b/changelog.d/41.pkg.md deleted file mode 100644 index c0b26ff..0000000 --- a/changelog.d/41.pkg.md +++ /dev/null @@ -1,2 +0,0 @@ -Update licensing meta data to be PEP 639 compliant. -* Update `maturin` (Python package builder) from `~= 1.8.3` to `~= 1.9.0`. diff --git a/changelog.d/43.dev.md b/changelog.d/43.dev.md deleted file mode 100644 index 49b0d11..0000000 --- a/changelog.d/43.dev.md +++ /dev/null @@ -1 +0,0 @@ -Introduce [towncrier](https://towncrier.readthedocs.io/) for managing changelog entries. diff --git a/changelog.d/43.pkg.md b/changelog.d/43.pkg.md deleted file mode 100644 index f0c3371..0000000 --- a/changelog.d/43.pkg.md +++ /dev/null @@ -1 +0,0 @@ -⚠️ Change licensing from "Apache-2.0" to "Apache-2.0 AND MIT" . diff --git a/changelog.d/53.improve.md b/changelog.d/53.improve.md deleted file mode 100644 index 1660ee8..0000000 --- a/changelog.d/53.improve.md +++ /dev/null @@ -1,5 +0,0 @@ -Harden `Structure` class against memory leak. -The extensions' implementation of packstream `Structure` could leak memory when being part of a reference cycle. -In reality this doesn't matter because the driver never constructs cyclic `Structure`s. -Every packstream value is a tree in terms of references (both directions: packing and unpacking). -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. diff --git a/changelog.d/54.feature.md b/changelog.d/54.feature.md deleted file mode 100644 index 51ccd88..0000000 --- a/changelog.d/54.feature.md +++ /dev/null @@ -1 +0,0 @@ -Target driver version 5.28.2. From 7da04e9501e1086ee8bb6b7792e24388bac4e129 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Wed, 30 Jul 2025 09:29:07 +0200 Subject: [PATCH 4/4] Changelog += maturin version bump --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3accd8d..ecab418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,12 +28,14 @@ Changelog [#53]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/53 ### **📦️ Packaging** +* ⚠️ Change licensing from "Apache-2.0" to "Apache-2.0 AND MIT" ([#43]). * Update licensing meta data to be PEP 639 compliant ([#41]). * Update `maturin` (Python package builder) from `~= 1.8.3` to `~= 1.9.0`. -* ⚠️ Change licensing from "Apache-2.0" to "Apache-2.0 AND MIT" ([#43]). +* Update `maturin` (Python package builder) from `~= 1.9.0` to `~= 1.9.1` ([#54]). [#41]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/41 [#43]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/43 +[#54]: https://github.com/neo4j/neo4j-python-driver-rust-ext/pull/54 ### **🧑️‍💻️ Development** * Introduce [towncrier](https://towncrier.readthedocs.io/) for managing changelog entries ([#43]).