You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document guidance on how to evaluate breaking API changes (#20584)
## Which issue does this PR close?
## Rationale for this change
DataFusion does make API changes from time to time, and that is a normal
part of software development. However, it is important to evaluate the
impact of those API changes on downstream users and to ensure that the
benefits of the change are clear to those users.
I found a few times where API changes were made with the justification
that "some APIs in DataFusion are cleaner" or "this is more consistent
with other APIs". While those may be valid justifications, it is painful
for downstream users who have change their code to accommodate the API
change when they get nothing in return
This most recently happened in this PR
-
#19790 (review)
thus I think the contributor guide should include some guidance on how
to evaluate breaking API changes and to ensure that the benefits of the
change are clear to downstream users.
## What changes are included in this PR?
Polish up the API guidance section
## Are these changes tested?
By CI
## Are there any user-facing changes?
Better / clearer docs
Deprecated methods will remain in the codebase for a period of 6 major versions or 6 months, whichever is longer, to provide users ample time to transition away from them.
78
107
79
-
Please refer to [DataFusion releases](https://crates.io/crates/datafusion/versions) to plan ahead API migration
108
+
Please refer to [DataFusion releases](https://crates.io/crates/datafusion/versions) to plan API migration ahead of time.
0 commit comments