Skip to content

Commit cb4476b

Browse files
Releasing version 2.0.1
1 parent fa5afb5 commit cb4476b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to the project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [2.0.1] - 2020-10-08
6+
### Fixed:
7+
- Trying to unmarshal a JSON `null` value into `lduser.User` now returns an error of type `*json.UnmarshalTypeError`, rather than misleadingly returning `lduser.ErrMissingKey()`.
8+
- Trying to unmarshal a JSON value of the wrong type into `ldvalue.OptionalBool`, `ldvalue.OptionalInt`, or `ldvalue.OptionalString` now returns an error of type `*json.UnmarshalTypeError`, rather than a generic error string from `errors.New()`.
9+
- The error `lduser.ErrMissingKey()` had an empty error string.
10+
511
## [2.0.0] - 2020-09-18
612
Initial release of the newer types that will be used in Go SDK 5.0 and above.
713

0 commit comments

Comments
 (0)