Skip to content

Commit 527469d

Browse files
committed
chore(main): release 5.0.0
1 parent 91b0a3b commit 527469d

File tree

3 files changed

+65
-27
lines changed

3 files changed

+65
-27
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{".": "4.5.1"}
1+
{".":"5.0.0"}

CHANGELOG.md

Lines changed: 63 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
1+
# Changelog
2+
3+
## [5.0.0](https://github.com/Flagsmith/flagsmith-php-client/compare/v4.5.1...v5.0.0) (2025-12-04)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **Engine:** Use context-based evaluation engine ([#126](https://github.com/Flagsmith/flagsmith-php-client/issues/126))
9+
10+
### Features
11+
12+
* **Engine:** Evaluate from EvaluationContext ([#108](https://github.com/Flagsmith/flagsmith-php-client/issues/108)) ([4cb3481](https://github.com/Flagsmith/flagsmith-php-client/commit/4cb34819912d132c0b252e2369ab8c04fe5e245f))
13+
* **Engine:** Use context-based evaluation engine ([#126](https://github.com/Flagsmith/flagsmith-php-client/issues/126)) ([91b0a3b](https://github.com/Flagsmith/flagsmith-php-client/commit/91b0a3b74495247f7aec5baa3fee2ffd0c825624))
14+
* 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))
15+
* **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))
16+
17+
18+
### Bug Fixes
19+
20+
* **Engine:** Evaluate multivariates from segment overrides ([#120](https://github.com/Flagsmith/flagsmith-php-client/issues/120)) ([88fcf5f](https://github.com/Flagsmith/flagsmith-php-client/commit/88fcf5f35f17883b46848331c39d5d74c9a91113))
21+
* 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))
22+
23+
24+
### Docs
25+
26+
* 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))
27+
28+
29+
### Refactoring
30+
31+
* **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))
32+
33+
34+
### Other
35+
36+
* add root CODEOWNERS ([#106](https://github.com/Flagsmith/flagsmith-php-client/issues/106)) ([28a1063](https://github.com/Flagsmith/flagsmith-php-client/commit/28a10639a6db2056a37fda602b9d44130e66dffe))
37+
* versioned test data ([#97](https://github.com/Flagsmith/flagsmith-php-client/issues/97)) ([ce56815](https://github.com/Flagsmith/flagsmith-php-client/commit/ce5681527304c81089019809bc8905a686e3f92a))
38+
139
<a id="v4.5.1"></a>
2-
# [v4.5.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.1) - 2025-03-31
40+
## [v4.5.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.1) - 2025-03-31
341

442
## What's Changed
543
* ci: update actions versions by [@matthewelwell](https://github.com/matthewelwell) in [#91](https://github.com/Flagsmith/flagsmith-php-client/pull/91)
@@ -15,7 +53,7 @@
1553

1654

1755
<a id="v4.5.0"></a>
18-
# [v4.5.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.0) - 2024-10-02
56+
## [v4.5.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.5.0) - 2024-10-02
1957

2058
## What's Changed
2159
* 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 +65,7 @@
2765

2866

2967
<a id="v4.4.0"></a>
30-
# [v4.4.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.4.0) - 2024-08-28
68+
## [v4.4.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.4.0) - 2024-08-28
3169

3270
## What's Changed
3371
* 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 +84,7 @@
4684

4785

4886
<a id="v4.3.1"></a>
49-
# [v4.3.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.1) - 2024-05-24
87+
## [v4.3.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.1) - 2024-05-24
5088

5189
## What's Changed
5290
* 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 +96,7 @@
5896

5997

6098
<a id="v4.3.0"></a>
61-
# [v4.3.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.0) - 2024-04-19
99+
## [v4.3.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.3.0) - 2024-04-19
62100

63101
## What's Changed
64102
* 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 +108,7 @@
70108

71109

72110
<a id="v4.2.1"></a>
73-
# [v4.2.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.1) - 2024-03-19
111+
## [v4.2.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.1) - 2024-03-19
74112

75113
## What's Changed
76114
* 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 +120,7 @@
82120

83121

84122
<a id="v4.2.0"></a>
85-
# [v4.2.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.0) - 2024-03-15
123+
## [v4.2.0](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.2.0) - 2024-03-15
86124

87125
## What's Changed
88126
* Fix method getEnvironment return type by [@tm1000](https://github.com/tm1000) in [#63](https://github.com/Flagsmith/flagsmith-php-client/pull/63)
@@ -98,7 +136,7 @@
98136

99137

100138
<a id="v4.1.2"></a>
101-
# [v4.1.2](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.2) - 2023-11-07
139+
## [v4.1.2](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.2) - 2023-11-07
102140

103141
## What's Changed
104142
* Fix invalid cache value by [@VincentLanglet](https://github.com/VincentLanglet) in [#58](https://github.com/Flagsmith/flagsmith-php-client/pull/58)
@@ -111,7 +149,7 @@
111149

112150

113151
<a id="v4.1.1"></a>
114-
# [v4.1.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.1) - 2023-09-01
152+
## [v4.1.1](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.1) - 2023-09-01
115153

116154
## What's Changed
117155
* Avoid deprecation about dynamic properties by [@VincentLanglet](https://github.com/VincentLanglet) in [#55](https://github.com/Flagsmith/flagsmith-php-client/pull/55)
@@ -127,7 +165,7 @@
127165

128166

129167
<a id="v4.1.0"></a>
130-
# [Version 4.1.0 (v4.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.0) - 2023-07-25
168+
## [Version 4.1.0 (v4.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.1.0) - 2023-07-25
131169

132170
## What's Changed
133171
* Ensure example application works by [@matthewelwell](https://github.com/matthewelwell) in [#47](https://github.com/Flagsmith/flagsmith-php-client/pull/47)
@@ -142,7 +180,7 @@
142180

143181

144182
<a id="v4.0.0"></a>
145-
# [Version 4.0.0 (v4.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.0.0) - 2023-06-15
183+
## [Version 4.0.0 (v4.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v4.0.0) - 2023-06-15
146184

147185
## What's Changed
148186
* 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 +194,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
156194

157195

158196
<a id="v3.1.4"></a>
159-
# [Version 3.1.4 (v3.1.4)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.4) - 2023-06-08
197+
## [Version 3.1.4 (v3.1.4)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.4) - 2023-06-08
160198

161199
## What's Changed
162200
* 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 +208,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
170208

171209

172210
<a id="v3.1.3"></a>
173-
# [Version 3.1.3 (v3.1.3)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.3) - 2023-05-24
211+
## [Version 3.1.3 (v3.1.3)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.3) - 2023-05-24
174212

175213
## What's Changed
176214
* chore/bump version by [@dabeeeenster](https://github.com/dabeeeenster) in [#42](https://github.com/Flagsmith/flagsmith-php-client/pull/42)
@@ -183,7 +221,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
183221

184222

185223
<a id="v3.1.2"></a>
186-
# [Version 3.1.2 (v3.1.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.2) - 2023-04-14
224+
## [Version 3.1.2 (v3.1.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.2) - 2023-04-14
187225

188226
## What's Changed
189227
* 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 +236,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
198236

199237

200238
<a id="v3.1.1"></a>
201-
# [Version 3.1.1 (v3.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.1) - 2023-03-14
239+
## [Version 3.1.1 (v3.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.1) - 2023-03-14
202240

203241
## What's Changed
204242
* Solve php 8.2 deprecation by [@VincentLanglet](https://github.com/VincentLanglet) in [#34](https://github.com/Flagsmith/flagsmith-php-client/pull/34)
@@ -213,7 +251,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
213251

214252

215253
<a id="v3.1.0"></a>
216-
# [Version 3.1.0 (v3.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.0) - 2022-11-01
254+
## [Version 3.1.0 (v3.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.1.0) - 2022-11-01
217255

218256
## What's Changed
219257
* Add modulo operator by [@matthewelwell](https://github.com/matthewelwell) in [#32](https://github.com/Flagsmith/flagsmith-php-client/pull/32)
@@ -227,7 +265,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
227265

228266

229267
<a id="v3.0.2"></a>
230-
# [Version 3.0.2 (v3.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.2) - 2022-07-13
268+
## [Version 3.0.2 (v3.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.2) - 2022-07-13
231269

232270
## What's Changed
233271
* Mocking routes directly from file by [@doppiogancio](https://github.com/doppiogancio) in [#26](https://github.com/Flagsmith/flagsmith-php-client/pull/26)
@@ -244,15 +282,15 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
244282

245283

246284
<a id="v3.0.1"></a>
247-
# [Version 3.0.1 (v3.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.1) - 2022-06-07
285+
## [Version 3.0.1 (v3.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.1) - 2022-06-07
248286

249287

250288

251289
[Changes][v3.0.1]
252290

253291

254292
<a id="v3.0.0"></a>
255-
# [Version 3.0.0 (v3.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.0) - 2022-06-07
293+
## [Version 3.0.0 (v3.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v3.0.0) - 2022-06-07
256294

257295
## What's Changed
258296
* 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 +314,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
276314

277315

278316
<a id="v2.1.1"></a>
279-
# [Version 2.1.1 (v2.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.1) - 2022-02-01
317+
## [Version 2.1.1 (v2.1.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.1) - 2022-02-01
280318

281319
## What's Changed
282320
* Remove Guzzle from require by [@tm1000](https://github.com/tm1000) in [#12](https://github.com/Flagsmith/flagsmith-php-client/pull/12)
@@ -288,7 +326,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
288326

289327

290328
<a id="v2.1.0"></a>
291-
# [Version 2.1.0 (v2.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.0) - 2022-01-31
329+
## [Version 2.1.0 (v2.1.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.1.0) - 2022-01-31
292330

293331
## What's Changed
294332
* Fix for PHP v8.0+ by [@dabeeeenster](https://github.com/dabeeeenster) in [#11](https://github.com/Flagsmith/flagsmith-php-client/pull/11)
@@ -298,7 +336,7 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
298336

299337

300338
<a id="v2.0.2"></a>
301-
# [Version 2.0.2 (v2.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.2) - 2021-11-18
339+
## [Version 2.0.2 (v2.0.2)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.2) - 2021-11-18
302340

303341
## What's Changed
304342
* 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,23 +350,23 @@ WARNING: We modified the local evaluation behaviour. You may see different flags
312350

313351

314352
<a id="v2.0.1"></a>
315-
# [Version 2.0.1 (v2.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.1) - 2021-10-29
353+
## [Version 2.0.1 (v2.0.1)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.1) - 2021-10-29
316354

317355

318356

319357
[Changes][v2.0.1]
320358

321359

322360
<a id="v2.0.0"></a>
323-
# [Version 2.0 (v2.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.0) - 2021-10-21
361+
## [Version 2.0 (v2.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v2.0.0) - 2021-10-21
324362

325363
Implements PSRs as per [#4](https://github.com/Flagsmith/flagsmith-php-client/issues/4)
326364

327365
[Changes][v2.0.0]
328366

329367

330368
<a id="v1.0.0"></a>
331-
# [Flagsmith Rename (v1.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v1.0.0) - 2021-05-04
369+
## [Flagsmith Rename (v1.0.0)](https://github.com/Flagsmith/flagsmith-php-client/releases/tag/v1.0.0) - 2021-05-04
332370

333371
- Refactored Bullet Train > Flagsmith
334372
- New Packagist name

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "flagsmith/flagsmith-php-client",
33
"type": "library",
4-
"version": "v4.5.1",
4+
"version": "5.0.0",
55
"license": "BSD-3-Clause",
66
"authors": [
77
{

0 commit comments

Comments
 (0)