-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(multiple): deprecate exported factories #30608
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
Conversation
There are a bunch of factory functions that made it into our public API as a result of an old ViewEngine limitation where the factories had to be separate variables and had to be exported. With Ivy this isn't necessary and the factories can be inlined. Also they were never meant to be public APIs. These changes mark them as deprecated so they can be dropped from the public API in v21.
/** | ||
* @docs-private | ||
* @deprecated No longer used, will be removed. | ||
* @breaking-change 21.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be v22, since it'd be deprecated during two major releases (v20, v21)? Or does v19 count as one (feels a little late for that)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The way I interpreted it is that it would have to be deprecated during two major versions: 19 and 20.
The changes were merged into the following branches: main, 19.2.x |
There are a bunch of factory functions that made it into our public API as a result of an old ViewEngine limitation where the factories had to be separate variables and had to be exported. With Ivy this isn't necessary and the factories can be inlined. Also they were never meant to be public APIs. These changes mark them as deprecated so they can be dropped from the public API in v21. (cherry picked from commit 810495c)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
There are a bunch of factory functions that made it into our public API as a result of an old ViewEngine limitation where the factories had to be separate variables and had to be exported. With Ivy this isn't necessary and the factories can be inlined. Also they were never meant to be public APIs.
These changes mark them as deprecated so they can be dropped from the public API in v21.