Releases: SwiftyJSON/SwiftyJSON
Releases · SwiftyJSON/SwiftyJSON
5.0.2
What's Changed
- Reorder build phases to fix Xcode 13.3 issue by @Dahlgren in #1114
- fix typo by @lewis-smith in #1098
- fix compile warning, which will be compile error in upcoming swift 6 by @luoxiu in #1124
- Add Privacy Manifest by @Nathan-Molby in #1150
- Errors in readme #1144 by @annie-gupta in #1147
Full Changelog: 5.0.1...5.0.2
Swift 5.0
4.2.0
4.1.0
Improvements
Codable
protocol 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)
4.0.0
4.0.0-alpha.1
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 iswritingOptionsKeys
. - (f9afe96 @wongzigii) SwiftyJSON now use
throws
for error handling
init(data, options opt, error)
now isinit(data, options opt) throws
. - (083c6d7 @wongzigii) Use
Swift.Error
type instead ofNSError
, now JSON's error isSwiftyJSONError
type.
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. 🎉 🎉
3.1.4
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
v3.1.3
3.1.2: Merge pull request #2 from wongzigii/re-organize
Re-organize tests to satisfy SPM
3.1.1
Fix tag version for Package Manager