Skip to content

Releases: davidcole1340/ext-php-rs

v0.9.0

11 Dec 21:11
6965f4a
Compare
Choose a tag to compare

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

  • feat: allows ZendStr to contain null bytes by @julius #202

Migration
See: #202

Full Changelog: v0.8.3...v0.9.0

v0.8.3

28 Nov 20:04
7423da0
Compare
Choose a tag to compare

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

10 Nov 23:13
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.8.2

Version 0.8.1

11 Oct 22:18
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.0...v0.8.1

Version 0.8.0

14 Aug 10:26
70f8bad
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.4...v0.8.0

Version 0.7.4

17 Mar 10:59
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.7.3...v0.7.4

Version 0.7.3

13 Dec 08:37
Compare
Choose a tag to compare
  • Upgrade clap to 3.0.0-rc3. #113
  • Build properties hashmap once and cache inside class metadata. #114
  • Add impl FromZval for &Zval and impl FromZvalMut for &mut Zval.
  • Add has_numerical_keys and has_sequential_keys to ZendHashTable. #115

Thanks to the following contributors:

Version 0.7.2

27 Nov 00:00
Compare
Choose a tag to compare
  • 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.
  • 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

21 Nov 04:38
Compare
Choose a tag to compare
  • Ensure stable ABI between cargo-php and downstream extensions. #108
    • ext-php-rs versions used when compiling CLI and extension are now
      compared.

Version 0.7.0

20 Nov 01:36
Compare
Choose a tag to compare
  • 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.
  • 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.