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: deprecation, warnRenamed, release constants #19315

Closed
wants to merge 1 commit into from

Commits on Oct 7, 2016

  1. lib: deprecation, renameWarning, release constants

    Introduce the concept of attribute deprecation.
    A new library contains deprecation functions (for now only
    `renamedWarning`) that annotate functions and print a deprecation
    warning.
    
    In order to manage time until a symbol is removed, we introduce release
    constants that are used in the warning messages and contain release
    names and dates.
    
    As an example, `opusTools` is renamed to `opus-tools`, with the
    reasoning that the related `vorbis-tools` uses a different naming
    scheme. Users on master will immediately get a warning, users of stable
    channels can find out about the changed attribute from the changelog
    when they update to a new release.
    Profpatsch committed Oct 7, 2016
    Configuration menu
    Copy the full SHA
    6204160 View commit details
    Browse the repository at this point in the history