Swiftpack.co - Swift Packages by swift-server

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

Packages published by swift-server

swift-server/swift-aws-lambda-runtime 1.0.0-alpha.1
Swift implementation of AWS Lambda Runtime
⭐️ 1,072
🕓 37 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-alpha.1
37 weeks ago
First alpha for 1.0 release ## What's Changed * Change Lambda.Context from class to struct by @jareyesda in https://github.com/swift-server/swift-aws-lambda-runtime/pull/217 * Clean up dependency graph and imports by @Lukasa in https://github.com/swift-server/swift-aws-lambda-runtime/pull/218 * Renamed completeWithAsync to completeWithTask by @saltzmanjoelh in https://github.com/swift-server/swift-aws-lambda-runtime/pull/221 * split events into spearate package by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/216 * Use explicit NIO imports by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/220 * InitializationContext should be a value not reference type by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/219 * Update examples for Swift 5.5 by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/223 * Drop sync and closure APIs by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/222 * Reorder Event and Context. by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/224 * [RFC] Drop event label from handle methods in LambdaHandlers by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/225 * Remove dependency on _NIOConcurrency by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/229 * update and add examples to new APIs by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/228 * Rename `Lambda.Lifecycle` to `LambdaRuntime` by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/232 * Rename Lambda.Context to LambdaContext by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/233 * Modernize app example by @stevapple in https://github.com/swift-server/swift-aws-lambda-runtime/pull/231 * Adopt concurrency adoption guidelines by @stevapple in https://github.com/swift-server/swift-aws-lambda-runtime/pull/230 * Add ControlPlaneRequest, ControlPlaneResponse by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/238 * Add LambdaRequestID by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/243 * Add ControlPlaneRequestEncoder by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/239 * Lambda factory as a protocol requirement. by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/244 * Add default value for traceID header by @StefanNienhuis in https://github.com/swift-server/swift-aws-lambda-runtime/pull/246 * terminator handler by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/251 * adoption of sendable by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/252 * remove extension for JSONEncoder and JSONDecoder by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/257 * prefix data structures with Lambda instead of namespacing them by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/256 * Add script to check for API breaks by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/258 * Some documentation fixes by @fabianfett in https://github.com/swift-server/swift-aws-lambda-runtime/pull/260 * Add special Deployment instructions for the Mac M1 by @gestrich in https://github.com/swift-server/swift-aws-lambda-runtime/pull/263 * packaging plugin by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/254 * Fix performance test script by @stevapple in https://github.com/swift-server/swift-aws-lambda-runtime/pull/264 * DocC setup by @yim-lee in https://github.com/swift-server/swift-aws-lambda-runtime/pull/270 * API Refactoring by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/273 * fix concurrency api usage by @tomerd in https://github.com/swift-server/swift-aws-lambda-runtime/pull/282 ## New Contributors * @jareyesda made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/217 * @Lukasa made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/218 * @saltzmanjoelh made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/221 * @stevapple made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/231 * @StefanNienhuis made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/246 * @gestrich made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/263 * @sja26 made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/269 * @yim-lee made their first contribution in https://github.com/swift-server/swift-aws-lambda-runtime/pull/270 **Full Changelog**: https://github.com/swift-server/swift-aws-lambda-runtime/compare/0.5.0...1.0.0-alpha.1
0.5.2
1 year ago
* Add guards for code that relies on _Concurrency to allow compilation with Xcode 13 (#237) - Thanks @programmarchy
0.5.1
2 years ago
- Clean up dependency graph and imports (#218) - Renamed completeWithAsync to completeWithTask (#221) - Thanks @saltzmanjoelh
0.5.0
2 years ago
* Fixes platform requirements (#214) * SNS MessageAttributes are optional (#208) - Thanks @DwayneCoussement * Inline and specialize LambdaHandlers (#201) * Small Performance Improvements (#199) * Updated S3.Event (#195) - Thanks @mufumade * Async/await support (#186) * Multiple updates to CI setup, code formatting, etc (#189, #190, #191, #196, #197, #198, #202, #207, #211) * Adopt SSWG security guidelines (#209)
0.4.0
2 years ago
- Fixed typo in LambdaRunner.swift documentation (#171) - Thanks @filletofish - Removed symbolicate-linux-fatal from Docker (#173) - Properties of HTTPResponses are now `var` in `APIGateway.Response`, `APIGateway.V2.Response`, `ALB.TargetGroupResponse` (#176) - Fixed the visibility of the JWT in `APIGateway.V2.Request` (#178) - Thanks @JBosecker - Fixed typo in SQS example (#181) - Thanks @mattmassicotte - Fixed the queryStringParameters variable for `ALB.TargetGroupResponse` (#182) - Thanks @proggeramlug - Fixed typo in README.md (#183) - Thanks @mr-j-tree - Use welcoming language everywhere (#184) - Added support for AppSync events (#187) - Thanks @DwayneCoussement - Added CI support for Swift 5.4 (#189)
0.3.0
3 years ago
* Better errors when lambda fails to start #155 * Remove requirement on macOS 10.13 #156 * Better error message when invoking local lambda server with incorrect http method #157 * Simplify date formatting #159 * Improved examples and CI scripts
0.2.0
3 years ago
⚠️ This release includes breaking api changes * Add an option to start the local debugging server based on an env variable #87 * Add a User-Agent when using the Lambda Runtime API #98 by @bmoffatt * Handle lambda error correctly in mock server #104 * Add example scripts and docs for Serverless Framework #113 by @Andrea-Scuderi * Rename `payload` to `event` #115 * Added header when reporting failing invocations or initializations #128 by @Ro-M * Added shutdown to the `ByteBufferLambdaHandler` #122 * Add initialization context #126 * Added SES Event type #130 by @adam-fowler * add syncShutdown to LambdaHandler #132 * Improved readme docs and examples
0.1.0
3 years ago
First pre-release
iOS macOS watchOS tvOS
swift-server/async-http-client 1.19.0
HTTP client library built on SwiftNIO
⭐️ 780
🕓 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.
AsyncHTTPClient 1.19.0
5 weeks ago
### SemVer Minor - use NIOSingletons EventLoops/NIOThreadPool instead of spawning new (#697) ### SemVer Patch - Replace os() with canImport(Darwin) (#693, patch credit to @brennobemoura) - Removed duplicated code (#694, patch credit to @brennobemoura) - Fix auhorization typo (#695, patch credit to @brennobemoura) ### Other Changes - Add unit tests for NWWaitingHandler, closes #589 (#702, patch credit to @natikgadzhi) - Adopt the Swift CoC (#691) - Fix flaky `AsyncAwaitEndToEndTests.testImmediateDeadline` test (#698) - Add timeout to `RequestBagTests.testCancelFailsTaskAfterRequestIsSent` test (#699) - Remove tests relying on OS-dependent behaviour (#703)
AsyncHTTPClient 1.18.0
18 weeks ago
### SemVer Minor - Drop Swift 5.5 (#686) - Tolerate new request after connection error happened (#688)
AsyncHTTPClient 1.17.0
23 weeks ago
### SemVer Minor - Pass request `Task` to `FileDownloadDelegate` `reportHead` and `reportProgress` closures (#681) - Add support for custom cancellation error (#683) ### SemVer Patch - Add missing availability annotations for iOS, tvOS and watchOS (#685, patch credit to @cbaker6)
AsyncHTTPClient 1.16.0
24 weeks ago
### SemVer Minor - Add a control to allow DNS override (#675) - Add a control to limit connection reuses (#678) - Fail early in `HTTPClientResponse.Body.collect(upTo:)` if the announced `Content-Length` is known to exceed the `maxBytes` in-memory buffer limit. (#672) - Replace `TransactionBody` with `NIOAsyncSequenceProducer` to support `Task` cancellation while waiting on the next response body part (#677) ### SemVer Patch - Fix crash if connection is closed very early (#671) ### Other Changes - Accept bare 2023 in license header (#676) - Fix documentation and add support for CI-ing it (#679)
AsyncHTTPClient 1.15.0
32 weeks ago
### SemVer Minor - Mark Task.wait() noasync and provide Task.get() (#668) - Make syncShutdown unavailable from async (#667) ### SemVer Patch - Fix HTTP2StreamChannel leak (#657)
AsyncHTTPClient 1.14.0
32 weeks ago
### SemVer Minor - Make Task.logger accessible to delegate implementations outside of Package (#587, patch credit to @felixschlegel) ### SemVer Patch - Fix crash for large HTTP request headers (#661, #659, #658) - Fix request streaming memory leak (#665) - Fix request head continuation misuse (#666) ### Other Changes - Add Swift 5.8 CI and update nightly CI to Ubuntu 22.04 (#655)
AsyncHTTPClient 1.13.2
36 weeks ago
### Security Fixes - Defends against HTTP request header injection attacks (CVE-2023-0040) (https://github.com/swift-server/async-http-client/security/advisories/GHSA-v3r5-pjpm-mwgq) ### SemVer Patch - Add `Host` header to proxy CONNECT request (#650) (#651, patch credit to @MihaelIsaev) ### Other Changes - Add .spi.yml for Swift Package Index DocC support (#648)
AsyncHTTPClient 1.12.1
36 weeks ago
### Security Fixes - Defends against HTTP request header injection attacks (CVE-2023-0040) (https://github.com/swift-server/async-http-client/security/advisories/GHSA-v3r5-pjpm-mwgq)
AsyncHTTPClient 1.9.1
36 weeks ago
### Security Fixes - Defends against HTTP request header injection attacks (CVE-2023-0040) (https://github.com/swift-server/async-http-client/security/advisories/GHSA-v3r5-pjpm-mwgq)
AsyncHTTPClient 1.4.1
36 weeks ago
### Security Fixes - Defends against HTTP request header injection attacks (CVE-2023-0040) (https://github.com/swift-server/async-http-client/security/advisories/GHSA-v3r5-pjpm-mwgq)
linux macOS iOS
swift-server/http 0.1.0
:warning: Historical HTTP API - please use https://github.com/swift-server/async-http-client instead
⭐️ 707
🕓 5 years 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 0.1.0
5 years ago
Provides a basic HTTP server that responds to incoming requests.
swift-server/swift-service-lifecycle 2.1.0
Cleanly startup and shutdown server application, freeing resources in order before exiting.
⭐️ 320
🕓 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.
2.1.0
1 week ago
### SemVer Minor - Add async `gracefulShutdown()` function to wait on graceful shutdown trigger (#158)
2.0.0
5 weeks ago
This is the first major release of `swift-service-lifecycle` 🚀 which helps orchestrating components in your application using Structured Concurrency. To get started with this package check out the [documentation](https://swiftpackageindex.com/swift-server/swift-service-lifecycle/documentation/servicelifecycle). # What's changed since `2.0.0-beta.2`? - Propagate service error during graceful shutdown (https://github.com/swift-server/swift-service-lifecycle/pull/153) - Add convenience init to the group (https://github.com/swift-server/swift-service-lifecycle/pull/154) - Fix in docs (https://github.com/swift-server/swift-service-lifecycle/pull/155, https://github.com/swift-server/swift-service-lifecycle/pull/156) - Vendor swift-async-algorithms (https://github.com/swift-server/swift-service-lifecycle/pull/157)
2.0.0-beta.2
5 weeks ago
# What's Changed - Only log at debug levels (https://github.com/swift-server/swift-service-lifecycle/pull/151) - Propagate service error when gracefully shutting down (https://github.com/swift-server/swift-service-lifecycle/pull/152)
2.0.0-beta.1
6 weeks ago
## What's Changed - Add support for SIGQUIT (https://github.com/swift-server/swift-service-lifecycle/pull/146) - Add support for custom return/ThrowBehavior of services (https://github.com/swift-server/swift-service-lifecycle/pull/148) - Prefix default logging keys (https://github.com/swift-server/swift-service-lifecycle/pull/149) This release includes a small breaking change. The conformance to `Hashable` and `Equatable` from the `ServiceGroupConfiguration` has been removed.
2.0.0-alpha.3
16 weeks ago
## What's Changed * Rename shutdownGracefully to triggerGracefulShutdown on the ServiceGroup https://github.com/swift-server/swift-service-lifecycle/pull/142
2.0.0-alpha.2
20 weeks ago
## What's Changed * Fix an issue where `cancelOnGracefulShutdown` did hang waiting for a child task to finish https://github.com/swift-server/swift-service-lifecycle/pull/136
2.0.0-alpha.1
22 weeks ago
## What's Changed This release includes the first version of a fully async API that leverages Swift's Structured Concurrency to orchestrate services. The new APIs are rethought from the ground up. We provided documentation on how to adopt the new APIs [here](https://swiftpackageindex.com/swift-server/swift-service-lifecycle/main/documentation/lifecycle). We encourage everyone to try and adopt the APIs and provide feedback on them.
1.0.0-alpha.11
1 year ago
## What's Changed * Add Swift Concurrency Availability to macOS 10.15, iOS 13, tvOS 13, and watchOS 6 (#118) - thanks @t089 * shutdown() should cancel the signal handlers installed by start() (#120) * Add the ability to de-register a task by (#121) **Full Changelog**: https://github.com/swift-server/swift-service-lifecycle/compare/1.0.0-alpha.10...1.0.0-alpha.11
1.0.0-alpha.10
1 year ago
* Use swift-atomics from v1.0.0 (#14) - thanks @adam-fowler
1.0.0-alpha.9
2 years ago
* Switch up compiler directives for concurrency (#111) - Thanks @joshuawright11
iOS macOS watchOS tvOS
swift-server/swift-backtrace 1.3.4
💥 Backtraces for Swift on Linux and Windows
⭐️ 287
🕓 3 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.
SwiftBacktrace 1.3.4
3 weeks ago
## What's Changed * DocC setup by @yim-lee in https://github.com/swift-server/swift-backtrace/pull/62 * Disable this library for Swift 5.9 and above. by @al45tair in https://github.com/swift-server/swift-backtrace/pull/68 ## New Contributors * @yim-lee made their first contribution in https://github.com/swift-server/swift-backtrace/pull/62 * @al45tair made their first contribution in https://github.com/swift-server/swift-backtrace/pull/68 **Full Changelog**: https://github.com/swift-server/swift-backtrace/compare/1.3.3...1.3.4
SwiftBacktrace 1.3.3
1 year ago
# SemVer patch * #59 update vendored copy of libbacktrace * #60 flush stderr after printing backtraces --- **Full Changelog**: https://github.com/swift-server/swift-backtrace/compare/1.3.2...1.3.3
SwiftBacktrace 1.3.2
1 year ago
# SemVer patch * #58: trap SIGSEGV, SIGBUS, and SIGFPE by default, in addition to SIGILL
SwiftBacktrace 1.3.1
2 years ago
## SemVer Patch Add missing new method for Windows/macOS.
SwiftBacktrace 1.3.0
2 years ago
## SemVer Minor - added a new `Backtrace.install(signals:)` API that allows the caller to specify all signal to backtrace on.
SwiftBacktrace 1.2.3
2 years ago
SwiftBacktrace 1.2.2
2 years ago
# SemVer patch * Windows Support (#41 , #42) - Thanks @compared
SwiftBacktrace 1.2.1
2 years ago
# SemVer patch - Determine the executable path automatically #36 - Improve error reporting in SwiftBacktrace if something goes wrong #35 # Other improvements - Various CI improvements (#26, #27, #31, #32)
1.2.0
3 years ago
* add deprecation warning on Backtrace.print()
1.1.1
4 years ago
- feat: cross-compilation support (#17)
swift-server/swift-prometheus 2.0.0-alpha.1
Prometheus client library for Swift
⭐️ 118
🕓 6 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.
Swift Prometheus 2.0.0 Alpha 1
6 days ago
## 🚨 Breaking changes This 2.0 pre-release contains breaking changes compared to the current released version 1.x: - `PrometheusClient` has been renamed to `PrometheusCollectorRegistry` - Most method names on `PrometheusCollectorRegistry` have been changed as well `createMetric` has been renamed to `makeMetric` in most cases - Summaries are no longer supported - The `PromMetric` protocol has been removed - The Collector types are no longer prefixed with `Prom` Please refer to our [documentation] hosted on the Swift Package Index for more details regarding the new API. ## Changes ### SemVer Major - New Version 2.0 API (#92, #97, #98) ### Other changes - Add package index config file, so docs are generated (#85, #99 patch credit @finestructure) - Remove `FUNDING.yml` (#88) - Remove `Package.resolved` (#87) - Remove XCTestManifest & LinuxMain (#89) - Prepare Dockerfiles and scripts for swift-server CI (#90) - Remove GitHub actions CI (#91) - Remove .jazzy.yaml (#96) - Add docc documentation (#100, #101) [documentation]: https://swiftpackageindex.com/swift-server/swift-prometheus/main/documentation/prometheus
1.0.2
10 weeks ago
### Patch fixes - Solved race condition in sub-summary https://github.com/swift-server-community/SwiftPrometheus/issues/79 - thank you for the contribution @blindspotbounty **Full Changelog**: https://github.com/swift-server-community/SwiftPrometheus/compare/1.0.1...1.0.2
1.0.1
49 weeks ago
## What's Changed * Add missing availability annotations by @rauhul in https://github.com/swift-server-community/SwiftPrometheus/pull/71 * Remove unused weak references by @fabianfett in https://github.com/swift-server-community/SwiftPrometheus/pull/76 * Fix Histogram Concurrency Issue by @Sam-Amin in https://github.com/swift-server-community/SwiftPrometheus/pull/78 ## New Contributors * @fabianfett made their first contribution in https://github.com/swift-server-community/SwiftPrometheus/pull/76 * @Sam-Amin made their first contribution in https://github.com/swift-server-community/SwiftPrometheus/pull/78 **Full Changelog**: https://github.com/swift-server-community/SwiftPrometheus/compare/1.0.0...1.0.1
V 1.0.0
1 year ago
# SemVer Minor - Add Async/Await collect APIs (#67, @MrLotU ) # SemVer Patch - Fix Display Unit (#64, @avolokhov ) - Remove labels parametrisation (#63 , @avolokhov ) - Sanitize Dimensions (#68 , @0xTim )
V 1.0.0 Alpha 15
2 years ago
# SemVer Patch - Finer concurrency in 'MetricType.observe' / 'MetricType.collect' (#59, @avolokhov ) - Make metrics collection independent from metrics creation (#60, @avolokhov ) - Move labels equality check out of critical section in summary/histogram (#61, @avolokhov )
V 1.0.0 Alpha 14
2 years ago
# SemVer Minor - Add native support for floating point counter (#55, @MrLotU)
V 1.0.0 Alpha 13
2 years ago
# SemVer Minor - Introduce PromSummary.capacity to improve performance (#57, @wacumov)
V 1.0.0 Alpha 12.1
2 years ago
# SemVer Patch - Fix bug in `DimensionLabel` equality. (https://github.com/MrLotU/SwiftPrometheus/commit/daf102f0c9234011e013d174b82861ef94decfe8)
V 1.0.0 Alpha 12
2 years ago
# SemVer Minor - Update minimum required Swift version to 5.2 (#51, @glbrntt ) # SemVer Patch - Fix various misspellings (#53, @rauhul ) - Reduce allocations (#54, @rauhul )
V 1.0.0 Alpha 11
2 years ago
# Semver Patch - Performance Improvements (#50, @glbrntt) - Sanitizing pre-sanitized labels is ~100x faster - Sanitizing non-sanitized label is ~20x faster - Incrementing 10 counters is ~20x faster - Incrementing 100 counters is ~40x faster - Incrementing 1000 counters is ~250x faster - (Similar results for other metrics.)
iOS macOS watchOS tvOS
swift-server/RediStack 2.0.0-gamma.1.1
Non-blocking, event-driven Swift client for Redis.
⭐️ 109
🕓 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.
RediStack 1.5.1
7 weeks ago
### SemVer Patch - Mark `RedisConnectionPool` as final (#83) - Cherry pick GitLab 187: Graceful connection close without sending QUIT command (#85) - Close connection pool even if some connections are leased/in creation (#86)
RediStack 1.5.0
10 weeks ago
### SemVer Minor - Conform `RedisByteDecoder` to `NIOSingleStepByteToMessageDecoder` (#63) - Delay connection attempts without addresses (#64) - Require Swift 5.6 (#65) - Implement a basic `RESP3Token` parser (#71) - Add support for usernames (#72) - Add `NIOSSL` dependency (#74) - Make `RedisConnection.Configuration.defaultPort` thread safe (#81) ### SemVer Patch - Explicitly depend on `Atomics` (#57) - Remove reliance on the NIO umbrella module (#60) - Add `RedisCommandEncoder` (#69) - Remove `Context`, use `Logger` everywhere (#70) - Move `RESP3TokenDecoder` into its own file (#75) - Move `ConnectionPool` files into the ConnectionPool folder (#76) - Split up Configuration file into two: `RedisConnectionPool` & `RedisConnection` (#78) ### Other Changes - Fix crash in tests: Use explicit `RedisCommand` instead of tuple (#52) - Add swift-server CI (#54, #58, #66) - Remove codeclimate (#55) - Update for new maintainers, switch mirroring around (#53, #56, #62, #67) - Add release.yml for better generated release notes (#80)
RediStack 1.4.1
15 weeks ago
The latest `master`, pre-release, and release API Docs are always available at [docs.redistack.info](http://docs.redistack.info) ### Semver Patch - Fix compiler error for pre Swift 5.7 versions [!201](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/201)
RediStack 1.4.0
15 weeks ago
The latest `master`, pre-release, and release API Docs are always available at [docs.redistack.info](http://docs.redistack.info) ## Minor - Add onUnexpectedConnectionClose callback to pool [!200](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/200)
RediStack 2.0.0 Gamma 1.1
17 weeks ago
_The latest `master`, pre-release, and release API Docs are always available at [docs.redistack.info](http://docs.redistack.info)_ ## Patch - Fix Thread Sanitizer races caused by lazy one-time initialization of RedisClientErrors [!196](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/196)
RediStack 1.3.3
17 weeks ago
_The latest `master`, pre-release, and release API Docs are always available at [docs.redistack.info](http://docs.redistack.info)_ ## Patch - Fix Thread Sanitizer races caused by lazy one-time initialization of RedisClientErrors [!197](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/197)
RediStack 1.3.2
35 weeks ago
The latest `master`, pre-release, and release API Docs are always available at [docs.redistack.info](http://docs.redistack.info) ## Patch - This is a re-release of [1.3.1](https://gitlab.com/swift-server-community/RediStack/-/releases/1.3.1), which was improperly tagged from `master`
RediStack 1.3.1
36 weeks ago
The latest `master`, pre-release, and release API Docs are always available at [docs.redistack.info](http://docs.redistack.info) ## Misc - Add support for Swift Package Index documentation hosting for 1.x ([254e3e78b32b2f332e6c8f010f5b8a92646c4632](https://gitlab.com/swift-server-community/RediStack/-/tree/254e3e78b32b2f332e6c8f010f5b8a92646c4632))
RediStack 2.0.0 Gamma 1
41 weeks ago
API Docs are always available at [docs.redistack.info](http://docs.redistack.info) # Announcement :loudspeaker: **RediStack** is back in an _alpha_ phase where breaking changes are being allowed in the 2.x release. This is due to the additional help and insight into the library's needed evolution by @fabianfett. Given that SemVer rules state that pre-release identifiers are resolved in lexicographical order, and **RediStack** has already used `alpha`, `beta`, and `experimental`, **RediStack** will use the following names for the "new" alpha & beta releases: - alpha => **Gamma** - beta => **Lambda** # Changes ## Major - Pub/Sub message and subscription handlers are now unified into a single closure [!181](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/181) - This introduces the type `RedisPubSubEvent` that you can now explicitly handle in a single closure ```swift let handler: RedisPubSubEventReceiver = { event in switch event { case let .subscribed(subscriptionKey, connectionCount): print("new subscription to \(subscriptionKey). This connection now has \(connectionCount) subscriptions") case let .unsubscribed(subscriptionKey, connectionCount, unsubscribeEventSource): print("unsubscribed from \(subscriptionKey) due to \(unsubscribeEventSource). This connection still has \(connectionCount) subscriptions") case .message(let publisher, let message): print("message from \(publisher): \(message)") } } ``` - `RedisClient.logging(to:)` has been removed [#115](https://gitlab.com/swift-server-community/RediStack/-/issues/115) - It is now expected for you to explicitly provide a `Logger` instance to all method calls ## Minor - `RedisByteDecoder` now conforms to `NIOSingleStepByteToMessageDecoder` [!185](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/185) - Added new `RedisGracefulConnectionCloseEvent` marker type that Redis channels will respond to for shutting down connections [!190](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/190) ## Patch - Fix deprecation warning by switching from `Lock` to `NIOLock` [!180](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/180) - Fix deprecation warning by switching from `NIOAtomic` to `ManagedAtomic` [!179](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/179) - Connections will no longer send `QUIT` commands to Redis as part of the shutdown process [!187](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/187) - `RPOPLPUSH` and `BRPOPLPUSH` commands no longer fail to convert responses on keys that are empty [#116](https://gitlab.com/swift-server-community/RediStack/-/issues/116) ## Misc - **RediStack** now explicitly depends on **SwiftAtomics** [!184](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/184) - **RediStack** now explicitly depends on individual NIO modules, rather than the umbrella module [!186](https://gitlab.com/swift-server-community/RediStack/-/merge_requests/186)
RediStack 2.0.0 Beta 1
1 year ago
API Docs are always available at [docs.redistack.info](http://docs.redistack.info) DocC documentation is now available from [Swift Package Index](https://swiftpackageindex.com/Mordil/RediStack/master/documentation/redistack). ## Major - Significantly refactored the `RedisConnection.Configuration` and `RedisConnectionPool.Configuration` APIs [!176](https://gitlab.com/Mordil/RediStack/-/merge_requests/176) - Refactored Pub/Sub `onSubscribe`/`onUnsubscribe` callbacks to provide greater context to unsubscribe events [!171](https://gitlab.com/Mordil/RediStack/-/merge_requests/171) - Swift 5.5 is now the minimum supported version [!178](https://gitlab.com/Mordil/RediStack/-/merge_requests/178) ## Minor - Added overload of `PING` command with no message arguments [!172](https://gitlab.com/Mordil/RediStack/-/merge_requests/172) ## Patch - `addPubSubHandler` now properly checks if handlers have been added/removed before executing logic to avoid deadlocks [!173](https://gitlab.com/Mordil/RediStack/-/merge_requests/173)
linux macOS iOS

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