Releases: extphprs/ext-php-rs
Releases · extphprs/ext-php-rs
Version 0.8.1
What's Changed
- 404 /guide doesn't exists. by @denzyldick in #149
- Fixed some typos by @denzyldick in #148
- Fix a few typos by @striezel in #150
- fix causes of some clippy warnings by @striezel in #152
- fix more causes of clippy warnings by @striezel in #157
- attempt to fix errors related to
clapby @striezel in #158 - ci: run clippy only on stable Rust channel by @striezel in #159
- update actions/checkout in GitHub Actions workflows to v3 by @striezel in #151
- Add ability to set function name on php_function macro by @joehoyle in #153
- Specify classes as fully-qualified names in stubs by @joehoyle in #156
- Support marking classes as interfaces by @joehoyle in #155
- Support marking methods as abstract by @joehoyle in #154
- Add php-scrypt as a example project by @PineappleIOnic in #146
- Fix ini file duplication and truncation when using
cargo-phpcommand by @roborourke in #136 - Allow passing
--yesparameter to bypass prompts by @roborourke in #135
New Contributors
- @denzyldick made their first contribution in #149
- @striezel made their first contribution in #150
- @PineappleIOnic made their first contribution in #146
- @roborourke made their first contribution in #136
Full Changelog: v0.8.0...v0.8.1
Version 0.8.0
What's Changed
- Windows support by @davidcole1340 in #128
- Support for binary slice to avoid extra allocation by @TobiasBengtsson in #139
- Bump dependencies by @ptondereau in #144
New Contributors
- @TobiasBengtsson made their first contribution in #139
- @ptondereau made their first contribution in #144
Full Changelog: v0.7.4...v0.8.0
Version 0.7.4
What's Changed
- Fix is_true() / is_false() in Zval by @joehoyle in #116
- readme: fix link to guide by @TorstenDittmann in #120
- Fix request_(startup|shutdown)_function in ModuleBuilder by @glyphpoch in #119
- Fix CI on macOS by @davidcole1340 in #126
- Add ability to pass modifier function for classes by @davidcole1340 in #127
New Contributors
- @joehoyle made their first contribution in #116
- @TorstenDittmann made their first contribution in #120
- @glyphpoch made their first contribution in #119
Full Changelog: v0.7.3...v0.7.4
Version 0.7.3
Version 0.7.2
- Add preliminary PHP 8.1 support. #109
- Extensions should now compile for PHP 8.1. This doesn't implement any of the
new PHP 8.1 features.
- Extensions should now compile for PHP 8.1. This doesn't implement any of the
- Add
anyhowcargo feature to implement
From<anyhow::Error> for PhpException. #110 - Made
ClassMetadata: Send + Sync. #111 - Fixed registering constants with expressions. #112
Version 0.7.1
- Ensure stable ABI between
cargo-phpand downstream extensions. #108ext-php-rsversions used when compiling CLI and extension are now
compared.
Version 0.7.0
- Disabled serialization and unserialization of Rust structs exported as PHP
classes. #105- You can't serialize an associated Rust struct so this would have never
worked, but disabling them fixes crashes when running in an environment like
psysh.
- You can't serialize an associated Rust struct so this would have never
- Replaced boxed module inside
ModuleBuilderwith in-struct module. - Fixed builds failing on Linux AArch64 systems. #106
- Added
cargo-phpfor creating stubs, installing and uninstalling extensions.
#107- Check out the guide for more information on this.
Version 0.6.0
Version 0.5.3
- Fixed docs.rs PHP bindings file.
Version 0.5.2
- Constructors that return
Selfcan now be added to classes. #83Defaultis no longer required to be implemented on classes, however, a
constructor must be specified if you want to construct the class from PHP.- Constructors can return
SelforResult<Self, E>, where
E: Into<PhpException>.
- Added
FromZendObjectandIntoZendObjecttraits. #74 - Added
#[derive(ZvalConvert)]derive macro. DerivesIntoZvalandFromZval
on arbitrary structs and enums. #78 - Added
ZBox<T>, similar toBox<T>, to allocate on the Zend heap. #94 - Changed execution data functions to take mutable references. #100
&mut Tis now valid as a function parameter. #100
Thanks to the contributors for this release: