Skip to content

⬆️(deps): Bump github.com/apple/swift-collections from 1.6.0 to 1.7.1 - #1329

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/apple/swift-collections-1.7.1
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/swift/github.com/apple/swift-collections-1.7.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 29, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/apple/swift-collections from 1.6.0 to 1.7.1.

Release notes

Sourced from github.com/apple/swift-collections's releases.

Swift Collections 1.7.1

This is a patch release that ships a workaround for a Swift 6.4 defect that prevents code that uses the package from deploying before macOS/iOS 27 (#733), alongside fixes for a handful of other bugs uncovered since 1.7.0.

What's Changed

New Contributors

Full Changelog: apple/swift-collections@1.7.0...1.7.1

Swift Collections 1.7.0

This is a feature release raising the minimum required toolchain to Swift 6.2. It formalizes Equatable/Hashable conformances on the ownership-aware container types, adds a new stable OrderedSet operation, and continues to develop the experimental ownership-aware container model behind the UnstableContainersPreview trait. It also includes a number of performance improvements and bug fixes.

New stable APIs

OrderedCollections

  • OrderedSet.replace(at:with:) replaces the member at a given index with a new element, returning the element that was removed. Replacing a member with an element that already exists elsewhere in the set is a runtime error. Expected amortized O(1) complexity. (#669)

BasicContainers, DequeModule

  • On a Swift 6.4 or later toolchain, RigidArray, UniqueArray, RigidDeque, UniqueDeque, RigidSet, UniqueSet, RigidDictionary, and UniqueDictionary now formally conform to Equatable and Hashable. (The underlying == and hash(into:) members were already available in 1.6.0; what is new is the conformances themselves.) Building with Swift 6.2 or 6.3 still gets you the ==/hash(into:) members, but no conformances.

  • RigidDeque.isTriviallyIdentical(to:) and UniqueDeque.isTriviallyIdentical(to:) are now available for every element type, including noncopyable ones. Previously these required Element: Equatable.

  • New spelling for the capacity, cloning, and range-replacement operations; see Renamed APIs below. The new names are the stable spelling going forward; the old ones remain as deprecated shims.

Collections umbrella module

The Collections module is back to re-exporting its constituent modules with @_exported import, instead of restating each type as a public typealias (#716). A single import Collections therefore now brings in the entire contents of BitCollections, DequeModule, HashTreeCollections, HeapModule, and OrderedCollections — including types that previously were not exposed in the Collections module, such as RigidDeque and UniqueDeque. This allows import Collections to work even for clients that have MemberImportVisibility enabled.

Renamed APIs

BasicContainers and DequeModule are stable modules, so every rename below ships with a deprecated shim carrying @available(*, deprecated, renamed:). Existing code keeps compiling, and Xcode/swift build will offer fix-its.

Old name New name
reallocate(capacity:) setCapacity(_:)
copy() clone()
copy(capacity:) clone(capacity:)
UniqueDeque.init(capacity:) init(minimumCapacity:)
replace(_:with:) and friends replaceSubrange(_:copying:) / (_:moving:) / (_:consuming:)

... (truncated)

Commits
  • 98ef3c9 Merge pull request #740 from lorentey/release-prep
  • a1f0f14 Update README
  • 935af54 [Xcode] Remove obsolete file references
  • 2ba0f6e Merge pull request #739 from lorentey/drop-unused-code
  • f57d12f Merge pull request #735 from Joseph-Cursio/validate-container-count-guard
  • f1e675a Turn off BorrowingIteratorProtocol.next()
  • feef325 Merge pull request #736 from Denimworld12/fix-bitset-counted-update-count
  • 21807d9 Merge pull request #737 from Denimworld12/fix-union-wrong-level
  • 99b82a4 Apply batched suggestions from code review
  • 5448b9c Delete distracting comments
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/apple/swift-collections](https://github.com/apple/swift-collections) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/apple/swift-collections/releases)
- [Commits](apple/swift-collections@1.6.0...1.7.1)

---
updated-dependencies:
- dependency-name: github.com/apple/swift-collections
  dependency-version: 1.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@sonarqubecloud

Copy link
Copy Markdown

@dependabot @github

dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1336.

@dependabot dependabot Bot closed this Oct 13, 2026
@dependabot
dependabot Bot deleted the dependabot/swift/github.com/apple/swift-collections-1.7.1 branch October 13, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants