Skip to content

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

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

Swift Collections 1.7.2

This is a patch release shipping a few internal cleanups.

  • On Swift 6.4, the package is now built with strict memory safety enabled. (I don't expect to ever get rid of all unsafe keywords: safe data structures have to be built on top of unsafe allocator primitives, after all. But I do expect we will gradually move to using memory-safe constructs whenever it's possible to do so, and the keywords will serve as a helpful incentive for that.)
  • The package has now fully migrated its testing to rely on package access modifiers rather than @testable import or @_spi trickery.

What's Changed

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

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

... (truncated)

Commits
  • 3b69ced Merge pull request #747 from lorentey/strict-memory-safety
  • 017f766 Update package manifest for benchmarks
  • 1b936ed Disable strict memory safety on older toolchains
  • 9e79490 Tests: add unsafe keywords where needed
  • d07dc32 Sources: Add unsafe keywords where needed
  • 13f71ad Enable strict memory safety
  • a5b0949 Merge pull request #745 from lorentey/migrate-from-spi-to-package
  • c991c85 Update SortedCollections for un-@testable testing
  • 0ec72a9 Stop using @_spi attribute and @testable import
  • afb6141 Merge pull request #744 from lorentey/separate-containers-preview
  • 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.2.
- [Release notes](https://github.com/apple/swift-collections/releases)
- [Commits](apple/swift-collections@1.6.0...1.7.2)

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

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

Copy link
Copy Markdown

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