Skip to content

Commit

Permalink
[Release] Write CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
okuramasafumi committed Oct 21, 2022
1 parent 5a0ff3a commit baccee7
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0]
## [2.0.0] 2022-10-21

### Breaking changes

- All Hash-related methods now return String key instead of Symbol key
This affects all users, but you can use `deep_symbolize_keys` in Rails environment if you prefer Symbol keys
Some DSLs that take key argument such as `on_nil` and `on_error`, are also affected

### New features

- Passing an initial object to proc function in associations
- Allow association resource to be Proc
- `collection_key` to serialize collection into a Hash
- params is now overridable
- Key transformation now cascades
- nested attribute
- Implement `as_json`

### Bugfix

- fix the bug where nesting is empty string and invalid
- `handle_error` now raises the same error
- let Rails implicitly call `to_json`

## [1.6.0] 2022-03-16

- [Feat] Support instance method as an attribute
Expand Down

0 comments on commit baccee7

Please sign in to comment.