Skip to content

Commit 88e0d7b

Browse files
committed
Version 0.5.2
1 parent 3979019 commit 88e0d7b

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,29 @@
11
# Changelog
22

3+
## Version 0.5.2
4+
35
- Constructors that return `Self` can now be added to classes. [#83]
46
- `Default` is no longer required to be implemented on classes, however, a
57
constructor must be specified if you want to construct the class from PHP.
68
- Constructors can return `Self` or `Result<Self, E>`, where
79
`E: Into<PhpException>`.
10+
- Added `FromZendObject` and `IntoZendObject` traits. [#74]
11+
- Added `#[derive(ZvalConvert)]` derive macro. Derives `IntoZval` and `FromZval`
12+
on arbitrary structs and enums. [#78]
13+
- Added `ZBox<T>`, similar to `Box<T>`, to allocate on the Zend heap. [#94]
14+
- Changed execution data functions to take mutable references. [#100]
15+
- `&mut T` is now valid as a function parameter. [#100]
16+
17+
Thanks to the contributors for this release:
18+
19+
- @davidcole1340
20+
- @vodik
821

22+
[#74]: https://github.com/davidcole1340/ext-php-rs/pull/74
23+
[#78]: https://github.com/davidcole1340/ext-php-rs/pull/78
924
[#83]: https://github.com/davidcole1340/ext-php-rs/pull/83
25+
[#94]: https://github.com/davidcole1340/ext-php-rs/pull/94
26+
[#100]: https://github.com/davidcole1340/ext-php-rs/pull/100
1027

1128
## Version 0.5.1
1229

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ repository = "https://github.com/davidcole1340/ext-php-rs"
55
homepage = "https://github.com/davidcole1340/ext-php-rs"
66
license = "MIT OR Apache-2.0"
77
keywords = ["php", "ffi", "zend"]
8-
version = "0.5.1"
8+
version = "0.5.2"
99
authors = ["David Cole <[email protected]>"]
1010
edition = "2018"
1111
categories = ["api-bindings"]
1212

1313
[dependencies]
1414
bitflags = "1.2.1"
1515
parking_lot = "0.11.2"
16-
ext-php-rs-derive = { version = "=0.5.1", path = "./ext-php-rs-derive" }
16+
ext-php-rs-derive = { version = "=0.5.2", path = "./ext-php-rs-derive" }
1717

1818
[build-dependencies]
1919
bindgen = { version = "0.59" }

ext-php-rs-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Derive macros for ext-php-rs."
44
repository = "https://github.com/davidcole1340/ext-php-rs"
55
homepage = "https://github.com/davidcole1340/ext-php-rs"
66
license = "MIT OR Apache-2.0"
7-
version = "0.5.1"
7+
version = "0.5.2"
88
authors = ["David Cole <[email protected]>"]
99
edition = "2018"
1010

0 commit comments

Comments
 (0)