Skip to content

Commit

Permalink
Releasing version 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LaunchDarklyReleaseBot committed Oct 23, 2023
1 parent cb0deb8 commit 3dc0a26
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

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

## [6.0.0] - 2023-10-23
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.

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).

### Added:
- A new `Migrator` type which provides an out-of-the-box configurable migration framework.
- For more advanced use cases, added new `migrationVariation` and `trackMigrationOperation` methods on `LDClient`.

### Removed:
- PHP 8.0 support was removed.
- 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).
- Methods which originally took an `LDContext` or an `LDUser` now only accept an `LDContext`.
- Previously deprecated test data flag builder methods `variationForAllUsers`, `valueForAllUsers`, and `clearUserTargets` have been removed.

## [5.2.0] - 2023-10-23
### Deprecated:
- `LDUser` is now deprecated in favor of `LDContext`.
Expand Down
2 changes: 1 addition & 1 deletion src/LaunchDarkly/LDClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class LDClient
* The current SDK version.
* @var string
*/
const VERSION = '5.2.0';
const VERSION = '6.0.0';

protected string $_sdkKey;
protected string $_baseUri;
Expand Down

0 comments on commit 3dc0a26

Please sign in to comment.