Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

prepare 2.0.1 release #12

Merged
merged 154 commits into from
May 17, 2023
Merged

prepare 2.0.1 release #12

merged 154 commits into from
May 17, 2023

Conversation

LaunchDarklyReleaseBot
Copy link
Contributor

[2.0.1] - 2023-05-17

Changed:

  • Updating Gradle to 7.6

Fixed:

  • Fixed NPE when creating a multi-context that included one invalid context.

…sses

add getters to EvaluationReason and hide its subclasses
…lasses

completely remove EvaluationReason subclasses
# Conflicts:
#	src/main/java/com/launchdarkly/sdk/EvaluationReason.java
#	src/main/java/com/launchdarkly/sdk/LDValue.java
remove @SInCE tags, misc doc fixes, add note about changelogging
make EvaluationDetail non-nullable + use boolean singletons
add JSON helpers, better serialization logic, and Gson adapter
# Conflicts:
#	src/main/java/com/launchdarkly/sdk/EvaluationDetail.java
#	src/test/java/com/launchdarkly/sdk/EvaluationReasonTest.java
#	src/test/java/com/launchdarkly/sdk/LDUserTest.java
improve and rigorously test equals() for all immutable types
more predictable exception behavior for LDValue.parse()
eli-darkly and others added 26 commits July 29, 2022 12:26
flatten nested multi-kind contexts when building a multi-kind context
…ation

fix user JSON validation to require that "custom" is an object or null
…ay-index

attribute ref components are always properties, not array indices
* re-add LDUser type, add conversion to LDContext

* misc fixes

* re-add test
…-null-key

allow anonymous user with null key to be converted to a context
doc comment improvements for user/context types
* update Gradle to 7.3.3 + fix snapshot releases

* actually it's 7.6

* update checkstyle version
**Requirements**

- [x] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/main/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions.
**Related issues**


https://app.shortcut.com/launchdarkly/story/198176/fix-java-contextmultibuilder-to-handle-adding-invalid-contexts

**Describe the solution you've provided**

Improved null safety of equality checks.
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot merged commit 6123607 into main May 17, 2023
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot deleted the release-2.0.1 branch May 17, 2023 20:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants