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, 2017Fixes
- ๐ Better Linux compatibility with
NSRegularExpression
, by @darthpelo. - More robust nil handling by not using
Some
string, by @PaulTaykalo.
- ๐ Better Linux compatibility with
-
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 asNSURL
. - Compatibility for (mac)OS (X) 10.0 added by @maxsz
- Wrap now automatically encodes instances of Swift's
-
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 nowwrap(..)
Wrap(objects:)
is nowwrap(_)
keyForWrapping(propertyName:)
is nowkeyForWrapping(propertyNamed:)
WrapCustomizable.wrap()
is nowwrap(context:dateFormatter:)
wrap(propertyName:originalValue:)
is nowwrap(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 toWrappableKey
. - Wrap & Unbox can now be used together in a tvOS app. Thanks @JaviLorbada for this!
- Automatically convert keys that conform to