Skip to content

Releases: launchdarkly/php-server-sdk

3.9.0

21 Jun 21:35
Compare
Choose a tag to compare

[3.9.0] - 2021-06-21

Added:

  • The SDK now supports the ability to control the proportion of traffic allocation to an experiment. This works in conjunction with a new platform feature now available to early access customers.

3.8.0

19 Apr 21:17
Compare
Choose a tag to compare

[3.8.0] - 2021-04-19

Added:

  • Added the alias method to LDClient. This can be used to associate two user objects for analytics purposes with an alias event.

3.7.6

14 Apr 17:50
Compare
Choose a tag to compare

[3.7.6] - 2021-04-14

Fixed:

  • When using Files.featureRequester, if a data file did not contain valid JSON, the SDK would throw a PHP syntax error instead of the expected "File is not valid JSON" error. (Thanks, GuiEloiSantos!)

3.7.5

01 Mar 17:12
Compare
Choose a tag to compare

[3.7.5] - 2021-03-01

Fixed:

  • PHPRedis::featureRequester was not recognizing the phpredis_client option. (Thanks, riekelt!)

3.7.4

07 Jan 19:23
Compare
Choose a tag to compare

[3.7.4] - 2021-01-07

Fixed:

  • Fixed a warning message which erroneously referred to the wrong method.

3.7.3

28 Oct 19:13
Compare
Choose a tag to compare

[3.7.3] - 2020-10-28

Fixed:

  • When using the DynamoDB data store integration with a prefix string, the prefix was being prepended to keys with a slash separator (example: my-prefix/features:my-flag-key). This was inconsistent with the colon separator that is used in the other server-side SDKs (example: my-prefix:features:my-flag-key), making the PHP SDK unable to read flags that were put into the database by other SDKs or by the Relay Proxy, if a prefix was used. This has been fixed to be consistent with the other SDKs. (#138)

3.7.2

24 Apr 17:55
Compare
Choose a tag to compare

[3.7.2] - 2020-04-24

Fixed:

  • The SDK could try to send analytics events even if send_events had been set to false. This bug was introduced in the 3.6.0 release.
  • A use statement with the wrong namespace was causing Composer to print a deprecation warning. (Thanks, bfenton-smugmug!)

3.7.1

03 Jan 21:17
Compare
Choose a tag to compare

[3.7.1] - 2020-01-03

Fixed:

  • Loosened the Monolog dependency constraint so that it will accept either a 1.x or a 2.x version. This should be compatible with all currently supported PHP versions; the SDK's use of Monolog does not rely on any features that are specific to 1.x. (Thanks, mrtus!)
  • In rare circumstances (depending on the exact data in the flag configuration, the flag's salt value, and the user properties), a percentage rollout could fail and return a default value, logging the error "Data inconsistency in feature flag ... variation/rollout object with no variation or rollout". This would happen if the user's hashed value fell exactly at the end of the last "bucket" (the last variation defined in the rollout). This has been fixed so that the user will get the last variation.

3.7.0

13 Dec 22:14
Compare
Choose a tag to compare

[3.7.0] - 2019-12-13

Added:

  • Added integration with the phpredis extension, which has similar functionality to the already-supported predis but may have better performance (since predis is written in pure PHP, whereas phpredis uses a C extension). See LaunchDarkly::Integrations::PHPRedis. (Thanks, nicofff!)

3.6.0

01 Oct 23:28
Compare
Choose a tag to compare

[3.6.0] - 2019-10-01

Added:

  • Added support for upcoming LaunchDarkly experimentation features. See LDClient.track.