Skip to content

Releases: airbnb/ResilientDecoding

1.2.0

28 Sep 17:01
19a780e
Compare
Choose a tag to compare

What's Changed

  • Add CODE_OF_CONDUCT.md by @fdiaz in #43
  • Update CODE_OF_CONDUCT.md by @fdiaz in #44
  • ResilientDecoding is not, in fact, Carthage compatible by @dfed in #46
  • Get CI running again by @dfed in #49
  • Update CI to use macOS 14 by @calda in #57
  • Make Resilient conditionally conform to Equatable and Hashable by @calda in #56

New Contributors

  • @calda made their first contribution in #57

Full Changelog: 1.1.0...1.2.0

1.1.0

02 Dec 22:00
1039cd5
Compare
Choose a tag to compare
  • Simplified error reporting
  • Fixed a bug with URL decoding
  • Enabled custom types to report errors via ResilientDecodingErrorReporter

1.0

27 Apr 19:36
72407fc
Compare
Choose a tag to compare
1.0

Resilient Decoding hits 1.0!

API-breaking changes:

  • flushReportedErrors() now vends an ErrorDigest instead of [Error].

Added functionality:

  • ErrorDigest can be used to pretty-print reported errors after checking whether any errors were encountered.
  • Resilient properties now provide an outcome via the projected value ($property.outcome) which is similar to $property.error but also communicates non-error events, like a missing key for an optional value.
  • Resilient can now be applied to Dictionary, which behaves similarly to Array (elements are omitted as errors are encountered)