Skip to content

Commit

Permalink
Bump v0.3.0 (breaking changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
nepalez committed May 19, 2016
1 parent 25f90a7 commit 5733198
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
40 changes: 40 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,43 @@
## v0.3.0 2016-05-19

Breaks interface for adding new plugins. Register new plugin via:

```
def self.extended(klass)
klass.register_initializer_plugin NewPlugin
end
```

instead of:

```
def self.extended(klass)
klass.initializer_builder.register NewPlugin
end
```

While the private method ##initializer_builder is still accessible
its method #register doesn't mutate the builder instance.

### Changed (backward-incompatible changes)

* Made Mixin##initializer_builder method private (@nepalez)
* Add Mixin#register_initializer_plugin(plugin) method (@nepalez)

### Bugs Fixed

* Prevent plugin's registry from polluting superclass (@nepalez)

[Compare v0.2.1...v0.3.0](https://github.com/dry-rb/dry-initializer/compare/v0.2.1..v0.3.0)

### Internals

* Make all instances (Builder and Signature) immutable (@nepalez)
* Decouple mixin from a builder to prevent pollution (@nepalez)
* Ensure default value block can use private variables (@jeremyf)

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

## v0.2.1 2016-05-19

### Bugs Fixed
Expand Down
2 changes: 1 addition & 1 deletion dry-initializer.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |gem|
gem.name = "dry-initializer"
gem.version = "0.2.1"
gem.version = "0.3.0"
gem.author = ["Vladimir Kochnev (marshall-lee)", "Andrew Kozin (nepalez)"]
gem.email = ["[email protected]", "[email protected]"]
gem.homepage = "https://github.com/dryrb/dry-initializer"
Expand Down

0 comments on commit 5733198

Please sign in to comment.