Skip to content

fix: preserve platform deprecation versions - #1238

Merged
Kyle-Ye merged 1 commit into
mainfrom
fix/deprecation-versions
Oct 31, 2026
Merged

Kyle-Ye merged 1 commit into
mainfrom
fix/deprecation-versions

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Oct 31, 2026

Copy link
Copy Markdown
Member

Summary

  • Restore platform deprecation versions for legacy APIs, including View and Scene onChange, so warnings respect the declared version thresholds.
  • Preserve soft-deprecation versions and correct the replacement name for onKeyPress(charactersIn:phases:action:).

Validated declaration syntax and availability attributes on iOS, macOS, and visionOS, checked deprecation diagnostic boundaries, and passed all eight existing availability interface tests.

@github-actions github-actions Bot added area: compatibility Compatibility, availability, legacy support, and cross-version behavior. type: bug Something is not working correctly. labels Oct 31, 2026
@tuist

tuist Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

🛠️ Tuist Run Report 🛠️

Tests 🧪

Scheme Status Ran test modules Commit
OpenSwiftUI ✅ 7 38edaec0c

Builds 🔨

Scheme Status Duration Commit
OpenSwiftUI ✅ 43.1s 38edaec0c

@codecov

codecov Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.37%. Comparing base (050fd53) to head (a1e16cd).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1238      +/-   ##
==========================================
+ Coverage   31.33%   31.37%   +0.03%     
==========================================
  Files         982      982              
  Lines       80761    80761              
==========================================
+ Hits        25310    25335      +25     
+ Misses      55451    55426      -25     

☔ 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.

@Kyle-Ye
Kyle-Ye merged commit 8814564 into main Oct 31, 2026
7 checks passed
@Kyle-Ye
Kyle-Ye deleted the fix/deprecation-versions branch October 31, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: compatibility Compatibility, availability, legacy support, and cross-version behavior. type: bug Something is not working correctly.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant