From 5d6853bfdca3665197304ee7b9ce6e1195d80082 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Mon, 26 Oct 2026 10:13:00 -0700 Subject: [PATCH] Prepare to release v0.1.2 --- CHANGELOG.md | 32 ++++++++++++++++++++++++++++++++ Cargo.lock | 14 +++++++------- Cargo.toml | 12 ++++++------ example/rust-ext-demo/Cargo.lock | 12 ++++++------ 4 files changed, 51 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8a5a02..7efd71b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## 0.1.2 - 2026.10.26 + +### Fixed + +- `[rsphp]` Fixed pointer casts in `PHPValue::apply_to()` to be valid on + AArch64 platforms. ([#6](https://github.com/DanielEScherzer/rsphp/pull/6)) +- `[rsphp-stub-parser]` Fixed missing class and property flags: classes are now + properly marked with: + - `ZEND_ACC_ABSTRACT` + - `ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES` + - `ZEND_ACC_READONLY_CLASS` + + as appropriate, and properties are now properly marked with: + - `ZEND_ACC_FINAL` + - `ZEND_ACC_PUBLIC_SET` / `ZEND_ACC_PROTECTED_SET` / `ZEND_ACC_PRIVATE_SET` + - `ZEND_ACC_READONLY` + - `ZEND_ACC_STATIC` + + as appropriate. ([#7](https://github.com/DanielEScherzer/rsphp/pull/7)) + +### Changed + +- `[rsphp-stub-parser]` Avoid wildcard imports in generated arg info files. + ([#5](https://github.com/DanielEScherzer/rsphp/pull/5)) +- `[rsphp-stub-parser]` Clean up whitespace in generated arg info files. + ([#9](https://github.com/DanielEScherzer/rsphp/pull/9)) + +### Documentation + +- The `rsphp-sys` bundled and shown on [docs.rs](https://docs.rs) were updated + to PHP 8.5.12. ([#5](https://github.com/DanielEScherzer/rsphp/pull/5)) + ## 0.1.1 - 2026.10.11 ### Fixed diff --git a/Cargo.lock b/Cargo.lock index a9c467b..2b3d59f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -442,7 +442,7 @@ dependencies = [ [[package]] name = "rsphp" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bstr", "rsphp-macros-c", @@ -452,14 +452,14 @@ dependencies = [ [[package]] name = "rsphp-build-tools" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bindgen", ] [[package]] name = "rsphp-macros-c" -version = "0.1.1" +version = "0.1.2" dependencies = [ "c_str_macro", "rsphp-sys", @@ -467,7 +467,7 @@ dependencies = [ [[package]] name = "rsphp-macros-rs" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rsphp-macros-c", "rsphp-sys", @@ -475,7 +475,7 @@ dependencies = [ [[package]] name = "rsphp-stub-parser" -version = "0.1.1" +version = "0.1.2" dependencies = [ "diff", "php-ast", @@ -491,7 +491,7 @@ dependencies = [ [[package]] name = "rsphp-stub-parser-cli" -version = "0.1.1" +version = "0.1.2" dependencies = [ "clap", "rsphp-stub-parser", @@ -499,7 +499,7 @@ dependencies = [ [[package]] name = "rsphp-sys" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bindgen", "cc", diff --git a/Cargo.toml b/Cargo.toml index 81762b1..0e7e800 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ package.keywords = ["php"] package.license = "MIT" package.repository = "https://github.com/DanielEScherzer/rsphp" package.rust-version = "1.99.0" -package.version = "0.1.1" +package.version = "0.1.2" members = ["crates/*"] @@ -197,11 +197,11 @@ php-ast = "0.26.0" php-rs-parser = "0.26.0" proc-macro2 = "1.0.107" regex = "1.13.1" -rsphp-build-tools = { version = "0.1.1", path = "./crates/build-tools" } -rsphp-macros-c = { version = "0.1.1", path = "./crates/macros-c" } -rsphp-macros-rs = { version = "0.1.1", path = "./crates/macros-rs" } -rsphp-stub-parser = { version = "0.1.1", path = "./crates/stub-parser" } -rsphp-sys = { version = "0.1.1", path = "./crates/sys" } +rsphp-build-tools = { version = "0.1.2", path = "./crates/build-tools" } +rsphp-macros-c = { version = "0.1.2", path = "./crates/macros-c" } +rsphp-macros-rs = { version = "0.1.2", path = "./crates/macros-rs" } +rsphp-stub-parser = { version = "0.1.2", path = "./crates/stub-parser" } +rsphp-sys = { version = "0.1.2", path = "./crates/sys" } tempdir = "0.3.7" trybuild = "1.0.122" walkdir = "2.5.0" diff --git a/example/rust-ext-demo/Cargo.lock b/example/rust-ext-demo/Cargo.lock index b33dc48..d13fd9d 100644 --- a/example/rust-ext-demo/Cargo.lock +++ b/example/rust-ext-demo/Cargo.lock @@ -242,7 +242,7 @@ checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" [[package]] name = "rsphp" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bstr", "rsphp-macros-c", @@ -252,7 +252,7 @@ dependencies = [ [[package]] name = "rsphp-build-tools" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bindgen", ] @@ -271,7 +271,7 @@ dependencies = [ [[package]] name = "rsphp-macros-c" -version = "0.1.1" +version = "0.1.2" dependencies = [ "c_str_macro", "rsphp-sys", @@ -279,7 +279,7 @@ dependencies = [ [[package]] name = "rsphp-macros-rs" -version = "0.1.1" +version = "0.1.2" dependencies = [ "rsphp-macros-c", "rsphp-sys", @@ -287,7 +287,7 @@ dependencies = [ [[package]] name = "rsphp-stub-parser" -version = "0.1.1" +version = "0.1.2" dependencies = [ "php-ast", "php-rs-parser", @@ -296,7 +296,7 @@ dependencies = [ [[package]] name = "rsphp-sys" -version = "0.1.1" +version = "0.1.2" dependencies = [ "bindgen", "cc",