- Performance and memory improvements (@krzysiek1507)#140
- Fix serializing when direct instance method call returns nil (@past-one) #141
- Preserve exception backtrace in case of Surrealist::UndefinedMethodError ([@akxcv][]) #122
- Fix nil values for Boolean type (@nesaulov) #127
- 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
.defined_schema
to return the schema that has been defined withjson_schema
(@glaucocustodio) #98
- Configuration of default serialization params (@nesaulov) #77
- DSL for custom serializers context (@nesaulov) #80
- Pin Oj version to 3.4.0 #79
#build_schema
for collections fromSurrealist::Serializer
(@nesaulov) #74- Oj dependency
- Multiple serializers API (@nulldef) #66
- Introduce an abstract serializer class (@nesaulov) #61
- Full integration for Sequel (@nesaulov) #47
- Integration for ROM 4.x (@nesaulov) #56
- Ruby 2.5 support (@nesaulov) #57
- Full integration for ActiveRecord (@nesaulov, @AlessandroMinali) #37
- Full integration for ROM <= 3 (@nesaulov, @AlessandroMinali) #37
root
optional argument (@chrisatanasian) #32- Nested records surrealization (@AlessandroMinali) #34
delegate_surrealization_to
class methodinclude_namespaces
optional argumentnamespaces_nesting_level
optional argumentSurrealist.surrealize_collection
method for collection serialization
- Optional
include_root
argument to wrap schema in a root key. #15
- Performance of schema cloning.
Boolean
module renamed toBool
.
Any
module for skipping type checks.- Optional
camelize
argument to convert keys to camelBacks.
- Fix schema mutability issue.
- Change
schema
class method tojson_schema
due to compatibility issues with other gems.
build_schema
instance method that builds hash from the schema without serializing it to json.
- Allow nil values by default.
- Allow nested objects.