Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: add --deprecate-soon and util.deprecateSoon() #9483

Closed
wants to merge 2 commits into from

Commits on Nov 6, 2016

  1. lib: add --deprecate-soon and util.deprecateSoon()

    This adds a non-intrusive mechanism for indicating that an API is
    expected to be deprecated "soon" where "soon" means at least the
    next semver-major Node.js release. The `DeprecateSoonWarning` is
    only emitted if the `--deprecate-soon` command line option is
    used which means the option will have zero impact for most
    situations. For those developers who wish to be proactively
    alerted to pending deprecations, use of the `--deprecate-soon`
    option can be used in testing/CI environments to determine
    which APIs may end up deprecated in the future.
    
    It should be noted that a "deprecate soon" warning is just a
    heads up, and that a decision can be made later NOT to
    deprecate the API if the change is deemed to be too
    intrusive.
    jasnell committed Nov 6, 2016
    Configuration menu
    Copy the full SHA
    7eaf98c View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2016

  1. Configuration menu
    Copy the full SHA
    64f0f67 View commit details
    Browse the repository at this point in the history