Skip to content

Commit 4313be8

Browse files
committed
Update CHANGELOG [skip ci]
1 parent 8112772 commit 4313be8

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

CHANGELOG.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
1-
# 1.1.0 2019-10-07
1+
# 1.1.1 2019-10-13
22

3-
## Added
3+
## Changed
44

5-
- Experimental support for pattern matching :tada: (flash-gordon)
5+
- Pattern matching syntax is simplified with `deconstruct_keys` (k-tsj)
66

77
```ruby
88
User = Dry.Struct(name: 'string', email: 'string')
99

1010
user = User.new(name: 'John Doe', email: '[email protected]')
1111

1212
case user
13-
in User({ name: 'John Doe', email: })
13+
in User(name: 'John Doe', email:)
1414
puts email
1515
else
1616
puts 'Not John'
1717
end
1818
```
1919

20-
See more examples in the [specs](https://github.com/dry-rb/dry-struct/blob/956fff208296731c40f1fea04b36106ea01b56d0/spec/dry/struct/pattern_matching_spec.rb).
20+
See more examples in the [specs](https://github.com/dry-rb/dry-struct/blob/8112772eb08d22ff2cd3e6997514d79a9b124968/spec/dry/struct/pattern_matching_spec.rb).
21+
22+
[Compare v1.1.0...v1.1.1](https://github.com/dry-rb/dry-struct/compare/v1.1.0...v1.1.1)
23+
24+
# 1.1.0 2019-10-07
25+
26+
## Added
27+
28+
- Experimental support for pattern matching :tada: (flash-gordon)
2129

2230
[Compare v1.0.0...v1.1.0](https://github.com/dry-rb/dry-struct/compare/v1.0.0...v1.1.0)
2331

0 commit comments

Comments
 (0)