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

Remove remaining deprecated hooks #3782

Merged
merged 1 commit into from
Mar 6, 2023

Conversation

thegreatercurve
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Jan 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
lexical ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 6, 2023 at 2:14PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 6, 2023 at 2:14PM (UTC)

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 26, 2023
@github-actions
Copy link

github-actions bot commented Jan 26, 2023

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 26.09 KB (0%) 522 ms (0%) 118 ms (+107.68% 🔺) 640 ms
packages/lexical-rich-text/dist/LexicalRichText.js 36.89 KB (0%) 738 ms (0%) 106 ms (-30.47% 🔽) 844 ms
packages/lexical-plain-text/dist/LexicalPlainText.js 36.86 KB (0%) 738 ms (0%) 108 ms (+52.72% 🔺) 845 ms

Copy link
Contributor

@acywatson acywatson left a comment

Choose a reason for hiding this comment

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

I assume we'll add this to 0.8?

@thegreatercurve
Copy link
Contributor Author

I assume we'll add this to 0.8?

Tbh, I was just going to do it as a minor release. The hooks have been marked as deprecated since we made the library public, so not sure it necessarily constitutes a breaking change

@acywatson
Copy link
Contributor

I assume we'll add this to 0.8?

Tbh, I was just going to do it as a minor release. The hooks have been marked as deprecated since we made the library public, so not sure it necessarily constitutes a breaking change

I understand your perspective here, but it's definitely a breaking change. I doubt it will break many consumers, practically, but removing any public API can cause builds to suddenly fail if they're pulling in the latest patch version (which is common).

@thegreatercurve
Copy link
Contributor Author

I assume we'll add this to 0.8?

Tbh, I was just going to do it as a minor release. The hooks have been marked as deprecated since we made the library public, so not sure it necessarily constitutes a breaking change

I understand your perspective here, but it's definitely a breaking change. I doubt it will break many consumers, practically, but removing any public API can cause builds to suddenly fail if they're pulling in the latest patch version (which is common).

I think it's fine. I've done it with the other modules and it's not an unexpected breaking change if the module has forever been marked as deprecated.

@acywatson
Copy link
Contributor

@thegreatercurve Can you rebase this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants