Releases: TheDro/gql_serializer
Releases · TheDro/gql_serializer
v3.0.0-rc
Release Candidate for version 3
- The gem can now be used to serialize Hashes and regular Objects. (Extending the Object class is optional)
- The default value for the
preload
configuration is now true
.
v2.2.1
Fixed a bug where the new preload configuration was being ignored.
v2.2.0
Made some performance improvements:
- Relations are memoized to avoid using reflection multiple times for the same graphql subquery.
- Added a new
preload
configuration parameter to use preloading and avoid querying the root active record each time. This is technically a breaking change so you need to enable it explicitly until version 3.x.
v2.1.1
This update fixes an issue with the version bump in the previous release.
v2.1.0
This release adds support for Rails versions higher than 6.0 but lower than 7.0.
v2.0.0
Changed the default serialization of BigDecimal and DateTime. Dates will now be serialized as iso8601 strings in UTC with the Z. (Ex: "2020-12-18T06:30:00Z") BigDecimals are converted to floats for serialization.
v1.1.1
- Added a .ruby-version file
- Added a ruby.yml file for CI
v1.1.0
- Made gem configurable
- User can specify a case (camel, snake, no conversion) that will be used to automatically convert keys.