Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 2.13 KB

CHANGELOG.md

File metadata and controls

54 lines (36 loc) · 2.13 KB

Unreleased

0.5.2

  • Generate the default mask lazily to prevent infinite recursions #52

0.5.1

  • Improving interoperability with computed_model
    • Simplify field mask normalizer and add Pb::Serializer.parse_field_mask method #40
    • Stop defining accessor methods in attribute DSL if the method of the same name already existss #42
  • Refactoring
    • Extract Dsl and Hook from Serializable module #41

0.5.0

  • Bump computed_model from 0.2.2 to 0.3.0 #38

0.4.0

  • Make #initialize extensible used with define_primary_loader #31
  • Supoprt ignore directive #36
  • Support field mask #34

0.3.0

  • Support if option #24
  • Improve error handling #26
    • 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 #27
    • Add missing_field_behavior config to suppress MissingFieldError
    • Rename InvalidOptionError -> InvalidAttributeOptionError
  • Skip serializing when a value is already serialized #29

0.2.1

  • BREAKING CHANGE required -> allow_nil #21
  • Make Serializer's constructors extensible #22

0.2.0

  • BREAKING CHANGE #17
    • Support loading and serializing arrays
    • Bump computed_model from 0.1.0 to 0.2.1
    • Change API
  • Add example specs #18

0.1.0

Initial release.