-
-
Notifications
You must be signed in to change notification settings - Fork 162
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
RFC: Breaking change policy #675
Comments
@CodyJasonBennett I'm proposing this mainly as a way to improve the experience for the R3F community and its dependence on |
If I said anything on those lines, it was due to the nature of how three.js versions itself which made hard-coding core features unfeasible in JSX prior. A more recent example from pmndrs/react-three-fiber#3038 (comment):
We worked around this in v8 (hardcoded) by adding Now, we have more regular concerns about features we adopt in JS and consequently TS. |
Okay, good to know. I'll shelve this idea for now, and if type-only breaking changes end up becoming more of an issue, reintroduce the idea. |
Motivation
Perhaps one of the bigger pain-points users have experienced with
@types/three
are breaking changes, especially when@types/three
is a peer dependency of packages like@react-three/fiber
and the packages in the surrounding ecosystem.Proposal
Limit breaking changes to releases that end with a
0
(e.g.,0.160.0
,0.170.0
, etc.).Unresolved questions
three.js itself has a "rolling 10-release breaking change" policy, where they try to maintain backwards compatibility for 10 releases after deprecating a feature.
What should we do if they deprecate a class in r159 and is slated for removal in r169?
The text was updated successfully, but these errors were encountered: