Releases: Eppo-exp/php-sdk
Releases · Eppo-exp/php-sdk
v3.2.2
v3.2.1
v3.2.0
What's Changed
- feat: parse new
banditReferences
field by @typotter in #34 - feat: Only load bandits when current models are out of date by @typotter in #35
- fix: Tiebreak best score by action key by @typotter in #36
- Make test workflow reusable and dispatchable by @typotter in #37
Full Changelog: 3.1.0...v3.2.0
v3.1.0
What's Changed
New Features
- Bandits See Multi-armed Contextual Bandits.
- Improved Flag configuration caching.
Overview
- chore: Lint the codebase by @typotter in #25
- feat: Bandits part 1: BanditVariations by @typotter in #23
- feat: Bandits part 2: Read, parse and store BanditVariations from the API response. by @typotter in #24
- feat: Bandits part 3: Bandit model DTOs by @typotter in #26
- feat: Layered cache upgrades by @typotter in #30
- feat: use ETag to avoid configuration loading when it has not changed by @typotter in #31
- feat: Bandits part 4: Evaluation by @typotter in #27
- feat: Bandits part 5: load and store bandit models from API by @typotter in #28
- feat: Bandits part 6: Client and e2e testing by @typotter in #29
- Update README for Bandits by @typotter in #33
Full Changelog: 3.0.0...3.1.0
3.0.0
What's Changed
Summary
Version 3 uses a new format for flag configurations, the Universal Flag Configuration (UFC).
Breaking Changes
- Included in the change to UFC is the requirement of strongly-typed variations. Thus all
Get<Type>Assignment()
calls now require a non-null default value to return if nothing is assigned or a (handled) error is encountered. - The
flagKey
argument now comes first in allGet<Type>Assignment()
method signatures.
Changes
- add graceful mode that does not throw exceptions by default (FF-953) by @leoromanovsky in #13
- Add support for evaluating semver targeting rules (FF-1574) by @leoromanovsky in #14
- Read SDK metadata from composer file instead of hard-coding it by @typotter in #17
- Utilize PSR-18 by @typotter in #18
- Implement Unified Flag Configuration in the SDK by @typotter in #19
- Overhaul Fetch&Cache strategy (FF-2372) by @typotter in #21
New Contributors
Full Changelog: 1.2.3...3.0.0
1.2.3
1.2.1
What's Changed
- Update docs link by @schmit in #7
- perform a single GET request when fetching from the remote server (FF-1018) by @leoromanovsky in #11
- use hardcoded sdkName and sdkVersion parameters (FF-962) by @leoromanovsky in #10
New Contributors
- @schmit made their first contribution in #7
- @leoromanovsky made their first contribution in #11
Full Changelog: 1.2.0...1.2.1
1.2.0
Added the ability get typed variation values
getAssignment()
, which always returns a string, is now deprecated- We now have four typed getters,
getStringAssignment()
,getNumericAssignment()
,getBooleanAssignment()
,getParsedJSONAssignment()
andgetJSONStringAssignment()
that will return the variation with the respective type, if it is typed that way in the Eppo platform. - Experiment keys will be generated from the combination of experiment and allocation keys--now allowing for multiple allocations per experiment.
- We also have added
allocation
andfeatureFlag
as optional additional information that can be logged when a subject is assigned.