Skip to content

Conversation

@tanderson-ld
Copy link
Contributor

[9.2.0] - 2023-10-24

Changed:

  • Updated swift-tools-version from 5.2 to 5.3.

Removed:

  • Removed support for iOS 11 and tvOS 11 to support XCode15. This is being released as a minor change because those platforms can no longer use any portion of this SDKs APIs.

bwoskow-ld and others added 30 commits April 24, 2020 14:08
Parameterize CI against multiple Xcode versions.
Pin to exact dependency versions and remove resolved package files.
Add spaces in comments for new comment spacing lint rule.
tanderson-ld and others added 24 commits May 5, 2023 12:31
**Requirements**

- [ ] I have added test coverage for new or changed functionality
(Skipping this, that seems like a silly test to add)
- [x] I have followed the repository's [pull request submission
guidelines](../blob/v6/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions

**Related issues**


https://app.shortcut.com/launchdarkly/story/198156/fix-ios-builder-tryset-for-kind
TLS 1.1 has been deprecated for a long time and has been dropped by most
major providers. The LaunchDarkly APIs haven't accepted anything lower
than TLS 1.2 for a long time.

We are therefore forcing TLS 1.2 as the minimum going forward in this
library.
This doesn't actually change any behavior because we override the
default retry behavior, and that is all that changed since 3.1.0.
However, we do not want the SDK to drift too far from the eventsource
implementation, so I try to update it each time.
This pull request was auto generated by the Launchdarkly Github
Standards automation platform.

* Add default CODEOWNERS file
LDUser functionality has been replaced with the more flexible LDContext
concept which all LaunchDarkly SDKs will support.

We retained LDUser through the first major release to aide with the
adoption transition, but as we near the next release, we need to alert
customers that support will be ending.
Merging public into private.

---------

Co-authored-by: ld-repository-standards[bot] <113625520+ld-repository-standards[bot]@users.noreply.github.com>
Co-authored-by: Kane Parkinson <93555788+kparkinson-ld@users.noreply.github.com>
AutoEnvAttributes to main.

---------

Co-authored-by: Matthew M. Keeler <mkeeler@launchdarkly.com>
**Requirements**

- [x] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/v6/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions
See comments on Shortcut ticket for validation of contexts on platforms.

**Related issues**


https://app.shortcut.com/launchdarkly/story/213033/ios-telemetry-ios-not-populating-ld-application-from-built-in-package-name-version

**Describe the solution you've provided**

Implemented missing code.

**Describe alternatives you've considered**

Code is duplicated and redundant, but each implementation may vary over
time, so rather not over common-ize right now.
#252)

Need to merge test harness changes before this will pass.

**Requirements**

- [x] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/v6/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions

**Related issues**


https://app.shortcut.com/launchdarkly/story/213112/inconsistent-applicationname-and-applicationversionname-validation

**Describe the solution you've provided**

- Added sanitization logic to application info fields where spaces are
now converted to hyphens. This is to help customers create values that
will be accepted by our cloud infrasturcture.
- Updated application info to support nullables.
- Updated fallback logic to fallback to next source of application info
if the applicationID is invalid. This invalid ID would be rejected by
the cloud, so making that consistent.
- Fixing bug in hashing to calulcate ld_application key where an omitted
version would actually result in hash("myID:nil") when it should have
been hash("myID:")

**Describe alternatives you've considered**

See:
https://launchdarkly.atlassian.net/wiki/spaces/~63fb3c420d9b61193c23bde7/pages/2544828779/213112+-+Consistent+application+info+validation
**Requirements**

- [x] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/v6/CONTRIBUTING.md#submitting-pull-requests)
- [x] I have validated my changes against all supported platform
versions

**Related issues**


https://app.shortcut.com/launchdarkly/story/216351/ios-ld-application-key-is-not-base64-url-encoded

**Describe the solution you've provided**

Generalized util function to return Data since we already had a
base64UrlEncoded extension method to leverage.
We have discussed and agreed to modify the logic to not include the
version as the context key generation. We will release this as a bug fix
to make sure customers don't stuck on a version with old logic
available.
**Requirements**

- [ ] I have added test coverage for new or changed functionality
- [x] I have followed the repository's [pull request submission
guidelines](../blob/v6/CONTRIBUTING.md#submitting-pull-requests)
- [ ] I have validated my changes against all supported platform
versions.
I tested building and running tests with XCode12.5. Did not test all
combinations of XCode and iOS, letting CI do its thing.

**Related issues**

#311


https://app.shortcut.com/launchdarkly/story/218049/swift-sdk-remove-support-for-ios-11-to-support-xcode-15

**Describe the solution you've provided**

Update min iOS and tvOS to v12.
Update swift tools from 5.2 to 5.3
@tanderson-ld tanderson-ld requested review from a team and keelerm84 October 24, 2023 19:50
@tanderson-ld tanderson-ld merged commit 5f8aae1 into v9 Oct 24, 2023
@tanderson-ld tanderson-ld deleted the release-9.2.0 branch October 24, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants