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 #738

Merged
merged 1 commit into from
Nov 28, 2024
Merged

Update dependency winston to v3 #738

merged 1 commit into from
Nov 28, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
winston ^2.4.7 -> ^3.17.0 age adoption passing confidence

Release Notes

winstonjs/winston (winston)

v3.17.0

Compare Source

  • Try winston-transport 4.9.0 3e87128
  • Revert "Try bumping winston-transport to 4.8.0" 69625fc
  • Revert "Try bumping winston-transport to 4.8.0" 876ef7a
  • Try bumping winston-transport to 4.8.0 7ef2c1d
  • Try bumping winston-transport to 4.8.0 fe4b64e
  • Bump logform c9fd9a4
  • Revert "Update logform and winston-transport" 14fef0f
  • Merge branch 'master' of github.com:winstonjs/winston 545b683
  • Update logform and winston-transport cceb265
  • Bump mocha from 10.7.3 to 10.8.2 (#​2523) bb529b6
  • Bump async from 3.2.5 to 3.2.6 (#​2516) ae847ab

v3.16.0

Compare Source

v3.15.0

Compare Source

Note: we removed LogCallback from the TS definitions because the underlying library didn't actually support these. If this causes issues in your apps, we recommend you remove references to LogCallbacks, since such code was not being executed anyways. See #​2513 and the issue linked therein.

v3.14.2

Compare Source

v3.14.1

Compare Source

v3.14.0

Compare Source

v3.13.1

Compare Source

v3.13.0

Compare Source

  • fix(http): allow passing maximumDepth to prevent big object being stringified (#​2425) a237865

v3.12.1

Compare Source

v3.12.0

Compare Source

v3.11.0

Compare Source

v3.10.0

Compare Source

v3.9.0

Compare Source

Functionality changes
Dependency updates by @​dependabot + CI autotesting
Documentation changes
Build Infrastructure changes

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 - "before 4am" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

| datasource | package | from  | to     |
| ---------- | ------- | ----- | ------ |
| npm        | winston | 2.4.7 | 3.17.0 |


Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 27, 2024
@renovate renovate bot enabled auto-merge (squash) November 27, 2024 23:06
@lucacome lucacome disabled auto-merge November 28, 2024 02:14
@lucacome lucacome merged commit c19fcd5 into master Nov 28, 2024
29 of 32 checks passed
@lucacome lucacome deleted the renovate/winston-3.x branch November 28, 2024 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant