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

prepare 1.3.0 release #9

Merged
merged 100 commits into from
Jan 29, 2022
Merged

prepare 1.3.0 release #9

merged 100 commits into from
Jan 29, 2022

Conversation

LaunchDarklyReleaseBot
Copy link
Contributor

[1.3.0] - 2022-01-28

Added:

  • In EvaluationReason, added optional status information related to the new Big Segments feature.

…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 25 commits June 14, 2021 10:02
…(#30)

* bump Jackson compile-time dependency to 2.10.5.1 due to CVE-2020-25649

* 2.10.5.1 patch only exists in one of the Jackson modules
…udit-for-sdk-related-repos-pt-2

Updates docs URLs
don't suppress null property values when we serialize with Gson
@gwhelanLD gwhelanLD requested a review from eli-darkly January 28, 2022 21:57
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot merged commit 52f886a into master Jan 29, 2022
@LaunchDarklyReleaseBot LaunchDarklyReleaseBot deleted the release-1.3.0 branch January 29, 2022 00:29
LaunchDarklyReleaseBot added a commit that referenced this pull request Dec 1, 2022
* initial implementation of Java common SDK code (#1)

* stick with Java 7 for Android compatibility (#2)

* add getters to EvaluationReason and hide its subclasses

* completely remove EvaluationReason subclasses

* add JSON helpers, better serialization logic, and Gson adapter

* javadoc fixes

* remove @SInCE tags, misc doc fixes, add note about changelogging

* fix sample code

* rename Gson adapter, use factory method

* improve and rigorously test equals() for all immutable types

* simplifying

* simplifying

* make EvaluationDetail non-nullable + use boolean singletons

* hide Gson in pom

* doc additions

* javadoc fixes

* add Jackson adapter (#9)

* more predictable exception behavior for LDValue.parse()

* fix the JSON behavior of EvaluationDetail (#10)

* maximize and enforce test coverage (#12)

* build and test in Android! (#13)

* ensure real nulls can't be stored in an LDValue

* clean up some unnecessary coverage warnings

* more convenient location for coverage reports

* remove rc1 from changelog

* Removed the guides link

* Use Android machine image for CircleCI Android tests. (#17)

And update Android system image for testing to 21 (5.0 Lollipop).

* improve Gson integration using reader/writer delegation + add LDValue helpers (#16)

* add LDValue.arrayOf() + misc javadoc fixes

* Add inExperiment attribute to FALLTHROUGH and RULE_MATCH reasons

* fix javadoc

* Update src/main/java/com/launchdarkly/sdk/EvaluationReason.java

Co-authored-by: Sam Stokes <sstokes@launchdarkly.com>

* Update src/main/java/com/launchdarkly/sdk/EvaluationReason.java

Co-authored-by: Sam Stokes <sstokes@launchdarkly.com>

* Update src/main/java/com/launchdarkly/sdk/EvaluationReason.java

Co-authored-by: Sam Stokes <sstokes@launchdarkly.com>

* Update src/main/java/com/launchdarkly/sdk/EvaluationReason.java

Co-authored-by: Sam Stokes <sstokes@launchdarkly.com>

* respond to review comments

* fix test

* javadoc fix

* add validation of javadoc build in CI

* add another Eclipse metadata exclusion to .gitignore

* partially revert ch103941 fix that doesn't work in the Java SDK

* unrevert some JSON improvements from previous revert

* improve Gson integration using reader/writer delegation - take 2

* better Jackson adapter + misc JSON test improvements (#18)

* omit redundant method call (this commit was mistakenly left out of the previous merge)

* avoid unnecessarily adding ".0" to JSON numbers (#25)

* update Gradle to 6.8.3

* Kotlinize main build script

* rm obsolete comments

* bump Jackson compile-time dependency to 2.10.5.1 due to CVE-2020-25649 (#30)

* bump Jackson compile-time dependency to 2.10.5.1 due to CVE-2020-25649

* 2.10.5.1 patch only exists in one of the Jackson modules

* exclude Gson & Jackson from published dependencies in a more correct way (#31)

* refactor build scripts using buildSrc (#29)

* use Releaser v2 config format + newer CircleCI images (#33)

* Updates docs URLs

* update Gson to 2.8.9

* use Gradle 7

* don't use jcenter

* add Java 17 to CI

* also test Java 17 in Windows

* don't suppress null property values when we serialize with Gson

* remove obsolete publish-docs script

* Merge feature branch big-segments for 1.3.0 release (#42)

* Fix link to CONTRIBUTING.md

* attribute reference type

* misc cleanup, test coverage

* add context type & builders

* LDContext JSON marshaling & unmarshaling

* javadoc fix

* javadoc fix

* store multiContexts as an array rather than a List

* revert accidental change

* add type adapter for ContextKind

* add null check/defaulting on getIndividualContext by kind

* fix context kind/key validation logic

* don't allow deserializing an empty string

* remove use of isBlank which requires Java 11

* ContextKind should be Comparable since it is string-like

* use percent-encoding for specific characters in fully-qualified key, not URLEncoder

* flatten nested multi-kind contexts when building a multi-kind context

* fix user JSON validation to require that "custom" is an object or null

* attribute ref components are always properties, not array indices

* disable Windows Java 11 build

* remove secondary meta-attribute

* remove LDUser as a concrete type

* test coverage

* update doc comment

* re-add LDUser type, add conversion to LDContext (#56)

* re-add LDUser type, add conversion to LDContext

* misc fixes

* re-add test

* allow anonymous user with null key to be converted to a context

* doc comment improvements for user/context types

Co-authored-by: Eli Bishop <eli@launchdarkly.com>
Co-authored-by: Ben Woskow <48036130+bwoskow-ld@users.noreply.github.com>
Co-authored-by: Gavin Whelan <gwhelan@launchdarkly.com>
Co-authored-by: Robert J. Neal <rneal@launchdarkly.com>
Co-authored-by: Robert J. Neal <robertjneal@users.noreply.github.com>
Co-authored-by: Sam Stokes <sstokes@launchdarkly.com>
Co-authored-by: LaunchDarklyCI <dev@launchdarkly.com>
Co-authored-by: Ember Stevens <ember.stevens@launchdarkly.com>
Co-authored-by: ember-stevens <79482775+ember-stevens@users.noreply.github.com>
Co-authored-by: LaunchDarklyReleaseBot <launchdarklyreleasebot@launchdarkly.com>
Co-authored-by: Alex Engelberg <aengelberg@launchdarkly.com>
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.

7 participants