Skip to content

v1.3.2

Latest

Choose a tag to compare

@cursor cursor released this 02 Nov 22:21
00d94c9

PHP SDK v1.3.2 (core only)

Patch release of toggly/feature-management-php. Laravel and WordPress mirrors were not tagged in this release.

Fixed

  • Restore PHP 7.4 parseability on the live-update WebSocket path by replacing PHP 8.0 str_starts_with / str_contains helpers with strpos checks in FeatureProvider and WebSocketClient.
  • Avoid a native constructor union type on MongoDBSnapshotProvider so the optional MongoDB snapshot adapter still parses on PHP ^7.4.

Notes

  • PR #34's Laravel #[FeatureUsage] middleware fix remains in monorepo main but is not published as a Laravel package release yet (no new core API; FeatureUsageScope shipped in 1.3.0).

Installation

composer require toggly/feature-management-php:^1.3.2

Links

What's Changed

  • Fix Laravel #[FeatureUsage] middleware to record usage scopes by @scattered-code in #34
  • Bump Laravel 13 host to 13.11.0 and exercise real flag evaluation by @scattered-code in #37
  • Fix Packagist mirror tags to use each package's own version by @scattered-code in #35
  • Prove PHP core 7.4–8.5 matrix with PHPUnit 13, Illuminate 13, protobuf v5 by @scattered-code in #39
  • Widen WordPress plugin support matrix and prove flag evaluation in CI by @scattered-code in #38
  • Bump core package to 1.3.2 for PHP 7.4 live-update fixes by @scattered-code in #40

Full Changelog: v1.3.1...v1.3.2