Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"StrictConcurrency=complete" and preparation for upcoming Swift 6 #48

Merged

Conversation

3a4oT
Copy link
Contributor

@3a4oT 3a4oT commented Mar 12, 2024

  • Bumped swift-tools to swift 5.9.
    Enabled StrictConcurrency=complete mode to prepare for the upcoming Swift 6. Implemented Sendable support for the Flagsmith client and friends. Used @unchecked Sendable and Dispatch serial queue to implement thread-safe access to class properties.
  • Enabled the ExistentialAny feature to be prepared for the upcoming Swift 6. Code adjustments
  • adjusted tests for StrictConcurrency=complete mode.

 - Enabled `StrictConcurrency=complete` mode in order to be prepared for upcoming Swift 6. Implemented `Sendable` support for Flagsmith client and friends.
 - Enabled `ExistentialAny` feature in order to be prepared for upcoming Swift 6. Code adjustments
 - adjusted tests for `StrictConcurrency=complete` mode .
@dabeeeenster dabeeeenster changed the base branch from main to 3a4oT/strict-concurency April 22, 2024 12:56
@dabeeeenster dabeeeenster merged commit b34ec0d into Flagsmith:3a4oT/strict-concurency Apr 22, 2024
2 checks passed
gazreese pushed a commit to foresightmobile/flagsmith-ios-client that referenced this pull request Apr 25, 2024
…agsmith#48)

* - Bumped `swift-tools` to swift 5.9.
 - Enabled `StrictConcurrency=complete` mode in order to be prepared for upcoming Swift 6. Implemented `Sendable` support for Flagsmith client and friends.
 - Enabled `ExistentialAny` feature in order to be prepared for upcoming Swift 6. Code adjustments
 - adjusted tests for `StrictConcurrency=complete` mode .

* adjusted macOS runner

* cleanup
matthewelwell pushed a commit that referenced this pull request May 2, 2024
* "StrictConcurrency=complete" and preparation for upcoming Swift 6 (#48)

* - Bumped `swift-tools` to swift 5.9.
 - Enabled `StrictConcurrency=complete` mode in order to be prepared for upcoming Swift 6. Implemented `Sendable` support for Flagsmith client and friends.
 - Enabled `ExistentialAny` feature in order to be prepared for upcoming Swift 6. Code adjustments
 - adjusted tests for `StrictConcurrency=complete` mode .

* adjusted macOS runner

* cleanup

* Merge branch 'feature/strinct-concurrency-gareth-updattes' into 3a4oT/strict-concurency

* Revert version back to 3.5.0

* Add qos: parameter to our DispatchQueues to avoid console errors starting the SDK

* Also add qos to the test app

* Update to the latest macOS and the latest macOS (12) currently for the runners to check everything is fine

* Let's build on 13 and 14 as 12 is too old

* Reformat the files I couldn't merge and fix up some force-unwraps in the tests

* One last lint error

---------

Co-authored-by: Petro Rovenskyy <[email protected]>
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.

2 participants