All Versions
Latest Version
Avg Release Cycle
63 days
Latest Release
2389 days ago

Changelog History

  • v3.0.1 Changes

    November 05, 2017

    ๐Ÿ“ฆ Wrap now uses the Swift 4 version of the Swift Package Description API.

    ๐Ÿ— > View build details and download artifacts on buddybuild:
    ๐Ÿ— > Wrap (iOS, Wrap-iOS)

  • v3.0.0 Changes

    November 04, 2017
    • Wrap now uses Swift 4
    • ๐Ÿ›  Fixed a bug when a custom date formatter was being used when wrapping to Data (thanks @fpillet!)

    ๐Ÿ— > View build details and download artifacts on buddybuild:
    ๐Ÿ— > Wrap (iOS, Wrap-iOS)

  • v2.1.1 Changes

    April 12, 2017


    • ๐Ÿ‘ Better Linux compatibility with NSRegularExpression, by @darthpelo.
    • More robust nil handling by not using Some string, by @PaulTaykalo.
  • v2.1.0 Changes

    February 25, 2017
    • ๐Ÿง Linux support! ๐ŸŽ‰ You can now use Wrap to super easily encode JSON when using Swift server-side. Thanks to @agisboye for helping to implement this!
    • Wrap now automatically ignores closure properties.
  • v2.0.2 Changes

    November 21, 2016

    โšก๏ธ Wrap is now fully updated for Xcode 8.1 and the latest version of the Swift Package Manager (thanks @rayfix!)

  • v2.0.1 Changes

    November 14, 2016
    • Wrap now automatically encodes instances of Swift's URL type, as well as NSURL.
    • Compatibility for (mac)OS (X) 10.0 added by @maxsz
  • v2.0 Changes

    September 22, 2016

    ๐Ÿฑ 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
  • v1.1.1 Changes

    May 23, 2016
    • โž• Add support the Swift Package Manager (SPM) (thanks @alexaubry)
    • โž• Add backwards-compatibility for OS X 10.10 (thanks @bmichotte)
    • โž• Add support for using Wrap in an App Extension
  • v1.1 Changes

    April 28, 2016

    ๐Ÿš€ This release of Wrap introduces the ability to encode JSON arrays directly using Wrap:

    let objects = [...]
    let dictionaries: [WrappedDictionary] = try Wrap(objects)
    let data: NSData = try Wrap(objects)
  • v1.0.3 Changes

    April 21, 2016
    • Automatically convert keys that conform to CustomStringConvertible into strings, rather than requiring them to conform to WrappableKey.
    • Wrap & Unbox can now be used together in a tvOS app. Thanks @JaviLorbada for this!