google-auth-library-swift
google-auth-library-swift copied to clipboard
chore(deps): update dependency apple/swift-nio to from: "2.76.1"
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| apple/swift-nio | minor | from: "2.59.0" -> from: "2.76.1" |
Release Notes
apple/swift-nio (apple/swift-nio)
v2.76.1: SwiftNIO 2.76.1
What's Changed
SemVer Patch
- workaround Xcode 15.4 bug with swift build --arch x86_64 --arch arm64 by @weissi in https://github.com/apple/swift-nio/pull/2945
Full Changelog: https://github.com/apple/swift-nio/compare/2.76.0...2.76.1
v2.76.0: SwiftNIO 2.76.0
What's Changed
SemVer Minor
- Drop support for Swift 5.8 by @FranzBusch in https://github.com/apple/swift-nio/pull/2924
- Fix
EventLoopFutureandEventLoopPromiseunder strict concurrency checking by @FranzBusch in https://github.com/apple/swift-nio/pull/2654 - Provide APIs to read file into more data types by @clintonpi in https://github.com/apple/swift-nio/pull/2923
SemVer Patch
- Adopt NIOThrowingAsyncSequenceProducer 2nd try by @rnro in https://github.com/apple/swift-nio/pull/2917
- Add future wait benchmark to catch memory leaks by @rnro in https://github.com/apple/swift-nio/pull/2931
- Fix Windows build break. by @jeffdav in https://github.com/apple/swift-nio/pull/2935
- Fix withConnectedSocket in async mode by @Lukasa in https://github.com/apple/swift-nio/pull/2937
- Fix Windows build for NIOCore. by @jeffdav in https://github.com/apple/swift-nio/pull/2938
- NIOPosix on Darwin: inherit main thread QoS by @weissi in https://github.com/apple/swift-nio/pull/2944
Other Changes
- [CI] Migrate to Swift 6.0 and drop 5.8 by @FranzBusch in https://github.com/apple/swift-nio/pull/2920
- Disable semver label check locally by @rnro in https://github.com/apple/swift-nio/pull/2928
- [CI] Fix python lint by @FranzBusch in https://github.com/apple/swift-nio/pull/2925
- clean up 5.8 thresholds by @rnro in https://github.com/apple/swift-nio/pull/2932
- [CI] Add Windows matrix build by @FranzBusch in https://github.com/apple/swift-nio/pull/2929
- [CI] Small adjustments to the Windows actions by @FranzBusch in https://github.com/apple/swift-nio/pull/2939
- [CI] Enable benchmarks & cxx Windows CI by @FranzBusch in https://github.com/apple/swift-nio/pull/2940
- [CI] Fix the Windows 6.0 check name by @FranzBusch in https://github.com/apple/swift-nio/pull/2941
New Contributors
- @jeffdav made their first contribution in https://github.com/apple/swift-nio/pull/2935
Full Changelog: https://github.com/apple/swift-nio/compare/2.75.0...2.76.0
v2.75.0: SwiftNIO 2.75.0
What's Changed
SemVer Minor
- Add EventLoop APIs for simpler scheduling of callbacks by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2759
- Add convenience conformances to
ByteCountby @clintonpi in https://github.com/apple/swift-nio/pull/2909 - Add
removeHandler(context: ChannelHandlerContext)to SynchronousOperations of ChannelPipeline by @supersonicbyte in https://github.com/apple/swift-nio/pull/2912 - [NIOFileSystem] Provide an API to specify allowing unlimited sized reads by @clintonpi in https://github.com/apple/swift-nio/pull/2914
SemVer Patch
- A DatagramChannelTest now waits for writes by @rnro in https://github.com/apple/swift-nio/pull/2905
- Throw error when the max read amount is greater than
ByteBuffercan tolerate by @clintonpi in https://github.com/apple/swift-nio/pull/2911
Other Changes
- Make ByteBufferQUICBinaryEncodingStrategyTests compatible with 32-bit systems by @hamzahrmalik in https://github.com/apple/swift-nio/pull/2904
- Fix broken link to swift-server performance documentation by @plemarquand in https://github.com/apple/swift-nio/pull/2907
- [CI] Switch to reusable soundness by @FranzBusch in https://github.com/apple/swift-nio/pull/2913
- [CI] Fix unit test yaml file by @FranzBusch in https://github.com/apple/swift-nio/pull/2915
- [CI] Add back matrix CI script by @FranzBusch in https://github.com/apple/swift-nio/pull/2916
- Re-add CXX compat check script by @PeterAdams-A in https://github.com/apple/swift-nio/pull/2919
New Contributors
- @plemarquand made their first contribution in https://github.com/apple/swift-nio/pull/2907
- @clintonpi made their first contribution in https://github.com/apple/swift-nio/pull/2909
Full Changelog: https://github.com/apple/swift-nio/compare/2.74.0...2.75.0
v2.74.0: SwiftNIO 2.74.0
What's Changed
SemVer Minor
- Add ByteBuffer Hex init & write by @ali-ahsan-ali in https://github.com/apple/swift-nio/pull/2837
- Add functions for reading and writing length-prefixed data with customizable encodings for the length by @hamzahrmalik in https://github.com/apple/swift-nio/pull/2867
SemVer Patch
- ConditionLock deallocs its pthread_cond_t in more cases by @rnro in https://github.com/apple/swift-nio/pull/2901
Full Changelog: https://github.com/apple/swift-nio/compare/2.73.0...2.74.0
v2.73.0
What's Changed
SemVer Minor
- Make
ByteBuffer's description more useful by @supersonicbyte in https://github.com/apple/swift-nio/pull/2864 - Expose
UDP_MAX_SEGMENTSvia System by @rnro in https://github.com/apple/swift-nio/pull/2891 - Add new
ChannelOptionto get the amount of buffered outbound data in the Channel by @johnnzhou in https://github.com/apple/swift-nio/pull/2849 - Add an
AcceptBackoffHandlerto the async server bootstraps by @FranzBusch in https://github.com/apple/swift-nio/pull/2782
SemVer Patch
- Adding a nicer description for
WebSocketFrameby @supersonicbyte in https://github.com/apple/swift-nio/pull/2862 - Improving
descriptionand addingdebugDescriptiontoNIOAnyby @supersonicbyte in https://github.com/apple/swift-nio/pull/2866 - Make FileChunk sendable by @ali-ahsan-ali in https://github.com/apple/swift-nio/pull/2871
- Make
ByteBuffer.debugDescriptionsuitable for structural display by @dnadoba in https://github.com/apple/swift-nio/pull/2495 - Add support for WASILibc by @MaxDesiatov in https://github.com/apple/swift-nio/pull/2671
NIOSingleStepByteToMessageDecoderreentrancy safety by @rnro in https://github.com/apple/swift-nio/pull/2881- Adopt
NIOThrowingAsyncSequenceProducerby @rnro in https://github.com/apple/swift-nio/pull/2879 - Clamp buffer to maximum upon large write operation by @ali-ahsan-ali in https://github.com/apple/swift-nio/pull/2745
- Revert "Adopt
NIOThrowingAsyncSequenceProducer(#2879)" by @rnro in https://github.com/apple/swift-nio/pull/2892 - Add concrete description for
EmbeddedEventLoopby @aryan-25 in https://github.com/apple/swift-nio/pull/2890 - Conditionally include linux/udp.h by @rnro in https://github.com/apple/swift-nio/pull/2894
- Work around a type checking error when using the Static Linux SDK by @euanh in https://github.com/apple/swift-nio/pull/2898
Other Changes
- [CI] Run tests on push to main by @FranzBusch in https://github.com/apple/swift-nio/pull/2868
- [CI] License header support
.inand.cmakefiles by @FranzBusch in https://github.com/apple/swift-nio/pull/2870 - Include nanoseconds in assertion of timestamp for NIOFileSystem tests by @gjcairo in https://github.com/apple/swift-nio/pull/2869
- Correct the link of sswg-security at SECURITY.md by @lamtrinhdev in https://github.com/apple/swift-nio/pull/2872
- Speculative fix for flakey AsyncTestingEventLoop test by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2873
- ci: Install shellcheck if not present in CI runner by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2882
- ci: Use ${GITHUB_BASE_REF} as treeish for checking API break by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2883
- ci: Refer to nested reusable workflows using remote variant by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2884
- [CI] Fix pull request label workflow by @FranzBusch in https://github.com/apple/swift-nio/pull/2885
New Contributors
- @ali-ahsan-ali made their first contribution in https://github.com/apple/swift-nio/pull/2871
- @aryan-25 made their first contribution in https://github.com/apple/swift-nio/pull/2890
- @johnnzhou made their first contribution in https://github.com/apple/swift-nio/pull/2849
- @euanh made their first contribution in https://github.com/apple/swift-nio/pull/2898
Full Changelog: https://github.com/apple/swift-nio/compare/2.72.0...2.73.0
v2.72.0
What's Changed
SemVer Minor
- Add .compact format to ByteBuffer's hexdump method by @supersonicbyte in https://github.com/apple/swift-nio/pull/2856
SemVer Patch
- Make
assumeIsolatedwork with SerialExecutors that are backed by EventLoops by @fabianfett in https://github.com/apple/swift-nio/pull/2865
New Contributors
- @supersonicbyte made their first contribution in https://github.com/apple/swift-nio/pull/2856
Full Changelog: https://github.com/apple/swift-nio/compare/2.71.0...2.72.0
v2.71.0
What's Changed
SemVer Minor
- Adopt strict concurrency and Sendable in
NIOConcurrencyHelpersby @Lukasa in https://github.com/apple/swift-nio/pull/2832 - Adopt strict concurrency in
_NIODataStructuresby @Lukasa in https://github.com/apple/swift-nio/pull/2835 - Provide documentation and context information for
NIOTooManyBytesErrorby @cmcgee1024 in https://github.com/apple/swift-nio/pull/2831
SemVer Patch
- Adopt strict concurrency in
_NIOBase64by @Lukasa in https://github.com/apple/swift-nio/pull/2838 - Remove symlinks from resources by @Lukasa in https://github.com/apple/swift-nio/pull/2841
- Fix global concurrency hook integration test by @FranzBusch in https://github.com/apple/swift-nio/pull/2857
Other Changes
- Update wording from
ubuntutoUbuntuat README.md by @lamtrinhdev in https://github.com/apple/swift-nio/pull/2830 - Update the triggers for the Semantic Version label check by @FranzBusch in https://github.com/apple/swift-nio/pull/2833
- Add
.editorconfigfile by @FranzBusch in https://github.com/apple/swift-nio/pull/2829 - Fix test availability by @glbrntt in https://github.com/apple/swift-nio/pull/2836
- Strict concurrency the early tests by @Lukasa in https://github.com/apple/swift-nio/pull/2840
- Fix
NIOFileSystemflaky tests by @gjcairo in https://github.com/apple/swift-nio/pull/2842 - Improve
testTasksScheduledDuringShutdownAreAutomaticallyCancelledby @glbrntt in https://github.com/apple/swift-nio/pull/2843 - Align benchmark scaling and minimum samples by @FranzBusch in https://github.com/apple/swift-nio/pull/2839
- Explain why
ThreadLocalVariableisn't Sendable. by @Lukasa in https://github.com/apple/swift-nio/pull/2845 - [CI] Don't persist git credentials in CI by @FranzBusch in https://github.com/apple/swift-nio/pull/2847
- [CI] Mark the workspace as safe for the matrix job by @FranzBusch in https://github.com/apple/swift-nio/pull/2848
- Pin DocC to below 1.4 by @Lukasa in https://github.com/apple/swift-nio/pull/2854
- [CI] Make container images configurable in soundness and matrix jobs … by @FranzBusch in https://github.com/apple/swift-nio/pull/2851
- Update release.yml by @FranzBusch in https://github.com/apple/swift-nio/pull/2850
New Contributors
- @lamtrinhdev made their first contribution in https://github.com/apple/swift-nio/pull/2830
- @cmcgee1024 made their first contribution in https://github.com/apple/swift-nio/pull/2831
Full Changelog: https://github.com/apple/swift-nio/compare/2.70.0...2.71.0
v2.70.0: SwiftNIO 2.70.0
What's Changed
SemVer Minor
FileSystem.copyItemcan parallelise directory copy by @UncleMattHope in https://github.com/apple/swift-nio/pull/2806ChannelOption: Allow types to be accessed with leading dot syntax by @ayush1794 in https://github.com/apple/swift-nio/pull/2816- Make
EventLoopPromiseconform to Equatable by @gjcairo in https://github.com/apple/swift-nio/pull/2714 - Provide a default
CopyStrategyoverload for copyItem. by @UncleMattHope in https://github.com/apple/swift-nio/pull/2818
SemVer Patch
- Better align shutdown semantics of testing event loops by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2800
- Clone files on Darwin rather than copying them by @rnro in https://github.com/apple/swift-nio/pull/2823
Other Changes
- Fix compose file used in update-benchmark-thresholds script by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2808
- Remove advice to generate linux tests. by @PeterAdams-A in https://github.com/apple/swift-nio/pull/2807
- Make
testInstantTCPConnectionResetThrowsErrormore reliable by @hamzahrmalik in https://github.com/apple/swift-nio/pull/2810 - [CI] Add
shellcheckand fix up warnings by @FranzBusch in https://github.com/apple/swift-nio/pull/2809 - [CI] Fix docs check by @FranzBusch in https://github.com/apple/swift-nio/pull/2811
- [CI] Add Swift 6 language mode workflow by @FranzBusch in https://github.com/apple/swift-nio/pull/2812
- Fix test compilation on non-macOS Darwin platforms by @simonjbeaumont in https://github.com/apple/swift-nio/pull/2817
- Add
.index-buildto.gitignoreby @MaxDesiatov in https://github.com/apple/swift-nio/pull/2819 - [CI] Add action and workflow to check for semver label by @FranzBusch in https://github.com/apple/swift-nio/pull/2814
- Update repository docs for swift-version support and recent CI check changes by @UncleMattHope in https://github.com/apple/swift-nio/pull/2815
- Fix failing build for test by @ayush1794 in https://github.com/apple/swift-nio/pull/2824
- Fix typo in comment in
WebSocketErrorCodes.swiftby @valeriyvan in https://github.com/apple/swift-nio/pull/2604 - [CI] Add a scheduled workflow for tests and benchmarks by @FranzBusch in https://github.com/apple/swift-nio/pull/2822
- [CI] Fix label check by @FranzBusch in https://github.com/apple/swift-nio/pull/2827
New Contributors
- @UncleMattHope made their first contribution in https://github.com/apple/swift-nio/pull/2806
- @ayush1794 made their first contribution in https://github.com/apple/swift-nio/pull/2816
- @valeriyvan made their first contribution in https://github.com/apple/swift-nio/pull/2604
Full Changelog: https://github.com/apple/swift-nio/compare/2.69.0...2.70.0
v2.69.0: SwiftNIO 2.69.0
What's Changed
SemVer Minor
- Add manual control to
NIOLockedValueBoxby @glbrntt in https://github.com/apple/swift-nio/pull/2786 - ChannelHandler: provide static
(un)wrap(In|Out)bound(In|Out)by @weissi in https://github.com/apple/swift-nio/pull/2791
SemVer Patch
- Pre-box some errors to reduce allocations by @glbrntt in https://github.com/apple/swift-nio/pull/2765
- Allow in-place mutation of
NIOLoopBoundBox.valueby @dnadoba in https://github.com/apple/swift-nio/pull/2771 - Avoid creating a yield ID counter per async writer by @glbrntt in https://github.com/apple/swift-nio/pull/2768
- Combine the two
NIOAsyncChannelchannel handlers by @glbrntt in https://github.com/apple/swift-nio/pull/2779 - Use the new Android overlay and Bionic module from Swift 6 by @finagolfin in https://github.com/apple/swift-nio/pull/2784
- Change
unsafeDownCasttoas!by @FranzBusch in https://github.com/apple/swift-nio/pull/2802
Other Changes
- CI migration to GitHub Action by @FranzBusch in (https://github.com/apple/swift-nio/pull/2760 https://github.com/apple/swift-nio/pull/2762 https://github.com/apple/swift-nio/pull/2763 https://github.com/apple/swift-nio/pull/2764 https://github.com/apple/swift-nio/pull/2767 https://github.com/apple/swift-nio/pull/2766 https://github.com/apple/swift-nio/pull/2776 https://github.com/apple/swift-nio/pull/2780 https://github.com/apple/swift-nio/pull/2785 https://github.com/apple/swift-nio/pull/2781 https://github.com/apple/swift-nio/pull/2787 https://github.com/apple/swift-nio/pull/2783 https://github.com/apple/swift-nio/pull/2789 https://github.com/apple/swift-nio/pull/2790)
- Ignore format commit from git blame by @FranzBusch in https://github.com/apple/swift-nio/pull/2796 https://github.com/apple/swift-nio/pull/2797 https://github.com/apple/swift-nio/pull/2801 https://github.com/apple/swift-nio/pull/2803
- Adopt swift-format by @FranzBusch in https://github.com/apple/swift-nio/pull/2794
HTTPPartDocumentation Clarification by @dimitribouniol in https://github.com/apple/swift-nio/pull/2775- Add benchmark for creating
NIOAsyncChannelby @glbrntt in https://github.com/apple/swift-nio/pull/2774 - Disable warnings as errors on Swift 6 and main by @glbrntt in https://github.com/apple/swift-nio/pull/2793
Full Changelog: https://github.com/apple/swift-nio/compare/2.68.0...2.69.0
v2.68.0: SwiftNIO 2.68.0
SemVer Minor
- NIOSendableBox: allow off-loop initialisation iff Value is Sendable (#2753)
SemVer Patch
- Throw an appropriate error from the writer when the channel closed (#2744)
Other Changes
- Convert the NIOFileSystem example code to a Snippet (#2746, #2750 patch credit to @tayloraswift)
- Fix link to NIOFileSystem from NIO index page (#2747)
v2.67.0: SwiftNIO 2.67.0
SemVer Minor
- Add API for setting last accessed and last modified file times (#2735)
SemVer Patch
- 304 Not Modified Broken with Response Compression Enabled (#2737, patch credit to @dimitribouniol)
- Silence warning about missing include in macOS builds (#2741, patch credit to @gwynne)
Other Changes
- Update availability guard on tests (#2739)
v2.66.0: SwiftNIO 2.66.0
SemVer Minor
- Add
ByteBuffersupport toBufferedWriter(#2707) - Add
withTemporaryDirectory(#2708) - Replace
RwithReturnType(#2709) - Add a version of 'write' for
ByteBuffertoWritableFileHandleProtocol(#2730)
SemVer Patch
- Remove surplus
Sendablerequirements from FileSystem with methods (#2706) - concurrency takeover safe for 6.0 (#2710)
- Release file handles back to caller on failure to take ownership (#2715)
- clean up @retroactive conformances (#2719)
- Remove storage indirection for FileSystemError (#2726)
- Improve rename error (#2731)
- Add a fallback path if renameat2 fails (#2733)
Other Changes
- Fix race in TCPThroughputBenchmark (#2724, patch credit to @ser-0xff)
- Exclude unused privacy manifests. (#2716)
- No longer need test discovery command line. (#2717)
- Update PosixSingletons+ConcurrencyTakeOver.swift (#2721)
- Add slack to rst allocation tests (#2722)
- testSimpleMPTCP should not fail for ENOPROTOOPT (#2725)
v2.65.0: SwiftNIO 2.65.0
Important changes to the NIOFileSystem module
The NIOFileSystem module has been renamed _NIOFileSystem to make it more
obvious that it isn't yet stable API.
The existing NIOFileSystem module currently re-exports _NIOFileSystem and will
be removed in the next minor release. You should update your imports accordingly
to avoid being broken by the next release.
SemVer Minor
- Add
NIOBSDSocket.Optionfor SO_BROADCAST (#2678) - Add delegate for collecting
EventLooptick metrics (#2608) - Raise minimum Swift version to 5.8 (#2675)
- Expose
NIOThreadPool.numberOfThreadspublicly. (#2676) - Prevent
BufferedWriterfrom producing empty files (#2677) - Change
BufferedReader.read(while:)signature (#2688) - Added file and line to NIOAsyncWriterError description (#2693)
- Add a helper for setting or cascading optional promises (#2697)
- Underscore the
NIOFileSystemmodule (#2683, #2689)
SemVer Patch
- Add cancellation to
NIOThreadPool'sasyncrunIfActive(#2679) - Handle 'atomically' created files more gracefully when detached (#2682)
- Remove
DispatchGroupand replace with condvar (#2687) - Use
NIOThreadPoolinNIOFileSystem(#2692) - Add privacy manifest (#2695)
- Retain a ref to
NIOAsyncWriteruntil channel active (#2703)
Other Changes
- Clarify Client/Server column headers (#2691, patch credit to @davedelong)
- Add support for
SWIFTCI_USE_LOCAL_DEPSconvention (#2699) - Update issue template link in SECURITY.md (#2680)
- Remove temp directories after tests (#2690)
- Tolerate IPv6 address resolution failure (#2704)
v2.64.0: SwiftNIO 2.64.0
Strict Concurrency Checks
The SwiftNIO team are currently in the process of making SwiftNIO warning free under strict concurrency checking.
If you experience new Sendable related warnings that you can't work around
then please file an issue.
SemVer Minor
- Track
execute()andenqueue()tasks separately from scheduled tasks. (#2645) - Conform
NIOIPProtocoltoSendable(#2655) - Add some more
Sendableannotations toNIOCore(#2656) - Migrate to
syncOperationsin more places (#2661)
SemVer Patch
- Conditionally define
RENAME_*macros (#2643, patch credit to @Austinpayne) - Build the new FileSystem module for Android (#2660, patch credit to @finagolfin)
- Only compile FileSystem on some platforms (#2636)
- Remove
@unchecked Sendableconformance fromChannelOptions.Storage(#2638) - Pass initial offset to BufferedReader.init (#2642)
- Don't drop bytes from the buffered reader when reading short (#2646)
- Introduce
assumeIsolated()methods onEventLoop,EventLoopPromiseandEventLoopFuture(#2657) - Fix CoW performance bug in
NIOThreadPoolwork queue (#2669)
Other Changes
- Remove unreliable
SchedulingBenchmark(#2650) - Fix up the markdown output generated by
scripts/analyze_performance_results.rb(#2651) - Remove large temp file after FileSystem tests (#2658)
- Fix memory allocations counters on macOS. (#2673)
v2.63.0: SwiftNIO 2.63.0
This release includes a new module, NIOFileSystem, for asynchronously interacting with the filesystem. The module isn't yet considered public API and is therefore available via the _NIOFileSystem product. We plan to stabilise the API soon and welcome feedback in the meantime. You can learn more about NIOFileSystem by reading the documentation.
SemVer Minor
- Add
asyncAPI forNonBlockingFileIO(#2576, patch credit to @adam-fowler) - Allow setting
MTELG.singletonas Swift Concurrency executor (#2564)
SemVer Patch
- Changes to support building with Musl (#2595 and #2628, patch credit to @al45tair)
- Build for Android with NDK 26, by accounting for the new nullability annotations (#2600, patch credit to @finagolfin)
- Fix warnings caused by not defining the feature macros. (#2606, patch credit to @al45tair)
- [arch] Add arm64_32 to the 32-bit platform check (#2625, patch credit to @hyerra)
- Remove precondition on result of
IOCTL_VM_SOCKETS_GET_LOCAL_CID(#2588) - Add missing availability guards in tests (#2596)
- Add
NIOAsyncWriterSinkDelegate._didSuspendhook for testing (#2597) - Suppress the performance checker warning by being sneaky (#2620)
- Avoid
confstron Android (#2627)
Other Changes
- Update APNSwift Repository Link in README.md (#2602, patch credit to @Ryu0118)
- Add tests to validate the behaviour when requests/response content-length headers are wrong in HTTP1 (#2601)
- Fix test availability annotations (#2607)
- Fix warnings when building tests on Swift 5.9.2 Linux (#2610)
- Set
SWIFT_VERSIONenvironment variable to resolve to the correct benchmarks thresholds path (#2613) - Add cxx interop build pipeline (#2614)
- Fix the broken performance test binary (#2619)
- Fix broken tests (#2621)
- Fix
NIOAsyncChannelallocation benchmarks (#2622) - Add additional guards in tests for mocking (#2624)
- Avoid overflow in tests where Int is 32-bit (#2626)
v2.62.0: SwiftNIO 2.62.0
SemVer Minor
- Add
executeThenClosetoNIOAsyncChanneland deprecate deinit based closing methods & inits (#2589, #2592) - Revert "Back out new typed HTTP protocol upgrader (#2579)" and add compiler guards (#2593, #2594)
SemVer Patch
- Fixing an issue with
CNIOSHA1missing an#includefor theBYTE_ORDERdefine. (#2584) - Fix spelling of retroactive guard (#2586)
- Fix reordering/reentrancy bug in
NIOAsyncWriter+NIOAsyncChannel(#2587)
v2.61.1: SwiftNIO 2.61.1
SemVer Patch
- use feature-specific guard for
@retroactive(#2581)
v2.61.0: SwiftNIO 2.61.0
SemVer Minor
- Add async version of NIOThreadPool.runIfActive (#2566, patch credit to @adam-fowler)
- 🚨Breaking change 🚨 Back out new typed HTTP protocol upgrader (#2579)
- We had to back out the typed HTTP protocol upgrade APIs since they were causing a runtime crash for our users. This is allowed under SemVer rules even if it is a breaking change. Once the compiler bug has been fixed we will try to land the new APIs again.
SemVer Patch
- Fix exclusive access violation in
NIOAsyncChannelOutboundWriterHandler(#2580)
Other Changes
- Fix concurrency doc APIs (#2575)
v2.60.0: SwiftNIO 2.60.0
New async APIs (former AsyncChannel SPI)
With this release we are stabilizing the AsyncChannel SPI and promote it to API. The following changes have been made to finalize the new APIs.
General and performance changes
- Improve performance of
NIOAsyncChannel(#2539) - Remove SPI from
NIOAsyncChanneland new bootstrap methods (#2548) - Add docs for the async NIO APIs (#2549)
- Update the concurrency documentation (#2529)
- Add
NIOAsyncChannelbenchmark (#2536) - Add support for async VSock bootstrap methods (#2561)
Typed HTTP upgrading
- Introduce new typed
HTTPServerUpgraderandWebSocketServerUpgrader(#2517) - Introduce new typed
HTTPClientUpgraderandWebSocketClientUpgrader(#2526)
Breaking
The following were breaking changes to the SPI.
- 🚨Remove
ProtocolNegotiationHandlerprotocol (#2519) - 🚨Align back pressure naming (#2527)
- 🚨Make
NIOAsyncChannela struct (#2528) - 🚨Remove
NIOProtocolNegotiationResult(#2554)
SemVer Minor
- Add jitter support to recurring tasks (#2542, patch credit to @LorenzoFritzsch)
- Bump minimum Swift version to 5.7 (#2524)
- Add customization point for scheduling
ExecutorJobs onEventLoops (#2538) - Support disabling body aggregation in
NIOHTTP1TestServer(#2563) - Add support for unidirectional
NIOPipeBootstrap(#2560)
SemVer Patch
- Fix failed c++ compile of CNIOAtomics.h (#2518, patch credit to @saintstack)
- Fix
CNIOSHA1.hto support C++ interoperability (#2523, patch credit to @yaglo) - Fix overflow in
TimeAmount(#2543, patch credit to @LorenzoFritzsch) - Avoid terminating when a precondition is not met in
HTTPServerPipelineHandler(#2550) - Fix Sendable warning in
NIOPipeBoostrap(#2530) - Tolerate empty HTTP response body parts (#2531)
- Call
NIOAsyncWriterSinkDelegateoutside of the lock (#2547) - Fix test availability for tests (#2533)
- Fix
Sendableconformance forLock(#2556) - Remove continuation resumption inside locks (#2558)
- NonBlockingFileIO: tolerate chunk handlers from other
EventLoops (#2562) - Mark retroactive conformances appropriately. (#2569)
Other Changes
- Fix missing whitespace in
README.md(#2535) - Fix flakiness in testDelayedUpgradeBehaviour (#2557)
- Add autogenerated files from VSCode to .gitignore (#2567, patch credit to @adam-fowler)
- Mention file length in bytes in
readFileSizeexplicitly (#2572) - Adopt
package-benchmark(#2534) - Fix thread-safety issues in
TCPThroughputBenchmark(#2537) - perf tests: reset ByteBuffer indices after every iteration (#2544)
measureRunTimeuseDispatchTime(#2545)- Fix flaky
testRemovesAllHTTPRelatedHandlersAfterUpgradetest (#2552) waitForUpgraderToBeRemovedavailability guard (#2559)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.