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:
PSJSONDecoder
has been renamed toXJSONDecoder
PSJSONEncoder
has been renamed toXJSONEncoder
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
'suserInfo
public (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
JSONEncoder
andJSONDecoder
are now prefixed withPS
to remove naming conflicts with Foundation. (#48)PSJSONEncoder
is now astruct
(#47)PSJSONEncoder
can now encode intoJSONValue
andPSJSONDecoder
can decode fromJSONValue
(#46)JSONValue.debugDataTypeDescription
is 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
\u003C
was supported, now we support\u003c
as 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()
andnestedUnkeyedContainer()
work #19 #25 (thx for reporting @adam-fowler)JSONEncoder
updates coding path #21 #25 (thx for reporting @adam-fowler)- If
NaN
orInfinity
is encoded an error is thrown #13 (thx for reporting @dinhhungle)
pure-swift-json v0.1.0
The very first release! Feedback highly welcome.