Unreleased
0.5.2
- Generate the default mask lazily to prevent infinite recursions https://github.com/wantedly/pb-serializer/pull/52
0.5.1
- Improving interoperability with
computed_model
- Simplify field mask normalizer and add
Pb::Serializer.parse_field_mask
method https://github.com/wantedly/pb-serializer/pull/40 - Stop defining accessor methods in
attribute
DSL if the method of the same name already existss https://github.com/wantedly/pb-serializer/pull/42
- Simplify field mask normalizer and add
- Refactoring
- Extract Dsl and Hook from Serializable module https://github.com/wantedly/pb-serializer/pull/41
0.5.0
- Bump
computed_model
from 0.2.2 to 0.3.0 https://github.com/wantedly/pb-serializer/pull/38
0.4.0
- Make
#initialize
extensible used withdefine_primary_loader
https://github.com/wantedly/pb-serializer/pull/31 - Supoprt
ignore
directive https://github.com/wantedly/pb-serializer/pull/36 - Support field mask https://github.com/wantedly/pb-serializer/pull/34
0.3.0
- Support
if
option https://github.com/wantedly/pb-serializer/pull/24 - Improve error handling https://github.com/wantedly/pb-serializer/pull/26
- raise
MissingMessageTypeError
ifmessage
declaration is missed - raise
MissingFieldError
ifattribute
declaration is missed - raise
InvalidOptionError
whenattribute
receives invalid params
- raise
- Introduce Pb::Serializer.configure https://github.com/wantedly/pb-serializer/pull/27
- Add
missing_field_behavior
config to suppressMissingFieldError
- Rename
InvalidOptionError
->InvalidAttributeOptionError
- Add
- 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 - Make Serializer's constructors extensible https://github.com/wantedly/pb-serializer/pull/22
0.2.0
- BREAKING CHANGE https://github.com/wantedly/pb-serializer/pull/17
- Support loading and serializing arrays
- Bump
computed_model
from 0.1.0 to 0.2.1 - Change API
- Add example specs https://github.com/wantedly/pb-serializer/pull/18
0.1.0
Initial release.