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

Update dependency winston to v3 #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 12, 2018

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
winston ^2.3.1 -> ^3.0.0 age adoption passing confidence

Release Notes

winstonjs/winston

v3.8.2

Compare Source

Patch-level changes
Dependency updates by @​dependabot + CI autotesting

v3.8.1

Compare Source

Patch-level changes
Dependency updates by @​dependabot + CI autotesting

v3.8.0

Compare Source

Added functionality
Dependency updates by @​dependabot + CI autotesting
Updates facilitating repo maintenance & enhancing documentation

Thanks especially to new contributors @​zizifn, @​arpad1337, @​domiins, & @​jeanpierrecarvalho!

v3.7.2

Compare Source

This change reverts what should have been the feature-level update in 3.7.0 due to issue #​2103 showing this to be breaking, unintentionally.

v3.7.1

Compare Source

This change includes some minor updates to package-lock.json resolving npm audit failures: one in ansi-regex and another in minimist.

v3.6.0

Compare Source

  • [#​2057] Fix potential memory leak by not waiting for process.nextTick before clearing pending callbacks (thanks @​smashah!)
  • [#​2071] Update to logform 2.4.0, which includes changes such as new options for JsonOptions and some typo fixes regarding levels
  • Various other dependencies are updated, tests are reorganized and cleaned up, etc. (thanks @​wbt, @​Maverick1872, @​fearphage!)

v3.5.1

Compare Source

This release reverts the changes made in PR #​1896 which added stricter typing to the available log levels,
and inadvertently broke use of custom levels with TypeScript (Issue #​2047). Apologies for that!

v3.5.0

Compare Source

This release includes the following, in sequence by first merge in group:

Feature updates:

Patch-level updates:

Updates to the repo & project which don’t actually affect the running code:

Thanks also to maintainers @​DABH, @​fearphage, @​Maverick1872, and @​wbt for issue/PR shepherding
and help across multiple parts of the release!
If somebody got missed in the list of thanks, please forgive the accidental oversight
and/or feel free to open a PR on this changelog.

v3.4.0

Compare Source

Yesterday's release was done with a higher sense of urgency than usual
due to vandalism in the colors package.
This release:

  • ties up a loose end by including [#​1973] to go with [#​1824]
  • adds a missing http property in NpmConfigSetColors [#​2004] (thanks @​SimDaSong)
  • fixes a minor issue in the build/release process [#​2014]
  • pins the version of the testing framework to avoid an issue with a test incorrectly failing [#​2017]

The biggest change in this release, motivating the feature-level update, is
[#​2006] Make winston more ESM friendly, thanks to @​miguelcobain.

Thanks also to @​DABH, @​wbt, and @​fearphage for contributions and reviews!

v3.3.4

Compare Source

Compared to v3.3.3, this version fixes some issues and includes some updates to project infrastructure,
such as replacing Travis with Github CI and dependabot configuration.
There have also been several relatively minor improvements to documentation, and incorporation of some updated dependencies.
Dependency updates include a critical bug fix [#​2008] in response to self-vandalism by the author of a dependency.

  • [#​1964] Added documentation for how to use a new externally maintained Seq transport.
  • [#​1712] Add default metadata when calling log with string level and message.
  • [#​1824] Unbind event listeners on close
  • [#​1961] Handle undefined rejections
  • [#​1878] Correct boolean evaluation of empty-string value for eol option
  • [#​1977] Improved consistency of object parameters for better test reliability

v3.3.3

Compare Source

  • [#​1820] Revert [#​1807] to resolve breaking changes for Typescript users.

v3.3.2

Compare Source

  • [#​1814] Use a fork of diagnostics published to NPM to avoid git dependency.

v3.3.1

Compare Source

v3.3.0

Compare Source

v3.2.1

Compare Source

UNBOUND PROTOTYPE AD INFINITUM EDITION

v3.2.0

Compare Source

SORRY IT TOO SO LONG EDITION

NOTE: this was our first release using Github Projects. See the
3.2.0 Release Project.

New Features!
Bug Fixes
New splat behavior

Previously splat would have added a meta property for any additional
info[SPLAT] beyond the expected number of tokens.

As of [email protected], format.splat assumes additional splat paramters
(aka "metas") are objects and merges enumerable properties into the info.
e.g. BE ADVISED previous "metas" that were not objects will very likely
lead to odd behavior. e.g.

const { createLogger, format, transports } = require('winston');
const { splat } = format;
const { MESSAGE, LEVEL, SPLAT } = require('triple-beam');

const logger = createLogger({
  format: format.combine(
    format.splat(),
    format.json()
  ),
  transports: [new transports.Console()]
});

// Expects two tokens, but four splat parameters provided.
logger.info(
  'Let us %s for %j',   // message
  'objects',           // used for %s
  { label: 'sure' },   // used for %j
  'lol', ['ok', 'why'] // Multiple additional meta values
);

// winston < 3.2.0 && [email protected] behavior:
// Added "meta" property.
//
// { level: 'info',
//   message: 'Let us objects for {"label":"sure"}',
//   meta: ['lol', ['ok', 'why']],
//   [Symbol(level)]: 'info',
//   [Symbol(message)]: 'Let us %s for %j',
//   [Symbol(splat)]: [ 'objects', { label: 'sure' } ] }

// winston >= 3.2.0 && [email protected] behavior: Enumerable properties
// assigned into `info`. Since **strings and Arrays only have NUMERIC
// enumerable properties we get this behavior!**
//
// { '0': 'ok',
//   '1': 'why',
//   '2': 'l',
//   level: 'info',
//   message: 'Let us objects for {"label":"sure"}',
//   [Symbol(level)]: 'info',
//   [Symbol(message)]: 'Let us %s for %j',
//   [Symbol(splat)]: [ 'objects', { label: 'sure' } ] }

v3.1.0

Compare Source

RELEASES ON A PLANE EDITION
  • Minor TypeScript fixes [#​1362], [#​1395], [#​1440]
  • Fix minor typos [#​1359], [#​1363], [#​1372], [#​1378], [#​1390]
  • [#​1373], (@​revik): Add consoleWarnLevels property to console transport options for console.warn browser support.
  • [#​1394], (@​bzoz): Fix tests on Windows.
  • [#​1447], (@​dboshardy): Support transport name option to override default names for built-in transports.
  • [#​1420], (@​ledbit): Fix file rotation with tailing: true (Fixes [#​1450], [#​1194]).
  • [#​1352], (@​lutovich): Add isLevelEnabled(string) & isXXXEnabled() to Logger class.
  • Dependency management
    • Regenerate package-lock.json.
    • Upgrade to colors@^1.3.2 (Fixes [#​1439]).
    • Upgrade to logform@^1.9.1.
    • Upgrade to diagnostics@^1.1.1.
    • Upgrade to @types/node@^10.9.3.
    • Upgrade to assume@^2.1.0.
    • Upgrade to hock@^1.3.3.
    • Upgrade to mocha@^5.2.0.
    • Upgrade to nyc@^13.0.1.
    • Upgrade to split2@&#8203;^3.0.0.

v3.0.1

Compare Source

v3.0.0

Compare Source

GET IN THE CHOPPA EDITION

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Author

renovate bot commented Mar 25, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant