-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deprecation policy to CONTRIBUTING.md (#3191)
* Add deprecation policy to CONTRIBUTING.md As we've become better about stabilizing interfaces in terra we've started deprecating features and APIs prior removal. This is necessary step towards growing user trust that they can rely on terra moving forward, so that code they write using it will continue to work in the future. However it's not necessarily clear what the expectations are for features and APIs when they become deprecated. This commit attempts to address this by adding a deprecation policy to the CONTRIBUTING.md file which clearly documents how deprecations are handled and establishes the policy around their use. This way end users know what to expect when dealing with deprecations and how long they have to adapt to changes. * Apply suggestions from code review Co-Authored-By: elfrocampeador <[email protected]> * Apply suggestions from code review Co-Authored-By: Kevin Krsulich <[email protected]> * Add examples for deprecations This commit adds additional sections to the deprecation policy with examples on how to raise a warning, and write release notes for a deprecation and a deprecation removal. * Apply suggestions from code review Co-Authored-By: Kevin Krsulich <[email protected]> * Update deprecation warning example This updates the warning based on the review discussion for how to best advertise the removal date. The example deprecation warning now indicates which release a deprecation was added in and mentions the policy of a minimum of 3 months between deprecation in a release and removal.
- Loading branch information
Showing
1 changed file
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters