Skip to content

Releases: SwiftyJSON/SwiftyJSON

5.0.2

27 Mar 14:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: 5.0.1...5.0.2

Swift 5.0

02 Apr 14:26
2b6054e
Compare
Choose a tag to compare

Nothing breaking new API changed. Just cleaning up some warnings in Xcode 10.2.

Compatible with Swift 5 and Xcode 10.2.

4.2.0

25 Sep 15:43
Compare
Choose a tag to compare

SwiftyJSON 4.2.0 requires Swift 4.2 compiler and Xcode 10 to build.

The minimum requirement of watchOS bumps to watchOS 3.0+.

This version removed all deprecated APIs. If you are still using outdated APIs, you should ship with the latest ones.

4.1.0

18 Apr 15:46
Compare
Choose a tag to compare

Improvements

Docs

4.0.0

08 Nov 09:56
Compare
Choose a tag to compare

This is the official release of SwiftyJSON 4.0.0

This version is Swift 4 compatible.

We've improved the documentation since 4.0.0-alpha.1.

4.0.0-alpha.1

08 Sep 09:06
Compare
Choose a tag to compare
4.0.0-alpha.1 Pre-release
Pre-release

This is a pre-release version of SwiftyJSON 4.0.0.

Changes:

  • (1c5e902 @MikotoZero) Simplify initialize methods invocation.
  • (a76d81d @craiggrummitt) Fix "double t" spelling mistake, writtingOptionsKeys now is writingOptionsKeys.
  • (f9afe96 @wongzigii) SwiftyJSON now use throws for error handling
    init(data, options opt, error) now is init(data, options opt) throws.
  • (083c6d7 @wongzigii) Use Swift.Error type instead of NSError, now JSON's error is SwiftyJSONError type.

Improvements:

Thank @JackSteven, @mictab, @neoneye, @Tawfikk and others who helped review the pull requests and contribute to the documentations. 🎉 🎉

3.1.4

22 Dec 06:51
Compare
Choose a tag to compare

This release includes new features and shouldn’t break backwards compatibility with SwiftyJSON 3.1.3.

Fixes:

  • Check for pre-escaped URLs to prevent double-escaping of % character. (#678 Thanks @dawvee)
  • Fix an unexpected behavior when passing Int8 type number into JSON. (#717 Thanks @SumoSimo)
  • Resolve a warning about expression implicitly coerced from 'String?' to Any in Swift 3.0.1. (#729 Thanks @ldiqual)
  • Swift 3.0.2 / Xcode 8.2 compatible. (#764 Thanks @lbrndnr)

New Features:

  • Add a flag castNilToNSNull to json rawString for converting nil to NSNull. (#610 Thanks @gsabran)
  • Add a function to deep merge a JSON object into another JSON object. See Merging (#725 Thanks @danielkiedrowski)
  • JSON constructors are more explicit now: init(object: Any) becomes: init(_ object: Any). (#664 Thanks @MadsBogeskov)

Documentation improvement:

(Thanks all: @cwkatzmann, @victorlin, @looseyi, @takasek and @naeemshaikh90)

3.1.3

16 Nov 16:34
Compare
Choose a tag to compare
v3.1.3

3.1.2: Merge pull request #2 from wongzigii/re-organize

08 Nov 17:10
Compare
Choose a tag to compare

3.1.1

31 Oct 05:31
Compare
Choose a tag to compare
Fix tag version for Package Manager