Skip to content

Swift Collections 1.0.2

Compare
Choose a tag to compare
@lorentey lorentey released this 16 Nov 00:59
· 85 commits to release/1.0 since this release
4825482

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.