Skip to content

Latest commit

 

History

History
224 lines (113 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

224 lines (113 loc) · 11.6 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.9.2 (2024-09-04)

Bug Fixes

0.9.1 (2024-08-14)

Bug Fixes

  • add sorbet-schema shim for better T:Struct extension compatability (#123) (b47cafb)

0.9.0 (2024-08-05)

⚠ BREAKING CHANGES

  • Replace deeply_nested_hash with options passing in struct ext (#121)

Code Refactoring

  • Replace deeply_nested_hash with options passing in struct ext (#121) (48da547)

0.8.0 (2024-07-19)

⚠ BREAKING CHANGES

  • Ensure that nested structs will deeply serialize (#118)

Bug Fixes

  • Ensure that nested structs will deeply serialize (#118) (9216d02)

0.7.2 (2024-07-11)

Features

0.7.1 (2024-07-09)

Features

  • Add clearer message for CoercionNotSupportedError (#113) (0eff2f7)

0.7.0 (2024-07-08)

⚠ BREAKING CHANGES

  • Fix mis-serializing hash keys that were suppose to be strings (#111)

Bug Fixes

  • Fix mis-serializing hash keys that were suppose to be strings (#111) (485a6c7)

0.6.0 (2024-07-07)

⚠ BREAKING CHANGES

  • implement default handling for fields (#105)

Features

Bug Fixes

  • default value set to true causes undefined method [] error (#108) (6829bbf)

0.5.1 (2024-06-26)

Features

0.5.0 (2024-04-19)

⚠ BREAKING CHANGES

  • Set minimum Ruby to 3.1 (#69)

Features

Miscellaneous Chores

0.4.2 (2024-03-21)

Features

  • Add Schema#add_serializer to easily update serializer (f665a2a)

Bug Fixes

  • Field equality factors in inline serializer (8049ddf)

0.4.1 (2024-03-21)

Features

0.4.0 (2024-03-14)

⚠ BREAKING CHANGES

  • Have coercers take in a type instead of the full field
  • Update Field's types to a support Sorbets T::Types::Base classes
  • Changed serialize return value to a Result
  • adds SerializationError ancestor

Features

  • Add BooleanCoercer (acd220f)
  • Add EnumCoercer (5c0e2b5)
  • Add from_hash and from_json helpers to Schemas (#44) (55c2da7)
  • Add idempotency to Struct coercer (3a42957)
  • Add option to serialize values to HashSerializer (710d365)
  • Adds TypedArray coercer (795ddd9)

Code Refactoring

  • adds SerializationError ancestor (f8ea753)
  • Changed serialize return value to a Result (948c678)
  • Have coercers take in a type instead of the full field (c06169e)
  • Update Field's types to a support Sorbets T::Types::Base classes (9ef1cd5)

0.3.0 (2024-03-12)

⚠ BREAKING CHANGES

  • Remove struct_ext for now

Code Refactoring

  • Remove struct_ext for now (4a505cb)

0.2.2 (2024-03-12)

Bug Fixes

  • Add unused options parameter to on s (#40) (f5f8a05)

0.2.1 (2024-03-11)

Bug Fixes

  • Add options argument for use by ActiveSupport serialization (#37) (4326c00)

0.2.0 (2024-03-08)

⚠ BREAKING CHANGES

  • Allow for custom Coercers (#34)

Features

0.1.1 (2024-03-08)

Features

  • adds to_h and to_json methods to Deserialize errors (#28) (bf5f770)

Bug Fixes

  • Add release-please config (#30) (b311c28)
  • Downgrade release-please action and publish gem through there (#31) (4ef9881)
  • update release-please permissions (#33) (b5d866c)

0.1.0 (2024-03-05)

Features

  • Add Integer and Float coercions (#26) (537f0fc)
  • add basic JSON serializer and supporting classes (0c149d1)
  • Add basic type check without coercion (#16) (4d987e7)
  • Add Hash and Json conversion methods to T::Struct (#20) (6df87c2)
  • Create schema extension on T::Struct (#18) (1f335b7)
  • initial repo scaffolding (479f285)
  • Introduce simple HashSerializer (#19) (80f20a9)

Miscellaneous Chores

[Unreleased]