Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 2.1.0 release #13

Merged
merged 147 commits into from
Dec 14, 2020
Merged

prepare 2.1.0 release #13

merged 147 commits into from
Dec 14, 2020

Conversation

LaunchDarklyCI
Copy link
Contributor

[2.1.0] - 2020-10-20

Added:

  • IsDefined() method for ldvalue.Value, ldreason.EvaluationReason, and ldtime.UnixMillisecondTime.
  • ValueArray and ValueMap types in ldvalue, for representing immutable JSON array/object data in contexts where only an array or an object is allowed, as opposed to the more general ldvalue.Value. This is mainly used by LaunchDarkly internal components but may be useful elsewhere.

Changed:

  • In lduser.NewUserBuilderFromUser(), if the original user had custom attributes and/or private attributes, the map that holds that data now has copy-on-write behavior: that is, the builder will only allocate a new map if you actually make changes to those attributes.

eli-darkly and others added 26 commits July 6, 2020 13:06
add UnmarshalText and other helper methods to OptionalString
* add OptionalBool type and use it for User.Anonymous

* comment
add ldlogtest helper for dumping captured log output
add Go 1.15 build and remove beta changelog
add IsDefined() methods to optional-like types
better copy-on-write behavior for maps/slices; expose map & array types
@eli-darkly eli-darkly requested a review from hroederld October 20, 2020 23:12
@LaunchDarklyCI LaunchDarklyCI merged commit a6231ac into v2 Dec 14, 2020
@LaunchDarklyCI LaunchDarklyCI deleted the release-2.1.0 branch December 14, 2020 21:20
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.

3 participants