Skip to content

Commit 3dc0a26

Browse files
author
LaunchDarklyReleaseBot
committed
Releasing version 6.0.0
1 parent cb0deb8 commit 3dc0a26

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
All notable changes to the LaunchDarkly PHP SDK will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [6.0.0] - 2023-10-23
6+
The latest version of this SDK supports the ability to manage migrations or modernizations, using migration flags. You might use this functionality if you are optimizing queries, upgrading to new tech stacks, migrating from one database to another, or other similar technology changes. Migration flags are part of LaunchDarkly's Early Access Program. This feature is available to all LaunchDarkly customers but may undergo additional changes before it is finalized.
7+
8+
For detailed information about this version, refer to the list below. For information on how to upgrade from the previous version, read the [migration guide](https://docs.launchdarkly.com/sdk/server-side/php/migration-5-to-6).
9+
10+
### Added:
11+
- A new `Migrator` type which provides an out-of-the-box configurable migration framework.
12+
- For more advanced use cases, added new `migrationVariation` and `trackMigrationOperation` methods on `LDClient`.
13+
14+
### Removed:
15+
- PHP 8.0 support was removed.
16+
- The legacy user format for contexts is no longer supported. To learn more, read the [Contexts documentation](https://docs.launchdarkly.com/guides/flags/intro-contexts).
17+
- Methods which originally took an `LDContext` or an `LDUser` now only accept an `LDContext`.
18+
- Previously deprecated test data flag builder methods `variationForAllUsers`, `valueForAllUsers`, and `clearUserTargets` have been removed.
19+
520
## [5.2.0] - 2023-10-23
621
### Deprecated:
722
- `LDUser` is now deprecated in favor of `LDContext`.

src/LaunchDarkly/LDClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class LDClient
3636
* The current SDK version.
3737
* @var string
3838
*/
39-
const VERSION = '5.2.0';
39+
const VERSION = '6.0.0';
4040

4141
protected string $_sdkKey;
4242
protected string $_baseUri;

0 commit comments

Comments
 (0)