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

[NT-1704] Update ReactiveSwift to 6.5.0 #1351

Merged
merged 8 commits into from
Dec 16, 2020
Merged

Conversation

justinswart
Copy link
Contributor

📲 What

Updates ReactiveSwift to 6.5.0.

Note: kickstarter/Kickstarter-ReactiveExtensions#82 should merge before this.

🤔 Why

There have been a number of improvements to this framework that we use throughout our codebase (see release notes below).

🛠 How

  • Updated our Cartfile.
  • Replaced deprecated instances of filterMap with compactMap.
  • Updated CircleCI to use Xcode 12.2 and iOS 14.2.
  • Fixed Carthage workaround script.

👀 See

ReactiveSwift release notes
Carthage workaround

✅ Acceptance criteria

  • Build and tests pass

Cartfile Outdated
@@ -1,15 +1,15 @@
### Internal

github "kickstarter/Kickstarter-Prelude" "9118beee2b37fa5fc5a4f56502c1fa99030b9f9e"
github "kickstarter/Kickstarter-ReactiveExtensions" "48a3f507995a6bdae964ddf9f2347af6bf74a19f"
github "kickstarter/Kickstarter-ReactiveExtensions" "807153fe7e2cdb9ebcdc46862458e9e2c6b70d94"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This SHA will be updated once kickstarter/Kickstarter-ReactiveExtensions#82 merges.

Copy link
Contributor

Choose a reason for hiding this comment

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

Just approved it 👍

# For Xcode 12 make sure EXCLUDED_ARCHS is set to arm architectures otherwise
# the build will fail on lipo due to duplicate architectures.
# Xcode 12 Beta 3:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These were no longer needed for the workaround and caused Alamofire to fail to build.

@justinswart justinswart added blocked a PR that is blocked for external reasons and removed needs review labels Dec 10, 2020
@justinswart
Copy link
Contributor Author

@singhhari blocking this until #1352 merges - it appears that iOS 14.2 may require us to re-record all of our snapshots 🤦‍♂️

Copy link
Contributor

@singhhari singhhari left a comment

Choose a reason for hiding this comment

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

lgtm

.on { _ in
AppEnvironment.current.userDefaults.hasDismissedPersonalizationCard = true
}
.on(value: { _ in AppEnvironment.current.userDefaults.hasDismissedPersonalizationCard = true })
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting. The update to 6.5 wants the value param explicitly written now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It works without it but complains about ambiguity.

@justinswart justinswart added blocked a PR that is blocked for external reasons and removed blocked a PR that is blocked for external reasons labels Dec 11, 2020
@codecov
Copy link

codecov bot commented Dec 11, 2020

Codecov Report

Merging #1351 (0285aef) into master (adc67a1) will decrease coverage by 0.00%.
The diff coverage is 93.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1351      +/-   ##
==========================================
- Coverage   86.04%   86.04%   -0.01%     
==========================================
  Files        1100     1100              
  Lines       97641    97640       -1     
==========================================
- Hits        84013    84012       -1     
  Misses      13628    13628              
Impacted Files Coverage Δ
Library/ViewModels/RootViewModel.swift 0.00% <0.00%> (ø)
Library/ViewModels/AddNewCardViewModel.swift 98.87% <100.00%> (ø)
Library/ViewModels/CategoryPillCellViewModel.swift 95.45% <100.00%> (ø)
Library/ViewModels/DiscoveryPageViewModel.swift 96.83% <100.00%> (-0.01%) ⬇️
...ary/ViewModels/DiscoveryProjectCardViewModel.swift 92.07% <100.00%> (ø)
...rary/ViewModels/ManagePledgeSummaryViewModel.swift 100.00% <100.00%> (ø)
Library/ViewModels/ManagePledgeViewModel.swift 100.00% <100.00%> (ø)
Library/ViewModels/MessagesViewModel.swift 99.12% <100.00%> (ø)
Library/ViewModels/PledgeViewModel.swift 97.80% <100.00%> (ø)
...ibrary/ViewModels/ProjectActivitiesViewModel.swift 98.40% <100.00%> (ø)
... and 1 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 adc67a1...0285aef. Read the comment docs.

singhhari and others added 2 commits December 15, 2020 11:21
* Updating AppCenter to 4.0.0.

* Updating Optimizely to 3.6.1.

* Updating Facebook iOS SDK to 8.2.0.

* Use 6.5.2 for FBSDK and 7.3.0 for Firebase

Co-authored-by: Justin Swart <justinswart@users.noreply.github.com>
@justinswart justinswart merged commit ae3025e into master Dec 16, 2020
@justinswart justinswart deleted the NT-1704-update-ras branch December 16, 2020 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked a PR that is blocked for external reasons
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants