From 3dc0a266a095d37b71a3ad7d5ad006e4925843b1 Mon Sep 17 00:00:00 2001 From: LaunchDarklyReleaseBot Date: Mon, 23 Oct 2023 20:04:05 +0000 Subject: [PATCH] Releasing version 6.0.0 --- CHANGELOG.md | 15 +++++++++++++++ src/LaunchDarkly/LDClient.php | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b9919aa..0b914639 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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`. diff --git a/src/LaunchDarkly/LDClient.php b/src/LaunchDarkly/LDClient.php index 59455562..36266f13 100644 --- a/src/LaunchDarkly/LDClient.php +++ b/src/LaunchDarkly/LDClient.php @@ -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;