Skip to content

Enable upcoming Swift features - #38

Merged
fxm90 merged 3 commits into
mainfrom
feature/enable-upcoming-features
Oct 24, 2026
Merged

fxm90 merged 3 commits into
mainfrom
feature/enable-upcoming-features

Conversation

@fxm90

@fxm90 fxm90 commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Enable the ExistentialAny, MemberImportVisibility, NonisolatedNonsendingByDefault, InferIsolatedConformances and InternalImportsByDefault upcoming features for the library and test targets.
  • Mark existential protocol types explicitly with any (internal protocols only, no public API change).
  • Remove unused ObservableObject conformance from the @Observable GradientLoadingBarView.ViewModel.
  • Mark imports of frameworks used in the public API as public import. Combine and Observation are no longer passed on to apps using the library.
  • Switch the example application to Swift 6 language mode and enable ExistentialAny. It already had approachable concurrency and MemberImportVisibility enabled; no code changes needed.

Testing

  • All 31 tests pass locally (iPhone 17 simulator, iOS 26.5).
  • SwiftFormat lint is clean.

…atures

- Mark existential protocol types explicitly with `any`.
- Remove unused `ObservableObject` conformance from the `@Observable` view model.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fxm90 fxm90 self-assigned this Oct 23, 2026
@codecov-commenter

codecov-commenter commented Oct 23, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.28%. Comparing base (6094422) to head (cbe79a5).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #38   +/-   ##
=======================================
  Coverage   90.28%   90.28%           
=======================================
  Files          18       18           
  Lines         865      865           
=======================================
  Hits          781      781           
  Misses         84       84           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…ces` and `InternalImportsByDefault` upcoming features

- Mark imports of frameworks used in the public API as `public import`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fxm90 fxm90 changed the title Enable ExistentialAny and MemberImportVisibility upcoming features Enable upcoming Swift features Oct 24, 2026
… application

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fxm90
fxm90 marked this pull request as ready for review October 24, 2026 09:18
@fxm90
fxm90 merged commit ecf7eac into main Oct 24, 2026
3 checks passed
@fxm90
fxm90 deleted the feature/enable-upcoming-features branch October 24, 2026 09:20
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