Skip to content

Releases: TheDro/gql_serializer

v3.0.0-rc

18 Jun 21:52
04ac117
Compare
Choose a tag to compare
v3.0.0-rc Pre-release
Pre-release

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

24 Mar 19:46
Compare
Choose a tag to compare

Fixed a bug where the new preload configuration was being ignored.

v2.2.0

17 Mar 19:59
c41cdd9
Compare
Choose a tag to compare

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

17 Mar 16:18
e874136
Compare
Choose a tag to compare

This update fixes an issue with the version bump in the previous release.

v2.1.0

16 Mar 20:09
da9871f
Compare
Choose a tag to compare

This release adds support for Rails versions higher than 6.0 but lower than 7.0.

v2.0.0

23 Dec 12:54
b974ffc
Compare
Choose a tag to compare

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

11 Dec 16:34
67e0c6b
Compare
Choose a tag to compare
  • Added a .ruby-version file
  • Added a ruby.yml file for CI

v1.1.0

04 Dec 20:06
574e675
Compare
Choose a tag to compare
  • Made gem configurable
  • User can specify a case (camel, snake, no conversion) that will be used to automatically convert keys.