diff --git a/CHANGELOG.md b/CHANGELOG.md index d2995ad53..df9e169c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,41 @@ ## Unreleased +## [0.16.0](https://github.com/extphprs/ext-php-rs/compare/ext-php-rs-v0.15.15...ext-php-rs-v0.16.0) - 2026-09-11 + +### BREAKING CHANGES + +- *(error)* [**breaking**] Rebuild the error model around a Send + Sync Error ([#783](https://github.com/extphprs/ext-php-rs/pull/783)) (by @ptondereau) [[#783](https://github.com/extphprs/ext-php-rs/issues/783)] +- [**breaking**] Rename the static feature to _static ([#781](https://github.com/extphprs/ext-php-rs/pull/781)) (by @ptondereau) [[#781](https://github.com/extphprs/ext-php-rs/issues/781)] +- [**breaking**] Own or reclaim MINIT registration tables per extension ([#778](https://github.com/extphprs/ext-php-rs/pull/778)) (by @ptondereau) [[#778](https://github.com/extphprs/ext-php-rs/issues/778)] +- [**breaking**] Soundness of Zend API ([#776](https://github.com/extphprs/ext-php-rs/pull/776)) (by @ptondereau) [[#776](https://github.com/extphprs/ext-php-rs/issues/776)] +- *(describe)* [**breaking**] Extract ext-php-rs-introspection crate ([#775](https://github.com/extphprs/ext-php-rs/pull/775)) (by @ptondereau) [[#775](https://github.com/extphprs/ext-php-rs/issues/775)] +- *(zend)* [**breaking**] Return Option from engine-input accessors ([#770](https://github.com/extphprs/ext-php-rs/pull/770)) (by @ptondereau) [[#770](https://github.com/extphprs/ext-php-rs/issues/770)] +- *(types)* [**breaking**] Stop deriving mutable references from shared borrows ([#757](https://github.com/extphprs/ext-php-rs/pull/757)) (by @ptondereau) [[#757](https://github.com/extphprs/ext-php-rs/issues/757)] +- *(embed)* [**breaking**] Own SAPI header callback data ([#753](https://github.com/extphprs/ext-php-rs/pull/753)) (by @ptondereau) [[#753](https://github.com/extphprs/ext-php-rs/issues/753)] +- *(types)* [**breaking**] Make raw Zend resource assignment unsafe ([#752](https://github.com/extphprs/ext-php-rs/pull/752)) (by @ptondereau) [[#752](https://github.com/extphprs/ext-php-rs/issues/752)] + +### Added +- Introduce --lib-name on static-glue to skip `cargo metadata` call ([#765](https://github.com/extphprs/ext-php-rs/pull/765)) (by @okhoshi) [[#765](https://github.com/extphprs/ext-php-rs/issues/765)] [[#764](https://github.com/extphprs/ext-php-rs/issues/764)] +- Guard get_module export for statically linked extensions ([#764](https://github.com/extphprs/ext-php-rs/pull/764)) (by @ptondereau) [[#764](https://github.com/extphprs/ext-php-rs/issues/764)] +- Support statically linking extensions into php-src ([#762](https://github.com/extphprs/ext-php-rs/pull/762)) (by @ptondereau) [[#762](https://github.com/extphprs/ext-php-rs/issues/762)] + +### Fixed +- *(builders)* Resolve the parent class entry only when registering a class ([#780](https://github.com/extphprs/ext-php-rs/pull/780)) (by @ptondereau) [[#780](https://github.com/extphprs/ext-php-rs/issues/780)] +- *(cargo-php)* Allow unresolved Zend symbols when linking on macOS ([#774](https://github.com/extphprs/ext-php-rs/pull/774)) (by @Goopil) [[#774](https://github.com/extphprs/ext-php-rs/issues/774)] +- Reclaim SAPI, exception and arg-info allocations flagged by LSan ([#772](https://github.com/extphprs/ext-php-rs/pull/772)) (by @ptondereau) [[#772](https://github.com/extphprs/ext-php-rs/issues/772)] +- Return errors instead of panicking on engine and user input ([#758](https://github.com/extphprs/ext-php-rs/pull/758)) (by @ptondereau) [[#758](https://github.com/extphprs/ext-php-rs/issues/758)] + +### Other +- *(deps)* Drop the bindgen fork for upstream 0.73 ([#782](https://github.com/extphprs/ext-php-rs/pull/782)) (by @ptondereau) [[#782](https://github.com/extphprs/ext-php-rs/issues/782)] +- *(deps)* Update convert_case requirement from 0.11.0 to 0.12.0 ([#768](https://github.com/extphprs/ext-php-rs/pull/768)) (by @dependabot[bot]) [[#768](https://github.com/extphprs/ext-php-rs/issues/768)] +- *(deps)* Bump JamesIves/github-pages-deploy-action from 4.8.0 to 4.9.0 ([#761](https://github.com/extphprs/ext-php-rs/pull/761)) (by @dependabot[bot]) [[#761](https://github.com/extphprs/ext-php-rs/issues/761)] +- *(deps)* Bump actions/cache from 5 to 6 ([#751](https://github.com/extphprs/ext-php-rs/pull/751)) (by @dependabot[bot]) [[#751](https://github.com/extphprs/ext-php-rs/issues/751)] +- *(deps)* Bump actions/stale from 10 to 11 ([#760](https://github.com/extphprs/ext-php-rs/pull/760)) (by @dependabot[bot]) [[#760](https://github.com/extphprs/ext-php-rs/issues/760)] +- *(deps)* Update syn to 3 and darling to 0.24 ([#756](https://github.com/extphprs/ext-php-rs/pull/756)) (by @ptondereau) [[#756](https://github.com/extphprs/ext-php-rs/issues/756)] +- *(release-plz)* Skip the semver check for cargo-php ([#779](https://github.com/extphprs/ext-php-rs/pull/779)) (by @ptondereau) [[#779](https://github.com/extphprs/ext-php-rs/issues/779)] +- Add asan dev shell and CI job ([#769](https://github.com/extphprs/ext-php-rs/pull/769)) (by @ptondereau) [[#769](https://github.com/extphprs/ext-php-rs/issues/769)] +- Migrate benchmarks to CodSpeed ([#767](https://github.com/extphprs/ext-php-rs/pull/767)) (by @ptondereau) [[#767](https://github.com/extphprs/ext-php-rs/issues/767)] ## [0.15.15](https://github.com/extphprs/ext-php-rs/compare/ext-php-rs-v0.15.14...ext-php-rs-v0.15.15) - 2026-06-02 ### Added diff --git a/Cargo.toml b/Cargo.toml index 9c1f05f1e..a682fa248 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ repository = "https://github.com/extphprs/ext-php-rs" homepage = "https://ext-php.rs" license = "MIT OR Apache-2.0" keywords = ["php", "ffi", "zend"] -version = "0.15.15" +version = "0.16.0" authors = [ "Pierre Tondereau ", "Xenira ", @@ -26,7 +26,7 @@ smartstring = { version = "1", optional = true } indexmap = { version = "2", optional = true } inventory = "0.3" thiserror = "2" -ext-php-rs-derive = { version = "=0.11.14", path = "./crates/macros" } +ext-php-rs-derive = { version = "=0.12.0", path = "./crates/macros" } ext-php-rs-introspection = { version = "0.1.0", path = "./crates/introspection" } [dev-dependencies] diff --git a/crates/cli/CHANGELOG.md b/crates/cli/CHANGELOG.md index 7fcb76312..a02976d03 100644 --- a/crates/cli/CHANGELOG.md +++ b/crates/cli/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## [0.2.0](https://github.com/extphprs/ext-php-rs/compare/cargo-php-v0.1.21...cargo-php-v0.2.0) - 2026-09-11 + +### BREAKING CHANGES + +- *(describe)* [**breaking**] Extract ext-php-rs-introspection crate ([#775](https://github.com/extphprs/ext-php-rs/pull/775)) (by @ptondereau) [[#775](https://github.com/extphprs/ext-php-rs/issues/775)] + +### Added +- Introduce --lib-name on static-glue to skip `cargo metadata` call ([#765](https://github.com/extphprs/ext-php-rs/pull/765)) (by @okhoshi) [[#765](https://github.com/extphprs/ext-php-rs/issues/765)] [[#764](https://github.com/extphprs/ext-php-rs/issues/764)] +- Guard get_module export for statically linked extensions ([#764](https://github.com/extphprs/ext-php-rs/pull/764)) (by @ptondereau) [[#764](https://github.com/extphprs/ext-php-rs/issues/764)] +- Support statically linking extensions into php-src ([#762](https://github.com/extphprs/ext-php-rs/pull/762)) (by @ptondereau) [[#762](https://github.com/extphprs/ext-php-rs/issues/762)] + +### Fixed +- *(cargo-php)* Allow unresolved Zend symbols when linking on macOS ([#774](https://github.com/extphprs/ext-php-rs/pull/774)) (by @Goopil) [[#774](https://github.com/extphprs/ext-php-rs/issues/774)] ## [0.1.21](https://github.com/extphprs/ext-php-rs/compare/cargo-php-v0.1.20...cargo-php-v0.1.21) - 2026-04-20 ### Fixed diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index 7ff058b4a..84a39f6e2 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -5,7 +5,7 @@ repository = "https://github.com/extphprs/ext-php-rs" homepage = "https://ext-php.rs" license = "MIT OR Apache-2.0" keywords = ["php", "ffi", "zend"] -version = "0.1.21" +version = "0.2.0" authors = [ "Xenira ", "David Cole ", diff --git a/crates/macros/CHANGELOG.md b/crates/macros/CHANGELOG.md index 83e071e52..e26d4818b 100644 --- a/crates/macros/CHANGELOG.md +++ b/crates/macros/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [0.12.0](https://github.com/extphprs/ext-php-rs/compare/ext-php-rs-derive-v0.11.14...ext-php-rs-derive-v0.12.0) - 2026-09-11 + +### BREAKING CHANGES + +- *(error)* [**breaking**] Rebuild the error model around a Send + Sync Error ([#783](https://github.com/extphprs/ext-php-rs/pull/783)) (by @ptondereau) [[#783](https://github.com/extphprs/ext-php-rs/issues/783)] +- [**breaking**] Rename the static feature to _static ([#781](https://github.com/extphprs/ext-php-rs/pull/781)) (by @ptondereau) [[#781](https://github.com/extphprs/ext-php-rs/issues/781)] +- [**breaking**] Own or reclaim MINIT registration tables per extension ([#778](https://github.com/extphprs/ext-php-rs/pull/778)) (by @ptondereau) [[#778](https://github.com/extphprs/ext-php-rs/issues/778)] +- *(describe)* [**breaking**] Extract ext-php-rs-introspection crate ([#775](https://github.com/extphprs/ext-php-rs/pull/775)) (by @ptondereau) [[#775](https://github.com/extphprs/ext-php-rs/issues/775)] + +### Added +- Guard get_module export for statically linked extensions ([#764](https://github.com/extphprs/ext-php-rs/pull/764)) (by @ptondereau) [[#764](https://github.com/extphprs/ext-php-rs/issues/764)] + +### Other +- *(deps)* Update convert_case requirement from 0.11.0 to 0.12.0 ([#768](https://github.com/extphprs/ext-php-rs/pull/768)) (by @dependabot[bot]) [[#768](https://github.com/extphprs/ext-php-rs/issues/768)] +- *(deps)* Update syn to 3 and darling to 0.24 ([#756](https://github.com/extphprs/ext-php-rs/pull/756)) (by @ptondereau) [[#756](https://github.com/extphprs/ext-php-rs/issues/756)] +- *(deps)* Update itertools requirement from 0.14.0 to 0.15.0 ([#748](https://github.com/extphprs/ext-php-rs/pull/748)) (by @dependabot[bot]) [[#748](https://github.com/extphprs/ext-php-rs/issues/748)] +- Migrate benchmarks to CodSpeed ([#767](https://github.com/extphprs/ext-php-rs/pull/767)) (by @ptondereau) [[#767](https://github.com/extphprs/ext-php-rs/issues/767)] ## [0.11.14](https://github.com/extphprs/ext-php-rs/compare/ext-php-rs-derive-v0.11.13...ext-php-rs-derive-v0.11.14) - 2026-06-02 ### Added diff --git a/crates/macros/Cargo.toml b/crates/macros/Cargo.toml index 81895a02c..9126c324e 100644 --- a/crates/macros/Cargo.toml +++ b/crates/macros/Cargo.toml @@ -4,7 +4,7 @@ description = "Derive macros for ext-php-rs." repository = "https://github.com/extphprs/ext-php-rs" homepage = "https://ext-php.rs" license = "MIT OR Apache-2.0" -version = "0.11.14" +version = "0.12.0" authors = [ "Xenira ", "David Cole ",