Skip to content

Latest commit

 

History

History
142 lines (104 loc) · 5.26 KB

CHANGELOG.md

File metadata and controls

142 lines (104 loc) · 5.26 KB

1.3.4

Fixed

1.3.3

Fixed

1.3.2

Fixed

  • Preserve exception backtrace in case of Surrealist::UndefinedMethodError ([@akxcv][]) #122
  • Fix nil values for Boolean type (@nesaulov) #127

1.3.1

Fixed

  • Invoke parent serializer method instead of object method with the same names (@kolasss) #118

1.3.0

Added

Fixed

  • Conflict when root and object property share the same name ([@akxcv][]) #99
  • Precedence was given to object method instead of serializer one (@gjhenrique & @nesaulov) #110 & #111

1.2.0

Added

  • .defined_schema to return the schema that has been defined with json_schema (@glaucocustodio) #98

Fixed

1.1.2

Fixed

1.1.1

Fixed

1.1.0

Added

Fixed

  • Fix failing serialization with sequel & custom serializers (@azhi) #84

Miscellaneous

  • Pin Oj version to 3.4.0 #79

1.0.0

Added

  • #build_schema for collections from Surrealist::Serializer (@nesaulov) #74
  • Oj dependency
  • Multiple serializers API (@nulldef) #66

Miscellaneous

  • Benchmarks for Surrealist vs AMS
  • A lot of memory & performance optimizations (@nesaulov) #64

0.4.0

Added

Miscellaneous

0.3.0

Added

Fixed

0.2.0

Added

  • delegate_surrealization_to class method
  • include_namespaces optional argument
  • namespaces_nesting_level optional argument
  • Surrealist.surrealize_collection method for collection serialization

0.1.4

Added

  • Optional include_root argument to wrap schema in a root key. #15

Fixed

  • Performance of schema cloning.

Changed

  • Boolean module renamed to Bool.

0.1.2

Added

  • Any module for skipping type checks.
  • Optional camelize argument to convert keys to camelBacks.

0.1.0

Fixed

  • Fix schema mutability issue.

Changed

  • Change schema class method to json_schema due to compatibility issues with other gems.

0.0.6

Added

  • build_schema instance method that builds hash from the schema without serializing it to json.

Changed

  • Allow nil values by default.
  • Allow nested objects.