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

[constants] Remove deprecated fields #23068

Merged
merged 8 commits into from
Jun 24, 2023

Conversation

brentvatne
Copy link
Member

Why

model and deviceYearClass were slated to be removed in SDK 45. We left them around for a bit longer. G'bye

How

Delete JS and native code, re-generate docs schema.

Test Plan

CI

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jun 23, 2023
@@ -4,6 +4,8 @@

### 🛠 Breaking changes

- Remove the long-deprecated `Constants.deviceYearClass` and `Constants.platform.ios.model`. These properties now live on `expo-device`.
Copy link
Member

Choose a reason for hiding this comment

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

Just move this to others, as we discussed on Slack

@expo-bot
Copy link
Collaborator

Hi there! 👋 I'm a bot whose goal is to ensure your contributions meet our guidelines.

I've found some issues in your pull request that should be addressed (click on them for more details) 👇

⚠️ Suggestion: Missing changelog entries


Your changes should be noted in the changelog. Read Updating Changelogs guide and consider adding an appropriate entry to the following changelogs:


Generated by ExpoBot 🤖 against fd6c05c

@brentvatne brentvatne merged commit e6258d3 into main Jun 24, 2023
@brentvatne brentvatne deleted the @brent/remove-deprecated-constants-fields branch June 24, 2023 03:09
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: suggestions ExpoBot has some suggestions published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants