deprecation

Marking a feature as outdated and scheduled for removal, while it still works, so users have time to move to its replacement.

In more detail

A good deprecation names the replacement, says when the old feature will be removed, and warns people who still use it. Deprecated features usually keep working for at least one more release. Tutorials written before the deprecation often still recommend the old way, so check the current documentation.

Examples

In the browser: Deprecated web features keep working for a while but may disappear; legacy mutation events are an example that browsers have now removed.
In Terraform, deprecated settings keep working for a while and print a warning. DynamoDB-based state locking is deprecated in favour of use_lockfile.

Related terms

Taught in

References

Certification courses