Skip to content

Releases: flagship-io/flagship-php-sdk

4.0.0

09 Jul 16:44
497cb09
Compare
Choose a tag to compare

Add

  • Visitor Status
  • Flag status
  • Visitor->getFlags method
  • The onSdkStatusChanged properties in SDK configuration

Change

  • visitor->getFlag method signature
  • Flag->getValue method signature
    -hasConsented property when creating a visitor is now mandatory
  • SDK status enum
  • Require now php >= 8.1

Remove

  • From visitor instance (modifications, getFlagsDataArray, getModificationsArray, getModification, getModificationSync, getModificationInfo, getModificationInfoSync, synchronizeModifications, and activateModification)
  • From SDK configuration (statusChangedCallback)

3.2.1

29 Feb 17:36
1172f2e
Compare
Choose a tag to compare

Improved

  • Usage data collection process

3.2.0

11 Jan 21:13
522bba7
Compare
Choose a tag to compare

Added

  • Collecting developer usage tracking data:
    • Troubleshooting data collection can now be enabled with your agreement by Flagship services in the SDK for debugging purposes.
    • Usage data collection is now enabled in the SDK, which will help us improve our product.
  • setDisableDeveloperUsageTracking accessor in FlagshipConfig class

3.1.3

14 Sep 16:29
3570419
Compare
Choose a tag to compare

Added

  • getCampaignName, getVariationGroupName and getVariationName in Flag metadata

3.1.2

29 Aug 16:19
bdfb13d
Compare
Choose a tag to compare

Added

  • setFetchThirdPartyData accessor in FlagshipConfig class
  • Warning logs in case of an outdated flag

Fixed

  • log error when setTimeout value is correct

3.1.1

14 Jun 19:40
1315a0d
Compare
Choose a tag to compare

Added

  • qt field in activate batch. It represents the time delta (in milliseconds) between when the hit reported occurred and the time it was sent.

3.1.0

07 Mar 09:07
a849960
Compare
Choose a tag to compare

Added

  • Tracking manager see
  • setCacheStrategy accessor in FlagshipConfig class
  • Flagship::close method
  • setHitCacheImplementation accessor in FlagshipConfig class
  • Hit cache management
  • OnVisitorexposed callback in FlagshipConfig class

Changed

  • Hits are now sent with a batch processing system

3.0.2

03 Oct 08:54
Compare
Choose a tag to compare

Added

  • visitor_consent key in the body of the campaign request

Removed

  • sendContextEvent query param from the campaign request

3.0.1

05 Jul 07:53
Compare
Choose a tag to compare

Changed

  • Event hit accessor setValue can now only accept an integer and must not be a negative value

3.0.0

24 May 09:26
Compare
Choose a tag to compare

Added

  • bucketingUrl property accessors in Flagship\Config\BucketingConfig
  • slug property accessors in Flagship\Flag\FlagMetadata
  • Managing visitor cache

Changed

  • Bucketing mode
  • BucketingConfig constructor signature
  • FlagshipConfig::bucketing signature

Removed

  • bucketingDirectoryPath property accessors from Flagship\Config\BucketingConfig