Skip to content

Commit 6a35d25

Browse files
committed
release 0.6.0
1 parent 8ab852c commit 6a35d25

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## Unreleased
22

3+
## 0.6.0
4+
5+
- Change default value of `missing_field_behavior` from `:raise` to `:ignore` https://github.com/wantedly/pb-serializer/pull/56
6+
- Update CI Ruby versions to 3.0+ https://github.com/wantedly/pb-serializer/pull/56
7+
- Update `simplecov-cobertura` to latest version https://github.com/wantedly/pb-serializer/pull/56
8+
39
## 0.5.2
410

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

2733
- Support `if` option https://github.com/wantedly/pb-serializer/pull/24
2834
- Improve error handling https://github.com/wantedly/pb-serializer/pull/26
29-
- raise `MissingMessageTypeError` if `message` declaration is missed
30-
- raise `MissingFieldError` if `attribute` declaration is missed
31-
- raise `InvalidOptionError` when `attribute` receives invalid params
35+
- raise `MissingMessageTypeError` if `message` declaration is missed
36+
- raise `MissingFieldError` if `attribute` declaration is missed
37+
- raise `InvalidOptionError` when `attribute` receives invalid params
3238
- Introduce Pb::Serializer.configure https://github.com/wantedly/pb-serializer/pull/27
33-
- Add `missing_field_behavior` config to suppress `MissingFieldError`
34-
- Rename `InvalidOptionError` -> `InvalidAttributeOptionError`
39+
- Add `missing_field_behavior` config to suppress `MissingFieldError`
40+
- Rename `InvalidOptionError` -> `InvalidAttributeOptionError`
3541
- Skip serializing when a value is already serialized https://github.com/wantedly/pb-serializer/pull/29
3642

37-
3843
## 0.2.1
3944

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

51-
5256
## 0.1.0
5357

5458
Initial release.

lib/pb/serializer/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Pb
22
module Serializer
3-
VERSION = "0.5.2".freeze
3+
VERSION = "0.6.0".freeze
44
end
55
end

0 commit comments

Comments
 (0)