Skip to content

Conversation

@LaunchDarklyReleaseBot
Copy link
Contributor

[4.2.0] - 2022-04-12

Added:

  • Add support for psr/log v2 and v3.
  • The LaunchDarkly\Integrations\TestData is a new way to inject feature flag data programmatically into the SDK for testing—either with fixed values for each flag, or with targets and/or rules that can return different values for different users. Unlike LaunchDarkly\Integrations\Files, this mechanism does not use any external resources, only the data that your test code has provided.

eli-darkly and others added 30 commits July 16, 2018 16:05
add new version of allFlags() that captures more metadata
add ability to filter for client-side flags only
implement evaluation with explanations
# Conflicts:
#	src/LaunchDarkly/LDClient.php
add option to reduce front-end metadata for untracked flags
keelerm84 and others added 26 commits February 2, 2022 15:41
If you try to create a custom attribute with a value of 0, our event
serialization code would filter that out because `0 != null` is false.
However, it is reasonable to expect that a user might want to provide
the value of 0 as a custom value.

The code has been updated to only exclude explicitly null values.
… comment blocks to adhere better to phpdoc; fixed formatting errors in both TestData and TestDataTest
Co-authored-by: Matthew M. Keeler <[email protected]>
…zation of booleans including in code blogs; other formatting adjustments
…chdarkly/php-server-sdk-private into cc/sc-137833/test-data-flag-builder
… by pass by reference instead of pass by value
Merge test data feature into main line
@keelerm84 keelerm84 requested a review from eli-darkly April 12, 2022 15:14
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot merged commit 61eba47 into master Apr 13, 2022
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot deleted the release-4.2.0 branch April 13, 2022 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.