Swiftpack.co - Swift Packages by launchdarkly

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

Packages published by launchdarkly

launchdarkly/swift-eventsource 3.1.1
Server-sent events (SSE) client implementation in Swift for iOS, macOS, tvOS, and watchOS
⭐️ 159
🕓 45 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.1.1] - 2023-06-12
45 weeks ago
### Fixed: - Per the SSE spec, an HTTP 204 will now halt retry attempts by default.
[3.1.0] - 2023-06-05
46 weeks ago
### Changed: - Enforce TLS v1.2 as a required minimum. ### Fixed: - Fix re-entrancy issue with `start` command. (Thanks, [g-mark](https://github.com/launchdarkly/swift-eventsource/pull/56)!)
[3.0.0] - 2022-10-06
1 year ago
### Changed - Dropped support for older versions in accordance with the new [Xcode 14 release](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes).
[2.0.0] - 2022-08-29
1 year ago
### Changed - The CI build now incorporates the cross-platform contract tests defined in https://github.com/launchdarkly/sse-contract-tests to ensure consistent test coverage across different LaunchDarkly SSE implementations. - Removed explicit typed package products. Thanks to @simba909 for the PR ([#48](https://github.com/launchdarkly/swift-eventsource/pull/48)).
[1.3.1] - 2022-03-11
2 years ago
### Fixed - Fixed a race condition that could cause a crash when `stop()` is called when there is a pending reconnection attempt.
[1.3.0] - 2022-01-18
2 years ago
### Added - Added the configuration option `urlSessionConfiguration` to `EventSource.Config` which allows setting the `URLSessionConfiguration` used by the `EventSource` to create `URLSession` instances. ### Fixed - Fixed a retain cycle issue when the stream connection is ended. - Removed deprecated `VALID_ARCHS` build setting from Xcode project. - Unterminated events will no longer be dispatched when the stream connection is dropped. - Stream events that set the `lastEventId` will now record the updated `lastEventId` even if the event does not generate a `MessageEvent`. - Empty stream "data" fields will now always record a newline to the resultant `MessageEvent` data. - Empty stream "event" fields will result in now result in the default "message" event type rather than an event type of "".
[1.2.1] - 2021-02-10
3 years ago
### Added - [SwiftLint](https://github.com/realm/SwiftLint) configuration. Linting will be automatically run as part of the build if [Mint](https://github.com/yonaskolb/Mint) is installed. - Support for building docs with [jazzy](https://github.com/realm/jazzy). These docs are available through [GitHub Pages](https://launchdarkly.github.io/swift-eventsource/). ### Fixed - Reconnection backoff was always reset if the previous successful connection was at least `backoffResetThreshold` prior to the scheduling of a reconnection attempt. The connection backoff has been corrected to not reset after the first reconnection attempt until the next successful connection. Thanks to @tomasf for the PR ([#14](https://github.com/launchdarkly/swift-eventsource/pull/14)). - On an `UnsuccessfulResponseError` the configured `connectionErrorHandler` would be called twice, the second time with a `URLError.cancelled` error. Only if the second call returned `ConnectionErrorAction.shutdown` would the `EventSource` client actually shutdown. This has been corrected to only call the `connectionErrorHandler` once, and will shutdown the client if `ConnectionErrorAction.shutdown` is returned. Thanks to @tomasf for the PR ([#13](https://github.com/launchdarkly/swift-eventsource/pull/13)). - A race condition that could cause the `EventSource` client to restart after shutting down has been fixed.
[1.2.0] - 2020-10-21
3 years ago
### Added - Added `headerTransform` closure to `LDConfig` to allow dynamic http header configuration.
[1.1.0] - 2020-07-20
3 years ago
### Added - Support `arm64e` on `appletvos`, `iphoneos`, and `macosx` SDKs by extending valid architectures. - Support for building LDSwiftEventSource on Linux. Currently this library will not generate log messages on Linux, and may not behave correctly on Linux due to Foundation being [incomplete](https://github.com/apple/swift-corelibs-foundation/blob/master/Docs/Status.md).
[1.0.0] - 2020-07-16
3 years ago
This is the first public release of the LDSwiftEventSource library. The following notes are what changed since the previous pre-release version. ### Changed - Renamed `EventHandler.onMessage` parameter `event` to `eventType`. - The `EventSource` class no longer extends `NSObject` or `URLSessionDataDelegate` to not expose `urlSession` functions.
iOS macOS watchOS tvOS linux macOS iOS
launchdarkly/ios-client-sdk version2.5.1.1
LaunchDarkly Client-side SDK for iOS (Swift and Obj-C)
⭐️ 65
🕓 Yesterday
🔖 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.
v9.6.2
3 weeks ago
## [9.6.2](https://github.com/launchdarkly/ios-client-sdk/compare/9.6.1...9.6.2) (2024-04-03) ### Bug Fixes * Mark NSPrivacyCollectedDataTypeTracking as false in privacy manifest ([#366](https://github.com/launchdarkly/ios-client-sdk/issues/366)) ([fac9030](https://github.com/launchdarkly/ios-client-sdk/commit/fac9030e9f9a327d1e914102a2c982f8008fe5ae))
v9.6.1
3 weeks ago
## [9.6.1](https://github.com/launchdarkly/ios-client-sdk/compare/9.6.0...9.6.1) (2024-04-02) ### Bug Fixes * Add missing privacy manifest resource for SPM ([#360](https://github.com/launchdarkly/ios-client-sdk/issues/360)) ([48f06cf](https://github.com/launchdarkly/ios-client-sdk/commit/48f06cf6025283e00b8375e874c464f9f0cf9d91)) * Add missing privacy tracking fields in manifest ([#362](https://github.com/launchdarkly/ios-client-sdk/issues/362)) ([7439997](https://github.com/launchdarkly/ios-client-sdk/commit/743999791137c4dbab9d2668035fc034bc6a12ce)) * Add objective-c binding for `LDConfig.logger` ([#365](https://github.com/launchdarkly/ios-client-sdk/issues/365)) ([eae8d78](https://github.com/launchdarkly/ios-client-sdk/commit/eae8d78cfaad27b5910d1f00e3f9acfc173d1c7d)) * Deprecate calling `start` without a timeout parameter ([#364](https://github.com/launchdarkly/ios-client-sdk/issues/364)) ([65d88a4](https://github.com/launchdarkly/ios-client-sdk/commit/65d88a451550831feeb882f8a608e9fad2734c8d)) * Use resource_bundle for privacy manifest in podspec ([#361](https://github.com/launchdarkly/ios-client-sdk/issues/361)) ([971a4c4](https://github.com/launchdarkly/ios-client-sdk/commit/971a4c4abb6144c80af5af3b71f4336dde917f20))
v9.6.0
4 weeks ago
## [9.6.0](https://github.com/launchdarkly/ios-client-sdk/compare/9.5.1...9.6.0) (2024-03-20) ### Features * Honor polling interval between restarts ([#355](https://github.com/launchdarkly/ios-client-sdk/issues/355)) ([bd58864](https://github.com/launchdarkly/ios-client-sdk/commit/bd58864e940f8be24b11da14df5c483dac858a0f))
v8.4.2
4 weeks ago
## [8.4.2](https://github.com/launchdarkly/ios-client-sdk/compare/8.4.1...8.4.2) (2024-03-15) ### Bug Fixes * Prevent null value changes to observe listeners ([#354](https://github.com/launchdarkly/ios-client-sdk/issues/354)) ([efcabc2](https://github.com/launchdarkly/ios-client-sdk/commit/efcabc29019d2b1996f823b569dae71f8f211ca3))
v9.5.1
5 weeks ago
## [9.5.1](https://github.com/launchdarkly/ios-client-sdk/compare/9.5.0...9.5.1) (2024-03-15) ### Bug Fixes * Prevent null value changes to observe listeners ([#352](https://github.com/launchdarkly/ios-client-sdk/issues/352)) ([c1f1926](https://github.com/launchdarkly/ios-client-sdk/commit/c1f1926cf00e45b36f7861e12a5121f89fb6be68))
v9.5.0
5 weeks ago
## [9.5.0](https://github.com/launchdarkly/ios-client-sdk/compare/9.4.1...9.5.0) (2024-03-14) ### Features * Inline contexts for all evaluation events ([#332](https://github.com/launchdarkly/ios-client-sdk/issues/332)) ([a0f795b](https://github.com/launchdarkly/ios-client-sdk/commit/a0f795b8b089233917af5fcfd1d7a4d83ffb6767)) * Redact anonymous attributes within feature events ([#333](https://github.com/launchdarkly/ios-client-sdk/issues/333)) ([0fd5dbd](https://github.com/launchdarkly/ios-client-sdk/commit/0fd5dbd382f80547508d0f8828f2b522ca033c73))
v9.4.1
7 weeks ago
## [9.4.1](https://github.com/launchdarkly/ios-client-sdk/compare/9.4.0...9.4.1) (2024-03-01) ### Bug Fixes * Ensure secondary environments use correct mobile key ([#347](https://github.com/launchdarkly/ios-client-sdk/issues/347)) ([e92054c](https://github.com/launchdarkly/ios-client-sdk/commit/e92054c6c3c0b6a5bb04706a8466b92dd433b4e4))
v9.4.0
8 weeks ago
## [9.4.0](https://github.com/launchdarkly/ios-client-sdk/compare/9.3.0...9.4.0) (2024-02-21) ### Features * Add new identify method with time out support ([#344](https://github.com/launchdarkly/ios-client-sdk/issues/344)) ([34ba8ab](https://github.com/launchdarkly/ios-client-sdk/commit/34ba8ab380dfc56aa21d2e13fadb634da0a01bdb)) * Implement shedding identity queue ([#343](https://github.com/launchdarkly/ios-client-sdk/issues/343)) ([393a28c](https://github.com/launchdarkly/ios-client-sdk/commit/393a28c73cdcece4edfba373aa9ec9e5c4ae4080)) * Introduce variation method with generic return types ([#342](https://github.com/launchdarkly/ios-client-sdk/issues/342)) ([7ff2ffb](https://github.com/launchdarkly/ios-client-sdk/commit/7ff2ffbc9e651114356c8972546ef177b73d0aeb)) ### Bug Fixes * Add privacy manifest ([#334](https://github.com/launchdarkly/ios-client-sdk/issues/334)) ([154fde7](https://github.com/launchdarkly/ios-client-sdk/commit/154fde7e1cae7ed5474f5adf89525f7f1448befc)) * Ensure anonymous context is valid ([#338](https://github.com/launchdarkly/ios-client-sdk/issues/338)) ([65406cc](https://github.com/launchdarkly/ios-client-sdk/commit/65406cc68b52cc50726d671e19fb804bb52f2a20)) * Replace simple logger with os_log statements ([#340](https://github.com/launchdarkly/ios-client-sdk/issues/340)) ([7ba4397](https://github.com/launchdarkly/ios-client-sdk/commit/7ba43973e379ce5b057baad5860ed313a016c34b))
v8.4.1
9 weeks ago
## [8.4.1](https://github.com/launchdarkly/ios-client-sdk/compare/8.4.0...8.4.1) (2024-02-09) ### Bug Fixes * Ensure anonymous context is valid ([#336](https://github.com/launchdarkly/ios-client-sdk/issues/336)) ([0c3be51](https://github.com/launchdarkly/ios-client-sdk/commit/0c3be5179335240353dab214e9bdeb78b0470b60))
v9.3.0
16 weeks ago
## [9.3.0](https://github.com/launchdarkly/ios-client-sdk/compare/9.2.1...9.3.0) (2024-01-02) ### Features * Store and use e-tag header between SDK initializations ([#268](https://github.com/launchdarkly/ios-client-sdk/issues/268)) ([701aaa8](https://github.com/launchdarkly/ios-client-sdk/commit/701aaa8c7e1a910e5bf7cbd0a5b03b94683cc665)) ### Bug Fixes * LDContext equality is no longer order dependent ([#265](https://github.com/launchdarkly/ios-client-sdk/issues/265)) ([683e0c3](https://github.com/launchdarkly/ios-client-sdk/commit/683e0c3b189b10c1a14eddd13d19c79783aa6e64)) * Use stable encoding format to increase cache hits ([#267](https://github.com/launchdarkly/ios-client-sdk/issues/267)) ([40a5d01](https://github.com/launchdarkly/ios-client-sdk/commit/40a5d0114ccbc4f699e58dddbe8b3dc8f842f72b))
iOS macOS watchOS tvOS

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