Releases: davidcole1340/ext-php-rs
Releases · davidcole1340/ext-php-rs
v0.9.0
What's Changed
- ci+docs: honour PHP_CONFIG & rebuild automatically when env vars change by @julius #210
- chore: Update generated FFI bindings with bindgen 0.63 by @ptondereau #211
BC changes
Migration
See: #202
Full Changelog: v0.8.3...v0.9.0
v0.8.3
What's Changed
- check docs warnings in CI by @davidcole1340 in #180
- fixes inifinte loop in ClassEntry::instance_of() by @ju1ius in #188
- fix binary slice lifetimes by @davidcole1340 in #181
- fixes CI workflow configuration by @ju1ius in #195
- Add get_id() and hash() methods on ZendObject by @ju1ius in #196
- Describes restrictions on generic parameters for
php_class
by @ju1ius in #194 - Add instance_of() and get_class_entry() methods on ZendObject by @ju1ius in #197
- chore: use php-discovery to find matching PHP build by @azjezz in #201
- Revert "chore: use php-discovery to find matching PHP build" by @ptondereau in #206
New Contributors
Full Changelog: v0.8.2...v0.8.3
Version 0.8.2
What's Changed
- Update changelog for latest versions by @striezel in #161
- fix building docs on docs.rs by @davidcole1340 in #165
- Add some standard zend interfaces by @nikeee in #164
- Correct parameter name. by @denzyldick in #168
- fix describe when using
#[implements]
by @davidcole1340 in #169 - Add example that shows how to implement an interface by @nikeee in #167
- add
before
flag to#[php_startup]
by @davidcole1340 in #170 - add ability to define abstract methods by @davidcole1340 in #171
- chore(cli): Bump Clap for CLI tool by @ptondereau in #177
- fix type links in docs.rs by @davidcole1340 in #179
New Contributors
Full Changelog: v0.8.1...v0.8.2
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
clap
by @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-php
command by @roborourke in #136 - Allow passing
--yes
parameter 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
anyhow
cargo 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-php
and downstream extensions. #108ext-php-rs
versions 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
ModuleBuilder
with in-struct module. - Fixed builds failing on Linux AArch64 systems. #106
- Added
cargo-php
for creating stubs, installing and uninstalling extensions.
#107- Check out the guide for more information on this.