Skip to content

5.0.1: Leftover Peanuts 馃

Latest
Compare
Choose a tag to compare
@jessesquires jessesquires released this 15 Jan 19:54
· 5 commits to main since this release
bc08a46

This release closes the 5.0.1 milestone.

  • Addressed some potential edge cases and issues with optional types and failable initializers. (#95, @jessesquires)
    • The default implementation of UserDefaultsSerializable for Swift built-in types (Int, Double, String, etc.) now provides a non-failable initializer because these initializers cannot fail. This still satisfies the protocol requirements.
    • Added an assertionFailure to the UserDefaultsSerializable implementation for RawRepresentable to catch potential bugs when storing and fetching data after making changes to a RawRepresentable type.
    • Documentation has been updated with thorough explanations of edge cases and considerations for RawRepresentable types. Please see the README for further details.

Full Changelog: 5.0.0...5.0.1