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

Migrate to Swift 5 🚀 #193

Merged
merged 5 commits into from
Apr 30, 2019
Merged

Migrate to Swift 5 🚀 #193

merged 5 commits into from
Apr 30, 2019

Conversation

p4checo
Copy link
Member

@p4checo p4checo commented Apr 26, 2019

Changes

  • Migrate project to Swift 5.0 (Xcode 10.2) 🚀

  • Update .podspec’s swift_version

  • Update .travis.yml’s osx_image to 10.2

  • Remove antitypical/Result

    • Remove Carthage integration.

    • Make necessary adjustments to use stdlib’s Result ✨.

- Migrate project to Swift 5.0 (Xcode 10.2)

- Update .podspec’s `swift_version`

- Update .travis.yml’s `osx_image` to 10.2
Good bye old friend, you have served us well 🙇‍♂️

- Remove `antitypical/Result` dependency.

- Remove Carthage integration.

- Make necessary adjustments to use stdlib’s `Result` ✨.
@codecov
Copy link

codecov bot commented Apr 26, 2019

Codecov Report

Merging #193 into master will increase coverage by 0.61%.
The diff coverage is 96.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
+ Coverage   92.39%   93.01%   +0.61%     
==========================================
  Files          91       91              
  Lines        2907     3435     +528     
==========================================
+ Hits         2686     3195     +509     
- Misses        221      240      +19
Impacted Files Coverage Δ
Sources/DeepLinking/Route+Component.swift 100% <ø> (ø) ⬆️
Sources/DeepLinking/Route+Tree.swift 95.93% <ø> (+0.17%) ⬆️
...ics/Trackers/PerformanceMetrics+MultiTracker.swift 95.12% <ø> (ø) ⬆️
...LevelFormatters/Log+DefaultLogLevelFormatter.swift 100% <ø> (ø) ⬆️
Sources/Stores/NetworkStore.swift 100% <ø> (ø) ⬆️
.../Logging/Destinations/Log+FileLogDestination.swift 100% <ø> (ø) ⬆️
...istence/PersistencePerformanceMetricsTracker.swift 100% <ø> (ø) ⬆️
...ging/ItemFormatters/Log+JSONLogItemFormatter.swift 100% <ø> (ø) ⬆️
...ceMetrics/Trackers/PerformanceMetricsTracker.swift 100% <ø> (ø) ⬆️
...es/Analytics/Trackers/Analytics+MultiTracker.swift 100% <ø> (ø) ⬆️
... and 41 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5de2182...1ad2d55. Read the comment docs.

Not sure why (probably because of some timing issues), but the
coverage for `URLSessionNetworkStack` UT’s dropped a bit after the
Swift 5 migration, so I added some missing tests which should also be
deterministic.
@p4checo p4checo changed the title Migrate to swift 5 🚀 Migrate to Swift 5 🚀 Apr 26, 2019
- Add a Compatibility section, and some missing emojis 🤓
Copy link
Contributor

@portellaa portellaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 🚀 🎉

Copy link
Collaborator

@filipe-lemos filipe-lemos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨5️⃣🎉👏

@p4checo p4checo merged commit d6a1f85 into master Apr 30, 2019
@p4checo p4checo deleted the migrate-to-swift-5 branch April 30, 2019 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants