Skip to content

Commit

Permalink
chore(deps): update dependency apple/swift-nio to v2.78.0 (#1438)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [apple/swift-nio](https://redirect.github.com/apple/swift-nio) | minor
| `2.77.0` -> `2.78.0` |

---

### Release Notes

<details>
<summary>apple/swift-nio (apple/swift-nio)</summary>

###
[`v2.78.0`](https://redirect.github.com/apple/swift-nio/releases/tag/2.78.0):
SwiftNIO 2.78.0

[Compare
Source](https://redirect.github.com/apple/swift-nio/compare/2.77.0...2.78.0)

<!-- Release notes generated using configuration in .github/release.yml
at main -->

#### What's Changed

This release contains a number of features that have been added to
enable the SwiftNIO ecosystem to adopt strict concurrency checking and
the Swift 6 language mode more easily. In particular, this release
migrates NIOCore and NIOEmbedded, two critical and widespread
dependencies.

This release also contains new tools for making adoption easier, in
particular the isolated views of `EventLoop`, `EventLoopPromise`, and
`EventLoopFuture`. For more details on how to use these types to make
adoption of strict concurrency easier, please [see our documentation on
the relationship between `EventLoop`s, `EventLoopFuture`s, and Swift's
concurrency
model](https://swiftpackageindex.com/apple/swift-nio/main/documentation/niocore/loops-futures-concurrency).

More work in this area is ongoing, and will be released in subsequent
versions.

##### SemVer Minor

- Handle Sendability of RemovableChannelHandler by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/2953](https://redirect.github.com/apple/swift-nio/pull/2953)
- Clean up Sendability for ChannelInvoker by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/2955](https://redirect.github.com/apple/swift-nio/pull/2955)
- Complete NIOCore strict concurrency by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/2959](https://redirect.github.com/apple/swift-nio/pull/2959)
- Make NIOFileDescriptor/FileRegion/IOData Sendable & soft-deprecated by
[@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/2598](https://redirect.github.com/apple/swift-nio/pull/2598)
- fix almost all Sendable warnings by
[@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/2994](https://redirect.github.com/apple/swift-nio/pull/2994)
- deprecate NIOEventLoopGroupProvider.createNew by
[@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/2480](https://redirect.github.com/apple/swift-nio/pull/2480)
- Add EventLoop.now API for getting the current time by
[@&#8203;simonjbeaumont](https://redirect.github.com/simonjbeaumont) in
[https://github.com/apple/swift-nio/pull/3015](https://redirect.github.com/apple/swift-nio/pull/3015)
- Add parallel removal of items by
[@&#8203;mimischi](https://redirect.github.com/mimischi) in
[https://github.com/apple/swift-nio/pull/3008](https://redirect.github.com/apple/swift-nio/pull/3008)
- Add isolated views to EventLoop, Promise, and Future by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/2969](https://redirect.github.com/apple/swift-nio/pull/2969)
- Get NIOEmbedded clean under strict concurrency by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/3030](https://redirect.github.com/apple/swift-nio/pull/3030)

##### SemVer Patch

- give common blocking functions a clear name by
[@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/2984](https://redirect.github.com/apple/swift-nio/pull/2984)
- ByteBuffer: one fewer allocs to go to Data by
[@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/1839](https://redirect.github.com/apple/swift-nio/pull/1839)
- Remove noasync from NIOFileHandle by
[@&#8203;glbrntt](https://redirect.github.com/glbrntt) in
[https://github.com/apple/swift-nio/pull/3001](https://redirect.github.com/apple/swift-nio/pull/3001)
- Avoid converting array holding existentials by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/3006](https://redirect.github.com/apple/swift-nio/pull/3006)
- Use the new Android overlay in the tests and update some Bionic
declarations by
[@&#8203;finagolfin](https://redirect.github.com/finagolfin) in
[https://github.com/apple/swift-nio/pull/3009](https://redirect.github.com/apple/swift-nio/pull/3009)
- Revert `fastRebase` implementation by
[@&#8203;clintonpi](https://redirect.github.com/clintonpi) in
[https://github.com/apple/swift-nio/pull/3014](https://redirect.github.com/apple/swift-nio/pull/3014)
- Deprecate not-actually-public Base64 APIs by
[@&#8203;glbrntt](https://redirect.github.com/glbrntt) in
[https://github.com/apple/swift-nio/pull/3022](https://redirect.github.com/apple/swift-nio/pull/3022)
- Fix new warnings by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/3026](https://redirect.github.com/apple/swift-nio/pull/3026)
- Remove now unneeded fts_open bitcast for Android by
[@&#8203;finagolfin](https://redirect.github.com/finagolfin) in
[https://github.com/apple/swift-nio/pull/3025](https://redirect.github.com/apple/swift-nio/pull/3025)
- fix bogus "unleakable promise leaked" error message
([#&#8203;2855](https://redirect.github.com/apple/swift-nio/issues/2855))
by [@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/3027](https://redirect.github.com/apple/swift-nio/pull/3027)
- Enable MemberImportVisibility check by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3029](https://redirect.github.com/apple/swift-nio/pull/3029)
- Wait for `closeFuture` instead of close promise in `NIOAsyncChannel`'s
`executeThenClose` by
[@&#8203;gjcairo](https://redirect.github.com/gjcairo) in
[https://github.com/apple/swift-nio/pull/3032](https://redirect.github.com/apple/swift-nio/pull/3032)
- Import Android instead for NIOEmbedded by
[@&#8203;finagolfin](https://redirect.github.com/finagolfin) in
[https://github.com/apple/swift-nio/pull/3033](https://redirect.github.com/apple/swift-nio/pull/3033)
- Support concurrency take over in 6.2 by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/3043](https://redirect.github.com/apple/swift-nio/pull/3043)
- GetaddrinfoResolver succeeds futures on eventLoop by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3042](https://redirect.github.com/apple/swift-nio/pull/3042)

##### Other Changes

- fix warnings: syncShutdownGracefully not available in async contexts
by [@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/2995](https://redirect.github.com/apple/swift-nio/pull/2995)
- Add Cxx interop swift settings to CI by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/2999](https://redirect.github.com/apple/swift-nio/pull/2999)
- Update documentation comments by
[@&#8203;mimischi](https://redirect.github.com/mimischi) in
[https://github.com/apple/swift-nio/pull/2998](https://redirect.github.com/apple/swift-nio/pull/2998)
- Cxx interop CI appends swiftSettings by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3002](https://redirect.github.com/apple/swift-nio/pull/3002)
- fix remaining warnings & enable -warnings-as-errors in CI by
[@&#8203;weissi](https://redirect.github.com/weissi) in
[https://github.com/apple/swift-nio/pull/3000](https://redirect.github.com/apple/swift-nio/pull/3000)
- Aligning semantic version label check name by
[@&#8203;FranzBusch](https://redirect.github.com/FranzBusch) in
[https://github.com/apple/swift-nio/pull/3007](https://redirect.github.com/apple/swift-nio/pull/3007)
- Introduce JSON matrix workflow by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3013](https://redirect.github.com/apple/swift-nio/pull/3013)
- Matrix workflows refer to main branch by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3016](https://redirect.github.com/apple/swift-nio/pull/3016)
- Re-usable workflows curl scripts by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3017](https://redirect.github.com/apple/swift-nio/pull/3017)
- GHA: Separate matrix input handling by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3018](https://redirect.github.com/apple/swift-nio/pull/3018)
- Remove outdated documentation by
[@&#8203;rauhul](https://redirect.github.com/rauhul) in
[https://github.com/apple/swift-nio/pull/3023](https://redirect.github.com/apple/swift-nio/pull/3023)
- rename top matrix workflow object 'swift'->'config' by
[@&#8203;rnro](https://redirect.github.com/rnro) in
[https://github.com/apple/swift-nio/pull/3024](https://redirect.github.com/apple/swift-nio/pull/3024)
- Fix now-racy scheduled callback tests by
[@&#8203;Lukasa](https://redirect.github.com/Lukasa) in
[https://github.com/apple/swift-nio/pull/3031](https://redirect.github.com/apple/swift-nio/pull/3031)
- Update release.yml and label action by
[@&#8203;FranzBusch](https://redirect.github.com/FranzBusch) in
[https://github.com/apple/swift-nio/pull/3035](https://redirect.github.com/apple/swift-nio/pull/3035)
- Fix flaky test testTasksScheduledDuringShutdownAreAutomaticallyCancel…
by [@&#8203;FranzBusch](https://redirect.github.com/FranzBusch) in
[https://github.com/apple/swift-nio/pull/3036](https://redirect.github.com/apple/swift-nio/pull/3036)
- Print alloc-limits-from-test-output usage when no args by
[@&#8203;glbrntt](https://redirect.github.com/glbrntt) in
[https://github.com/apple/swift-nio/pull/3041](https://redirect.github.com/apple/swift-nio/pull/3041)

#### New Contributors

- [@&#8203;mimischi](https://redirect.github.com/mimischi) made their
first contribution in
[https://github.com/apple/swift-nio/pull/2998](https://redirect.github.com/apple/swift-nio/pull/2998)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC45NC4xIiwidXBkYXRlZEluVmVyIjoiMzguOTQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: cgrindel-self-hosted-renovate[bot] <139595543+cgrindel-self-hosted-renovate[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 94a9831 commit 9fc5882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ios_sim/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "ios_sim",
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", exact: "2.77.0"),
.package(url: "https://github.com/apple/swift-nio.git", exact: "2.78.0"),
.package(url: "https://github.com/apple/swift-markdown.git", exact: "0.5.0"),
]
)

0 comments on commit 9fc5882

Please sign in to comment.