github apple/swift-collections 1.0.2
Swift Collections 1.0.2

latest releases: 1.1.3, 1.1.2, 1.1.1...
2 years ago

This release resolves issues uncovered since 1.0.1 was tagged, including a high severity crash in OrderedSet and OrderedDictionary. Upgrading is recommended for all clients.

Fixes

  • Fixed a value semantic violation in OrderedSet and OrderedDictionary that could result in some mutation methods corrupting shared copies of the same value, leading to subsequent crashes. (Issue #104)
  • Deque.append(contentsOf:) now uses an exponential storage resizing strategy, as expected. Calling it in a loop no longer results in O(n) reallocations. (Issue #113)

Pull requests

  • #113 [Deque] append(contentsOf:): Use exponential capacity reservation (by @lorentey)
  • #123 [OrderedSet] Add missing uniqueness check (by @lorentey)
  • #126 [Utils] run-full-tests.sh: Keep going after a failure (by @lorentey)
  • #128 [Utils] run-full-tests.sh: Add support for testing on Swift 5.3 without manual editing (by @lorentey)

Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.

Don't miss a new swift-collections release

NewReleases is sending notifications on new releases.