Skip to content

[RFC] Create a Deprecation service #11996

Closed

Description

@vicb

To allow logging the deprecated APIs.

ideas:

  • by default log messages only once (make this configurable),
  • allow message to have parameters (to print them only once) - use template literals ?
  • should take a message, a reason and a from version,

/relates to #11995

Activity

  1. added
    featureLabel used to distinguish feature request from other issues
    area: coreIssues related to the framework runtime
    on Sep 30, 2016
  2. robwormald commented on Sep 30, 2016

    @robwormald
    Contributor

    i like the core-decorators way of handling this https://www.npmjs.com/package/core-decorators#deprecate-alias-deprecated

  3. vicb commented on Sep 30, 2016

    @vicb
    ContributorAuthor

    yep definitely, something we discussed with @tbosch this morning.

    I think it would be overkill to do it before TS deliver their transformer branch - not sure about the status ?

  4. added this to the Backlog milestone on Jan 23, 2018
  5. angular-robot commented on Jun 5, 2021

    @angular-robot
    Contributor

    Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

    Find more details about Angular's feature request process in our documentation.

  6. angular-robot commented on Jun 25, 2021

    @angular-robot
    Contributor

    Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

    We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

    You can find more details about the feature request process in our documentation.

  7. JoostK commented on Jul 14, 2021

    @JoostK
    Member

    Closing as the need for this hasn't come up much over the past few years. If this ends up being useful for future deprecations we can always consider having some logic in place for this, but even then it will likely not be exposed as public API.

  8. angular-automatic-lock-bot commented on Aug 14, 2021

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  9. locked and limited conversation to collaborators on Aug 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions