Skip to content

Commit 93aeb2a

Browse files
committed
Update CHANGELOG
1 parent 6c5405a commit 93aeb2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# 1.2.0 unreleased
1+
# 1.2.0 2019-12-20
22

33
## Changed
44

55
- `Dry::Struct::Value` is deprecated. `Dry::Struct` instances were never meant to be mutable, we have no support for this. The only difference between `Dry::Struct` and `Dry::Struct::Value` is that the latter is deeply frozen. Freezing objects slows the code down and gives you very little benefit in return. If you have a use case for `Value`, it won't be hard to roll your own solution using [ice_nine](https://github.com/dkubb/ice_nine) (flash-gordon)
66
- In the thread of the previous change, structs now use immutable equalizer. This means `Struct#hash` memoizes its value after the first invokation. Depending on the case, this may speed up your code significantly (flash-gordon)
77

8-
[Compare v1.1.1...master](https://github.com/dry-rb/dry-struct/compare/v1.1.1...master)
8+
[Compare v1.1.1...v1.2.0](https://github.com/dry-rb/dry-struct/compare/v1.1.1...v.1.2.0)
99

1010
# 1.1.1 2019-10-13
1111

0 commit comments

Comments
 (0)