File tree Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Expand file tree Collapse file tree 3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ repository = "https://github.com/davidcole1340/ext-php-rs"
55homepage = " https://github.com/davidcole1340/ext-php-rs"
66license = " MIT OR Apache-2.0"
77keywords = [" php" , " ffi" , " zend" ]
8- version = " 0.5.1 "
8+ version = " 0.5.2 "
99authors = [
" David Cole <[email protected] >" ]
1010edition = " 2018"
1111categories = [" api-bindings" ]
1212
1313[dependencies ]
1414bitflags = " 1.2.1"
1515parking_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 ]
1919bindgen = { version = " 0.59" }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description = "Derive macros for ext-php-rs."
44repository = " https://github.com/davidcole1340/ext-php-rs"
55homepage = " https://github.com/davidcole1340/ext-php-rs"
66license = " MIT OR Apache-2.0"
7- version = " 0.5.1 "
7+ version = " 0.5.2 "
88authors = [
" David Cole <[email protected] >" ]
99edition = " 2018"
1010
You can’t perform that action at this time.
0 commit comments