FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[RFC] Compatibility layer · Issue #644 · debug-js/debug · GitHub

/ debug Public

[RFC] Compatibility layer #644

Description

One problem we're going to be facing, now that I'm thinking about it:

We will be introducing the ability to specify a custom output format with #582.

This new output support (the env-var support) won't be available for older versions, which means debug will now be showing different output formats for old versions of the library, which is a problem since debug is almost as old as node.js IIRC.

That means users that set DEBUG_FORMAT will see inconsistent output formats for code that is any older than the new major version release.


Should there be a compatibility layer introduced in the newest version that sniffs out older versions of debug and patches them up, being version-aware in terms of the API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    change-majorThis proposes or provides a change that requires a major releasediscussionThis issue is requesting comments and discussion

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL