Releases: swift-extras/swift-extras-json
Releases · swift-extras/swift-extras-json
v0.6.0 swift-extras-json
pure-swift-json was moved to swift-extras and got a new name: swift-extras-json. The library PureSwiftJSON has been renamed to ExtrasJSON.
Other Changes:
- PSJSONDecoderhas been renamed to- XJSONDecoder
- PSJSONEncoderhas been renamed to- XJSONEncoder
pure-swift-json v0.5.1
pure-swift-json v0.5.0
pure-swift-json v0.4.0
- fixes an issue that led to a crash, if an empty array was decoded (#52)
- makes PSJSONEncoder's andPSJSONDecoder'suserInfopublic (Added to public api) (#50 and #51)
Thanks to @ktoso and @calebkleveter for reporting the issues fixed in this release!
pure-swift-json v0.3.0
- JSONEncoderand- JSONDecoderare now prefixed with- PSto remove naming conflicts with Foundation. (#48)
- PSJSONEncoderis now a- struct(#47)
- PSJSONEncodercan now encode into- JSONValueand- PSJSONDecodercan decode from- JSONValue(#46)
- JSONValue.debugDataTypeDescriptionis now internal (#29 #45)
- everything is now under one target PureSwiftJSON. (#44)
- The code is now formatted with swiftformat. This is enforced with CI (#43)
- The "early stage development" warning has been removed (#49)
This shall be one of the last releases before 1.0.0. With the changes in the project structure and the renaming of the PSJSONEncoder and PSJSONDecoder, I hope that the coming changes will not be source breaking.
pure-swift-json v0.2.3
- Fixes a bug where only uppercase unicode escape sequences were allowed. Before only \u003Cwas supported, now we support\u003cas well (#42)
pure-swift-json v0.2.2
- Fixes a bug in JSONUnkeyedDecodingContainer(#41)
pure-swift-json v0.2.1
- Decoding an object from an unknown key within an object doesn't crash anymore.
pure-swift-json v0.2.0
Fixed a couple of issues.
- Fixed a couple of typos in the README.md (thx for reporting @Trzyipolkostkicukru) #23
- Fixed typo decodeFixedWithInteger()->decodeFixedWidthInteger()(thx @rjchatfield) #22 #18
- Updated the README.md with an example of how to use Date with a propertyWrapper (thx @Trzyipolkostkicukru) #17
- Allow encode<T: Encodable>(_ value: T)in JSONSingleValueEncodingContainer (thx @adam-fowler) #20 #24
- Added a License (Apache 2.0) #27
- JSONEncoder- nestedContainer()and- nestedUnkeyedContainer()work #19 #25 (thx for reporting @adam-fowler)
- JSONEncoderupdates coding path #21 #25 (thx for reporting @adam-fowler)
- If NaNorInfinityis encoded an error is thrown #13 (thx for reporting @dinhhungle)
pure-swift-json v0.1.0
The very first release! Feedback highly welcome.