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.
Assets
2
Improvements
Codableprotocol support #923 (Thanks @wleii)- Xcode 9.3 support #951 (Thanks @wongzigii)
- Improve string test for boolean value #947 (Thanks @otaviolima)
- Update Travis CI to Xcode 9.3 image #954 (Thanks @wongzigii)
Docs
- README improvements #953, #952, #929 and #504 (Thanks @wongzigii, @tomduncalf and @bojanstef)
Assets
2
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.
Assets
2
wongzigii
released this
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,
writtingOptionsKeysnow iswritingOptionsKeys. - (f9afe96 @wongzigii) SwiftyJSON now use
throwsfor error handling
init(data, options opt, error)now isinit(data, options opt) throws. - (083c6d7 @wongzigii) Use
Swift.Errortype instead ofNSError, now JSON's error isSwiftyJSONErrortype.
Improvements:
- (619fba2 @wongzigii) SwiftLint compatible.
- (1d64b89 @wongzigii) Add GitHub issue and pull request template.
- (d932f64 @matthew-an) Fix a potential crash issue by checking whether index is out of json array’s bound.
- (e4b2644 @JeffGuKang @Humoud) Documentation improvement and source code gardening.
- (#887 @Taillook, @hitendradeveloper, @Harshit31) Add "yes" and "1" to string.boolValue array
Thank @JackSteven, @mictab, @neoneye, @Tawfikk and others who helped review the pull requests and contribute to the documentations.
Assets
2
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
castNilToNSNullto 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)
Assets
2
zhigang1992
released this
Re-organize tests to satisfy SPM
Assets
3
zhigang1992
released this
Fix tag version for Package Manager