Pino

Latest version: v0.6.0

Safety actively analyzes 629599 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

6.1.1

📚 PR:
- Dropped "Inspired by bunyan".
- Correctly forwards chindings to prettyPrint when using option (810)

6.1.0

+ Add a hook API to allow mutation of log method parameters before the log method is invoked. 803 808

6.0.0

Major changes

+ Drops support for no longer maintained versions of Node.js 776 747
+ Removes `v` from log lines 623 620
+ Logs literal `null` 711 706
+ Adds formatters for core log components (a powerful new way to customize how log lines are rendered; thank you delvedor) 775 764
+ Softens language around the modes of logging available 791 785
+ Removes implicit appending of objects to message strings (see below) 795 793
+ Codifies LTS policy going forward 799

Implicit formatting removed 795
Previously, Pino emulated Bunyan's behavior when interpreting logs like:
1. `log.info('a message', { an: 'object'})`
1. `log.info('a', 'silly', 'message')`

The old behavior would result in 1 yielding `"msg":"a message {\"an\":\"object\"}"` and 2 yielding
`"msg":"a silly message"`. As of this release, 1 will yield `"msg":"a message"` and 2 will yield `"msg":"a"`.

To get the same results in Pino v6 as in previous releases actual format identifiers should be provided, e.g.:
1. `log.info('a message %j', { an: 'object' })`
1. `log.info('a %s %s', 'silly', 'message')`

5.17.0

- Fix two broken links in the documentation (769)
- api.md - fix wrong letter case (770)
- Fixed stream metadata loss during prettification (780)
- Deprecate the `changeLevelName` option and alias it to `levelKey` (772)
- Bind pino instance to prettifier (721)

5.16.0

* add `nestedKey` option https://github.com/pinojs/pino/pull/759

5.15.0

📚 PR:
- test(mixin): improve object test to ensure proper object assign order (745)
- CI : Move from sleep to watch exists (748)
- feat(bindings): allow setting of bindings (754)

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.