Skip to content

Commit f6dfd84

Browse files
committed
Update CHANGELOG
1 parent a7e5e57 commit f6dfd84

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

CHANGELOG.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
1+
# v0.3.0 unreleased
2+
3+
### Changed
4+
5+
- [BREAKING] Dropped support for Ruby < 2.4
6+
7+
### Added
8+
9+
- Memoization option for immutable objects. If `immutable: true` is passed the result of `.hash` call will be memoized after its first invokation or on `.freeze` call (skryukov)
10+
```ruby
11+
class User
12+
include Dry::Equalizer(:id, :name, :age, immutable: true)
13+
end
14+
```
15+
16+
[Compare v0.2.2...master](https://github.com/dry-rb/dry-equalizer/compare/v0.2.2...master)
17+
118
# v0.2.2 2019-03-08
219

320
### Added
421

5-
* Generation of `#to_s` and `#inspect` can be disabled with `inspect: false` (flash-gordon)
22+
- Generation of `#to_s` and `#inspect` can be disabled with `inspect: false` (flash-gordon)
623
```ruby
724
class User
825
include Dry::Equalizer(:id, :name, :age, inspect: false)
@@ -15,7 +32,7 @@
1532

1633
### Fixed
1734

18-
* Including equalizer module with same keys multiple times won't cause duped keys in `inspect` output (radar)
35+
- Including equalizer module with same keys multiple times won't cause duped keys in `inspect` output (radar)
1936

2037
[Compare v0.2.0...v0.2.1](https://github.com/dry-rb/dry-equalizer/compare/v0.2.0...v0.2.1)
2138

0 commit comments

Comments
 (0)