Skip to content

Commit

Permalink
Prepare changelog for 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Sep 12, 2021
1 parent 4536dec commit c7f63e8
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions changelog.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,31 @@
---
- version: unreleased
- version: 0.13.0
summary:
date:
date: '2021-09-12'
fixed:
- 'Fix `ArgumentError` for classes including `Dry::Configurable` whose
`initializer` has required kwargs. (#113 by @timriley)'
- 'Remove implicit `to_hash` conversion from `Config`. (#114 by @timriley)'
- Fixed `ArgumentError` for classes including `Dry::Configurable` whose `initializer` has required kwargs. (#113 by @timriley)
added:
- |-
Added flags to determine whether to warn on the API usage deprecated in this release (see "Changed" section below). Set these to `false` to suppress the warnings. (#124 by @timriley)
```ruby
Dry::Configurable.warn_on_setting_constructor_block = false
Dry::Configurable.warn_on_setting_positional_default = false
```
changed:
- 'Deprecate constructor as a block. Providing `constructor:` kwarg is now
the only accepted way. (#111 by @waiting-for-dev & @timriley)'
- 'Use `default:` kwarg instead of second positional argument for the
default value. (#112 by @waiting-for-dev & @timriley)'
- |-
Deprecated the setting constructor provided as a block. Provide it via the `constructor:` keyword argument instead. (#111 by @waiting-for-dev & @timriley)
```ruby
setting :path, constructor: -> path { Pathname(path) }
```
- |-
Deprecated the setting default provided as the second positional argument. Provide it via the `default:` keyword argument instead. (#112 and #121 by @waiting-for-dev & @timriley)
```ruby
setting :path, default: "some/default/path"
```
- '[BREAKING] Removed implicit `to_hash` conversion from `Config`. (#114 by @timriley)'
- version: 0.12.1
summary:
date: '2021-02-15'
Expand Down

0 comments on commit c7f63e8

Please sign in to comment.