Skip to content

Latest commit

 

History

History
107 lines (75 loc) · 4.43 KB

CONTRIBUTING.md

File metadata and controls

107 lines (75 loc) · 4.43 KB

CONTRIBUTING

TL;DR? The winston project is actively working towards getting 3.0.0 out of RC (currently 3.0.0-rc1).

Looking for somewhere to help? Checkout the Roadmap & help triage open issues! Find an issue that looks like a duplicate? It probably is! Comment on it so we know it's maybe a duplicate 🙏.

What makes up winston@3.0.0?

As of winston@3.0.0 the project has been broken out into a few modules:

Let's dig in deeper. The example below has been annotated to demonstrate the different packages that compose the example itself:

const { createLogger, transports, format } = require('winston');
const Transport = require('winston-transport');
const logform = require('logform');
const { combine, timestamp, label, printf } = logform.format;

// winston.format is require('logform')
console.log(logform.format === format) // true

const logger = createLogger({
  format: combine(
    label({ label: 'right meow!' }),
    timestamp(),
    printf(nfo => {
      return `${nfo.timestamp} [${nfo.label}] ${nfo.level}: ${nfo.message}`;
    })
  ),
  transports: [new transports.Console()]
});

What about winston@2.x?!

If you are opening an issue regarding the 2.x release-line please know that 2.x work has ceased. The winston team will review PRs that fix issues, but as issues are opened we will close them.

You will commonly see this closing winston@2.x issues:

Development `winston@2.x` has ceased. Please consider upgrading to `winston@3.0.0-rc3`. If you feel strongly about this bug please open a PR against the `2.x` branch. Thank you for using `winston`!

Could this be implemented as a format?

Before opening issues for new features consider if this feature could be implemented as a custom format. If it is, you will see your issue closed with this message:

In `winston@3.0.0` you can <IMPLEMENT FEATURE> using [custom formats](https://github.com/winstonjs/winston#creating-custom-formats). Please consider upgrading.

Roadmap

Below is the list of items that make up the roadmap through 3.1.0. We are actively triaging the open issues, so it is likely a few more critical path items will be added to this list before 3.0.0 gets out of RC.

Bugs

Show stoppers before 3.0.0

  • winstonjs#1144: this is the purpose of winston. If we cannot log at high-volume we cannot ship out of RC. There was test coverage for this that should be failing, but isnt
  • Triage all open issues.

Documentation

Feature Requests

Below is the known set of high-priority feature requests to support the community. Don't see your request here? Get more 👍!

Must have before 3.0.0

There are no known feature requests that are considered must have for 3.0.0 to get out of RC.

Must have before 3.1.0