diff --git a/.release-please-manifest.json b/.release-please-manifest.json index fa6b850..201e4e5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".": "4.5.1"} +{".":"4.6.0"} diff --git a/CHANGELOG.md b/CHANGELOG.md index e76a881..174e2cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ +# Changelog + +## [4.6.0](https://github.com/Flagsmith/flagsmith-php-client/compare/v4.5.1...v4.6.0) (2025-10-31) + + +### Features + +* **Engine:** Evaluate from EvaluationContext ([#108](https://github.com/Flagsmith/flagsmith-php-client/issues/108)) ([4cb3481](https://github.com/Flagsmith/flagsmith-php-client/commit/4cb34819912d132c0b252e2369ab8c04fe5e245f)) +* get-version-from-composer-and-pass-it-in-headers ([#112](https://github.com/Flagsmith/flagsmith-php-client/issues/112)) ([ae35794](https://github.com/Flagsmith/flagsmith-php-client/commit/ae35794e1df4b2f5b490727e7cbbeb033f6167be)) +* **Local evaluation:** Use the new context-based engine ([#109](https://github.com/Flagsmith/flagsmith-php-client/issues/109)) ([66435a6](https://github.com/Flagsmith/flagsmith-php-client/commit/66435a6234f90cb5c0c816bf94ef57347ab23424)) + + +### Bug Fixes + +* Implicit identity key not supported for % Split operator ([#115](https://github.com/Flagsmith/flagsmith-php-client/issues/115)) ([a9d1e23](https://github.com/Flagsmith/flagsmith-php-client/commit/a9d1e23abac97fe50798aef276c51fd6c0c803b6)) + + +### Docs + +* removing hero image from SDK readme ([#95](https://github.com/Flagsmith/flagsmith-php-client/issues/95)) ([de30e67](https://github.com/Flagsmith/flagsmith-php-client/commit/de30e67bae9f8799eceafcd0c02ee6ce1e370b27)) + + +### Refactoring + +* **Engine:** nits from context work review ([#117](https://github.com/Flagsmith/flagsmith-php-client/issues/117)) ([1eaa8e4](https://github.com/Flagsmith/flagsmith-php-client/commit/1eaa8e4ff7e942dc3147b52b66e88d8e6f8552d9)) + + +### Other + +* add root CODEOWNERS ([#106](https://github.com/Flagsmith/flagsmith-php-client/issues/106)) ([28a1063](https://github.com/Flagsmith/flagsmith-php-client/commit/28a10639a6db2056a37fda602b9d44130e66dffe)) +* versioned test data ([#97](https://github.com/Flagsmith/flagsmith-php-client/issues/97)) ([ce56815](https://github.com/Flagsmith/flagsmith-php-client/commit/ce5681527304c81089019809bc8905a686e3f92a)) + -# [v4.5.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.1) - 2025-03-31 +## [v4.5.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.1) - 2025-03-31 ## What's Changed * ci: update actions versions by [@matthewelwell](https://github.com/matthewelwell) in [#91](https://github.com/Flagsmith/flagsmith-php-client/pull/91) @@ -15,7 +47,7 @@ -# [v4.5.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.0) - 2024-10-02 +## [v4.5.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.0) - 2024-10-02 ## What's Changed * Add ext- requirements to composer.json by [@misakstvanu](https://github.com/misakstvanu) in [#76](https://github.com/Flagsmith/flagsmith-php-client/pull/76) @@ -27,7 +59,7 @@ -# [v4.4.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.4.0) - 2024-08-28 +## [v4.4.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.4.0) - 2024-08-28 ## What's Changed * feat: Support transient identities and traits by [@khvn26](https://github.com/khvn26) in [#78](https://github.com/Flagsmith/flagsmith-php-client/pull/78) @@ -46,7 +78,7 @@ -# [v4.3.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.1) - 2024-05-24 +## [v4.3.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.1) - 2024-05-24 ## What's Changed * Regex segment local evaluation with int trait by [@floranpagliai](https://github.com/floranpagliai) in [#72](https://github.com/Flagsmith/flagsmith-php-client/pull/72) @@ -58,7 +90,7 @@ -# [v4.3.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.0) - 2024-04-19 +## [v4.3.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.0) - 2024-04-19 ## What's Changed * feat: Identity overrides in local evaluation mode by [@khvn26](https://github.com/khvn26) in [#69](https://github.com/Flagsmith/flagsmith-php-client/pull/69) @@ -70,7 +102,7 @@ -# [v4.2.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.1) - 2024-03-19 +## [v4.2.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.1) - 2024-03-19 ## What's Changed * fix(identity-cache-key): Use hashed identifier by [@gagantrivedi](https://github.com/gagantrivedi) in [#68](https://github.com/Flagsmith/flagsmith-php-client/pull/68) @@ -82,7 +114,7 @@ -# [v4.2.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.0) - 2024-03-15 +## [v4.2.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.0) - 2024-03-15 ## What's Changed * Fix method getEnvironment return type by [@tm1000](https://github.com/tm1000) in [#63](https://github.com/Flagsmith/flagsmith-php-client/pull/63) @@ -98,7 +130,7 @@ -# [v4.1.2](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.2) - 2023-11-07 +## [v4.1.2](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.2) - 2023-11-07 ## What's Changed * Fix invalid cache value by [@VincentLanglet](https://github.com/VincentLanglet) in [#58](https://github.com/Flagsmith/flagsmith-php-client/pull/58) @@ -111,7 +143,7 @@ -# [v4.1.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.1) - 2023-09-01 +## [v4.1.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.1) - 2023-09-01 ## What's Changed * Avoid deprecation about dynamic properties by [@VincentLanglet](https://github.com/VincentLanglet) in [#55](https://github.com/Flagsmith/flagsmith-php-client/pull/55) @@ -127,7 +159,7 @@ -# [Version 4.1.0 (v4.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.0) - 2023-07-25 +## [Version 4.1.0 (v4.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.0) - 2023-07-25 ## What's Changed * Ensure example application works by [@matthewelwell](https://github.com/matthewelwell) in [#47](https://github.com/Flagsmith/flagsmith-php-client/pull/47) @@ -142,7 +174,7 @@ -# [Version 4.0.0 (v4.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.0.0) - 2023-06-15 +## [Version 4.0.0 (v4.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.0.0) - 2023-06-15 ## What's Changed * BREAKING CHANGE: Use django id if present for percentage split evaluations by [@matthewelwell](https://github.com/matthewelwell) in [#48](https://github.com/Flagsmith/flagsmith-php-client/pull/48) @@ -156,7 +188,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.1.4 (v3.1.4)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.4) - 2023-06-08 +## [Version 3.1.4 (v3.1.4)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.4) - 2023-06-08 ## What's Changed * Add [@throws](https://github.com/throws) annotation by [@VincentLanglet](https://github.com/VincentLanglet) in [#39](https://github.com/Flagsmith/flagsmith-php-client/pull/39) @@ -170,7 +202,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.1.3 (v3.1.3)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.3) - 2023-05-24 +## [Version 3.1.3 (v3.1.3)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.3) - 2023-05-24 ## What's Changed * chore/bump version by [@dabeeeenster](https://github.com/dabeeeenster) in [#42](https://github.com/Flagsmith/flagsmith-php-client/pull/42) @@ -183,7 +215,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.1.2 (v3.1.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.2) - 2023-04-14 +## [Version 3.1.2 (v3.1.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.2) - 2023-04-14 ## What's Changed * Create .gitattributes to ignore test folder by [@VincentLanglet](https://github.com/VincentLanglet) in [#38](https://github.com/Flagsmith/flagsmith-php-client/pull/38) @@ -198,7 +230,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.1.1 (v3.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.1) - 2023-03-14 +## [Version 3.1.1 (v3.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.1) - 2023-03-14 ## What's Changed * Solve php 8.2 deprecation by [@VincentLanglet](https://github.com/VincentLanglet) in [#34](https://github.com/Flagsmith/flagsmith-php-client/pull/34) @@ -213,7 +245,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.1.0 (v3.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.0) - 2022-11-01 +## [Version 3.1.0 (v3.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.0) - 2022-11-01 ## What's Changed * Add modulo operator by [@matthewelwell](https://github.com/matthewelwell) in [#32](https://github.com/Flagsmith/flagsmith-php-client/pull/32) @@ -227,7 +259,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.0.2 (v3.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.2) - 2022-07-13 +## [Version 3.0.2 (v3.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.2) - 2022-07-13 ## What's Changed * Mocking routes directly from file by [@doppiogancio](https://github.com/doppiogancio) in [#26](https://github.com/Flagsmith/flagsmith-php-client/pull/26) @@ -244,7 +276,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.0.1 (v3.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.1) - 2022-06-07 +## [Version 3.0.1 (v3.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.1) - 2022-06-07 @@ -252,7 +284,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 3.0.0 (v3.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.0) - 2022-06-07 +## [Version 3.0.0 (v3.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.0) - 2022-06-07 ## What's Changed * Pass third declared param on set through by [@tm1000](https://github.com/tm1000) in [#13](https://github.com/Flagsmith/flagsmith-php-client/pull/13) @@ -276,7 +308,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 2.1.1 (v2.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.1) - 2022-02-01 +## [Version 2.1.1 (v2.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.1) - 2022-02-01 ## What's Changed * Remove Guzzle from require by [@tm1000](https://github.com/tm1000) in [#12](https://github.com/Flagsmith/flagsmith-php-client/pull/12) @@ -288,7 +320,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 2.1.0 (v2.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.0) - 2022-01-31 +## [Version 2.1.0 (v2.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.0) - 2022-01-31 ## What's Changed * Fix for PHP v8.0+ by [@dabeeeenster](https://github.com/dabeeeenster) in [#11](https://github.com/Flagsmith/flagsmith-php-client/pull/11) @@ -298,7 +330,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 2.0.2 (v2.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.2) - 2021-11-18 +## [Version 2.0.2 (v2.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.2) - 2021-11-18 ## What's Changed * FIX: Make initialValue nullable [#8](https://github.com/Flagsmith/flagsmith-php-client/issues/8) by [@JustinBack](https://github.com/JustinBack) in [#9](https://github.com/Flagsmith/flagsmith-php-client/pull/9) @@ -312,7 +344,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 2.0.1 (v2.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.1) - 2021-10-29 +## [Version 2.0.1 (v2.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.1) - 2021-10-29 @@ -320,7 +352,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags -# [Version 2.0 (v2.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.0) - 2021-10-21 +## [Version 2.0 (v2.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.0) - 2021-10-21 Implements PSRs as per [#4](https://github.com/Flagsmith/flagsmith-php-client/issues/4) @@ -328,7 +360,7 @@ Implements PSRs as per [#4](https://github.com/Flagsmith/flagsmith-php-client/is -# [Flagsmith Rename (v1.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v1.0.0) - 2021-05-04 +## [Flagsmith Rename (v1.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v1.0.0) - 2021-05-04 - Refactored Bullet Train > Flagsmith - New Packagist name diff --git a/composer.json b/composer.json index 73b986d..f900c53 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "flagsmith/flagsmith-php-client", "type": "library", - "version": "v4.5.1", + "version": "4.6.0", "license": "BSD-3-Clause", "authors": [ {