Swiftpack.co - Swift Packages by apple

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by apple

apple/swift-package-manager swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
The Package Manager for the Swift Programming Language
โญ๏ธ 8,766
๐Ÿ•“ 3 days ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.6.0
2 years ago
2 years ago
Swift 5.2 Release
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
Swift 4.2.1 Release
3 years ago
Swift 4.2 Release
3 years ago
Release SwiftPM 0.2.1
3 years ago
iOS macOS
apple/swift-nio 2.40.0
Event-driven network application framework for high performance protocol servers & clients, non-blocking.
โญ๏ธ 6,960
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SwiftNIO 2.40.0
2 weeks ago
### SemVer Minor - Drop support for Swift 5.2 and 5.3 (#2080) - Add `Hashable` conformance to `HTTPResponseStatus` (#2069) ### SemVer Patch - Improve the performance of copying CircularBuffer (#2059) - Use unbuffered IO for stdout in NIOPerformanceTester (#2072) - Remove invalid math in ByteBuffer slice slow path (#2075) - http_parser uses "main" as the main branch (#2078) - BaseSocket: Remove dead code in BaseSocket.bind(to:) (#2086) ### Other Changes - Fix doc comment formatting in `SingleStepByteToMessageDecoder.swift` (#2076, patch credit to @MaxDesiatov) - Increase runtime of performance tests to O(10 ms) to increase SNR (#2063) - Update alloc limits for nightly. (#2071) - update contributors (#2077) - Script to list transitive dependencies (#2082) - Fix warnings, that appeared after requiring Swift 5.4 (#2085)
SwiftNIO 2.39.0
7 weeks ago
### SemVer Minor - `EventLoopFuture` add `flatMapWithEventLoop` and friends (#1996) (#2049) ### SemVer Patch - `SelectableEventLoop` save allocations when appending task (#2046) - atomics: make `add`/`sub` `@discardableResult` (#2048) - Make all `ByteBuffer` methods inlinable (#2050) - Reduce memory binding operations (#2055) ### Other Changes - Fixed some typos (#2051, patch credit to @BenedictSt) - Use SPM breaking changes checker (#2019) - Add an allocation test for executing which needs to hop threads. (#2047) - Add benchmarks for copying `CircularBuffer` to `Array` (#2058) - Add limits for the new test (#2060) - Remove unnecessary extra swift file. (#2062) - Wait a little longer for our repeated task (#2064) - ci update (#2066)
SwiftNIO 2.38.0
13 weeks ago
### SemVer Minor - Implement `ByteBufferView` custom contains function to improve performance. (#2044, patch credit to @SeJV) - Improve the performance of copying `ByteBufferView` (#2039) - Add `collect(upTo:into:)` to `AsyncSequence` (#2038) ### SemVer Patch - Improve `ByteBuffer.setSubstring(_:at:)` performance (#1975, patch credit to @gwynne) - Fix the double encoding issue in encodeAsByteBuffer (#2043, patch credit to @stepan-ulyanin) ### Other Changes - Allow NIOEchoClient to receive fragmented echo responses. (#2041, patch credit to @SeJV) - Add 5.6 nightly CI (#2032) - Add benchmarks for copying `ByteBufferView` to Array. (#2037) - Add benchmark for `ByteBufferView` contains. (#1385) (#2042, patch credit to @SeJV)
SwiftNIO 2.37.0
17 weeks ago
### SemVer Minor - Conditionally conform `AddressedEnvelope` to `Hashable` & `Equatable` (#2017) ### SemVer Patch - Get Android constants used by Channel from Bionic instead (#2026, patch credit to @buttaface) - Reduce allocations when scheduling tasks (#2010, #2011) - Add `canImport(_Concurrency)` for Xcode 13.0 (#2015) - Guarantee ordering of `scheduleTask` with same deadline (#2020) - Precondition that read doesn't return EINVAL (#2022) ### Other Changes - Correct spelling of foreseeable in README.md (#2024, patch credit to @bobychaudhary) - Update docs generation script to match latest source-kitten (#2013) - Update soundness script for 2022 (#2027) - nio-diagnose: list all thread names (#2030)
SwiftNIO 2.36.0
21 weeks ago
### SemVer Minor - Adds Swift Concurrency Availability to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 (#2004, patch credit to @PSchmiedmayer) - remove/deprecate the file:line: parameters from flatMap and friends (#1998) - provide EventLoopGroup.any() which is sticky to the current EventLoop (#2003) ### SemVer Patch - Relax precondition on EBADF on embedded Apple platforms (#1999, patch credit to @John-Connolly) - disable PTHREAD_MUTEX_ERRORCHECK in release mode (#1995) - Don't tolerate EBADF on close. (#2002) - Enable io_uring builds with newer liburing (#2006) ### Other Changes - Add baseline performance and allocation tests for scheduleTask and execute (#2009) - benchmarks: lock performance for 1, 2, 4, 8 threads wanting lock (#1994) - nio-diagnose script (#2008)
SwiftNIO 2.35.0
24 weeks ago
### SemVer Minor - ByteBuffer: provide multi read/write int methods (#1987) - ByteBuffer: Read and write null terminated strings (#1990) ### SemVer Patch - ByteBuffer: reduce unnecessary bounds & under/overflow checks (#1988) ### Other Changes - Fix testSchedulingTaskOnSleepingLoopWakesUpOnce (#1992)
SwiftNIO 2.34.0
26 weeks ago
### SemVer Minor - Conform EventLoopFuture/Promise to Sendable (#1982, patch credit to @adam-fowler) - HTTPDecoder: Decode informational http response head correctly (#1984) - Allow HTTP Server to send multiple informational heads before actual response head (#1985) ### SemVer Patch - Remove not on eventLoop precondition for NIOPipeBootstrap (#1977, patch credit to @jabwd) - ByteBuffer: Reduce ARC traffic when reading (#1978, #1979) - ByteBuffer: shrink getSlice (#1980) - ByteBuffer: force getSlice to be inlined into readSlice (#1981) ### Other Changes - Update workarounds list with our recent ones (#1962) - Add perf hooks for testing substring path. (#1976)
SwiftNIO 2.33.0
33 weeks ago
### SemVer Minor - Move AsyncAwait helpers into NIOCore (#1969) ### SemVer Patch - NIOSingleStepByteToMessageProcessor: Only reclaim once at the end of the decode loop (#1958) - NIOSingleStepByteToMessageProcessor: Inline process methods (#1959) - Get unit tests running again on nightly builds. (#1961) - Only include concurrency features on new OSes (#1966) - Readd module _NIOConcurrency to not break adopters (#1970) ### Other updates - Fix HttpPart description comment typo (#1963) (patch credit to @wplong11) - Migrate to Swift 5.5 release in CI. (#1967)
SwiftNIO 2.31.2
33 weeks ago
### Semver Patch - Backport of #1956 "Work around Xcode 13 GM SDK issues." (#1968)
SwiftNIO 1.14.4
33 weeks ago
### Semver Patch - Work around Xcode 13 GM SDK issues. (#1964) (patch credit to @baarde) ### Other changes - NIO1 Fix Ruby version in CI (#1965) (patch credit to @baarde)
linux macOS iOS
apple/swift-algorithms 1.0.0
Commonly used sequence and collection algorithms for Swift
โญ๏ธ 4,333
๐Ÿ•“ 35 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Swift Algorithms 1.0.0
35 weeks ago
Swift Algorithms is now source stable! ### Changes - Most sequence and collection types have been renamed, following a more consistent naming structure: - The `Lazy` prefix was dropped. - Either a `Sequence` or `Collection` suffix was added depending on whether or not the type is unconditionally a collection. - The base name was derived from the name of the method that produces it, including an argument label to disambiguate if necessary. - Types that can only be produced from a lazy sequence chain now unconditionally conform to `LazySequenceProtocol` and wrap the base sequence instead of the lazy wrapper, making some return types slightly simpler. - e.g. `[1, 2, 3].lazy.reductions(+)` now returns `ExclusiveReductionsSequence<[Int]>`, not `ExclusiveReductionsSequence<LazySequence<[Int]>>`. - The generic parameters of the `ExclusiveReductions` type have been swapped, putting the base collection first and the result type second. - The `Indices` associated type of `IndexedCollection` now matches `Base.Indices`. ### Removals - Previously deprecated type and method names have been removed: - The `Chain` type alias for `Chain2Sequence` - The `chained(with:)` method which was replaced with the `chain(_:_:)` free function - The `LazyChunked` and `Chunked` type aliases for `ChunkedByCollection` - The `rotate(subrange:at:)` and `rotate(at:)` methods which were renamed to `rotate(subrange:toStartAt:)` and `rotate(toStartAt:)` respectively ### Fixes - The `StridingSequence` and `StridingCollection` types now conditionally conform to `LazySequenceProtocol`, allowing the `striding(by:)` method to properly propagate laziness in a lazy sequence chain. - Fixed `chunked(by:)` to always compare two consecutive elements rather than each element with the first element of the current chunk. (#162)
Swift Algorithms 0.2.1
49 weeks ago
### Additions Expanded versatility for two existing operations: - A series of `joined(by:)` overloads concatenate a sequence of sequences using an element or a collection, either passed in or generated from consecutive elements via a closure. (#138) - Additional `trimming(while:)` methods for trimming only the start or end of a collection, as well as mutating versions of all three variants. (#104)
Swift Algorithms 0.2.0
51 weeks ago
### Additions Two new additions to the list of algorithms: - `adjacentPairs()` lazily iterates over tuples of adjacent elements of a sequence. (#119) - `minAndMax()` finds both the smallest and largest elements of a sequence in a single pass. (#90) ### Changes - When calling `chunked(on:)`, the resulting collection has an element type of `(Subject, SubSequence)` instead of just `SubSequence`, making the subject value available when iterating. ```swift let numbers = [5, 6, -3, -9, -11, 2, 7, 6] for (signum, values) in numbers.chunked(on: { $0.signum() }) { print(signum, values) } // 1 [5, 6] // -1 [-3, -9, -11] // 1 [2, 7, 6] ``` ### Fixes - Improvements to the documentation and PR templates.
Swift Algorithms 0.1.1
1 year ago
### Fixes - `Product2` associated type inference error in release build (#130)
Swift Algorithms 0.1.0
1 year ago
### Additions - The `compacted()` method lazily finds the non-`nil` elements of a sequence or collection (#112). ### Changes - The `uniqued()` method now lazily computes the unique elements of a sequence or a collection (#71). Pass this resulting sequence to an `Array` initializer to recover the behavior of the previous release. - Calling `cycled(times:)` now returns a new `FiniteCycle` type, which has the same conformances as its underlying collection (#106). - The base collections of the sequence and collection wrapper types are no longer public (#85, #125), and the wrapper types no longer conform to the `Equatable` or `Hashable` protocols (#124). If you need those conformances, convert the wrapper type to an `Array` or other collection currrency type before storing. Please file an issue if these changes pose a problem for your use case.
Swift Algorithms 0.0.4
1 year ago
### Additions More new algorithms to join the party: - A lazy version of the standard library's two `split` methods. (#78) - `firstNonNil(_:)` returns the first non-`nil` element from an optional-generating transform. (#31) - `uniquePermutations()` skips duplicates when generating permutations of a collection. (#91) - The `reductions` methods return all the in-between states of reducing a sequence or collection. (#46) ### Fixes - Methods and computed properties are more consistently marked as inlinable, resolving a performance regression. - The `Stride` type now efficiently calculates distances between positions, supported by the underlying collection. - Better test coverage and improved diagnostics for comparing sequences. - Fixed links and improved documentation.
Swift Algorithms 0.0.3
1 year ago
### Additions An exciting group of new algorithms, contributed by the community: - `trimming(while:)` returns a subsequence of a bidirectional collection with the matching elements removed from the start and end. (#4) - `min(ofCount:)` and `max(ofCount:)` find the smallest or largest elements in a collection. (#9, #77) - `windows(ofCount:)` lets you iterate over all the overlapping subsequences of a particular length. (#20) - `striding(by:)` iterates over every *n*th element of a sequence or collection. (#24) - `interspersed(with:)` places a new element between every pair of elements in a sequence or collection. (#35) - `chunks(ofCount:)` breaks a collection into subsequences of the given number of elements. (#54) - `suffix(while:)` matches the standard library's `prefix(while:)`, by returning the suffix of all matching elements from a bidirectional collection. (#65) - Variations of `combinations(ofCount:)` and `permutations(ofCount:)` that take a range expression as a parameter, returning combinations and permutations of multiple lengths. (#51, #56) ### Changes - The `LazyChunked` type now precomputes its `startIndex`, making performance more predictable when using the collection. ### Fixes - `randomSample(count:)` no longer traps in rare circumstances. - Index calculations have been improved in a variety of collection wrappers. - A variety of documentation improvements and corrections.
Swift Algorithms 0.0.2
1 year ago
### Changes - The `rotate(at:)` method has been updated to `rotate(toStartAt:)`, with the old name deprecated. - The `chained(with:)` method has been changed to the free function `chain(_:_:)`, with the old version deprecated. - `Algorithms` now uses `RealModule` from the `swift-numerics` package for its cross-platform elementary functions. - Sequence/collection wrapper types, like `Permutations` and `Indexed`, now have conformance to the lazy protocols, so that any following operations maintain their laziness. ### Fixes - Swift Algorithms now builds under SwiftPM on Windows. - A wide variety of errors, misspellings, and ommissions in the documentation and guides have been fixed. - Index/distance calculations for the `Product2` and `Chain` types have been corrected. - Calling `stablePartition(subrange:by:)` now correctly uses the subrange's length instead of the whole collection.
Swift Algorithms 0.0.1
1 year ago
Initial release.
apple/swift-protobuf 1.19.0
Plugin and runtime library for using protobuf with Swift
โญ๏ธ 3,862
๐Ÿ•“ 10 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.19.0 Release
10 weeks ago
* Major Updates * SwiftWasm compilable #1192 * Sendable conformance on Messages without library changes #1208 & #1213 * Minor Updates * Swift format lint issues #1199 * Visit extensions improvement #1201 (smaller codegen) * Tweak generation for messages with only extension ranges. #1202 (codegen change to help compilation performance)
1.18.0 Release
32 weeks ago
- Minor Updates - Support JSON `ignoreUnknownFields` within WKTs. #1172 - Handle writing out json when the value is empty/zero bytes and no type. #1167 - Fixes from fuzz testing: - Handle skipping a JSON object that ends after the open brace. #1165 - When skipping a varint for an unknown field, ensure it is valid. #1169 - Rework JSON skipping so it's not recursive for nested arrays #1178 - Track recursion depth for nested JSON ListValue structures #1179 - Uses same workaround for stack sizes in non optimized builds. #1183 - Reject fieldmasks that have non-ASCII characters for JSON #1185 - Don't overrun string when parsing timestamps #1186
1.17.0 Release
1 year ago
* Significant Change * `TextFormatDecodingError` has a new error case to got with a recursion limit for TextFormat decoding (add safety found via fuzz testing for potential bogus input trying trigger stack overflow #1132), if you have any `switch` states on all the cases, this is a breaking change in that you must handle the new case. * Fixes from fuzz testing: * Fix octal TextFormat decoding failure #1124 * Avoid walking off the end of the buffer in two parsing cases. #1126 * Add TextFormatDecodingOptions and implement a recursion limit. #1132 * Don't walk off the end of the buffer during a unicode bytes decode. #1136 * Minor Updates * Change `oneof` enforcement to allow null (found via upstream conformance test requirements) #1135 * Allow proto3_optional for extensions. #1138 * Some edge case speed improvements: * Add modify operation to ExtensionFieldValueSet. #1137 * Don't do characterwise-compares if not needed. #1145 * Clear previous contents before decoding Any from TextFormat #1147
1.16.0 Release
1 year ago
Minor Changes: * Normalize CRLF in comments to avoid double spacing some input. #1109 * Fixes from fuzz testing: * Fix to decoding of groups/unknown fields. #1118 * Protect against overallocation on bad binary input. #1119 * Deal with malformed UTF8 while parsing a JSON field name. #1121 * Avoid looping forever on malformed Map TextFormat. #1122
1.15.0 Release
1 year ago
Minor Changes: * Allow parallel lookup of types in `Any` decode. #1098 * Fix extension order serialization and improve generation for extension ranges with single values. #1100
1.14.0 Release
1 year ago
Notable Changes: * Don't allow raw LF or CR in the middle of TextFormat string literals. #1085 โ€“ TextFormat was used as input (tests, etc.), then previously working multiline strings might no longer parse. This is to bring the library in alignment with the protocolbuffers conformance tests. Minor Changes: * Fix issue with `oneof` being named `newValue` #1087 * Support unicode escapes in TextFormat #1085
1.13.0 Release
1 year ago
Notable Changes: - Sort map fields for TextFormat (to match spec) #1076 Minor Changes: - Reduce foundation usage #1064 - The CocoaPod spec and checked in Xcode project were updated to move the minimum iOS version to 9.0 to avoid warnings in Xcode 12 #1082
1.12.0 Release
1 year ago
Notable Changes: * Change code generation to reduce the stack usage in non optimized builds (Issue #1034) * Move required field support for oneof into a generated helper (#1041) * Work around stack usage for non optimize build and `switch` statements (#1040) * Work around excessive stack space in non optimized builds during oneof `isInitialized` (#1042) * Revise the way storage calculations are done to take into account the cost of singular message fields since those directly increase the size of the containing message (#1046) * Fix JSON coding/decoding of NullValue WKT (#1051) Minor Changes: * Minor oneof tweak: don't generate case nil when also generating a default (#1035) * Factor out the common decodeJSON from all the wrappers (#1062)
1.11.0 Release
1 year ago
Minor changes: * Remove empty Data singleton (#1028) * Factor SwiftProtobuf module name into the `namer`, add `SwiftProtobufModuleName` (#1017) * Eliminate `NamingUtils`'s awareness of `SwiftProtobufNamer` (#1030)
1.10.2 Release
1 year ago
Minor fix for an accidental api break in the 1.10.0 Release. * Fixes and version bump to right api break (#1027)
apple/swift-log 1.4.2
A Logging API for Swift
โญ๏ธ 2,708
๐Ÿ•“ 1 year ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.4.2
1 year ago
This release fixes a single bug in the propagation of the `function` parameter in the source-less `Logger.trace` function. For more details refer to https://github.com/apple/swift-log/pull/185 - thank you noticing and fixing the issue @saulbaro! You can find additional details on all changes in this release in the [1.4.2 milestone](https://github.com/apple/swift-log/milestone/8?closed=1).
1.4.1
1 year ago
This patch release fixes some compatibility issues, including a Windows compatibility issue as well as wrongly removed APIs in the 1.3.0->1.4.0 transition. No new features were added in this release. You can refer to the detailed changes by inspecting the issues linked form the [1.4.1 milestone](https://github.com/apple/swift-log/milestone/7?closed=1).
SwiftLog 1.4.0
1 year ago
### Highlights This release addresses a missing `public init` in the newly introduced `NoOpLogHandler`. Please use 1.4.0 rather than 1.3.0 to be able to actually instantiate the that handler. ### SemVer Minor - Add `public init` to `NoOpLogHandler` introduced in 1.3.0 https://github.com/apple/swift-log/pull/142 ### Credits This release contains a single PR: https://github.com/apple/swift-log/pull/146 The complete change-list is available on the [1.4.0 milestone](https://github.com/apple/swift-log/milestone/6?closed=1). Thank you @adam-fowler for spotting and fixing the mistake!
SwiftLog 1.3.0
1 year ago
### Highlights **`LogHandler` implementations** should take care adjust their implementations moving forward to implement the following `log` function: ```swift func log( level: Logging.Logger.Level, message: Logging.Logger.Message, metadata: Logging.Logger.Metadata?, source: String, // new (!) file: String, function: String, line: UInt ) ``` rather than the previous function: ```swift func log( level: Logging.Logger.Level, message: Logging.Logger.Message, metadata: Logging.Logger.Metadata?, file: String, function: String, line: UInt ) ``` Compatibility shims are provided and existing implementations will continue to work as-is. However in order to reap benefits of the new `source` (which will contain the "module name from which this log message originates") parameter, they will have to change which `log` overload they implement. We suggest moving to implementing the _new_ overload (with `source:`) as soon as possible, allowing the logging ecosystem to make use of this new capability. For details see: - Add "source" for log messages https://github.com/apple/swift-log/pull/135 ### SemVer Minor - Add "source" for log messages https://github.com/apple/swift-log/pull/135 - Add NoOpLogHandler for when you don't want logging https://github.com/apple/swift-log/pull/142 - Logging: port to Windows https://github.com/apple/swift-log/pull/118 - =multiplex #139 more properly handle logLevel in multiplex handler https://github.com/apple/swift-log/pull/140 - Note that previous behavior of the `MultiplexLogHandler` was very surprising and this change makes it more consistent, see the PR for details if you are using multiplex handlers ### SemVer Patch - silence #file to #filePath warnings https://github.com/apple/swift-log/pull/133 - a number of readme and docs improvements: - docs: =doc #82 avoid showcasing internal lock in public docs https://github.com/apple/swift-log/pull/144 - Fix doc typo #134 - Add more syntax highlighting to the readme file #114 - and more, see the [1.3.0](https://github.com/apple/swift-log/milestone/5?closed=1) milestone for all closed issues. ### Credits This release includes 15 issues/PRs, which were made possible with the help of 18 contributors ๐ŸŽ‰ We would like to thank all everyone for their feedback and contributions: Tomer Doron, Johannes Weiss, Konrad `ktoso` Malawski, Saleem Abdulrasool, Gwynne Raskind, prafsoni, Adam Fowler, Neal Lester, Artur Dryomov, Franz Busch, Shiva Huang, zach wick, Ravi Kandhadai, YR Chen, Jeremy Greenwood, Will Lisac, Mattt, Tanner Thank you!
SwiftLog 1.2.0
2 years ago
## SemVer Major - Make log levels codable (#99) ## SemVer Minor - docs: remove level parameter from log helpers (#91) - list more logging backends in readme (#95, #92, #88)
SwiftLog 1.1.1
2 years ago
### SemVer Patch - add flush api to default stdout/stderr logger (#87) - Fix typo in LogHandler doc comment (#76) - Link to ianpartridge/swift-log-syslog backend impl (#73) - Fix documented ordering of Level (#78) - Add Adorkable/swift-log-format-and-pipe to Backend list (#83) - test formatting issues as part of sanity check (#84) - better documentation around MetadataValue being expressible by literal - Add HeliumLogger to README (#88)
SwiftLog 1.1.0
2 years ago
## SemVer Minor - Expose an API for configuring basic stdio log handling (#61) - Added CaseIterable to Logger.Level enum (#46) ## SemVer Patch - Add internal section link to README.md (#71) - add a CocoaPods podspec generator (#54) - Update README.md - explain the upcoming SwiftLog 0 (#69) - changed to isEmpty. (#65) - docs: improve API documentation coverage (#67) - Fix API documentation (#66) - Add 'Show on GitHub' link to API docs (#64) - add git commit template (#62) - fix docs #file -> #function (#59) - Fixed typo. (#58) - add contribution guidelines and github default config (#55) - fix linux tests formatting (#45) - fix docker setup to use release version of swift 5 (#48) - Link to more appropriate (still open) Swift issue (#50) - Fix typo in "critical" words in docs (#49) - retain SwiftNIO copyright header (#44) - readme: fix log levels (#43) - fix typo in API docs (#42) - use consistent, swifty naming convention (#41)
swift-log 1.0.0
3 years ago
The initial release.
linux macOS iOS
apple/swift-argument-parser 1.1.2
Straightforward, type-safe argument parsing for Swift
โญ๏ธ 2,649
๐Ÿ•“ 4 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
ArgumentParser 1.1.2
4 weeks ago
### Changes - CMake builds now always statically link `ArgumentParserToolInfo`. (#424) ### Fixes - When a user provides an array-based option's key (e.g. `--key`) without any values, the error message now correctly describes the problem. (#435) The 1.1.2 release includes contributions from @compnerd and @KeithBird. Thank you!
ArgumentParser 1.1.1
8 weeks ago
### Fixes - Moves the platform requirement from the package level down to the new types and protocols with `async` members. This was a source-breaking change in 1.1.0. (#427) - Fixed issues in the CMake build configuration.
ArgumentParser 1.1.0
8 weeks ago
### Additions - A command's `run()` method now supports `async`/`await` when the command conforms to `AsyncParsableCommand`. (#404) - New API for distinguishing between public, hidden, and private arguments and option groups, and a new extended help screen accessible via `--help-hidden`. (#366, #390, and [#405 through #413][group]) - You can now override the autogenerated usage string when configuring a command. (#400) ### Changes - `ArgumentParser` now requires Swift 5.5. ### Fixes - The auto-generated usage string now correctly hides all optional parameters when over the length limit. (#416) - One `@Option` initializer now has its parameters in the correct order; the incorrect initializer is deprecated. (#391) - Help flags are now correctly captured in `.unconditionalRemaining` argument arrays. - Documentation fixes and improvements. The 1.1.0 release includes contributions from @keith, @MartinP7r, @McNight, @natecook1000, @rauhul, and @zkiraly. Thank you! [group]: https://github.com/apple/swift-argument-parser/compare/1.0.3...HEAD
ArgumentParser 1.0.3
14 weeks ago
### Changes - When a user provides an incorrect value for an option, an `ArgumentParser`-based program now includes the valid values when possible. ``` $ example --format png Error: The value 'png' is invalid for '--format <format>'. Please provide one of 'text', 'json' or 'csv'. ``` ### Fixes - Resolves an issue with `zsh` custom completions for command names that include a dash. - Improves the generated completions scripts for `fish`. - Resolves issues that prevented building `ArgumentParser` for WebAssembly using SwiftWasm toolchains. - Improved window size handling on Windows. - Fixed a crash when using `--experimental-dump-help` with commands that provide non-parsed values. - Fixes an issue where subcommands that declare array arguments with the `.unconditionalRemaining` parsing strategy unexpectedly miss arguments, extending the change in #333 to subcommands. (#397) - Corrects the order of an `@Option` initializer's parameters, deprecating the old version. (#391) - Expanded and corrected documentation. The 1.0.3 release includes contributions from @atierian, @CraigSiemens, @dduan, @floam, @KS1019, @McNight, @mdznr, @natecook1000, @rauhul, and @yonihemi. Thank you!
ArgumentParser 1.0.2
26 weeks ago
## Fixes - Addresses an issue when building tests under Mac Catalyst.
ArgumentParser 1.0.1
34 weeks ago
## Fixes - Addresses an issue when compiling under Mac Catalyst.
ArgumentParser 1.0
35 weeks ago
The 1.0 release marks an important milestone โ€” `ArgumentParser` is now source stable! ### Changes - `ArgumentParser` now provides a DocC documentation catalog, so you can view rendered articles and symbol documentation directly within Xcode. ### Fixes - Parsing works as expected for options with single-dash names that are declared using the `.upToNextOption` parsing strategy.
ArgumentParser 0.5.0
36 weeks ago
### Additions - When a user doesn't provide a required argument, the error message now includes that argument's help text. (#324) - Command-line tools built with `ArgumentParser` now include an experimental flag to dump command/argument/help information as JSON: `--experimental-dump-help`. (#310) ### Changes - All public enumerations are now structs with static properties, to make compatibility with future additions simpler. ### Fixes - Array properties defined as `@Option` with the `.upToNextOption` parsing strategy now include all provided values. (#304) In the example below, all four values are now included in the resulting array, where only the last two were included in previous releases: ```swift struct Example: ParsableCommand { @Option(parsing: .upToNextOption) var option: String } ``` ``` $ example --option one two --option three four ``` - When a command defines an array property as an `@Argument` with the `.unconditionalRemaining` parsing strategy, option and flag parsing now stops at the first positional argument or unrecognized flag. (#333) - Completion scripts correctly use customized help flags. (#308) - Fixes errors with bash custom completion arguments and the executable path. (#320, #323) - Fixes the behavior when a user specifies both the `help` subcommand and a help flag. (#309) - A variety of internal improvements. (#315, #316, #321, #341)
ArgumentParser 0.4.4
41 weeks ago
### Fixes - Includes a workaround for a runtime crash with certain `OptionGroup` configurations when a command is compiled in release mode.
ArgumentParser 0.4.3
1 year ago
### Additions - Experimental API for hiding `@OptionGroup`-declared properties from the help screen.
apple/sourcekit-lsp swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
Language Server Protocol implementation for Swift and C-based languages
โญ๏ธ 2,565
๐Ÿ•“ 3 days ago
macOS
apple/swift-collections 1.0.2
Commonly used data structures for Swift
โญ๏ธ 2,234
๐Ÿ•“ 25 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Swift Collections 1.0.2
25 weeks ago
This release resolves issues uncovered since 1.0.1 was tagged, including a high severity crash in `OrderedSet` and `OrderedDictionary`. Upgrading is recommended for all clients. ### Fixes - Fixed a value semantic violation in `OrderedSet` and `OrderedDictionary` that could result in some mutation methods corrupting shared copies of the same value, leading to subsequent crashes. (Issue #104) - `Deque.append(contentsOf:)` now uses an exponential storage resizing strategy, as expected. Calling it in a loop no longer results in O(n) reallocations. (Issue #113) ### Pull requests - #113 [Deque] append(contentsOf:): Use exponential capacity reservation (by @lorentey) - #123 [OrderedSet] Add missing uniqueness check (by @lorentey) - #126 [Utils] run-full-tests.sh: Keep going after a failure (by @lorentey) - #128 [Utils] run-full-tests.sh: Add support for testing on Swift 5.3 without manual editing (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 1.0.1
33 weeks ago
### Changes - The CMake configuration now supports building the package for AArch64 Linux distributions, unblocking adoption in SPM. (Note that the CMake configuration is intended only to support the use of this package from within Swift toolchain builds. It is provided as is, with no source compatibility guarantees.) - Minor documentation updates. ### Pull requests - #111 [CMake] Match lowercase "aarch64" (by @neonichu) - #112 [OrderedSet][doc] Fix thinko (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 1.0.0
35 weeks ago
This release marks an important milestone for this package -- the advent of source stability! ### Changes - The public API of Swift Collections is now considered source stable. The README defines what we consider public API. - The three `OrderedDictionary` methods that were deprecated in 0.0.7 are now marked unavailable. - `OrderedDictionary.init(uncheckedUniqueElements:)` no longer creates large dictionary instances without an associated hash table. ### Pull requests - #95 Follow stdlib's leading underscore rule (by @ejmarchant) - #96 Documentation: Remove in-place mutation comments (by @ejmarchant) - #97 Freeze some types for consistency with their inlinable initializers (by @lorentey) - #102 1.0 release preparations (by @lorentey) - #106 [OrderedSet] Make _checkInvariants public and call it in more operations (by @lorentey) - #107 [OrderedSet] Don't let the unchecked init create large sets with no hash table (by @lorentey) - #110 [run-full-tests.sh] Fix bashism: == vs = (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 0.0.7
38 weeks ago
This release prepares for source stability by deprecating some OrderedDictionary APIs that we'd like to remove in version 1.0 of the package. (All deprecated names have reasonable replacements.) ### Changes - The two `OrderedDictionary.modifyValue` methods were renamed `updateValue`, to better align with the standard `updateValue` function (#90) ```swift /* Old: */ d.modifyValue(forKey: key, default: []) { $0.append(newValue) } /* New: */ d.updateValue(forKey: key, default: []) { $0.append(newValue) } /* Old: */ d.modifyValue(forKey: key, insertingDefault: [], at: 0) { $0.append(newValue) } /* New: */ d.updateValue(forKey: key, insertingDefault: [], at: 0) { $0.append(newValue) } ``` - `OrderedDictionary.subscript(offset:)` was removed; it used inconsistent terminology. To access a key-value pair at a given position, you can continue using the unlabeled subscript on the `elements` view. ```swift /* Deprecated: */ d[offset: 42] /* Replacement: */ d.element[42] ``` - The collections benchmarks were moved to a standalone nested package in a subdirectory of the repository, allowing the top-level package manifest to stop declaring a dependency on [swift-collections-benchmark](https://github.com/apple/swift-collections-benchmark). This will make it easier to add Swift Collections as a dependency, especially in projects such as the Package Manager (or the benchmarking tool itself). The old names for removed/renamed APIs are still available as deprecated members -- these will be removed in the 1.0 release. ### Pull requests - #81 Fix typos: missing subscript parameters (by @ejmarchant) - #82 Fix documentation for types conforming to ExpressibleByArrayLiteral or ExpressibleByDictionaryLiteral (by @ejmarchant) - #86 Stop depending on swift-collections-benchmark (by @lorentey) - #91 [OrderedDictionary] modifyValue โ†’ updateValue (by @lorentey) - #93 Add Benchmarks package to workspace (by @lorentey) - #92 [OrderedDictionary] Deprecate `subscript(offset:)` for now (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 0.0.5
41 weeks ago
This release consists of an update to the CMake config that is used during non-bootstrapped builds of the Swift toolchain. It contains no changes for package-based projects. ### Pull requests - #64: Add arm64 support to CMake build (by @neonichu) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 0.0.4
44 weeks ago
### Fixes - Work around a nondeterministic build issue that triggered a compiler crash on some machines (#56) - Basic support for building on OpenBSD (#52) - Building the package with COLLECTIONS_INTERNAL_CHECKS no longer fails (#53) ### Pull requests - #52: Changes to support OpenBSD (by @3405691582) - #53: Update invalid OrderedDictionary invariant check (by @vihanb) - #55: Fixing a small typo on quick help docs (by @rkreutz) - #54: Mark OrderedSetDiffingTests with availability (by @amonshiz) - #60: [CMake] Update config to prepare for SwiftPM adoption (by @lorentey) - #62: Work around another MergeModules crash (by @lorentey) - #63: [test] `checkCollection`: Donโ€™t pass decreasing indices to `distance(from:to:)` (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 0.0.3
50 weeks ago
### Fixes - The repository no longer contains files with invalid names on Windows (#33) - `Deque.append(contentsOf:)`, `.prepend(contentsOf:)` and the sequence-based initializer no longer crash when given an array instance bridged from Objective-C. (#27) - `OrderedSet.insert` is now marked `@discardableResult`. (#19) - The benchmark executable is no longer exposed as a public package product. (#28) ### Pull requests (You can also find a full list of issues resolved and PRs merged in this release by looking at the [0.0.3 milestone](https://github.com/apple/swift-collections/issues?q=milestone%3A0.0.3).) * #10: [meta] Update links in PR templates (by @lorentey) * #13: Add Package.resolved to .gitignore (by @maniramezan) * #21: Add the @discardableResult attribute to OrderedSet.insert(_:at:) (by @kielgillard) * #23: Fix CollectionTestCase calling super's setup on tearDown issue (by @abintom) * #25: Update to swift-collections-benchmark 0.0.2 (by @lorentey) * #26: [OrderedDictionary] Document encoding format (by @lorentey) * #28: [OrderedCollections] Correct spelling of BitsetTests filename (by @msteindorfer) * #32: Replace Index with Int where possible (by @Frizlab) * #34: Documentation: remove invalid file characters (by @compnerd) * #36: Remove the benchmark product from the package manifest (by @lorentey) * #40: Add Xcode template file with license comment. (by @vihanb) * #41: git: ignore vim swap files (by @compnerd) * #42: build: add a CMake based build system (by @compnerd) * #44: [Deque] Work around stdlib issue with Array.withContiguousStorageIfAvailable (by @lorentey) * #47: [manifest] Ignore CMake files (by @lorentey) * #48: [meta] Update dependencies (by @lorentey) * #49: [Deque][NFC] Remove unused code (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 0.0.2
1 year ago
### Additions - `OrderedSet` now implements an efficient, linear time diffing algorithm, like Foundation's `NSOrderedSet` and SwiftUI's `List`. (https://github.com/apple/swift-collections/pull/6) ### Fixes - We've worked around a nondeterministic build issue that triggered a compiler crash on a minority of machines. (https://github.com/apple/swift-collections/issues/7) ### Pull requests (You can also find a full list of issues resolved and PRs merged in this release by looking at the [0.0.2 milestone](https://github.com/apple/swift-collections/issues?q=milestone%3A0.0.2).) * #6: Efficient diffing for OrderedSet (by @numist) * #8: Fixes link to combinatorics. (by @powerje) * #9: Minor doc fix (by @byaruhaf) * #12: Remove outdated passage in OrderedSet.init(minimumCapacity:persistent:) docs (by @lorentey) * #14: Correct typo for address sanitizer (by @toddpress) * #15: Update Package.resolved with swift-collections-benchmark package (by @Sajjon) * #16: Update Xcode schemes for the package (by @lorentey) * #18: Fix nondeterministic compiler crash in debug builds (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
Swift Collections 0.0.1
1 year ago
This is the initial release.
apple/swift-syntax xcode11-beta1
SwiftPM package for SwiftSyntax library.
โญ๏ธ 1,807
๐Ÿ•“ 2 days ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.50600.1
8 weeks ago
This is the 0.50600.1 release of SwiftSyntax that vends the parser library (`_InternalSwiftSyntaxParser.dylib`) as a binary framework dependency on macOS. To use this snapshot add the following dependency to your Package.swift: ```swift .package(url: "https://github.com/apple/swift-syntax", branch: "0.50600.1") ``` Or, if using a swift-tools-version โ‰ค 5.4: ```swift .package(url: "https://github.com/apple/swift-syntax", .branch("0.50600.1")) ```
0.50600.0
8 weeks ago
This is the 0.50600.0 release of SwiftSyntax that vends the parser library (`_InternalSwiftSyntaxParser.dylib`) as a binary framework dependency on macOS. To use this snapshot add the following dependency to your Package.swift: ```swift .package(url: "https://github.com/apple/swift-syntax", branch: "0.50600.0") ``` Or, if using a swift-tools-version โ‰ค 5.4: ```swift .package(url: "https://github.com/apple/swift-syntax", .branch("0.50600.0")) ```
0.50600.0-SNAPSHOT-2022-01-24
15 weeks ago
This is a development snapshot of the 0.50600.0 release of SwiftSyntax that vends the parser library (`_InternalSwiftSyntaxParser.dylib`) as a binary framework dependency on macOS. To use this snapshot add the following dependency to your `Package.swift`: ```swift .package(url: "https://github.com/apple/swift-syntax", branch: "0.50600.0-SNAPSHOT-2022-01-24") ``` Or, if using a swift-tools-version โ‰ค 5.4: ```swift .package(url: "https://github.com/apple/swift-syntax", .branch("0.50600.0-SNAPSHOT-2022-01-24")) ```
apple/swift-markdown swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
A Swift package for parsing, building, editing, and analyzing Markdown documents.
โญ๏ธ 1,759
๐Ÿ•“ 3 days ago
apple/swift-format swift-5.6.1-RELEASE
Formatting technology for Swift source code
โญ๏ธ 1,535
๐Ÿ•“ 5 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.50600.1
7 weeks ago
This release is compatible with Swift 5.6. This update fixes a build error caused by a conflicting Windows-only conformance from `swift-tools-support-core` and one that we added in our code base. (22f1843880ff57a3c288b7d76a204dec34397032)
0.50600.0
8 weeks ago
This release is compatible with Swift 5.6. Significant changes since the last release: * Diagnostics have been refactored as "findings". Users of swift-format as an API (via the `SwiftFormatter` and `SwiftLinter` classes) now receive warnings and errors via a new `Finding` type that is independent of `SwiftSyntax` diagnostic types, for greater flexibility. (7aa5df515fb910b95fbae67277dd782e1a641efc) * Diagnostics are now printed in color if standard error is connected to a terminal. This can be controlled with the `--color-diagnostics/--no-color-diagnostics` command line flags (to force color output when redirected to something other than a terminal, or to disable color output to a terminal). (4f90887ba823784e1d3b76cdd9779310843c5a57) * Formatting of `throws` and `async` property effects has been fixed. (f646a1f6803b7bd131553d1a348f3552d8c4f62e, 55fc4e23e16f463d650c45dc53c7abc731ca6de1) * The legacy `-m/--mode` flag has been removed. (defb00db9aa9b0564d487eba52a222c5267ba81a)
0.50500.0
33 weeks ago
This release is compatible with Swift 5.5. Significant changes since the last release: * New concurrency syntax added in Swift 5.5 is supported. (https://github.com/apple/swift-format/pull/258/commits/427d31451c36c2f7fb45dbd832c3b6f269bc1414) * Closures with attributes in their function signature are supported. (https://github.com/apple/swift-format/pull/258/commits/35e8687aff623042d188f6aaa24a1ecd27d55854) * Significant stability and performance improvements have been made to `--parallel` format mode. (https://github.com/apple/swift-format/pull/261/commits/6d500ea71337bc0581cc407b71fe09c106753fe8) * `generate-pipeline` no longer uses a hardcoded list of suppressed rules, instead marking those rules as opt-in. This makes two "new" rules available (they have always had implementations but have been suppressed): `UseEarlyExits` and `UseWhereClausesInForLoops`. These rules are not currently stable or well-tested so they are disabled by default. (https://github.com/apple/swift-format/pull/263/commits/6bd3a5512e3f686592c52f87ad6970f5a60e42b4)
0.50400.0
1 year ago
This release is compatible with Swift 5.4. Significant changes since the last release: * The `--parallel` flag supports formatting multiple files in parallel. This should be much faster when formatting large numbers of files. (a062ec84d3230f9b9055123c7bb2903780c84608) * The `--ignore-unparsable-files` flag is now honored in `lint` mode; unparsable files are silently ignored and no diagnostic is emitted. (fc3fab6bf6541e611830b122711af0bd750dec6f) * `#if` declarations surrounding `case` clauses inside a `switch` statement are formatted correctly. (8df2cb04f2aa41089cd14379552cb97bcc89133a) * `UseLetInEveryBoundCaseVariable` no longer produces incorrect diagnostics for certain patterns. (c3c17adbd93d9117f1d23fb05ffb7c435c23b581) * `BeginDocumentationCommentWithOneLineSummary` has been made opt-in by default. (22118db1668bb22af878d1ce31184533e419411b) * `UseSynthesizedInitializer` now produces more accurate diagnostics by considering the visibility of the stored properties in the type. (dd87cc2c9696ce8460265533471c75c225cde4fe)
0.50300.0
1 year ago
This release is compatible with Swift 5.3. Significant changes since the last release: * Support is added for rules to be opt-in rather than on-by-default. (40bab4e8b99d52dc561e62aa14e39d0d6cda7c17) * The following rules have been made opt-in, because they are either too strict for many real-world use cases or are not yet correct enough to enable universally. Existing configuration files will not be affected, but when using the default configuration, these rules will be off by default: (1c2a5a2d244b89ef10195799bbe9ca86ecc15bf3, 642c2d17e50936aa517f08c72eed9826bc163e4d) * `AllPublicDeclarationsHaveDocumentation` * `NeverForceUnwrap` * `NeverUseForceTry` * `NeverUseImplicitlyUnwrappedOptionals` * `NoLeadingUnderscores` * `ValidateDocumentationComments` * Improvements to `AlwaysUseLowerCamelCase`: * It is now applied to closure arguments and variables bound in `if/guard let` patterns. (7867cda76f800f6031cafa83793dd136f17b1c38) * Diagnostics are now clearer about the kind of declaration affected. (97628a8b0068fd0977ce50915c36f3dee8c5426a) * Functions that look like test case methods are excluded; for example, to support common naming schemes like `testSomeObject_inSomeState_actsSomeWay`. (90807621e2a52ca3432c56c3bb855bc89146b360) * Improvements to `ValidateDocumentationComments`: * A `Returns` section is no longer required for functions that return `Never`. (674b34df5114291df26f0f9edba8b94b76c28f80) * Presence of absence of the `Throws` section is now validated against the function signature. (57a5cb66a72bd04c9a07635b8a980573033dcc96) * Multiple trailing closures are formatted. (e286081a1342944236bde8653f5ca763ba61cfc3) * Fix a crash when linting a collection literal with single element and a trailing comma. (483580f1d3047272292aa516e06a02adc8b365aa) * Fixed invalid locations in some diagnostics. (ea02880b86bee22da9fbbfe37e43e17d75b673dd) * Keep `try` keyword next to the expression following it whenever possible, only breaking between them when necessary. (35fdb4fff0aeb9a506fccdfad98fab16d907c173) * Recursively apply `NoParensAroundCondition` to pick up nested occurrences. (ed45527f1c1891f90bb98c642275f43d164d56a1) * Do not remove semicolons between a `do` block and a `while` block. (cb4e6210c637b4ce3fd3ae81d0241c2c02895bfb) * Fix some situations where `OneVariableDeclarationPerLine` would incorrectly break declarations. (2b4364b7676964b430e66449e2981029e99ddd20) * Add a `indentSwitchCaseLabels` configuration option to control whether `case` statements inside a `switch` are indented. (2107603c7a0cb549a2e3fc7c35e5740dd4bee90e) * Speed and memory usage improvements when formatting and linting.
0.50200.1
2 years ago
Significant changes in this release: * Format property wrappers correctly. (e829789) * Move open group token past ifstmt's if token to avoid extra newlines. (5df9eb4) * Handle `@derivative` attribute without a `wrt:` clause. (2c29da1) * Disallow discretionary newlines before trailing closures. (a4100c3) * Disallow line breaks inside completely empty array and dictionary expressions. (66cac37) * Force all branches of an `if/else if/else` sequence to break inside the `{...}` if the sequence requires more than one line, even for branches that contain a single statement. (c52e0d2) * Fix indentation of wrapped conditions in `while` statements. (8fbc3f1) * Fix formatting of `@differentiable` containing only `wrt:` and `where` clauses. (0da09d0) * Fix counting of consecutive newlines. (513a2c7) * Apply `NoEmptyTrailingClosureParentheses` rule recursively. (5cca489) * Fix some cases where `class` declarations would overflow line length. (20162cd) * Prevent trailing commas from overflowing the maximum line length. (ed5f980) * Detect `()` cases previously missed by `ReturnVoidInsteadOfEmptyTuple`. (ff7ac9a) * Allow right parenthesis of an `enum` `case` to be on the same line as the last parameter. (a50d4fe) * Add spaces after labels for all statement types. (c7db906) * Fix `@differentiable` attribute formatting when the `where` clause is the first thing in the attribute, or when the `wrt:` clause is a tuple. (428b33c) * Remove calls to `FileHandle.synchronizeFile()` that were crashing on Linux. (744ca11) * Restrict doc-block to doc-line transform to first doc comment on a declaration. (58ccbf3) * Discard newlines when sorting imports. (47b5015)
0.50200.0
2 years ago
This release is compatible with Swift 5.2.
macOS
apple/swift-async-algorithms 0.0.1
Async Algorithms for Swift
โญ๏ธ 1,396
๐Ÿ•“ 7 weeks ago
iOS macOS watchOS tvOS
apple/swift-numerics 1.0.2
Advanced mathematical types and functions for Swift
โญ๏ธ 1,391
๐Ÿ•“ 25 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
CMake build support for arm64/macOS
25 weeks ago
This release adds support for the CMake build in macOS on arm64. Thanks to @DanboDuan for the patch.
Differentiable cannot be stable
36 weeks ago
This tag contains no code changes, but clarifies in the readme that API defined in a conformance to Differentiable cannot be source-stable, because Differentiable itself is not stable. Thanks @rxwei for reminding me to clarify this.
Stable at last!
36 weeks ago
Welcome to the first stable release of Swift Numerics! Not much has changed from 0.1.0, except that I'm declaring the API of RealModule and ComplexModule to be stable. There is some [expanded documentation](https://github.com/apple/swift-numerics/pull/193/files) for the `reciprocal` property on `AlgebraicField`, including discussion of error bounds for `Real` and `Complex` types. The only breaking change from 0.1.0 is that `Augmented.fastTwoSum` and `Augmented.twoProdFMA` have been [deprecated](https://github.com/apple/swift-numerics/pull/183/files) and [renamed](https://github.com/apple/swift-numerics/pull/181/files) `Augmented.sum(large:small:)` and `Augmented.product`. This change is not expected to effect many users, and the deprecation should make clear how to update your code if necessary. As always, raise a [GitHub issue](https://github.com/apple/swift-numerics/issues) or post on [the forums](https://forums.swift.org/c/related-projects/swift-numerics/56) if you have questions.
Complex ... and yet Elementary
1 year ago
Howdy buckaroos! It's been a while since the last release, as I've been busy with some real-life stuff. But now I'm back to the grindstone, and I've got a fun release for you. There's a bunch of cleanups and improvements from various contributors (@NevinBR and @markuswntr come to mind), but the big news is that [Complex types now conform to the ElementaryFunctions protocol](https://github.com/apple/swift-numerics/pull/162), which means that all your favorite math functions are available for complex types. The branch cuts of these complex functions should generally match C and C++'s (because all implementations follow Kahan's standard paper on the subject), though the exact numerical results will be slightly different in general. Unlike the real functions, the complex elementary functions are all implemented in Swift--we don't delegate to the host system math library. This is because the general quality of <complex.h> implementations is significantly lower than <math.h> implementations, and some platforms (Windows) don't provide those operations at all. In general, I believe that the basic algorithms used by Swift Numerics for these operations are as good as (and often better) than what C libraries provide, but there is always a possibility of bugs, especially with new code. Don't hesitate to raise an issue if you see anything you suspect. Special thanks to @compnerd for going above and beyond tracking down a [Swift bug](https://bugs.swift.org/browse/SR-13985) that held up this tag (and @eeckstein for fixing it!)
Xcode 12 support
1 year ago
This is a quick-fix release to address [a bug](https://github.com/apple/swift-numerics/issues/156) reported with Float16 availability in Xcode 12 on Catalina. No puns, sorry ๐Ÿ˜‚
This time will be different...iable?
1 year ago
Hey all, lots of updates in this release: First, the big features: - Differentiable and Float16 support is live in Swift Numerics. These are protected behind swift version checks, so you'll only see them when you're building with a Swift 5.3 or later toolchain (because earlier toolchains don't have the necessary support). For Float16, you need to also be targeting a platform with support in the standard library (i.e. not macOS). For Differentiable, you need to be using a toolchain that was built with differentiable programming support enabled. - Approximate equality comparisons have been added for types conforming to Numeric when the associatedtype Magnitude conforms to FloatingPoint. This includes all of the Real types, but also includes Complex, and can be extended to lots of other useful types as well. The most basic use is: ``` a.isApproximatelyEqual(to: b) ``` which performs a comparison with default _relative_ tolerance. You can manually specify an absolute or relative tolerance (or both), as well as a norm to use via overloads and optional arguments. Consult the doc comments for more information now, but I plan to write a more in-depth README for the feature in the coming weeks. Two implementation details have also been added on `Real`, which are useful for building out other parts of the library: - `cosMinusOne(_ x: Self) -> Self` This is "just `expMinusOne(_:Self)`, but for cosine". It's a somewhat niche feature (and trivially implementable via the half-angle formula), but it turns out to be useful when building out ElementaryFunctions support for Complex types, so it seems to make good sense to make more broadly available. - `_mulAdd(_ a: Self, _ b: Self, _ c: Self) -> Self` This is intended to use _either_ an FMA or separate multiply and add to evaluate `a*b + c` as efficiently as possible. This is a much more niche implementation detail, and the name is subject to change (hence the underscore), but it's useful enough to expose for anyone who wants to use it. Speaking of ElementaryFunctions support for Complex types, that's something that's in progress now (https://github.com/apple/swift-numerics/pull/146). I'll be working through it over the next few weeks, and would love to have contributions. If you'd like to contribute, be sure to read the [_implementation goals_](https://github.com/apple/swift-numerics/pull/146/files#diff-09d59967445bcdd89e02e0534c77f51b). Simply borrowing from C or C++ implementations will probably not be sufficient for the goals we have and semantics defined for Complex, but you can use them as a starting point if you're willing to iterate with me a bit. Thanks everyone! Forums discussion here: https://forums.swift.org/t/0-0-7-release-notes/39680
Fenestration
1 year ago
There are a bunch of small changes in this release: - Added Windows support via CMake build system, contributed by @compnerd (special thanks for your patience!) - I removed the Complex benchmarks from the test targets. Semantically, benchmarks are not the same as tests, and we don't need these to run in the same conditions. Further, the Xcode benchmark infrastructure isn't quite what we want for these, and they don't work on Windows anyway, because clang does not support C complex multiplication or division on Windows. These benchmarks will return in the next release in the form of an executable target. - Complex&lt;T&gt; now conforms to Differentiable if you are using a toolchain that supports Differentiable programming and T is Differentiable. Thanks to @rxwei and @dan-zheng for their work on this. - Some documentation fixes for Complex fell out from work that @markuswntr has been doing on Quaternions (check out the Quaternions branch to play with it, and help review his PRs) - I fixed a bug in pow(Float/Double, Int) for exceptionally large exponents. It's unlikely that this ever caused any real problems, because it only occurs when the exponent is so large that the result should always be 0, 1, or infinity, but now we get the right answer for these cases. A reminder that Float16 support is available on the swift-5.3 branch, which will be merged to master when swift-5.3 is released. When that happens, I will also create a LTS swift-5.2 branch to support older toolchains that do not have Float16 support. Any questions or problems can be discussed on the GitHub repo or on the Swift Forums: https://forums.swift.org/t/0-0-6-release-notes/38146
I saw the Sign, and it opened up my mind
2 years ago
There are two changes in this release: - [`AlgebraicField` now refines `SignedNumeric` instead of `Numeric`](https://github.com/apple/swift-numerics/pull/99). This should have no visible change for most users, because all conforming types (`Float`, `Double`, `Float80`, and `Complex`) already conform to `SignedNumeric`. However, users who have code that is generic over the `AlgebraicField` protocol can now use unary negation (or remove existing explicit `SignedNumeric` constraints from that code). - [The `Real` and `Complex` modules have been renamed `RealModule` and `ComplexModule`](https://github.com/apple/swift-numerics/pull/97). If you import `Numerics`, then this change does not affect you. However, if you currently import either `Real` or `Complex` directly, you will need to update your import statements. (sorry!) This is not a change that I make lightly; I would very much prefer to avoid this sort of churn, even though Swift Numerics hasn't yet declared 1.0. However, there are real limitations of the current name lookup system, which prevents use of some nice patterns when a module name shadows a type. E.g. with this change, a user who mostly only wants to work with complex doubles can do the following: ```swift import ComplexModule typealias Complex = ComplexModule.Complex<Double> // Can now use the simpler name Complex for Complex<Double>: func foo(_ z: Complex) -> Complex { ... } // But can still get at the generic type when necessary: let a = ComplexModule.Complex<Float> ``` Any Swift Numerics module that might have this ambiguity will be suffixed with `Module` in the future (just like the pattern of protocols being suffixed with `Protocol` when necessary to break ambiguity). As always, if you have any questions or comments, there is a [forums thread for discussing this release](https://forums.swift.org/t/0-0-5-release-notes/33991).
We will not be Fielding further questions at this time
2 years ago
There are two changes in this release to call out specifically: - Complex's conformance to Codable now uses an *unkeyed* container, so e.g. `.zero` gets encoded as `[0,0]` in JSON instead of the old `{"x":0, "y":0}`. - There's a new protocol, `AlgebraicField` refining `Numeric` by adding the `/`, `/=` operators, and a `.reciprocal: Self?` property. The `Real` protocol refines it and `Complex<T>` conforms to it, allowing you to write code that is generic over them. There are some additional operations that it probably makes sense to add to this protocol (e.g. square root); I expect to add them gradually as needed. I also want to draw special attention to [a change](https://github.com/apple/swift-numerics/issues/94) that I expect to make in the *next* tag. In order to make certain use patterns simpler, I intend to give the `Complex` module a name that doesn't conflict with the `Complex` type. If you have opinions about this change, or suggestions for a naming pattern to adopt for modules in Swift Numerics, please weigh in on that thread. If you have any questions, use this [discussion thread](https://forums.swift.org/t/0-0-4-release-notes/32860) on the Swift forums.
We have the power
2 years ago
In earlier releases, `Real.pow(Self, Int)` simply called through to `libm_pow`. This is generally acceptable on platforms with a decent math library, but gets some cases wrong for `Float` and `Double` when the exponent is so large that it would be rounded in conversion to `Self`. For example, consider `Float.pow(-1, 0x1000001)`. Since the exponent is odd, the result should be `-1`, but when we simply called `libm_pow(-1, Float(0x1000001))`, the exponent was rounded to an even number, and the result was `1`. This behavior is fixed in this release; in particular the parity of integer exponents is always preserved, so that we will not have sign errors like above. There is still additional work to be done on the `Real.pow` implementations--especially to provide better support for platforms with suspect math libraries--but this is a significant improvement to these operations.
linux android
apple/swift-crypto 2.1.0
Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.
โญ๏ธ 1,203
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Swift Crypto 2.1.0
2 weeks ago
### SemVer Minor - Drop support for Swift 5.2 and 5.3 (#111) ### SemVer Patch - Avoid unnecessary copies of BoringSSL (#94) - Update BoringSSL to f961de5c47ed265c3e758ec70dd15ece20809962 (#115) ### Other Changes - Use SPM API diff checker (#112)
Swift Crypto 2.0.5
7 weeks ago
### SemVer Patch - Update BoringSSL to 8bbefbfeee609b17622deedd100163c12f5c95dc (#110) - Attempt to work around some linker issues on Darwin (#105) ### Other changes - CI updates (#103) (#108)
Swift Crypto 1.1.7
11 weeks ago
### SemVer Patch - Backport "build: attempt to workaround linker issues on Darwin" (#105) (#106) (patch credit to @compnerd)
Swift Crypto 2.0.4
17 weeks ago
### SemVer Patch - Update BoringSSL to 295b31324f8c557dcd3c1c831857e33a7f23bc52 (#101) ### Other Changes - Update doc generation script (#100)
Swift Crypto 2.0.3
21 weeks ago
### Semver Patch - Update BoringSSL to 2042972e8458833714bce23386931b1c79978439 (#97)
Swift Crypto 2.0.2
24 weeks ago
### SemVer Patch - Update BoringSSL to 3a667d10e94186fd503966f5638e134fe9fb4080 (#96)
Swift Crypto 2.0.1
26 weeks ago
### Semver Patch - Update BoringSSL to a9670a8b476470e6f874fef3554e8059683e1413 (#95) ### Other changes - Update to Swift 5.5 release in CI (#92) - Update the README to cover a wider version range (#93)
Swift Crypto 2.0.0
33 weeks ago
The only meaningful breaking change in this release is the addition of new cases in the `CryptoKitError` enum. The overwhelming majority of users can and should express a wider version range than usual: `"1.0.0" ..< "3.0.0"` is the recommended version range. ### Semver Major - Update to the 2021 CryptoKit API (#86) ### Semver Patch - Dropped support for Swift 5.1 (#84) - Fix build on 32-bit platforms (#85, patch credit to @buttaface) - Fixed CMake build on Android (#81) - Support compressed EC keys. (#87) - Reduce repeated indexing in tests (#90) (patch credit to @Cyberbeni) - Update BoringSSL to 25773430c07075a368416c3646fa4b07daf4968a (#88, #91) ### Other Changes - Add `SECURITY.md` file (#83) - Fix CI build (#89)
Swift Crypto 2.0.0-beta.2
35 weeks ago
### Semver Patch - Reduce repeated indexing in tests (#90) (patch credit to @Cyberbeni) - Update BoringSSL to 25773430c07075a368416c3646fa4b07daf4968a (#91)
Swift Crypto 2.0.0-beta.1
38 weeks ago
### Semver Major - Update to the 2021 CryptoKit API (#86) ### Semver Patch - Dropped support for Swift 5.1 (#84) - Fix build on 32-bit platforms (#85, patch credit to @buttaface) - Fixed CMake build on Android (#81) - Support compressed EC keys. (#87) - Update BoringSSL to 2e68a05c9943a8dec1758d4a393b2ae906fd3295 (#88) ### Other Changes - Add `SECURITY.md` file (#83) - Fix CI build (#89)
iOS macOS watchOS tvOS linux windows android
apple/swift-system v0.0.2
Low-level system calls and types for Swift
โญ๏ธ 995
๐Ÿ•“ 20 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
System 1.1.1
23 weeks ago
## What's Changed * build: install CSystem into the system by @compnerd in https://github.com/apple/swift-system/pull/74 **Full Changelog**: https://github.com/apple/swift-system/compare/1.1.0...1.1.1
System 1.1.0
23 weeks ago
Picks up pipe API and cmake changes. ## What's Changed * Implement `FileDescriptor.Pipe()` by @GeorgeLyon in https://github.com/apple/swift-system/pull/58 * Minor fixes in documentation comments by @amartini51 in https://github.com/apple/swift-system/pull/69 * update cmake setup so that the library can be used by SwiftPM cmake build by @tomerd in https://github.com/apple/swift-system/pull/73 ## New Contributors * @GeorgeLyon made their first contribution in https://github.com/apple/swift-system/pull/58 * @tomerd made their first contribution in https://github.com/apple/swift-system/pull/73 **Full Changelog**: https://github.com/apple/swift-system/compare/1.0.0...1.0.1
System 1.0
36 weeks ago
Official 1.0 release! System is already source and binary stable (at least on Darwin), so in practice this doesn't change much about System's development or guarantees (`1.0.0` is effectively the same as `0.0.3`). But, it does formalize the source stability guarantee for clients of the package.
0.0.3 Bug fixes for Windows
36 weeks ago
Contains bug fixes for Windows, and minor fixes for SystemChar.
System 0.0.2
51 weeks ago
* [FilePath Syntactic Operations](https://github.com/apple/swift-system/pull/14) * decompose a path, analyze a path, components view, mutate a path, etc * [Standard file descriptors](https://github.com/apple/swift-system/pull/21) * static `FileDescriptor.standardInput`, `FileDescriptor.standardOutput`, `FileDescriptor.standardError` * [dup/dup2](https://github.com/apple/swift-system/pull/28) * `FileDescriptor.duplicate`, with optional `as` target.
System 0.0.1
1 year ago
Initial release
apple/swift-corelibs-xctest swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
The XCTest Project, A Swift core library for providing unit test support
โญ๏ธ 973
๐Ÿ•“ 3 days ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
3 years ago
Swift 4.2.1 Release
3 years ago
Swift 4.2 Release
3 years ago
apple/swift-llbuild swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
A low-level build system, used by Xcode and the Swift Package Manager
โญ๏ธ 944
๐Ÿ•“ 3 days ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
42 weeks ago
1 year ago
2 years ago
Matches the Swift 5.1 release.
2 years ago
2 years ago
3 years ago
Swift 4.2.1 Release
3 years ago
Swift 4.2 Release
3 years ago
iOS macOS linux windows android
apple/swift-atomics 1.0.2
Low-level atomic operations for Swift
โญ๏ธ 746
๐Ÿ•“ 33 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Atomics 1.0.2
33 weeks ago
This is a patch release that introduces initial support for building this package with the Swift 5.5 compiler. (More fully-featured support with additional `Sendable` conformances will come in a future minor release.) #### Fixes - The package now has a workaround for an arm64 code generation issue for double wide atomics in the version of LLVM that ships in Swift 5.5. (#41) - When building with Swift 5.5, `UnsafeAtomic` and `UnsafeAtomicLazyReference` now only conform to `Sendable` when their value is. Swift 5.5 implicitly adds unconditional conformances to these types in 1.0.1, which isn't right. (#47) - The package now has better support for building with CMake. (#39) (Note that the CMake build configuration is intended only to enable the use of this package within Swift toolchain builds. It isn't part of the package's public API, so it is subject to change in any release.) ### Pull Requests - #38 [shims] Only define atomic shims in Swift's Clang Importer (by @lorentey) - #39 [cmake] Fix building with CMake (by @lorentey) - #40 Add support test script (by @lorentey) - #43 Implement double-wide loads with compare-exchange on arm64 in debug builds with the Swift 5.5 compiler (by @lorentey) - #44 Update utility scripts (by @lorentey) - #48 Fix `UnsafeAtomic`'s `Sendable` conformance (by @lorentey) Thank you to everyone who contributed to this release!
Atomics 1.0.1
35 weeks ago
This is a patch release containing several bug fixes. #### Fixes - The package now builds successfully on 32-bit architectures (i386, armv7) (#33) - The package manifest was adjusted to prevent SwiftPM warnings about unknown files in source directories. - Several types are now `@frozen` to match their `@inlinable` initializers. (This package isn't ABI stable, so this change is a no-op in all supported configurations.) ### Pull Requests - #34 [shims] Fix i386/armv7 regression introduced in #26 (by @lorentey) - #35 [manifest] Fix warnings in 5.3 toolchains (by @lorentey) - #36 Fix build errors with library evolution enabled (by @lorentey) Thank you to everyone who contributed to this release!
Atomics 1.0.0
37 weeks ago
This release marks an important milestone for this package -- the advent of source stability! #### Changes - The public API of Swift Atomics is now considered source stable. The README defines what we consider public API. - Swift Atomics now requires a Swift 5.3 or later toolchain. - The low-level (pointer-based) atomic boolean operations are now public. (They were accidentally omitted from previous releases.) - The package now includes a CMake-based build method for bootstrapping purposes. This isn't considered stable; it may be removed or arbitrarily changed in any new release, including patch releases. #### Pull requests - #20 DoubleWord._readersBitWidth: Switch to using Int.bitWidth (by @lorentey) - #24 Mark the additional Bool methods as public (by @dfunckt) - #25 build: add a CMake based build for Atomics (by @compnerd) - #26 _AtomicShims: simplify double word setup (by @compnerd) - #28 gitignore: ignore vim swap files (by @compnerd) - #29 Tests: add XCTest manifest for non-SPM based builds (by @compnerd) - #30 Bump required toolchain version to 5.3 (by @lorentey) - #31 Declare Atomics source stable and describe what we consider public API (by @lorentey) - #32 [NFC] Update copyright notices (by @lorentey) Thank you to everyone who contributed to this release!
Atomics 0.0.3
1 year ago
### Fixes - Adds basic support for building with the Swift 5.2 toolchains. - Resolves a warning about the `arm64_32` architecture emitted by swift.org compiler builds.
Atomics 0.0.2
1 year ago
## Changes - On Linux only, support for double-wide atomics is unavailable by default on x86_64 CPUs. To enable double-wide atomic functionality, you have to manually switch on support for the `cmpxchg16b` instruction: ``` $ swift build -Xcc -mcx16 -Xswiftc -DENABLE_DOUBLEWIDE_ATOMICS -c release ``` Code containing `cmpxchg16b` will run on all but the earliest AMD x86_64 CPUs. (You can verify your target CPU supports it by checking that the `cx16` flag is present in /proc/cpuinfo.) - The Swift Atomics test suite now requires `--enable-test-discovery` on non-Apple platforms.
Atomics 0.0.1
1 year ago
Initial release.
apple/swift-docc swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
Documentation compiler that produces rich API reference documentation and interactive tutorials for your Swift framework or package.
โญ๏ธ 672
๐Ÿ•“ 3 days ago
iOS macOS
apple/swift-driver swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
Swift compiler driver reimplementation in Swift
โญ๏ธ 620
๐Ÿ•“ 3 days ago
iOS macOS
apple/swift-metrics 2.3.0
A Metrics API for Swift
โญ๏ธ 509
๐Ÿ•“ 8 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
2.3.0
8 weeks ago
- https://github.com/apple/swift-metrics/pull/106 Introduced new `MetricsTestKit` module that allows asserting certain metrics have been emitted etc. - we will provide more documentation soon; meanwhile you can use this test as reference for how to use the testkit here's how one uses it for those curious https://github.com/apple/swift-cluster-membership/blob/main/Tests/SWIMTests/SWIMMetricsTests.swift
2.2.0
39 weeks ago
New addition allowing for floating point counters. This API will be right away supported by SwiftPrometheus, other libs may follow. ## SemVer Minor ### New API: - Add `FloatingPointCounter` which allows reporting floating point metrics when necessary. Thanks @rauhul!
2.1.1
1 year ago
A minor new API to enable SystemMetrics from the new swift-metrics-extras (coming soon) repository. # SemVer Minor New API: - Expose `MetricsSystem.withWriterLock`so it can be invoked by alternate "bootstrap" functions, such as SystemMetrics; https://github.com/apple/swift-metrics/pull/86 Thanks @MrLotU ! --- For details on the changes please refer to the [0.2.1 milestone](https://github.com/apple/swift-metrics/milestone/14?closed=1)
1 year ago
# SemVer Minor New API: - `Timer.recordInterval(since:)` for easier reporting of time since a "start" `DispatchTime` https://github.com/apple/swift-metrics/pull/83 - thank you @slashmo! # SemVer Patch - Metrics now include their labels when printed to ease debugging https://github.com/apple/swift-metrics/pull/82 --- For details on the changes please refer to the [0.2.1 milestone](https://github.com/apple/swift-metrics/milestone/11?closed=1)
swift-metrics 2.0.0
2 years ago
# SemVer Major * Add microseconds to the TimeUnit enum #64 Important note: The 1.x (previous) version of swift-metrics included a `TimeUnit` enum which was missing a `microseconds` case. Since adding a case to an enum is an API breaking change, we needed to release this change as sever 2.0.0. We also used this opportunity to change the enum to a struct so we can add more time unit without breaking the API. That said, since 1.x and 2.x are almost API compatible, `TimeUnit` is not used by swift-metrics directly and only used by few libraries that depend on it, most libraries should use the following dependency to avoid a fragmentation of ecosystem: ``` .package(url: "https://github.com/apple/swift-metrics.git", "1.0.0" ..< "3.0.0") ```
swift-metrics 1.2.1
2 years ago
# SemVer Patch * Update Timer.measure() to use DispatchTime instead of Date #52 * Print correct error message if bootstrap is called multiple times #57 * Improve precondition error messages in Lock functions #58
swift-metrics 1.2.0
2 years ago
# SemVer Minor * support preferred display time units for Timers #42 # SemVer Patch * update conduct email group #41 * update conduct email address #44
swift-metrics 1.1.0
2 years ago
## SemVer Minor * Add `Timer.recordNanoseconds` Generic Overload (#28) ## SemVer Patch * Add guards for Int64 overflow in `Timer` methods * doc: #26 clarify which init to use, reformat docs for easier noticing this
swift-metrics 1.0.0
2 years ago
The initial release
swift-metrics 1.0.0 pre-release 1
2 years ago
Pre-release of swift-metrics
linux macOS iOS
apple/swift-nio-http2 1.21.0
HTTP/2 support for SwiftNIO
โญ๏ธ 383
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SwiftNIO HTTP/2 1.21.0
2 weeks ago
### SemVer Minor - Drop support for Swift 5.2 and 5.3 (#337) ### Other Changes - Use SPM API diff checker (#334) - Fix warnings, that appeared after requiring Swift 5.4 (#338)
SwiftNIO HTTP/2 1.20.1
7 weeks ago
### SemVer Patch - Forbid clients from pushing (#332) ### Other Changes - ci update (#329) - Update alloc limits and clean up soundness (#331)
SwiftNIO HTTP/2 1.20.0
9 weeks ago
### Security Fixes This version contains a fix for CVE-2022-0618: Denial of service via HTTP/2 HEADERS frames padding. This fix involves a substantial rewrite of the frame parser to address a number of related issues that all trigger crashes in swift-nio-http2. For more details see [the advisory](https://github.com/apple/swift-nio-http2/security/advisories/GHSA-q36x-r5x4-h4q6). We recommend updating to this release as soon as possible. ([commit](https://github.com/apple/swift-nio-http2/commit/ac2a5afce3dbb6795b4f78ec3f19726dc28f5617)) ### SemVer Minor - Make UnrepresentableInteger public (#325) ### SemVer Patch - Remove a retain/release (#327) - Use unchecked math in encodeInteger (#328) ### Other Changes - Update minimum dependency version in README (#326)
SwiftNIO HTTP/2 1.19.2
13 weeks ago
The release contains fixes for three security vulnerabilties. ### SemVer Patch - [CVE-2022-24668: Denial of service via ALTSVC or ORIGIN frames](https://github.com/apple/swift-nio-http2/security/advisories/GHSA-pgfx-g6rc-8cjv) - [CVE-2022-24667: Denial of service via mishandled HPACK variable length integer encoding](https://github.com/apple/swift-nio-http2/security/advisories/GHSA-w3f6-pc54-gfw7) - [CVE-2022-24666: Denial of service via invalid HTTP/2 HEADERS frame length](https://github.com/apple/swift-nio-http2/security/advisories/GHSA-ccw9-q5h2-8c2w) ### Other Changes - Update doc generation script (#322) - Add 5.6 nightly CI (#324)
SwiftNIO HTTP/2 1.19.1
21 weeks ago
### SemVer Patch - Protect against reentrancy inside the HTTP2ChannelHandler (#319) - Only flush when necessary in the HTTP2ChannelHandler (#320) ### Other Changes - Update nightly allocation limits (#321)
SwiftNIO HTTP/2 1.19.0
23 weeks ago
### SemVer Minor - Deliver outbound stream errors to channels. (#315) ### SemVer Patch - Add Transfer-Encoding chunked to HTTP1 requests and responses. (#316) - Forward all reads before stream channel inactive (#317)
SwiftNIO HTTP/2 1.18.5
24 weeks ago
### SemVer Patch - Remove forbidden HTTP1 headers even if no connection header is present (#311) ### Other Changes - Swift nightly has improved alloc counts. (#314)
SwiftNIO HTTP/2 1.18.4
32 weeks ago
### SemVer Patch - Improve performance of `HPACKHeaders.subscript(canonicalForm:)` (#304, #308, #310) - Don't count CR or LF as whitespace when trimming whitespace from header values (#306) - Ignore empty values when returning canonical form of header values (#307) ### Other Changes - Update to 5.5 release in CI (#301) - Account for improved allocs on nightly (#302) - Add perf and alloc tests for getting headers (#303)
SwiftNIO HTTP/2 1.18.3
34 weeks ago
### SemVer Patch - Clean up imports and dependencies (#300) ### Other Changes - Fix doc generation and jazzy version (#298)
SwiftNIO HTTP/2 1.18.2
38 weeks ago
### SemVer Patch - Use non-deprecated API for removing handlers (#297)
apple/swift-distributed-actors 0.7.0
Peer-to-peer cluster implementation for Swift Distributed Actors
โญ๏ธ 328
๐Ÿ•“ 5 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.7.0
5 weeks ago
Support Swift and Swift Syntax 5.6 The upcoming Swift 5.7 release will not be supported on the release/0.x branch and we will move on towards the language provided distributed actor features. ## What's Changed * Add Swift 5.6 support. by @mrstegeman in https://github.com/apple/swift-distributed-actors/pull/870 * 0.x CI setup by @tomerd in https://github.com/apple/swift-distributed-actors/pull/871 * Adapt codebase for Swift 5.6 release version by @segabor in https://github.com/apple/swift-distributed-actors/pull/876 ## New Contributors * @mrstegeman made their first contribution in https://github.com/apple/swift-distributed-actors/pull/870 * @segabor made their first contribution in https://github.com/apple/swift-distributed-actors/pull/876 **Full Changelog**: https://github.com/apple/swift-distributed-actors/compare/0.6.10...0.7.0
0.6.10
14 weeks ago
## What's Changed * Down replaced cluster members by @budde in https://github.com/apple/swift-distributed-actors/pull/867 **Full Changelog**: https://github.com/apple/swift-distributed-actors/compare/0.6.9...0.6.10
0.6.8
32 weeks ago
#### Minor - adjust for Swift 5.5
0.6.7
33 weeks ago
### Patch - Fix building in release mode in Swift 5.4 - Update some code that was causing warnings / errors
0.6.6
45 weeks ago
- Fix and add debugging fir metrics which may crash with underflow https://github.com/apple/swift-distributed-actors/issues/802 Thanks @budde - Fix 5.4 builds - update service discovery to 1.0 More details: https://github.com/apple/swift-distributed-actors/milestone/22?closed=1
0.6.4
1 year ago
Swift 5.4-development updates May have some issues on linux + 5.4 still.
0.6.3
1 year ago
- Swift 5.4 compatibility
1 year ago
### Bugfix - =serialization rm 5.2.4 workaround, fix LWWMap with Codable Value (Codable in Proto nesting) [#782](https://github.com/apple/swift-distributed-actors/pull/782) - this would manifest when using deeply nested CRDTs such as LWWMap which stores an LWWRegister internally, both being encoded using protocol buffers, and using a value which is Codable/JSON encoded -- it would have wrong assumptions about how it should store the serialized bytes. ### Stats A total of 1 tickets (including 1 bug ๐Ÿž) were resolved in this patch release. You can view the full changes made on the [0.6.2 milestone](https://github.com/apple/swift-distributed-actors/milestone/19?closed=1).
0.6.1 - Cluster/SWIM metrics
1 year ago
### Swift Metrics support #### SWIM - Updated to 0.3.0 of swift-cluster-membership which includes cluster metrics (directly reported by the swim algorithm instance) https://github.com/apple/swift-cluster-membership/releases/tag/0.3.0 - Implemented metrics for round trip time of ping and pingRequest messages https://github.com/apple/swift-distributed-actors/pull/780 Available metrics are: ```swift // actor lifecycle counters first.actors.lifecycle["root:/user", "event:start"] // counter first.actors.lifecycle["root:/user", "event:stop"] // counter first.actors.lifecycle["root:/system", "event:start"] // counter first.actors.lifecycle["root:/system", "event:stop"] // counter // swim metrics first.cluster.swim.message.count["direction:out"] // counter first.cluster.swim.probe.ping["type:successful"] // counter first.cluster.swim.probe.ping["type:failed"] // counter first.cluster.swim.probe.pingRequest["type:successful"] // counter first.cluster.swim.probe.pingRequest["type:failed"] // counter first.cluster.swim.lha[] // gauge first.cluster.swim.roundTripTime.pingRequest[] // timer first.cluster.swim.roundTripTime.pingRequest["type:all"] // timer first.cluster.swim.roundTripTime.pingRequest["type:firstAck"] // timer // cluster/swim membership first.cluster.swim.members["status:alive"] // gauge first.cluster.swim.members["status:suspect"] // gauge first.cluster.swim.members["status:unreachable"] // gauge first.cluster.swim.removedMemberTombstones[] // counter ``` #### Opt-in per actor (group) metrics It is now possible to enable metrics per actor and report them as a groups etc. For example, one may want to monitor a specific actor and how long deserialization of the messages it receives takes, as well as monitor it's mailbox count while it is active. This can be now done via: ```swift let one: ActorRef<String> = try first.spawn( "measureMe", props: .metrics(group: "measureMe", measure: [.mailbox, .deserialization]), someBehaviorOrActorable ) ``` resulting in metrics like: ```swift actorSystemName.measureMe.mailbox.count // gauge actorSystemName.measureMe.deserialization.size // gauge (bytes) actorSystemName.measureMe.deserialization.time // timer (nanoseconds) ``` Refer to: - https://github.com/apple/swift-distributed-actors/blob/main/Sources/DistributedActors/Metrics/Metrics+Actor.swift - https://github.com/apple/swift-cluster-membership/blob/main/Sources/SWIM/Metrics.swift for detailed documentation on the metrics. ### Stats A total of 4 tickets (including 1 bug ๐Ÿž) were resolved in this patch release. You can view the full changes made on the [0.6.1 milestone](https://github.com/apple/swift-distributed-actors/milestone/18?closed=1). ``` commits added removed 2 1079 253 Konrad `ktoso` Malawski 1 0 4 Tomer Doron ``` Thanks as usual for all the feedback and help to our users and contributors!
0.6.0 - OSS SWIM
1 year ago
## Use OSS Swift Cluster Membership's SWIM The SWIM+Lifeguard cluster membership was extracted from Distributed Actors and released as a stand-alone module as part of the [Swift Cluster Membership](https://www.github.com/apple/swift-cluster-membership). See the blog announcement here: https://swift.org/blog/swift-cluster-membership/ ## Other Notable Changes ### New API - Implement Actorable version of ActorTestKit.ensureRegistered() ga:test-kit t:actorable t:testkit #742 ### General - Patterns around storing Actor<ActorableProtocol> relates-to-swift-feature t:actor t:docs user-feedback #618 - ActorSystem.shutdown() does not invoke callback if system is already shutdown bug ๐Ÿž #760, thank you @budde! - +test actorable call during shutdown should not crash ga:actorable-feature-parity t:actorable #730 - =test ensureNodes is too strict; a down may already become a removal ga:cluster t:tests#732 - exact nio ssl version for compat with specific project which requires it #738 - Actorable and generic actorable types source-gen breaks down 3 - in progress ga:actorable-feature-parity relates-to-swift-feature t:actorable #658 - (Make it) Crash process if failure escalates to a Guardian (esp. /system) t:actor t:isolation https://github.com/apple/swift-distributed-actors/issues/31 - =build bump to using stable 5.3 swift-syntax #777 - SWIM: Do not ensureAssociated, just get associations for _unknown_ nodes 1 - triaged ga:swim t:cluster:swim #428 ### Test fixes and hardening - Ensure we close all associations when we terminate / receive RIP ga:cluster t:cluster:all #600 - [radar 68467435] Swift 5.3-dev compilation broken on Linux bug ๐Ÿž failed ๐Ÿ’ฅ relates-to-swift-feature - Foundation.JSONEncoder issue in Swift 5.2.4 Linux bug ๐Ÿž t:serialization #729 - !serialization assume _getMangledTypeName is not available #776 - =test harden test_gossip_shouldEventuallyStopSpreading failed ๐Ÿ’ฅ t:crdt #771 - FAILED: SWIMShellClusteredTests.test_swim_shouldIncreasePingTimeout_whenHighMultiplier failed ๐Ÿ’ฅ ga:swim t:cluster:swim #727 - flaky test: 'ActorableExampleRouterTests.test_refRouter_shouldWork' failed ๐Ÿ’ฅ #740 - SKIP one integration test because #758 compilation breaks until swiftโ€ฆ #773 - FAILED: test_interceptor_shouldInterceptSignals failed ๐Ÿ’ฅ t:actor #614 - FAILED: ActorableExampleRouterTests test_actorRouter_shouldWork failed ๐Ÿ’ฅ #736 - FAILED: DistributedActorsTests.ShootTheOtherNodeClusteredTests test_shootOtherNodeShouldTerminateIt failed ๐Ÿ’ฅ t:cluster:all #390 - !!tmp disable test_actorOwned_ORSet_add_many_times #747 - =ios fix availability requirements for iOS #731 ## Stats A total of 27 issues was closed since the 0.5.1 release, including 4 bugs ๐Ÿž. You can view all resolved tickets on the [0.6.0 milestone](https://github.com/apple/swift-distributed-actors/milestone/5?closed=1). ``` commits added removed 27 4890 5354 Konrad `ktoso` Malawski 2 90 0 Adam Budde 1 130 47 Yim Lee ```
iOS macOS
apple/swift-nio-ssl 2.19.0
TLS Support for SwiftNIO, based on BoringSSL.
โญ๏ธ 323
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SwiftNIO SSL 2.19.0
2 weeks ago
### SemVer Minor - Add `NIOSSLObjectIdentifier` (OID) type (#352) - Drop support for Swift 5.2 and 5.3 (#353) ### SemVer Patch - Update BoringSSL to f299342e38fd34b589604ef5b730623da13ee235 (#356) - Remove non-generic generic. (#357) ### Other Changes - Use SPM API diff checker (#351) - Fix warnings, that appeared after requiring Swift 5.4 (#355)
SwiftNIO SSL 2.18.0
7 weeks ago
### SemVer Minor - Enhancement to address issue-337 to query the final `TLSVersion` (#338, patch credit to @agnosticdev) - Add `Hashable` conformance to `NIOSSLPKCS12Bundle` (#341) - Add `RandomAccessCollection` conformance to `SubjectAlternativeNames` and make it public (#345) - Add support for URI SAN (#347) ### SemVer Patch - Update BoringSSL to 8bbefbfeee609b17622deedd100163c12f5c95dc (#350) ### Other Changes - Add 2022 as a valid year in license headers (#346) - ci update (#349, #339)
SwiftNIO SSL 2.17.2
17 weeks ago
### SemVer Patch - Update BoringSSL to 295b31324f8c557dcd3c1c831857e33a7f23bc52 (#336) ### Other Changes - Update doc generation script (#335)
SwiftNIO SSL 2.17.1
21 weeks ago
### SemVer Patch - Update BoringSSL to 2042972e8458833714bce23386931b1c79978439 (#334)
SwiftNIO SSL 2.17.0
24 weeks ago
### SemVer Minor - Provide better error on EOF during handshake (#332) ### SemVer Patch - Update BoringSSL to 3a667d10e94186fd503966f5638e134fe9fb4080 (#333)
SwiftNIO SSL 2.16.3
26 weeks ago
### Semver Patch - Fix an issue where "additional trust roots" would entirely override the default roots on Apple platforms (#331)
SwiftNIO SSL 2.16.2
26 weeks ago
### SemVer Patch - Support c_rehash Directory Format (#327, patch credit to @agnosticdev) - Fix build for Android armv7 (#328, patch credit to @buttaface) - Update BoringSSL to a9670a8b476470e6f874fef3554e8059683e1413 (#330)
SwiftNIO SSL 2.16.1
32 weeks ago
### SemVer Patch - Adding back the Explicit time_t import (#325, patch credit to @justbcuz)
SwiftNIO SSL 2.16.0
33 weeks ago
### SemVer Minor - Add callback-based custom private keys. (#322) ### SemVer Patch - Tolerate zeroReturnError in closed/unwrapped (#323) ### Other Changes - Migrate to Swift 5.5 release in CI (#324)
SwiftNIO SSL 2.15.1
34 weeks ago
### SemVer Patch - Add parentheses to avoid ambiguity. (#318, patch credit to @agnosticdev) - Update BoringSSL to 25773430c07075a368416c3646fa4b07daf4968a (#315) - Clean up imports and dependencies (#319) - Fixup CA name tests on Darwin (#320) - Remove the implementationOnly dance (#321)
apple/swift-tools-support-core swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
Contains common infrastructural code for both SwiftPM and llbuild.
โญ๏ธ 307
๐Ÿ•“ 2 days ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
12 weeks ago
25 weeks ago
44 weeks ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
macOS windows
apple/example-package-dealer 2.0.0
Example package for use with the Swift Package Manager
โญ๏ธ 267
๐Ÿ•“ 4 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Swift 4
4 years ago
macOS
apple/swift-nio-ssh 0.4.0
SwiftNIO SSH is a programmatic implementation of SSH using SwiftNIO
โญ๏ธ 262
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SwiftNIO SSH 0.4.0
2 weeks ago
### SemVer Minor - Feature/userauth banners (#98, patch credit to @DominikHorn) - Add `PeerMaximumMessageLength` option for SSH child channels. (#101, patch credit to @gwynne) - Adopt `Sendable` on our public types (#106) - Drop support for Swift 5.2 and 5.3 (#113) ### SemVer Patch - Generate up to 8 random padding bytes at a time instead of 4 (#100, patch credit to @gwynne) - Support identification string without carriage return (#109, patch credit to @orobio) - fixes an issue where decodeFirstBlock can be called multiple times (#102) - Import concrete NIO modules (#105) ### Other Changes - Add 5.6 nightly CI. (#103, #104) - Add API breakages script from NIO (#111) - Fix warnings, that appeared after requiring Swift 5.4 (#114)
SwiftNIO SSH 0.3.3
32 weeks ago
### SemVer Patch - Fix crash sending window increment after close (#95) ### Other Changes - Clean up incorrect comments and test behaviour (#96)
SwiftNIO SSH 0.3.2
33 weeks ago
### SemVer Patch - Fix doc generation and jazzy version (#92) - Widen the pin on Crypto. (#93) ### Other Changes - Update to Swift 5.5 release in CI (#91)
SwiftNIO SSH 0.3.1
37 weeks ago
### SemVer Patch - Use non-deprecated API for removing handlers (#90)
SwiftNIO SSH 0.3.0
46 weeks ago
### SemVer Minor - Remove support for Swift 5.1 (#87) ### SemVer Patch - Add a benchmark for SSH throughput. (#83) - Use the ContiguousBytes functions for setting data (#84) - Update NIO dependency to 2.30.0 (#88) ### Other Changes - CI: Use 5.4 release instead of nightly and add. Swift 5.5 job (#81, #82)
SwiftNIO SSH 0.2.1
1 year ago
### SemVer Patch - Add support for synchronous options (#80)
SwiftNIO SSH 0.2.0
1 year ago
### SemVer Minor - Emit events when user authentication is successful (#76) ### SemVer Patch - Allows clients tolerate lines before version (#75) ### Other Changes - Docker setup for Swift 5.4 and main branch nightly builds (#69, #78) - Fix doc generation script (#77) - Add SECURITY.md (#79)
Swift-NIO-SSH 0.1.0
1 year ago
### SemVer Minor - Implement certified public key client auth (#64) ### SemVer Patch - Use welcoming language (#67) - Implement client port forwarding example (#55) - Use `getpass` to retrieve password from user (#53, patch credit to @helje5) - Resolve stalls in the example client (#52) - Swap C and D - README typo correction (#51) - Add docs generation script. (#47) - Use newer bytebuffer write functions (#44) - Initialize state machine on handlerAdded (#43) - No creating SSH channels after disconnect (#41) - Do not lose data on channel close (#40) - Do not hold on to pending channels after close (#38) - Forbid creating new channels after TCP shutdown. (#37) - Properly handle autoread (#35) ### Other Changes - Update code of conduct to version 1.4 (#72) - Don't install Jazzy on Xenial (#33) - Swift 5.3-RELEASE is here, let's use it (#45)
iOS macOS watchOS tvOS
apple/example-package-playingcard 3.0.5
Example package for use with the Swift Package Manager
โญ๏ธ 259
๐Ÿ•“ 4 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
3 years ago
4 years ago
Swift 4
4 years ago
5 years ago
apple/swift-llbuild2 0.10.2
A fresh take on a low-level build system API.
โญ๏ธ 257
๐Ÿ•“ 1 week ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.7.7
9 weeks ago
0.7.6
9 weeks ago
0.7.4
10 weeks ago
0.7.3
10 weeks ago
0.7.2
10 weeks ago
0.6.9
12 weeks ago
0.6.8
13 weeks ago
0.6.7
13 weeks ago
0.6.6
13 weeks ago
0.4.0
25 weeks ago
macOS
apple/swift-collections-benchmark 0.0.2
A benchmarking tool for Swift Collection algorithms
โญ๏ธ 230
๐Ÿ•“ 1 year ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.0.2
1 year ago
### Additions - The package now comes with a sample benchmark in the [`Documentation/Example`](https://github.com/apple/swift-collections-benchmark/tree/main/Documentation/Example) directory. (https://github.com/apple/swift-collections-benchmark/pull/6) ### Fixes - Swift Collections Benchmark now works more reliably on platforms with lower resolution timers (https://github.com/apple/swift-collections-benchmark/issues/4) - Resolved a build issue when building the package on iOS, watchOS and tvOS platforms. (https://github.com/apple/swift-collections-benchmark/issues/5) ### Source incompatible changes Note: Existing benchmark definitions created for 0.0.1 will continue to work without changes in this release. The package is no longer using `CGFloat`, `CGPoint`, `CGSize`, `CGRect` and `AffineTransform` in its public API; these types have been replaced with `Double`, `Point`, `Vector`, `Rectangle` and `Transform`, respectively. This change only affects the charting APIs (including option structs such as `Theme`); it doesn't affect benchmark definitions. (We also kept serialization formats compatible with the 0.0.1 release.) The `BenchmarkResults.Point` type has been renamed `Measurement`, with a deprecated typealias put in place for the original name. ### Pull requests (You can also find a full list of issues resolved and PRs merged in this release by looking at the [0.0.2 milestone](https://github.com/apple/swift-collections-benchmark/issues?q=milestone:0.0.2).) * #2: Update README.md (by @stephencelis) * #3: [Timer] Round zero measurements to the resolution of the timer (by @lorentey) * #6: Example for docs (by @heckj) * #8: Stop using CG types outside renderers (by @lorentey) Thank you to everyone who contributed to this release! Your bug reports, discussions and pull requests all help improve this package.
0.0.1
1 year ago
This is the initial release.
apple/indexstore-db swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
Index database library for use with sourcekit-lsp
โญ๏ธ 230
๐Ÿ•“ 3 days ago
linux
apple/swift-nio-transport-services 1.12.0
Extensions for SwiftNIO to support Apple platforms as first-class citizens.
โญ๏ธ 219
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SwiftNIO Transport Services 1.12.0
2 weeks ago
### SemVer Minor - Drop support for Swift 5.2 and 5.3 (#141) ### Other Changes - Add 5.6 nightly CI (#140) - Fix warnings, that appeared after requiring Swift 5.4 (#142)
SwiftNIO Transport Services 1.11.4
17 weeks ago
### SemVer Patch - Explicitly retain timer source when scheduling tasks (#138)
SwiftNIO Transport Services 1.11.3
34 weeks ago
### SemVer Patch - Clean up imports and dependencies. (#130)
SwiftNIO Transport Services 1.11.2
38 weeks ago
### SemVer Patch - Move check for event loop shutdown into taskQueue (#127)
SwiftNIO Transport Services 1.11.1
38 weeks ago
### SemVer Patch - Use non-deprecated API for removing handlers (#125)
SwiftNIO Transport Services 1.11.0
46 weeks ago
### SemVer Minor - Remove Swift 5.0 and 5.1 support, and add CI config (#122) ### SemVer Patch - Update NIO dependency to 2.30 (#123) ### Other Changes - docker setup for main nightlies (#114) - stop publishing the executable products (#119)
SwiftNIO Transport Services 1.10.0
1 year ago
### SemVer Minor - Add support for syncOptions to NIOTSListenerChannel and NIOTSConnectionChannel (#117) ### Other Changes - Add SECURITY.md (#116)
SwiftNIO Transport Services 1.9.2
1 year ago
### SemVer Patch - Remove a redundant availability check (#109) - Tolerate out-of-band ports. (#112) ### Other Changes - update code of conduct to version 1.4 (#115)
SwiftNIO Transport Services 1.9.1
1 year ago
### SemVer Patch - Remove an aggressive precondition in the zero-length-writes filter. (#108) ### Other Changes - We use the main branch now. (#105) - Add watchOS deployment to PodSpec build script (#107)
SwiftNIO Transport Services 1.9.0
1 year ago
### SemVer Minor - Avoid crashing when connecting to empty host. (#103) ### Other Changes - Fix docker shell to use correct image. (#102)
apple/swift-experimental-string-processing dev/8
An early experimental general-purpose pattern matching engine for Swift.
โญ๏ธ 196
๐Ÿ•“ 11 weeks ago
apple/swift-cluster-membership 0.3.1
Distributed Membership Protocol implementations in Swift
โญ๏ธ 175
๐Ÿ•“ 8 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.3.1
1 year ago
#### Changes - =fix Small typo in overloaded less-than operator for Node struct - thank you @dustinnewman! - Compiling SWIMNIOExample fails (logs included) -- this was due to a new API that we moved from SWIM's impl to upstream so we now had two definitions of the same API; fixed. - =metrics more precise emitting of pingRequest metrics #### Details Please refer to the [0.3.1 milestone](https://github.com/apple/swift-cluster-membership/milestone/6?closed=1) for a complete list of changes. #### Credits ``` commits added removed 3 1 49 Konrad `ktoso` Malawski 1 51 1 Dustin @dustinnewman 1 0 4 tomer doron ```
0.3.0 - swift-metrics support in SWIM implementation
1 year ago
### New features - the `SWIM.Instance` as well as example NIO implementation now emit metrics using [swift-metrics](https://github.com/apple/swift-metrics) ### Changes - This release includes a single commit since 0.2.0, enabling the metrics support. - There are no wire-compatibility concerns wrt. upgrading to 0.3.0 from 0.2.0 cluster nodes in a rolling upgrade. Please refer to the [0.3.0 milestone](https://github.com/apple/swift-cluster-membership/milestone/4?closed=1) for a complete list of changes. ``` commits added removed 1 1151 26 Konrad `ktoso` Malawski 1 2 1 Tomer Doron ```
0.2.0 Minor SWIM updates
1 year ago
Minor updates and cleanups to the SWIM APIs. Refer to the [0.2.0](https://github.com/apple/swift-cluster-membership/milestone/3?closed=1) milestone for more details.
0.1.0: SWIM implementation
1 year ago
### First release! In the first release we're including an implementation of the SWIM membership protocol. Please refer to <the docs> and <blog post> to learn more about it.
linux macOS iOS
apple/example-package-fisheryates 2.0.6
Example package for use with the Swift Package Manager
โญ๏ธ 173
๐Ÿ•“ 31 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
2 years ago
4 years ago
Swift 4
4 years ago
5 years ago
5 years ago
6 years ago
6 years ago
apple/swift-service-discovery 1.2.0
A service discovery API for Swift.
โญ๏ธ 172
๐Ÿ•“ 28 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.2.0
28 weeks ago
Add support for async/await (https://github.com/apple/swift-service-discovery/pull/39)
1.1.0
31 weeks ago
- Adopt [swift-atomics](https://github.com/apple/swift-atomics) (https://github.com/apple/swift-service-discovery/pull/37) This package now requires Swift >= 5.3.
1.0.0
1 year ago
This release doesn't contain any actual code changes.
0.1.0
1 year ago
apple/example-package-deckofplayingcards 3.0.4
Example package for use with the Swift Package Manager
โญ๏ธ 163
๐Ÿ•“ 4 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Swift 4
4 years ago
2.0.1
5 years ago
apple/swift-docc-plugin 1.0.0
Swift Package Manager command plugin for Swift-DocC
โญ๏ธ 144
๐Ÿ•“ 8 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Swift-DocC Plugin 1.0
8 weeks ago
Initial release.
macOS
apple/swift-nio-extras 1.11.0
Useful code around SwiftNIO.
โญ๏ธ 138
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
SwiftNIO Extras 1.11.0
2 weeks ago
### SemVer Minor - Drop support for Swift 5.2 and 5.3 (#154) ### Other Changes - Strip a NIO. (#148) - Update doc generation script (#149) - Add 5.6 nightly CI (#147, #151, #152) - Fix concurrency warning (#153) - Fix warnings, that appeared after requiring Swift 5.4 (#159)
SwiftNIO Extras 1.10.2
34 weeks ago
### SemVer Patch - Remove SourceKitten submodule. (#145)
SwiftNIO Extras 1.10.1
34 weeks ago
### SemVer Patch - Add `fflush(stdout)` to DebugInbound/OutboundEventsHandlers (#140, patch credit to @NicolasCombe5555) - Clean up imports and dependencies. (#144) ### Other Changes - Update CI (#141, #142)
SwiftNIO Extras 1.10.0
46 weeks ago
### SemVer Minor - Add SOCKSProxyEstablishedEvent (#136) - Remove support for Swift 5.0 and 5.1 (#138) ### SemVer Patch - Update NIO dependency to 2.30.0 (#139)
SwiftNIO Extras 1.9.1
47 weeks ago
### SemVer Patch - Fix writing SOCKSv5 addresses to the network when using FQDNs (#135)
SwiftNIO Extras 1.9.0
47 weeks ago
### SemVer Minor - Implement SOCKSv5 client and server handlers (#128, #132, #133, #134) ### Other Changes - Use swift 5.4 release images, and setup CI for 5.5 and mainline - Add SECURITY.md (#122) - Stop publishing the executable products (#130)
SwiftNIO Extras 1.8.0
1 year ago
### SemVer Minor - add support for a 24 bit (3 byte) length field (#114, patch credit to @dnadoba) - fix crash in LengthFieldBasedFrameDecoder for malicious length values (#115, patch credit to @dnadoba) ### SemVer Patch - Use `eventLoop.assertInEventLoop()` over `assert(eventLoop.inEventLoop)` (#111) ### Other Changes - fix link to LengthFieldPrepender.swift in README (#116, patch credit to @dnadoba) - Swift 5.3-RELEASE is here, let's use it (#108) - This repository now uses main. (#109) - Add watchOS deployment to PodSpec build script (#110) - Use welcoming language (#112) - update code of conduct to version 1.4 (#120)
SwiftNIO Extras 1.7.0
1 year ago
### SemVer Minor - Fixed a bug where unfulfilled promises would not be completed in `channelInactive` in the `RequestResponseHandler` (#106, #107)
SwiftNIO Extras 1.6.1
1 year ago
### Semver Patch - Skip HTTPResponseCompressor logic for 204 No Content responses. (#105) (patch credit to @tanner0101) - Refactor header field value code to use better String algorithms. (#104) (patch credit to @karwa) ### Other - Add performance test for NIO PCAP handler. (#98) - Fixed API breakage script on Swift 5.2. (#103)
SwiftNIO Extras 1.6.0
1 year ago
### SemVer Minor - Support decompression of HTTP responses that do not contain a Content Length header (#93, patch credit to @fabianfett) - Support in-memory PCAP capture (#94) ### SemVer Patch - Ensures gzip/deflate-compressed responses are properly finalized in all cases (#100, patch credit to @gkaindl) ### Other Changes - Link swift-nio-extras in docs (#87) - Update build_podspec.sh to not use exact dependency versions (#91) - Silence #file warnings (#96, #97) - Don't install jazzy on xenial (#95)
apple/swift-docc-symbolkit swift-DEVELOPMENT-SNAPSHOT-2022-05-11-a
A Swift package for encoding and decoding Swift Symbol Graph files.
โญ๏ธ 129
๐Ÿ•“ 3 days ago
apple/swift-http-structured-headers 0.2.0
A Swift implementation of the HTTP Structured Header Field specification.
โญ๏ธ 122
๐Ÿ•“ 2 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
HTTP Structured Headers 0.2.0
2 weeks ago
### SemVer Minor - Drop support for Swift 5.2 and 5.3 (#19) ### SemVer Patch - Remove redundant conformance constraints (#22) ### Other Changes - Add 5.6 main CI and nightly 5.7 (#17, #18 ) - Fix warnings, that appeared after requiring Swift 5.4 (#21)
HTTP Structured Headers 0.1.0
17 weeks ago
### Changes - Rename a number of types and modules (#13) - Fixes for changes to the OSS Decimal type (#16)
HTTP Structured Headers 0.0.1
1 year ago
Initial release! This package will remain in zerover status until at least after the final RFC for HTTP structured headers ships. Once that happens we can consider freezing the API.
apple/FHIRModels 0.4.0
Swift library for FHIRยฎ resource data models
โญ๏ธ 119
๐Ÿ•“ 8 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Maintenance Release 0.4
8 weeks ago
This is a maintenance release that addresses some issues and introduces small enhancements. - BREAKING CHANGES: fix duplicate code system names resulting in https://github.com/apple/FHIRModels/issues/11 - BREAKING CHANGES: regenerate R4 models to resolve https://github.com/apple/FHIRModels/issues/15 - Update _build_ models to 4.6.0-048af26 - Enhancement: make dates & times conform to `Comparable` and `ExpressibleAsNSDate` - Fix an issue where times with milliseconds were not proper ISO formatted in certain locales
NSDate Utilities
1 year ago
FHIR v4.5 for connectathon 25
1 year ago
Utilities & Linux Support
1 year ago
Add STU-3 models โ€“ย 0.2.0
1 year ago
Public Release โ€“ 0.1.0
1 year ago
iOS macOS watchOS tvOS
apple/swift-distributed-tracing 0.3.0
Instrumentation library for Swift server applications
โญ๏ธ 84
๐Ÿ•“ 15 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.3.0
15 weeks ago
Release with Sendable
0.2.0
31 weeks ago
Updated: - `LoggingContext`-based propagation was replaced with automatic context propagation via task-locals (#52) - `SpanStatus` now conforms to `Equatable` (#46) - `OpenTelemetryTracingSupport` was removed (#53) --- For details on the changes please refer to the [0.2.0 milestone](https://github.com/apple/swift-distributed-tracing/milestone/3?closed=1)
0.1.4
1 year ago
Updated: - `TracingOpenTelemetrySupport` now includes all semantic span attributes defined in Otel (0.7.0) (#38) Fixed: - Replaced all usage of `sanity` with `soundness` (#37) --- For details on the changes please refer to the [0.1.4 milestone](https://github.com/apple/swift-distributed-tracing/milestone/4)
0.1.3
1 year ago
Updated: - `SpanStatus.CannonicalCode` has been removed in favor of `SpanStatus.Code` (#31) Fixed: - The context version of `withSpan` now delegates to the baggage version of this function (#36) - A "dead" link in the README file has been fixed (#35, credit to @MrCull) --- For details on the changes please refer to the [0.1.3 milestone](https://github.com/apple/swift-distributed-tracing/milestone/3)
0.1.2
1 year ago
Fixed: - When using `withSpan`, `span.end()` is now correctly called on the happy path (#33, credit to @JensAyton) --- For details on the changes please refer to the [0.1.2 milestone](https://github.com/apple/swift-distributed-tracing/milestone/2)
0.1.1
1 year ago
Same as 0.1.0 however fixed the dependency url in Package.swift to use https rather than git.
0.1.0
1 year ago
Initial release.
apple/swift-statsd-client 1.0.0
metrics backend for swift-metrics that uses the statsd protocol
โญ๏ธ 48
๐Ÿ•“ 42 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.0.0 release
42 weeks ago
First 1.0 release
1.0.0-alpha.4
1 year ago
Introduces `MetricNameSanitizer` and enables it by default, allowing statsd-client to be used directly with Vapor apps (as their metric labels may include `:` which was causing trouble). See #21 for details.
1.0.0-alpha.3
2 years ago
3rd alpha release, fixes important issue with connection leak #14
1.0.0-alpha.2
2 years ago
second alpha release
1.0.0-alpha.1
2 years ago
first alpha release
apple/swift-tools-support-async 0.8.1
Common infrastructural helpers on top of NIO for llbuild2 and swiftpm-on-llbuild2 projects. This is NOT a general purpose package and is unlikely to ever become stable.
โญ๏ธ 22
๐Ÿ•“ 11 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
swift-tools-support-async 0.8.1
11 weeks ago
Be compatible with TSC's accidental API break at 0.2.5
0.3.0
41 weeks ago
1 year ago
0.2.0
1 year ago
0.1.10
1 year ago
0.1.9
1 year ago
1 year ago
0.1.7
1 year ago
1 year ago
0.1.2
1 year ago
Test coverage fixes.
apple/swift-distributed-tracing-baggage 0.3.0
Minimal context propagation container with Logging
โญ๏ธ 19
๐Ÿ•“ 15 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
0.3.0
15 weeks ago
Baggage is `Sendable`.
0.2.3
15 weeks ago
Same as 0.2.1, no Sendable requirement - this is introduced now in 0.3.0
0.2.2
15 weeks ago
Fixed Sendable conformances for older OSes
0.2.1
39 weeks ago
Updates: - Update SwiftFormat to 0.48.11 (#14) - Update installation guide to use 0.2.0 ๐Ÿ“– (#15) --- For details on the changes please refer to the [0.2.1 milestone](https://github.com/apple/swift-distributed-tracing-baggage/milestone/3)
0.2.0
39 weeks ago
Updated: - **Breaking**: Removed `LoggingContext` and dependencies, now includes `Baggage` directly in new `InstrumentationBaggage` module (#13) --- For details on the changes please refer to the [0.2.0 milestone](https://github.com/apple/swift-distributed-tracing-baggage/milestone/2)
0.1.1
1 year ago
Same as 0.1.0 however fixed the dependency url in Package.swift to use https rather than git.
0.1.0
1 year ago
Initial release
apple/swift-se0270-range-set 1.0.1
Swift Evolution preview package for SE-0270.
โญ๏ธ 16
๐Ÿ•“ 36 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
Fix subscript setters
36 weeks ago
Bugfixes: - Adds a missing setter for `DiscontinousSlice.subscript(bounds:)` - Prevents out-of-bounds assignment when using the multiple-range setter for `Collection.subscript(subranges:)`
SE0270_RangeSet 1.0.0
2 years ago
Initial release.
apple/swift-se0288-is-power 2.0.0
Preview package for Swift Evolution proposal SE-0288
โญ๏ธ 3
๐Ÿ•“ 27 weeks ago
๐Ÿ”– Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
27 weeks ago
Initial release of isPower(of:)
35 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics