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

Bump macOS minimum to 10.15 #938

Merged
merged 2 commits into from
Jan 25, 2022
Merged

Bump macOS minimum to 10.15 #938

merged 2 commits into from
Jan 25, 2022

Conversation

Saadnajmi
Copy link
Collaborator

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

Bump the minimum version of macOS supported to 10.15, which align's with Office's N-2 approach. I did this by just replying every instance of "10.14" I found in the repo. I also removed some redundant @availability checks.

Changelog

[macOS] [Deprecated] - Removed support for macOS 10.14

Test Plan

CI should be good enough. For places where I removed @Availability checks, I'll do some additional testing

@Saadnajmi Saadnajmi marked this pull request as draft December 22, 2021 21:55
Copy link

@HeyImChris HeyImChris left a comment

Choose a reason for hiding this comment

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

What about CI? The 0.64 merge was causing problems before but they should be fixed now

@Saadnajmi
Copy link
Collaborator Author

What about CI? The 0.64 merge was causing problems before but they should be fixed now

Do you mean updating CI to use 10.15, or getting CI to pass?

The former I'll need to double check, the latter I would count as out of scope.

@Saadnajmi Saadnajmi changed the title replace all references to 10.14 Bump macOS minimum to 10.15 Dec 22, 2021
@HeyImChris
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@HeyImChris
Copy link

What about CI? The 0.64 merge was causing problems before but they should be fixed now

Do you mean updating CI to use 10.15, or getting CI to pass?

The former I'll need to double check, the latter I would count as out of scope.

The former. All the CI except the integration checks and FB's circle CI should pass. As for the integration checks, the fix is in 0.66 which is hopefully merging in soon.

@Saadnajmi Saadnajmi marked this pull request as ready for review January 7, 2022 19:41
@Saadnajmi
Copy link
Collaborator Author

@HeyImChris Looks like the fb66 merge did a lot of the bumping, but there's still some extra @availability checks and the like in this PR so it's still valid

@Saadnajmi Saadnajmi merged commit 643b056 into microsoft:main Jan 25, 2022
@Saadnajmi Saadnajmi deleted the bump-osx branch January 25, 2022 18:54
Saadnajmi added a commit to Saadnajmi/react-native-macos that referenced this pull request Feb 18, 2022
Saadnajmi added a commit that referenced this pull request Feb 19, 2022
* RCTSwitch: Use NSSwitch instead of NSButton (#924)

* add pull yml

* match handleOpenURLNotification event payload with iOS (#755) (#2)

Co-authored-by: Ryan Linton <[email protected]>

* [pull] master from microsoft:master (#11)

* Deprecated api (#853)

* Remove deprecated/unused context param
* Update a few Mac deprecated APIs

* Packing RN dependencies, hermes and ignoring javadoc failure,  (#852)

* Ignore javadoc failure

* Bringing few more changes from 0.63-stable

* Fixing a patch in engine selection

* Fixing a patch in nuget spec

* Fixing the output directory of nuget pack

* Packaging dependencies in the nuget

* Fix onMouseEnter/onMouseLeave callbacks not firing on Pressable (#855)

* add pull yml

* match handleOpenURLNotification event payload with iOS (#755) (#2)

Co-authored-by: Ryan Linton <[email protected]>

* fix mouse evetns on pressable

* delete extra yml from this branch

* Add macOS tags

* reorder props to have onMouseEnter/onMouseLeave always be before onPress

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Ryan Linton <[email protected]>

* Grammar fixes. (#856)

Updates simple grammar issues.

Co-authored-by: Nick Trescases <[email protected]>
Co-authored-by: Anandraj <[email protected]>
Co-authored-by: Saad Najmi <[email protected]>
Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Ryan Linton <[email protected]>
Co-authored-by: Muhammad Hamza Zaman <[email protected]>

* Use NSSwitch

* remove change from my fork

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Ryan Linton <[email protected]>
Co-authored-by: Nick Trescases <[email protected]>
Co-authored-by: Anandraj <[email protected]>
Co-authored-by: Muhammad Hamza Zaman <[email protected]>

* DynamicColorMacOS fixes (#1028)

* Use initWithDynamicProvider + Add HC Support

* Update log error

* replace all references to 10.14 (#938)

* Replace currentAppearance with currentDrawingAppearance on macOS 11+ (#1029)

* Manually cherry-pick #1012

Co-authored-by: pull[bot] <39814207+pull[bot]@users.noreply.github.com>
Co-authored-by: Ryan Linton <[email protected]>
Co-authored-by: Nick Trescases <[email protected]>
Co-authored-by: Anandraj <[email protected]>
Co-authored-by: Muhammad Hamza Zaman <[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.

3 participants