Wrap v2.0 Release Notes

Release Date: 2016-09-22 // about 5 years ago
  • ๐Ÿฑ Wrap 2.0 is a new major version that brings full Swift 3 APIs, bug fixes and new features ๐ŸŽ‰

    ๐Ÿš€ โš ๏ธ Note that this release includes breaking changes for users of Wrap 1.x. Please upgrade with caution and make sure that you migrate to the new APIs. Also note that Wrap 2.0 is only compatible with Swift 3.

    • Wrap(..) is now wrap(..)
    • Wrap(objects:) is now wrap(_)
    • keyForWrapping(propertyName:) is now keyForWrapping(propertyNamed:)
    • WrapCustomizable.wrap() is now wrap(context:dateFormatter:)
    • wrap(propertyName:originalValue:) is now wrap(propertyNamed:originalValue:context:dateFormatter:)
    • All enums use a lower case leading character
    • ๐Ÿ‘ Wrapping to snake_case is now supported (myProperty ->my_property`)
    • Int64 & UInt64 are now encoded properly on 32 bit systems
    • Date Formatters are now kept througout the entire wrapping process, and can be used in customized wrapping
    • ๐Ÿ‘ Wrap now has support for contextual objects just like Unbox has (send context:) when initiating the wrapping