File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,13 @@ defmodule Module do
118118 The mix compiler automatically looks for calls to deprecated modules
119119 and emit warnings during compilation, computed via `mix xref warnings`.
120120
121+ We recommend using this feature with care, especially library authors.
122+ Deprecating code always pushes the burden towards library users. We
123+ also recommend for deprecated functionality to be maintained for long
124+ periods of time, even after deprecation, giving developers plenty of
125+ time to update (except for cases where keeping the deprecated API is
126+ undesired, such as in the presence of security issues).
127+
121128 ### `@doc` (and `@since`)
122129
123130 Provides documentation for the function or macro that follows the
You can’t perform that action at this time.
0 commit comments