Project

General

Profile

Actions

Refactor #10635

closed

Formalize deprecation warnings

Added by Marek Hulán almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin integration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We use different ways for deprecation warnins ::ActiveSupport::Deprecation.warn, logger.warn etc. We should introduce one way that would allow us to say in which version the deprecation will be dropped. Also it should make it easier to find things to drop during release process. One note about API parameters, we also need to mark parameters or whole entry points as deprecated but they won't be removed (just not included in next API version). apipie-rails will introduce deprecated option for params shortly.


Related issues 4 (0 open4 closed)

Related to Foreman - Refactor #10988: Remove 1.11 deprecationsClosedDaniel Lobato Garcia07/02/2015Actions
Related to Foreman - Refactor #10989: Remove 1.12 deprecationsClosedTom Caspy07/02/2015Actions
Related to Foreman - Bug #11018: Taxonomy API updates throw "Invalid version format" deprecation-related errorClosedDominic Cleal07/06/2015Actions
Related to Foreman - Refactor #13845: Remove 1.13 deprecationsClosedDominic Cleal02/23/2016Actions
Actions

Also available in: Atom PDF