5.0.1: Leftover Peanuts 🥜
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 theUserDefaultsSerializable
implementation forRawRepresentable
to catch potential bugs when storing and fetching data after making changes to aRawRepresentable
type. - Documentation has been updated with thorough explanations of edge cases and considerations for
RawRepresentable
types. Please see theREADME
for further details.
- The default implementation of
Full Changelog: 5.0.0...5.0.1