Skip to content

Conversation

@renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented May 20, 2019

This PR contains the following updates:

Package Type Update Change
winston dependencies major ^2.4.0 -> ^3.0.0

Release Notes

winstonjs/winston

v3.2.1

Compare Source

UNBOUND PROTOTYPE AD INFINITUM EDITION
  • #[1579], (@​indexzero) Fallback to the "root" instance always created by
    createLogger for level convenience methods (e.g. .info(), .silly()).
    (Fixes [#​1577]).
  • [#​1539], (@​indexzero) Assume message is the empty string when level-helper
    methods are invoked with no arguments (Fixed [#​1501]).
  • [#​1583], (@​kibertoad) Add typings for defaultMeta (Fixes [#​1582])
  • [#​1586], (@​kibertoad) Update dependencies.

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!
  • [#​1471], (@​kibertoad) Implement child loggers.
  • [#​1462], (@​drazisil) Add handleRejection support.
    • [#​1555], (@​DABH) Add fixes from [#​1355] to unhandled rejection handler.
  • [#​1418], (@​mfrisbey) Precompile ES6 syntax before publishing to npm.
  • [#​1562], (@​indexzero) [fix] Better handling of new Error(string)
    throughout the pipeline(s). (Fixes [#​1338], [#​1486]).
Bug Fixes
  • [#​1355], (@​DABH) Fix issues with ExceptionHandler (Fixes [#​1289]).
  • [#​1463], (@​SerayaEryn) Bubble transport warn events up to logger in
    addition to errors.
  • [#​1480], [#​1503], (@​SerayaEryn) File tailrolling fix.
  • [#​1483], (@​soldair) Assign log levels to un-bound functions.
  • [#​1513], (@​TilaTheHun0) Set maxListeners for Console transport.
  • [#​1521], (@​jamesbechet) Fix Transform from readable-stream using CRA.
  • [#​1434], (@​Kouzukii) Fixes logger.query function (regression from 3.0.0)
  • [#​1526], (@​pixtron) Log file without .gz for tailable (Fixes [#​1525]).
  • [#​1559], (@​eubnara) Fix typo related to exitOnError.
  • [#​1556], (@​adoyle-h) Support to create log directory if it doesn't exist
    for FileTransport.
New splat behavior
  • [#​1552], (@​indexzero) Consistent handling of meta with (and without)
    interpolation in winston and logform.
  • [#​1499], (@​DABH) Provide all of SPLAT to formats (Fixes [#​1485]).
  • [#​1485], (@​mpabst) Fixing off-by-one when using both meta and splat.

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
  • [#​1332], (@​DABH): logger.debug is sent to stderr (Fixed [#​1024])
  • [#​1328], (@​ChrisAlderson): Logger level doesn't update transports level (Fixes [#​1191]).
  • [#​1356], (@​indexzero) Move splat functionality into logform. (Fixes [#​1298]).
  • [#​1340], (@​indexzero): Check log.length when evaluating "legacyness" of transports (Fixes [#​1280]).
  • [#​1346], (@​indexzero): Implement _final from Node.js streams. (Related to winston-transport#​24, Fixes [#​1250]).
  • [#​1347], (@​indexzero): Wrap calls to format.transform with try / catch (Fixes [#​1261]).
  • [#​1357], (@​indexzero): Remove paddings as we have no use for it in the current API.
  • [TODO]: REMAINS OPEN, NO PR (Fixes [#​1289])
  • Documentation
    • [#​1301], (@​westonpace) Cleaned up some of the documentation on colorize
      to address concerns in [#​1095].
    • First pass at a heavy refactor of docs/transports.md.
  • Dependency management
    • Regenerate package-lock.json.
    • Upgrade to logform@^1.9.0.

Renovate configuration

📅 Schedule: At any time (no schedule defined).

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

♻️ Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".

🔕 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 Renovate Bot. View repository job log here.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 20, 2019
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label May 29, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label May 29, 2019
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch 2 times, most recently from dbd80db to b3c7833 Compare May 29, 2019 21:24
@renovate-bot renovate-bot changed the title Update dependency winston to v3 fix(deps): update dependency winston to v3 May 29, 2019
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label May 29, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label May 29, 2019
@fhinkel fhinkel added kokoro:run Add this label to force Kokoro to re-run the tests. kokoro:force-run Add this label to force Kokoro to re-run the tests. and removed kokoro:run Add this label to force Kokoro to re-run the tests. labels May 30, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 30, 2019
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch from b3c7833 to 33e7105 Compare June 10, 2019 19:02
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 10, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 10, 2019
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch from 33e7105 to 8a3a70f Compare June 10, 2019 21:33
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 12, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 12, 2019
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch from 8a3a70f to faf92db Compare June 12, 2019 15:14
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 22, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 22, 2019
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch 2 times, most recently from 315f58e to 103249f Compare June 22, 2019 17:43
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 22, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Jun 22, 2019
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch from 103249f to c2ae0ae Compare July 11, 2019 14:50
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Jul 15, 2019
@kokoro-team kokoro-team removed kokoro:run Add this label to force Kokoro to re-run the tests. labels Jul 15, 2019
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch from c2ae0ae to eafd3a4 Compare August 5, 2019 18:39
@renovate-bot renovate-bot force-pushed the renovate/winston-3.x branch from eafd3a4 to aa58d61 Compare August 8, 2019 16:09
@fhinkel fhinkel added the kokoro:run Add this label to force Kokoro to re-run the tests. label Sep 1, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Sep 1, 2019
@fhinkel
Copy link
Contributor

fhinkel commented Sep 12, 2019

Obsolete with rewrite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants