Add changelog.yml and a copy of old CHANGELOG.md
This commit is contained in:
parent
30bb4cf402
commit
023843a944
|
@ -0,0 +1,55 @@
|
|||
# v0.3.0 2019-11-07
|
||||
|
||||
### Changed
|
||||
|
||||
- [BREAKING] Dropped support for Ruby < 2.4
|
||||
|
||||
### Added
|
||||
|
||||
- Memoization option for immutable objects. If `immutable: true` is passed the result of `.hash` call will be memoized after its first invocation or on `.freeze` call (skryukov)
|
||||
```ruby
|
||||
class User
|
||||
include Dry::Equalizer(:id, :name, :age, immutable: true)
|
||||
end
|
||||
```
|
||||
|
||||
[Compare v0.2.2...v0.3.0](https://github.com/dry-rb/dry-equalizer/compare/v0.2.2...v0.3.0)
|
||||
|
||||
# v0.2.2 2019-03-08
|
||||
|
||||
### Added
|
||||
|
||||
- Generation of `#to_s` and `#inspect` can be disabled with `inspect: false` (flash-gordon)
|
||||
```ruby
|
||||
class User
|
||||
include Dry::Equalizer(:id, :name, :age, inspect: false)
|
||||
end
|
||||
```
|
||||
|
||||
[Compare v0.2.1...v0.2.2](https://github.com/dry-rb/dry-equalizer/compare/v0.2.1...v0.2.2)
|
||||
|
||||
# v0.2.1 2018-04-26
|
||||
|
||||
### Fixed
|
||||
|
||||
- Including equalizer module with same keys multiple times won't cause duped keys in `inspect` output (radar)
|
||||
|
||||
[Compare v0.2.0...v0.2.1](https://github.com/dry-rb/dry-equalizer/compare/v0.2.0...v0.2.1)
|
||||
|
||||
# v0.2.0 2015-11-13
|
||||
|
||||
Really make it work with MRI 2.0 again (it's Friday 13th OK?!)
|
||||
|
||||
# v0.1.1 2015-11-13
|
||||
|
||||
Make it work with MRI 2.0 again
|
||||
|
||||
# v0.1.0 2015-11-11
|
||||
|
||||
## Added
|
||||
|
||||
- `Dry::Equalizer()` method accepting a list of keys (solnic)
|
||||
|
||||
## Changed
|
||||
|
||||
- `eql?` no longer tries to coerce `other` with `coerce` method (solnic)
|
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
- version: 0.3.0
|
||||
date: '2019-11-07'
|
||||
changed:
|
||||
- "[BREAKING] Dropped support for Ruby < 2.4"
|
||||
added:
|
||||
- |-
|
||||
Memoization option for immutable objects. If `immutable: true` is passed the result of `.hash` call will be memoized after its first invocation or on `.freeze` call (skryukov)
|
||||
```ruby
|
||||
class User
|
||||
include Dry::Equalizer(:id, :name, :age, immutable: true)
|
||||
end
|
||||
```
|
||||
- version: 0.2.2
|
||||
date: '2019-03-08'
|
||||
added:
|
||||
- |-
|
||||
Generation of `#to_s` and `#inspect` can be disabled with `inspect: false` (flash-gordon)
|
||||
```ruby
|
||||
class User
|
||||
include Dry::Equalizer(:id, :name, :age, inspect: false)
|
||||
end
|
||||
```
|
||||
- version: 0.2.1
|
||||
date: '2018-04-26'
|
||||
fixed:
|
||||
- Including equalizer module with same keys multiple times won't cause duped keys
|
||||
in `inspect` output (radar)
|
||||
- version: 0.2.0
|
||||
date: '2015-11-13'
|
||||
summary: Really make it work with MRI 2.0 again (it's Friday 13th OK?!)
|
||||
- version: 0.1.1
|
||||
date: '2015-11-13'
|
||||
summary: Make it work with MRI 2.0 again
|
||||
- version: 0.1.0
|
||||
date: '2015-11-11'
|
||||
added:
|
||||
- "`Dry::Equalizer()` method accepting a list of keys (solnic)"
|
||||
changed:
|
||||
- "`eql?` no longer tries to coerce `other` with `coerce` method (solnic)"
|
Loading…
Reference in New Issue