Swift Collections 1.0.3
This release resolves issues uncovered since 1.0.2 was tagged. The fixes improve performance of some operations, resolve compile-time issues and update documentation. This release contains no observable behavioral changes.
Changes
- [Clutter] When opened in Xcode, the package no longer adds spurious schemes to dependent projects. (#155)
Fixes
- [Build-time issue] Code that is calling
OrderedDictionary
's uniquing/unique/grouping initializers and merge operations no longer gets flagged as ambiguous in certain cases involving type inference. (#125, #139) - [Build-time issue] The package no longer fails to build when library evolution is enabled. (#157) (Note: this configuration remains unsupported. This package does not provide any guarantees about ABI stability.)
- [Performance] In-place mutations of collection contents no longer result in unnecessary heap allocations. (#164)
- [Performance] On Swift 5.6 and better, some operations in the
OrderedCollections
module now make use of the stdlib's temporary allocation facility. (#160) - [Docs] Documentation was updated to clarify behavior of the
filter
andmerge
methods ofOrderedDictionary
. (#145)
Pull requests
- #140 [OrderedDictionary] Fix type inference issue with OrderedDictionary.init(grouping:by:) (by @lorentey)
- #153 [OrderedDictionary][doc] Update docs for merge/filter operations (by @lorentey)
- #155 Remove Swift PM Artifacts to avoid Generated Schemes in Xcode (by @hectormatos2011)
- #156 Reinstate custom schemes under Utils/swift-collections.xcworkspace (by @lorentey)
- #160 [OrderedCollection] Use standard temp allocation facility, if available (by @lorentey)
- #161 [Xcode] Update schemes & file template (by @lorentey)
- #162 [OrderedSet] Work around weird name lookup issue in compiler (by @lorentey)
- #165 Force-inline _modify accessors to work around a performance issue (by @lorentey)
- #169 [OrderedDictionary] Resolve call-site ambiguities (by @lorentey)
- #170 Update README for 1.0.3 (by @lorentey)
Full Changelog: 1.0.2...1.0.3
Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.