Skip to content

Releases: michaeleisel/ZippyJSON

1.2.15

13 Jun 13:13
Compare
Choose a tag to compare
bump to 1.2.15

1.2.11

12 Jun 22:16
63c41c8
Compare
Choose a tag to compare
  • Update dependencies to fix issue on Xcode 16
  • Fix bug with launching tests when using SwiftPM

1.2.10

08 Dec 19:50
Compare
Choose a tag to compare
  • Computes the codingPath in a more efficient manner when it's needed. Previously, it was done in a lazy way that could create performance pitfalls in very rare cases. There is some performance impact to the common case, but things are now more reliable, and to compensate, I've added other optimizations.
  • Creates thrown errors more efficiently

1.2.6.1

25 Oct 16:07
Compare
Choose a tag to compare
  • Fix issues with Cocoapods/SwiftPM configs

1.2.5

16 May 11:01
Compare
Choose a tag to compare
  • Fix compiler warning
  • Fix issue where decoding Decimal types would cause an exception to throw

1.2.4

01 Mar 19:35
Compare
Choose a tag to compare
  • tvOS support
  • Fixed various compiler/linker warnings

1.2.1

06 Jul 14:11
Compare
Choose a tag to compare
  • Improved performance when codingPath is being computed a lot (e.g., because the decoding has a lot of errors being thrown and caught)
  • More accurate results for codingPath - there are no longer any known issues with it, and in some cases it's more accurate than Apple
  • Fixed theoretical use-after-free issue in a situation where a KeyedDecodingContainer or UnkeyedDecodingContainer were to somehow live on after the parent decoder has been deallocated

1.2.0

21 Jun 22:46
Compare
Choose a tag to compare
  • ZippyJSON now uses the fastest string-to-double parser in existence (co-authored by @lemire and I, and included as part of simdjson 0.3.1)
  • simdjson, which does a lot of behind-the-scenes processing for ZippyJSON, is now upgraded to version 0.3.1. As a result of the new APIs, the ZippyJSON code is now substantially simpler
  • Fixed bug that occurred when having a new UnkeyedDecodingContainer variable point to an existing one (#24)
  • Other minor bug fixes and improvements

1.1.1

25 Feb 02:14
Compare
Choose a tag to compare
  • Fixed double-free error in rare conditions (when Swift throws an exception upon trying to make a keyed decoding container with a non-dictionary JSON entity, which is then caught within the decoding init method, and then later tries to construct another object of that type)

1.1.0

13 Jan 19:52
Compare
Choose a tag to compare

A number of stability improvements and performance upgrades:

  • Many more unit tests, and 96%+ test coverage 🎉
  • Fixed bug around custom implementations of init(with: Decoder) that use an unkeyed container or a super decoder
  • Fixed bug around custom implementations of init(with: Decoder) that use decodeNil, where it would skip over a non-nil array item if there was one
  • Fixed issue when decoding a Decimal
  • Reduced memory consumption during decoding
  • Added conformance to TopLevelDecoder
  • Better performance, due to a number of changes: all test JSON files have been benchmarked as being 4-6x faster on both platforms (previously, it was only 3x+)