Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Unreleased

## 0.6.0

- Change default value of `missing_field_behavior` from `:raise` to `:ignore` https://github.com/wantedly/pb-serializer/pull/56
- Update CI Ruby versions to 3.0+ https://github.com/wantedly/pb-serializer/pull/56
- Update `simplecov-cobertura` to latest version https://github.com/wantedly/pb-serializer/pull/56

## 0.5.2

- Generate the default mask lazily to prevent infinite recursions https://github.com/wantedly/pb-serializer/pull/52
Expand All @@ -26,15 +32,14 @@

- Support `if` option https://github.com/wantedly/pb-serializer/pull/24
- Improve error handling https://github.com/wantedly/pb-serializer/pull/26
- raise `MissingMessageTypeError` if `message` declaration is missed
- raise `MissingFieldError` if `attribute` declaration is missed
- raise `InvalidOptionError` when `attribute` receives invalid params
- raise `MissingMessageTypeError` if `message` declaration is missed
- raise `MissingFieldError` if `attribute` declaration is missed
- raise `InvalidOptionError` when `attribute` receives invalid params
- Introduce Pb::Serializer.configure https://github.com/wantedly/pb-serializer/pull/27
- Add `missing_field_behavior` config to suppress `MissingFieldError`
- Rename `InvalidOptionError` -> `InvalidAttributeOptionError`
- Add `missing_field_behavior` config to suppress `MissingFieldError`
- Rename `InvalidOptionError` -> `InvalidAttributeOptionError`
- Skip serializing when a value is already serialized https://github.com/wantedly/pb-serializer/pull/29


## 0.2.1

- **BREAKING CHANGE** `required` -> `allow_nil` https://github.com/wantedly/pb-serializer/pull/21
Expand All @@ -48,7 +53,6 @@
- Change API
- Add example specs https://github.com/wantedly/pb-serializer/pull/18


## 0.1.0

Initial release.
2 changes: 1 addition & 1 deletion lib/pb/serializer/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Pb
module Serializer
VERSION = "0.5.2".freeze
VERSION = "0.6.0".freeze
end
end