Compare Versions - pino
What's Changed
- build(deps): bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2385
- build(deps-dev): bump eslint-plugin-n from 17.23.1 to 17.23.2 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2386
- docs: clarify transport level filtering behavior by @mcollina in https://github.com/pinojs/pino/pull/2390
- fix(transport): sanitize invalid NODE_OPTIONS preloads for workers by @mcollina in https://github.com/pinojs/pino/pull/2391
Full Changelog: https://github.com/pinojs/pino/compare/v10.3.0...v10.3.1
What's Changed
- feat: improve the return type of
multistream().clone()by @mrazauskas in https://github.com/pinojs/pino/pull/2377 - feat: set worker thread name for transport identification by @mcollina in https://github.com/pinojs/pino/pull/2380
Full Changelog: https://github.com/pinojs/pino/compare/v10.2.1...v10.3.0
What's Changed
- fix: prevent ERR_WORKER_INVALID_EXEC_ARGV with monitoring tools by @mcollina in https://github.com/pinojs/pino/pull/2379
Full Changelog: https://github.com/pinojs/pino/compare/v10.2.0...v10.2.1
What's Changed
- chore: lint TypeScript files by @mrazauskas in https://github.com/pinojs/pino/pull/2363
- fix: prevent memory leak when using transport with --import preload by @mcollina in https://github.com/pinojs/pino/pull/2374
New Contributors
- @mrazauskas made their first contribution in https://github.com/pinojs/pino/pull/2363
Full Changelog: https://github.com/pinojs/pino/compare/v10.1.1...v10.2.0
What's Changed
- fix(types): Correct conditional type handling for generic log function arguments by @samchungy in https://github.com/pinojs/pino/pull/2329
- perf: use JSON.stringify in fast path for node v25+ by @ronag in https://github.com/pinojs/pino/pull/2330
- build(deps): bump actions/setup-node from 4 to 6 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2336
- build(deps-dev): bump borp from 0.20.2 to 0.21.0 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2337
- build(deps): bump pino-abstract-transport from 2.0.0 to 3.0.0 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2338
- docs: update CONTRIBUTING.md to reference 'main' instead of 'master' by @NoobFullStack in https://github.com/pinojs/pino/pull/2334
- feat(browser): add reportCaller to surface user callsite by @dev-KingMaster in https://github.com/pinojs/pino/pull/2340
- docs: update transports.md by @marklai1998 in https://github.com/pinojs/pino/pull/2224
- docs: add Node.js 22+ native TypeScript type stripping support by @mcollina in https://github.com/pinojs/pino/pull/2347
- feat(types): use ThreadStream type from thread-stream by @CHC383 in https://github.com/pinojs/pino/pull/2320
- build(deps): bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2354
- build(deps): update thread-stream to v4 by @mcollina in https://github.com/pinojs/pino/pull/2356
- fix: harden transport loading against prototype pollution by @omdxp in https://github.com/pinojs/pino/pull/2358
- docs: add threat model to SECURITY.md by @mcollina in https://github.com/pinojs/pino/pull/2360
- build(deps): bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2365
- build(deps-dev): bump @types/node from 24.10.4 to 25.0.3 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2367
- fix: allow passing string, number, null for %o placeholder by @rChaoz in https://github.com/pinojs/pino/pull/2372
New Contributors
- @NoobFullStack made their first contribution in https://github.com/pinojs/pino/pull/2334
- @dev-KingMaster made their first contribution in https://github.com/pinojs/pino/pull/2340
- @marklai1998 made their first contribution in https://github.com/pinojs/pino/pull/2224
- @CHC383 made their first contribution in https://github.com/pinojs/pino/pull/2320
- @omdxp made their first contribution in https://github.com/pinojs/pino/pull/2358
- @rChaoz made their first contribution in https://github.com/pinojs/pino/pull/2372
Full Changelog: https://github.com/pinojs/pino/compare/v10.1.0...v10.1.1
What's Changed
- test: add regression test for issue #2313 by @mcollina in https://github.com/pinojs/pino/pull/2314
- fix!: use safer types for censor function signature (#2307) by @slifty in https://github.com/pinojs/pino/pull/2308
- remove unused parsedChindingsSym symbol by @mcollina in https://github.com/pinojs/pino/pull/2315
- chore: add .npmignore to exclude unnecessary files by @mcollina in https://github.com/pinojs/pino/pull/2312
- chore(lint): migrate from standard to neostandard & upgrade eslint to v9 by @lokeshwar777 in https://github.com/pinojs/pino/pull/2316
- build(deps-dev): bump eslint-plugin-n from 15.7.0 to 17.23.1 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2305
- Use @pinojs/redact by @mcollina in https://github.com/pinojs/pino/pull/2321
- fix: added missing isoTimeNano to nested namespace by @edge33 in https://github.com/pinojs/pino/pull/2325
New Contributors
- @slifty made their first contribution in https://github.com/pinojs/pino/pull/2308
- @lokeshwar777 made their first contribution in https://github.com/pinojs/pino/pull/2316
Full Changelog: https://github.com/pinojs/pino/compare/v10.0.0...v10.1.0
The only breaking change is dropping support for Node 18.
What's Changed
- feat(types): add LogFnFields by @samchungy in https://github.com/pinojs/pino/pull/2254
- Convert tests to node:test by @jsumners in https://github.com/pinojs/pino/pull/2299
- removed unused .taprc.yaml by @jsumners in https://github.com/pinojs/pino/pull/2310
Full Changelog: https://github.com/pinojs/pino/compare/v9.13.1...v10.0.0
What's Changed
- feat(types): add LogFnFields by @samchungy in https://github.com/pinojs/pino/pull/2254
- [v9.x] Update to pinojs redact by @mcollina in https://github.com/pinojs/pino/pull/2322
- Revert setlevel opt in 9.x by @mcollina in https://github.com/pinojs/pino/pull/2323
Full Changelog: https://github.com/pinojs/pino/compare/v9.13.1...v9.14.0
What's Changed
- fix(log): better logfn handling of generics by @rozzilla in https://github.com/pinojs/pino/pull/2309
Full Changelog: https://github.com/pinojs/pino/compare/v9.13.0...v9.13.1
What's Changed
- build(deps): bump actions/checkout from 4.3.0 to 5.0.0 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2301
- build(deps): bump actions/github-script from 7 to 8 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2303
- build(deps-dev): bump @yao-pkg/pkg from 6.3.0 to 6.7.0 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2306
- perf: optimize .child by @ronag in https://github.com/pinojs/pino/pull/2300
- docs(ecosystem): add eslint-plugin-pino to ecosystem page by @orzarchi in https://github.com/pinojs/pino/pull/2297
New Contributors
- @ronag made their first contribution in https://github.com/pinojs/pino/pull/2300
- @orzarchi made their first contribution in https://github.com/pinojs/pino/pull/2297
Full Changelog: https://github.com/pinojs/pino/compare/v9.12.0...v9.13.0
What's Changed
- types: expose stdTimeFunctions on nested namespace pino while preserv… by @tawseefnabi in https://github.com/pinojs/pino/pull/2263
- test: exclude Windows + Node 18.18 from test matrix by @aryamohanan in https://github.com/pinojs/pino/pull/2292
- Replace fast-redact with slow-redact by @mcollina in https://github.com/pinojs/pino/pull/2298
New Contributors
- @tawseefnabi made their first contribution in https://github.com/pinojs/pino/pull/2263
Full Changelog: https://github.com/pinojs/pino/compare/v9.11.0...v9.12.0
What's Changed
- feat: added timestamp rfc3339 format with nanoseconds by @edge33 in https://github.com/pinojs/pino/pull/2251
- fix: gracefully handle missing diagChannel.tracingChannel on Node < 18.19 by @aryamohanan in https://github.com/pinojs/pino/pull/2290
New Contributors
- @edge33 made their first contribution in https://github.com/pinojs/pino/pull/2251
- @aryamohanan made their first contribution in https://github.com/pinojs/pino/pull/2290
Full Changelog: https://github.com/pinojs/pino/compare/v9.10.0...v9.11.0
What's Changed
- docs: Move pino-logflare out of legacy transports list by @kamilogorek in https://github.com/pinojs/pino/pull/2283
- Add support for
PearandBareruntimes by @yassernasc in https://github.com/pinojs/pino/pull/2278 - Add tracing channels by @jsumners-nr in https://github.com/pinojs/pino/pull/2281
- Add pino-console to ecoystem page by @mcollina in https://github.com/pinojs/pino/pull/2288
New Contributors
- @kamilogorek made their first contribution in https://github.com/pinojs/pino/pull/2283
- @yassernasc made their first contribution in https://github.com/pinojs/pino/pull/2278
- @jsumners-nr made their first contribution in https://github.com/pinojs/pino/pull/2281
Full Changelog: https://github.com/pinojs/pino/compare/v9.9.5...v9.10.0
What's Changed
- fix: allow object type in %s placeholder by @mcollina in https://github.com/pinojs/pino/pull/2277
Full Changelog: https://github.com/pinojs/pino/compare/v9.9.4...v9.9.5
What's Changed
- fix(logfn): use unknown type by @rozzilla in https://github.com/pinojs/pino/pull/2276
Full Changelog: https://github.com/pinojs/pino/compare/v9.9.3...v9.9.4
What's Changed
- fix(types): compatibility when leveraging parameters by @rozzilla in https://github.com/pinojs/pino/pull/2273
New Contributors
- @rozzilla made their first contribution in https://github.com/pinojs/pino/pull/2273
Full Changelog: https://github.com/pinojs/pino/compare/v9.9.2...v9.9.3
What's Changed
- Avoid setLevel in child when possible by @mcollina in https://github.com/pinojs/pino/pull/2271
Full Changelog: https://github.com/pinojs/pino/compare/v9.9.1...v9.9.2
What's Changed
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2268
- build(deps-dev): bump tsd from 0.32.0 to 0.33.0 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2269
- fix: TypeScript regression with boolean values in %s placeholders by @mcollina in https://github.com/pinojs/pino/pull/2262
Full Changelog: https://github.com/pinojs/pino/compare/v9.9.0...v9.9.1
What's Changed
- Fix TypeScript types by @joshkel in https://github.com/pinojs/pino/pull/2258
- feat: Added remove to multistream. by @ShogunPanda in https://github.com/pinojs/pino/pull/2257
Full Changelog: https://github.com/pinojs/pino/compare/v9.8.0...v9.9.0
What's Changed
- build(deps-dev): bump pino-pretty from 11.3.0 to 13.0.0 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2083
- chore(license): update licensing year by @Tony133 in https://github.com/pinojs/pino/pull/2226
- Enhance logger function typing by @samchungy in https://github.com/pinojs/pino/pull/2230
- Fix typo in bench-long-string script name in package.json by @prkomb in https://github.com/pinojs/pino/pull/2235
- fix: remove trailing comma in tsconfig.json by @prkomb in https://github.com/pinojs/pino/pull/2236
- build(deps-dev): bump @types/node from 22.15.34 to 24.0.8 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2238
- build(deps-dev): bump jest from 29.7.0 to 30.0.3 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2240
- Fix missing asObjectBindingsOnly type from browser config by @MarsCapone in https://github.com/pinojs/pino/pull/2243
- chore: remove benchmark as devDependency by @Uzlopak in https://github.com/pinojs/pino/pull/2247
- feat: introduce
logger.msgPrefixgetter by @indutny-signal in https://github.com/pinojs/pino/pull/2232 - docs: link hono integration to homepage by @0-BSCode in https://github.com/pinojs/pino/pull/2252
- Fix TS export condition by @mcollina in https://github.com/pinojs/pino/pull/2223
- build(deps-dev): bump typescript from 5.8.3 to 5.9.2 by @dependabot[bot] in https://github.com/pinojs/pino/pull/2250
New Contributors
- @Tony133 made their first contribution in https://github.com/pinojs/pino/pull/2226
- @samchungy made their first contribution in https://github.com/pinojs/pino/pull/2230
- @prkomb made their first contribution in https://github.com/pinojs/pino/pull/2235
- @MarsCapone made their first contribution in https://github.com/pinojs/pino/pull/2243
- @Uzlopak made their first contribution in https://github.com/pinojs/pino/pull/2247
- @indutny-signal made their first contribution in https://github.com/pinojs/pino/pull/2232
- @0-BSCode made their first contribution in https://github.com/pinojs/pino/pull/2252
Full Changelog: https://github.com/pinojs/pino/compare/v9.7.0...v9.8.0
What's Changed
- Update api.md - typo in default of options.base by @osher in https://github.com/pinojs/pino/pull/2113
- build(deps-dev): bump @yao-pkg/pkg from 6.1.1 to 6.2.0 by @dependabot in https://github.com/pinojs/pino/pull/2115
- Document that the error event on the thread stream is fatal by @mcollina in https://github.com/pinojs/pino/pull/2116
- build(deps-dev): bump @yao-pkg/pkg from 6.2.0 to 6.3.0 by @dependabot in https://github.com/pinojs/pino/pull/2124
- docs: add hono example by @jansepke in https://github.com/pinojs/pino/pull/2136
- build(deps-dev): bump typescript from 5.7.3 to 5.8.2 by @dependabot in https://github.com/pinojs/pino/pull/2140
- build(deps): bump process-warning from 4.0.1 to 5.0.0 by @dependabot in https://github.com/pinojs/pino/pull/2142
- build(dependabot): reduce npm updates to monthly by @Fdawgs in https://github.com/pinojs/pino/pull/2146
- Skipping test in packaging into executable on ppc64 arch by @pacostas in https://github.com/pinojs/pino/pull/2122
- fix: #2053 - re-added is level enabled to browser by @SamSalvatico in https://github.com/pinojs/pino/pull/2125
- Add asObjectBindingsOnly, allowing write to receive only the bindings as object by @segevfiner in https://github.com/pinojs/pino/pull/2051
- docs: hono js docs by @Puppo in https://github.com/pinojs/pino/pull/2166
- Include pino-roll in Pino transports list by @mustakimkr in https://github.com/pinojs/pino/pull/2159
- Fix order of pino-roll by @jsumners in https://github.com/pinojs/pino/pull/2167
- build(deps-dev): bump tsd from 0.31.2 to 0.32.0 by @dependabot in https://github.com/pinojs/pino/pull/2170
- The finalization registry bug has been fixed everywhere by @mcollina in https://github.com/pinojs/pino/pull/2220
New Contributors
- @jansepke made their first contribution in https://github.com/pinojs/pino/pull/2136
- @pacostas made their first contribution in https://github.com/pinojs/pino/pull/2122
- @SamSalvatico made their first contribution in https://github.com/pinojs/pino/pull/2125
- @mustakimkr made their first contribution in https://github.com/pinojs/pino/pull/2159
Full Changelog: https://github.com/pinojs/pino/compare/v9.6.0...v9.7.0
What's Changed
- build(deps-dev): lock typescript minor version by @Fdawgs in https://github.com/pinojs/pino/pull/2066
- build(deps-dev): bump typescript from 5.1.6 to 5.6.3 by @dependabot in https://github.com/pinojs/pino/pull/2068
- docs: update pino-datadog-transport repository by @MathewBoyles in https://github.com/pinojs/pino/pull/2069
- build(deps-dev): bump @yao-pkg/pkg from 5.15.0 to 6.0.0 by @dependabot in https://github.com/pinojs/pino/pull/2070
- build(deps-dev): bump @yao-pkg/pkg from 6.0.0 to 6.0.1 by @dependabot in https://github.com/pinojs/pino/pull/2075
- build(deps-dev): bump @yao-pkg/pkg from 6.0.1 to 6.1.0 by @dependabot in https://github.com/pinojs/pino/pull/2082
- build(deps-dev): bump airtap from 4.0.4 to 5.0.0 by @dependabot in https://github.com/pinojs/pino/pull/2090
- build(deps-dev): bump @yao-pkg/pkg from 6.1.0 to 6.1.1 by @dependabot in https://github.com/pinojs/pino/pull/2091
- docs: add @openobserve/openobserve-pino transports by @ktx-kirtan in https://github.com/pinojs/pino/pull/2078
- docs: add missing parenthesis to transport code example by @thsmale in https://github.com/pinojs/pino/pull/2099
- docs: alphabetize ecosystem lists by @ChinoUkaegbu in https://github.com/pinojs/pino/pull/2097
- build(deps-dev): bump typescript from 5.6.3 to 5.7.2 by @dependabot in https://github.com/pinojs/pino/pull/2101
- chore(docs): add links to gcp logging formatter by @nielm in https://github.com/pinojs/pino/pull/2088
- docs: update API reference by @emmanuel-ferdman in https://github.com/pinojs/pino/pull/2095
- add new streamWrite hook by @theoephraim in https://github.com/pinojs/pino/pull/2105
- test: use fs.execFile instead of exec by @targos in https://github.com/pinojs/pino/pull/2110
- test: skip
pkgtest in CITGM by @targos in https://github.com/pinojs/pino/pull/2112
New Contributors
- @MathewBoyles made their first contribution in https://github.com/pinojs/pino/pull/2069
- @ktx-kirtan made their first contribution in https://github.com/pinojs/pino/pull/2078
- @thsmale made their first contribution in https://github.com/pinojs/pino/pull/2099
- @ChinoUkaegbu made their first contribution in https://github.com/pinojs/pino/pull/2097
- @nielm made their first contribution in https://github.com/pinojs/pino/pull/2088
- @emmanuel-ferdman made their first contribution in https://github.com/pinojs/pino/pull/2095
- @theoephraim made their first contribution in https://github.com/pinojs/pino/pull/2105
- @targos made their first contribution in https://github.com/pinojs/pino/pull/2110
Full Changelog: https://github.com/pinojs/pino/compare/v9.5.0...v9.6.0
What's Changed
- build(deps-dev): bump @yao-pkg/pkg from 5.12.1 to 5.13.0 by @dependabot in https://github.com/pinojs/pino/pull/2042
- build(deps): bump pino-abstract-transport from 1.2.0 to 2.0.0 by @dependabot in https://github.com/pinojs/pino/pull/2043
- Update transports.md by @Jhon-Mosk in https://github.com/pinojs/pino/pull/2041
- doc: Add Transport @macfja/pino-fingers-crossed by @MacFJA in https://github.com/pinojs/pino/pull/2047
- build(deps-dev): bump @yao-pkg/pkg from 5.13.0 to 5.15.0 by @dependabot in https://github.com/pinojs/pino/pull/2050
- docs->added pino-hana transport by @HiImGiovi in https://github.com/pinojs/pino/pull/2059
- docs -> #2061 Alphabetize transport list and reorder sections in documentation by @superherobtf1985 in https://github.com/pinojs/pino/pull/2062
- feature: allow sync flag to be passed to ThreadStream for synchronous… by @karankraina in https://github.com/pinojs/pino/pull/2063
- fix: Ensure silent log level is respected with browser.transmit option by @SrsDanny in https://github.com/pinojs/pino/pull/2052
New Contributors
- @MacFJA made their first contribution in https://github.com/pinojs/pino/pull/2047
- @HiImGiovi made their first contribution in https://github.com/pinojs/pino/pull/2059
- @superherobtf1985 made their first contribution in https://github.com/pinojs/pino/pull/2062
- @karankraina made their first contribution in https://github.com/pinojs/pino/pull/2063
- @SrsDanny made their first contribution in https://github.com/pinojs/pino/pull/2052
Full Changelog: https://github.com/pinojs/pino/compare/v9.4.0...v9.5.0
What's Changed
- Drop failing pnpm tests by @mcollina in https://github.com/pinojs/pino/pull/2015
- Add bun plugin link to docs by @vktrl in https://github.com/pinojs/pino/pull/2016
- build(deps-dev): bump @types/node from 20.14.13 to 22.0.0 by @dependabot in https://github.com/pinojs/pino/pull/2017
- docs: Update transports.md by @Imgodmaoyouknow in https://github.com/pinojs/pino/pull/2027
- build(deps-dev): bump @yao-pkg/pkg from 5.12.0 to 5.12.1 by @dependabot in https://github.com/pinojs/pino/pull/2031
- feat(types): forbid using default log fn when custom only used (#1998) by @chernodub in https://github.com/pinojs/pino/pull/1999
- feat: accept level in capitals by @balaji-atoa in https://github.com/pinojs/pino/pull/2034
New Contributors
- @vktrl made their first contribution in https://github.com/pinojs/pino/pull/2016
- @Imgodmaoyouknow made their first contribution in https://github.com/pinojs/pino/pull/2027
- @chernodub made their first contribution in https://github.com/pinojs/pino/pull/1999
- @balaji-atoa made their first contribution in https://github.com/pinojs/pino/pull/2034
Full Changelog: https://github.com/pinojs/pino/compare/v9.3.2...v9.4.0
What's Changed
- build(deps-dev): bump rimraf from 5.0.9 to 6.0.1 by @dependabot in https://github.com/pinojs/pino/pull/2009
- build(deps): bump process-warning from 3.0.0 to 4.0.0 by @dependabot in https://github.com/pinojs/pino/pull/2010
- fix: no early return in
loadTransportStreamBuilderby @viceice in https://github.com/pinojs/pino/pull/2014 - build(deps): bump pnpm/action-setup from 3.0.0 to 4.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1982
- build(deps-dev): bump @yao-pkg/pkg from 5.11.5 to 5.12.0 by @dependabot in https://github.com/pinojs/pino/pull/1988
New Contributors
- @viceice made their first contribution in https://github.com/pinojs/pino/pull/2014
Full Changelog: https://github.com/pinojs/pino/compare/v9.3.1...v9.3.2
Full Changelog: https://github.com/pinojs/pino/compare/v9.3.0...v9.3.1
What's Changed
- Update transports.md by @Jhon-Mosk in https://github.com/pinojs/pino/pull/1993
- call onChild when instanciating new child browser logger by @hollykurt in https://github.com/pinojs/pino/pull/2001
- chore: use node: imports by @Cangit in https://github.com/pinojs/pino/pull/2003
- fix(browser): should respect log level with transmit by @adragich in https://github.com/pinojs/pino/pull/2005
- docs: added link to the contributing guide by @adragich in https://github.com/pinojs/pino/pull/2006
New Contributors
- @Jhon-Mosk made their first contribution in https://github.com/pinojs/pino/pull/1993
- @hollykurt made their first contribution in https://github.com/pinojs/pino/pull/2001
- @Cangit made their first contribution in https://github.com/pinojs/pino/pull/2003
- @adragich made their first contribution in https://github.com/pinojs/pino/pull/2005
Full Changelog: https://github.com/pinojs/pino/compare/v9.2.1...v9.3.0
What's Changed
- shallow clone target options by @mcollina in https://github.com/pinojs/pino/pull/1973
- add logger instance as third parameter by @emmyakin in https://github.com/pinojs/pino/pull/1977
- use boolean flag to ensure serializers are applied once by @emmyakin in https://github.com/pinojs/pino/pull/1976
- suppport messageKey in pino/browser by @emmyakin in https://github.com/pinojs/pino/pull/1980
- Fixing browser side child log issue (#960) child level can now be set at cr… by @stevel032 in https://github.com/pinojs/pino/pull/1986
New Contributors
- @stevel032 made their first contribution in https://github.com/pinojs/pino/pull/1986
Full Changelog: https://github.com/pinojs/pino/compare/v9.1.0...v9.2.0
What's Changed
- fix(transport-stream): Fix import error when using pkg with node v20 by @nagyszabi in https://github.com/pinojs/pino/pull/1949
- Update LTS doc by @jsumners in https://github.com/pinojs/pino/pull/1955
- Update pino types for browser.formatters by @KatelynKim in https://github.com/pinojs/pino/pull/1946
- add node v22 to CI by @mcollina in https://github.com/pinojs/pino/pull/1953
- Add Platformatic to sponsors by @mcollina in https://github.com/pinojs/pino/pull/1956
- Update h3 example by @mcollina in https://github.com/pinojs/pino/pull/1968
- Support file URLs when configuring multiple transports by @haines in https://github.com/pinojs/pino/pull/1961
- Adding support for mix&match pipelines by @dbacarel in https://github.com/pinojs/pino/pull/1954
- apply serializers to args once before asObject or transmit by @emmyakin in https://github.com/pinojs/pino/pull/1971
- build(deps-dev): bump pino-pretty from 10.3.1 to 11.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1933
- build(deps): bump sonic-boom from 3.8.1 to 4.0.1 by @dependabot in https://github.com/pinojs/pino/pull/1960
- build(deps): bump pino-std-serializers from 6.2.2 to 7.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1957
- build(deps-dev): bump tsd from 0.30.7 to 0.31.0 by @dependabot in https://github.com/pinojs/pino/pull/1937
- build(deps): bump actions/dependency-review-action from 3 to 4 by @dependabot in https://github.com/pinojs/pino/pull/1894
- build(deps): bump pnpm/action-setup from 2.4.0 to 3.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1913
- Drop yarn support and update pnpm by @mcollina in https://github.com/pinojs/pino/pull/1972
- build(deps): bump thread-stream from 2.7.0 to 3.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1959
New Contributors
- @nagyszabi made their first contribution in https://github.com/pinojs/pino/pull/1949
- @haines made their first contribution in https://github.com/pinojs/pino/pull/1961
- @emmyakin made their first contribution in https://github.com/pinojs/pino/pull/1971
Full Changelog: https://github.com/pinojs/pino/compare/v9.0.0...v9.1.0
⚠ BREAKING CHANGES
Dropped support for Node.js 14, 16, & 19
What's Changed
- Issue v9 release by @jsumners in https://github.com/pinojs/pino/pull/1947
Full Changelog: https://github.com/pinojs/pino/compare/v8.21.0...v9.0.0
What's Changed
- docs: add a section about pino-logfmt #1879 by @botflux in https://github.com/pinojs/pino/pull/1941
- Docs: Separate ecosystem lists by @EstebanDalelR in https://github.com/pinojs/pino/pull/1942
- feat: send config to transports on init by @10xLaCroixDrinker in https://github.com/pinojs/pino/pull/1930
New Contributors
- @botflux made their first contribution in https://github.com/pinojs/pino/pull/1941
- @EstebanDalelR made their first contribution in https://github.com/pinojs/pino/pull/1942
Full Changelog: https://github.com/pinojs/pino/compare/v8.20.0...v8.21.0
What's Changed
- Improve documentation for use with Google Cloud Logging by @jansauer in https://github.com/pinojs/pino/pull/1915
- docs: remove reference to make-promises-safe by @10xLaCroixDrinker in https://github.com/pinojs/pino/pull/1921
- docs: spelling corrections by @10xLaCroixDrinker in https://github.com/pinojs/pino/pull/1920
- Document
setBindingsby @alecmev in https://github.com/pinojs/pino/pull/1928 - Add pino-discord-webhook transport information by @fabulousgk in https://github.com/pinojs/pino/pull/1922
- docs: add pino-test to the ecosystem and help sections by @ruddenchaux in https://github.com/pinojs/pino/pull/1931
- Added Info about using Grafana Loki by @janpaepke in https://github.com/pinojs/pino/pull/1934
- Fix deprecated dependency notation by @mbtools in https://github.com/pinojs/pino/pull/1929
- fix: avoid override mistake by @erights in https://github.com/pinojs/pino/pull/1939
- chore: fix some typos by @divdeploy in https://github.com/pinojs/pino/pull/1940
New Contributors
- @jansauer made their first contribution in https://github.com/pinojs/pino/pull/1915
- @alecmev made their first contribution in https://github.com/pinojs/pino/pull/1928
- @fabulousgk made their first contribution in https://github.com/pinojs/pino/pull/1922
- @ruddenchaux made their first contribution in https://github.com/pinojs/pino/pull/1931
- @janpaepke made their first contribution in https://github.com/pinojs/pino/pull/1934
- @mbtools made their first contribution in https://github.com/pinojs/pino/pull/1929
- @erights made their first contribution in https://github.com/pinojs/pino/pull/1939
- @divdeploy made their first contribution in https://github.com/pinojs/pino/pull/1940
Full Changelog: https://github.com/pinojs/pino/compare/v8.19.0...v8.20.0
What's Changed
- api.md: Fix link declaration by @homersimpsons in https://github.com/pinojs/pino/pull/1900
- Update transports.md by @huijiewei in https://github.com/pinojs/pino/pull/1897
- Add a basic
formattersoption to the browser pino by @KatelynKim in https://github.com/pinojs/pino/pull/1898 setLevelshould respect level comparison option by @obrus-corcentric in https://github.com/pinojs/pino/pull/1901- Add formatters log option by @KatelynKim in https://github.com/pinojs/pino/pull/1905
New Contributors
- @homersimpsons made their first contribution in https://github.com/pinojs/pino/pull/1900
- @huijiewei made their first contribution in https://github.com/pinojs/pino/pull/1897
- @KatelynKim made their first contribution in https://github.com/pinojs/pino/pull/1898
Full Changelog: https://github.com/pinojs/pino/compare/v8.18.0...v8.19.0
What's Changed
- build(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in https://github.com/pinojs/pino/pull/1873
- chore(license): Update licensing year by @codershiba in https://github.com/pinojs/pino/pull/1882
- fix: destination docs and types by @codershiba in https://github.com/pinojs/pino/pull/1881
- Correct type of
pino'sstreamparameter by @quisido in https://github.com/pinojs/pino/pull/1874 - Add ability to override custom levels comparison by @obrus-corcentric in https://github.com/pinojs/pino/pull/1883
- build(deps-dev): bump tsd from 0.29.0 to 0.30.4 by @dependabot in https://github.com/pinojs/pino/pull/1888
New Contributors
- @codershiba made their first contribution in https://github.com/pinojs/pino/pull/1882
- @quisido made their first contribution in https://github.com/pinojs/pino/pull/1874
- @obrus-corcentric made their first contribution in https://github.com/pinojs/pino/pull/1883
Full Changelog: https://github.com/pinojs/pino/compare/v8.17.2...v8.18.0
What's Changed
- build(deps): bump process-warning from 2.3.2 to 3.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1869
- fix: type of child logger with custom levels by @UndefinedBehaviour in https://github.com/pinojs/pino/pull/1871
Full Changelog: https://github.com/pinojs/pino/compare/v8.17.1...v8.17.2
What's Changed
- Support unknown, reverts 1783, add tests by @mcollina in https://github.com/pinojs/pino/pull/1866
- Add Type Example for custom logger by @mcollina in https://github.com/pinojs/pino/pull/1867
Full Changelog: https://github.com/pinojs/pino/compare/v8.17.0...v8.17.1
What's Changed
- build(deps): bump actions/github-script from 6 to 7 by @dependabot in https://github.com/pinojs/pino/pull/1857
- Make license detectable by GitHub by @10xLaCroixDrinker in https://github.com/pinojs/pino/pull/1859
- docs: Clarify how to log both to a custom transport and to stdout by @kibertoad in https://github.com/pinojs/pino/pull/1860
- Fix/types by @UndefinedBehaviour in https://github.com/pinojs/pino/pull/1858
- Bumped tsd to v0.29.0 by @mcollina in https://github.com/pinojs/pino/pull/1863
- fix: typescript types by @Zamiell in https://github.com/pinojs/pino/pull/1783
- build(deps): bump pnpm/action-setup from 2.2.4 to 2.4.0 by @dependabot in https://github.com/pinojs/pino/pull/1766
New Contributors
- @10xLaCroixDrinker made their first contribution in https://github.com/pinojs/pino/pull/1859
- @Zamiell made their first contribution in https://github.com/pinojs/pino/pull/1783
Full Changelog: https://github.com/pinojs/pino/compare/v8.16.2...v8.17.0
What's Changed
- fix child-child benchmark by @bngarren in https://github.com/pinojs/pino/pull/1849
- fix: make transports.options and transports.level optional by @krosenk729 in https://github.com/pinojs/pino/pull/1831
- fix: export
redactOptionstype by @wolfy1339 in https://github.com/pinojs/pino/pull/1847 - build(deps): bump actions/setup-node from 3 to 4 by @dependabot in https://github.com/pinojs/pino/pull/1844
New Contributors
- @bngarren made their first contribution in https://github.com/pinojs/pino/pull/1849
- @krosenk729 made their first contribution in https://github.com/pinojs/pino/pull/1831
- @wolfy1339 made their first contribution in https://github.com/pinojs/pino/pull/1847
- @UndefinedBehaviour made their first contribution in https://github.com/pinojs/pino/pull/1843
Full Changelog: https://github.com/pinojs/pino/compare/v8.16.1...v8.16.2
What's Changed
- Support Node.js v21 by @mcollina in https://github.com/pinojs/pino/pull/1834
Full Changelog: https://github.com/pinojs/pino/compare/v8.16.0...v8.16.1
What's Changed
- allow passing callback to flush by @rluvaton in https://github.com/pinojs/pino/pull/1827
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.7...v8.16.0
What's Changed
- update flush function type by @rluvaton in https://github.com/pinojs/pino/pull/1824
- Fix Node.js in CITGM (v18.x) by @mcollina in https://github.com/pinojs/pino/pull/1828
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.6...v8.15.7
What's Changed
- Fix flaky test in CITGM by @mcollina in https://github.com/pinojs/pino/pull/1826
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.5...v8.15.6
What's Changed
- Fix broken test by @mcollina in https://github.com/pinojs/pino/pull/1825
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.4...v8.15.5
What's Changed
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in https://github.com/pinojs/pino/pull/1822
- feat: auto completion for
levelby @bogeychan in https://github.com/pinojs/pino/pull/1808
New Contributors
- @bogeychan made their first contribution in https://github.com/pinojs/pino/pull/1808
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.3...v8.15.4
What's Changed
- Disable FinalizationRegistry if node code coverage is active by @mcollina in https://github.com/pinojs/pino/pull/1819
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.2...v8.15.3
What's Changed
- enable named export in browser.js by @tarunrajput in https://github.com/pinojs/pino/pull/1803
- Fix improperly placed quote by @Artrix9095 in https://github.com/pinojs/pino/pull/1810
- export the LoggerExtras interface by @ethanniser in https://github.com/pinojs/pino/pull/1813
New Contributors
- @Artrix9095 made their first contribution in https://github.com/pinojs/pino/pull/1810
- @ethanniser made their first contribution in https://github.com/pinojs/pino/pull/1813
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.1...v8.15.2
What's Changed
- fix: replace nullish coalescing operator by @hchangjae in https://github.com/pinojs/pino/pull/1780
- adding asString to the key by @tzviki in https://github.com/pinojs/pino/pull/1779
- feat(#1595): improve stream entry type by @Puppo in https://github.com/pinojs/pino/pull/1778
- build(deps): bump pino-abstract-transport from v1.0.0 to 1.1.0 by @dependabot in https://github.com/pinojs/pino/pull/1797
- Skip writing a big file test in CI and CITGM by @mcollina in https://github.com/pinojs/pino/pull/1800
New Contributors
- @hchangjae made their first contribution in https://github.com/pinojs/pino/pull/1780
- @Puppo made their first contribution in https://github.com/pinojs/pino/pull/1778
Full Changelog: https://github.com/pinojs/pino/compare/v8.15.0...v8.15.1
What's Changed
- docs(transports): add axiom #1753 by @qlaffont in https://github.com/pinojs/pino/pull/1754
- Add pino-opentelemetry-transport as a known plugin to transports.md by @Vunovati in https://github.com/pinojs/pino/pull/1757
- fix: example code in transports.md by @exKAZUu in https://github.com/pinojs/pino/pull/1761
- Add default levels to opts in multistream by @tzviki in https://github.com/pinojs/pino/pull/1760
New Contributors
- @qlaffont made their first contribution in https://github.com/pinojs/pino/pull/1754
- @Vunovati made their first contribution in https://github.com/pinojs/pino/pull/1757
- @exKAZUu made their first contribution in https://github.com/pinojs/pino/pull/1761
- @tzviki made their first contribution in https://github.com/pinojs/pino/pull/1760
Full Changelog: https://github.com/pinojs/pino/compare/v8.14.2...v8.15.0
What's Changed
- build(deps-dev): bump @types/node from 18.16.14 to 20.2.3 by @dependabot in https://github.com/pinojs/pino/pull/1718
- build(deps-dev): bump rimraf from 4.4.1 to 5.0.1 by @dependabot in https://github.com/pinojs/pino/pull/1719
- build(deps-dev): bump pino-pretty from 9.4.0 to 10.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1670
- docs: add pino-slack-webhook to list of v7+ compatible transports by @youngkiu in https://github.com/pinojs/pino/pull/1730
- Add missing closing curly brace in transports documentation by @JasoonS in https://github.com/pinojs/pino/pull/1737
- Issue #1735 - Programmatic Integration as a transport fails by @altearius in https://github.com/pinojs/pino/pull/1739
- build(deps-dev): bump typescript from 4.9.5 to 5.1.3 by @dependabot in https://github.com/pinojs/pino/pull/1728
- build(deps-dev): bump bole from 4.0.1 to 5.0.5 by @dependabot in https://github.com/pinojs/pino/pull/1734
- build(deps-dev): bump eslint-plugin-n from 15.7.0 to 16.0.1 by @dependabot in https://github.com/pinojs/pino/pull/1740
- fix: browser respect child logger log level by @NicoVogel in https://github.com/pinojs/pino/pull/1725
- Fix dependency version by @jsumners in https://github.com/pinojs/pino/pull/1747
- fix: use
messageKeywhen giving message precedence over error by @joelmukuthu in https://github.com/pinojs/pino/pull/1746
New Contributors
- @youngkiu made their first contribution in https://github.com/pinojs/pino/pull/1730
- @JasoonS made their first contribution in https://github.com/pinojs/pino/pull/1737
- @altearius made their first contribution in https://github.com/pinojs/pino/pull/1739
- @NicoVogel made their first contribution in https://github.com/pinojs/pino/pull/1725
- @joelmukuthu made their first contribution in https://github.com/pinojs/pino/pull/1746
Full Changelog: https://github.com/pinojs/pino/compare/v8.14.1...v8.14.2
Full Changelog: https://github.com/pinojs/pino/compare/v8.14.0...v8.14.1
What's Changed
- Docs: add favicon by @WolfGangsta in https://github.com/pinojs/pino/pull/1698
- docs: bindings formatter function usage by @nadhifikbarw in https://github.com/pinojs/pino/pull/1702
- add crlf in LoggerOptions Interface by @tarunrajput in https://github.com/pinojs/pino/pull/1696
- Support custom levels on browser by @matheusvellone in https://github.com/pinojs/pino/pull/1707
- Add child method default generic type by @matheusvellone in https://github.com/pinojs/pino/pull/1704
- feat: pass logger/child logger as param to mixin by @mmarchini in https://github.com/pinojs/pino/pull/1709
- docs: add 'best performance for basic stdout logging' to help.md by @janeklb in https://github.com/pinojs/pino/pull/1584
New Contributors
- @WolfGangsta made their first contribution in https://github.com/pinojs/pino/pull/1698
- @nadhifikbarw made their first contribution in https://github.com/pinojs/pino/pull/1702
- @matheusvellone made their first contribution in https://github.com/pinojs/pino/pull/1707
- @janeklb made their first contribution in https://github.com/pinojs/pino/pull/1584
Full Changelog: https://github.com/pinojs/pino/compare/v8.12.0...v8.14.0
What's Changed
- feat: add mightnight-smoker closes #1570 by @dancastillo in https://github.com/pinojs/pino/pull/1665
- Remove (package.json).files by @jsumners in https://github.com/pinojs/pino/pull/1673
- docs(ecosystem): add crawlee-pino by @imyelo in https://github.com/pinojs/pino/pull/1685
- fix(type): add
disabledtopino.LoggerOptionsby @JonParton in https://github.com/pinojs/pino/pull/1629 - remove type definition for pino 7.0 comment by @tarunrajput in https://github.com/pinojs/pino/pull/1693
- Expose errWithCause to browser API & add Node v20 by @mcollina in https://github.com/pinojs/pino/pull/1701
New Contributors
- @imyelo made their first contribution in https://github.com/pinojs/pino/pull/1685
- @JonParton made their first contribution in https://github.com/pinojs/pino/pull/1629
- @tarunrajput made their first contribution in https://github.com/pinojs/pino/pull/1693
Full Changelog: https://github.com/pinojs/pino/compare/v8.11.0...v8.12.0
What's Changed
- Add script to bump version by @jsumners in https://github.com/pinojs/pino/pull/1643
- Add Node 19 to the CI by @mcollina in https://github.com/pinojs/pino/pull/1646
- fix(docs): update multistream example and description by @Cheprer in https://github.com/pinojs/pino/pull/1649
- fix msg precendence when sending a merging object with msg and err by @leon-volq in https://github.com/pinojs/pino/pull/1654
New Contributors
- @Cheprer made their first contribution in https://github.com/pinojs/pino/pull/1649
- @leon-volq made their first contribution in https://github.com/pinojs/pino/pull/1654
Full Changelog: https://github.com/pinojs/pino/compare/v8.10.0...v8.11.0
What's Changed
- feat: add dedupe option to transport by @nekosaur in https://github.com/pinojs/pino/pull/1640
New Contributors
- @nekosaur made their first contribution in https://github.com/pinojs/pino/pull/1640
Full Changelog: https://github.com/pinojs/pino/compare/v8.9.0...v8.10.0
What's Changed
- Fix documentation example by @khobaib222 in https://github.com/pinojs/pino/pull/1608
- docs: Add correct link to Matteo Collina's github account in README.md by @HassanBahati in https://github.com/pinojs/pino/pull/1609
- Docs: Enhance Fastify Example - Add port for the server by @HassanBahati in https://github.com/pinojs/pino/pull/1611
- Add yarn install to the documentation. by @luluhoc in https://github.com/pinojs/pino/pull/1614
- build(deps): bump actions/dependency-review-action from 2 to 3 by @dependabot in https://github.com/pinojs/pino/pull/1597
- docs(pretty): update the api example guide and remove an obsolete type by @borjapazr in https://github.com/pinojs/pino/pull/1620
- Remove defunct "Exit logging" link by @bitjson in https://github.com/pinojs/pino/pull/1622
- build(deps-dev): bump rimraf from 3.0.2 to 4.0.7 by @dependabot in https://github.com/pinojs/pino/pull/1624
- remove: outdated/unused information from docs/pretty.md by @VladimirMikulic in https://github.com/pinojs/pino/pull/1625
- fix: badges by @xtexChooser in https://github.com/pinojs/pino/pull/1630
- Transports are always asynchronous by @mcollina in https://github.com/pinojs/pino/pull/1631
- Add @logtail/pino to v7+ compatible transports by @curusarn in https://github.com/pinojs/pino/pull/1634
- Allow message prefix - #544 by @rluvaton in https://github.com/pinojs/pino/pull/1635
New Contributors
- @khobaib222 made their first contribution in https://github.com/pinojs/pino/pull/1608
- @HassanBahati made their first contribution in https://github.com/pinojs/pino/pull/1609
- @luluhoc made their first contribution in https://github.com/pinojs/pino/pull/1614
- @borjapazr made their first contribution in https://github.com/pinojs/pino/pull/1620
- @bitjson made their first contribution in https://github.com/pinojs/pino/pull/1622
- @VladimirMikulic made their first contribution in https://github.com/pinojs/pino/pull/1625
- @xtexChooser made their first contribution in https://github.com/pinojs/pino/pull/1630
- @curusarn made their first contribution in https://github.com/pinojs/pino/pull/1634
- @rluvaton made their first contribution in https://github.com/pinojs/pino/pull/1635
Full Changelog: https://github.com/pinojs/pino/compare/v8.8.0...v8.9.0
What's Changed
- Update async logging caveats documentation by @jonathansamines in https://github.com/pinojs/pino/pull/1578
- Update hapi-pino usage example by @jonathansamines in https://github.com/pinojs/pino/pull/1580
- build(deps): bump pnpm/action-setup from 2.2.2 to 2.2.4 by @dependabot in https://github.com/pinojs/pino/pull/1582
- Use safe stringify for redaction by @bbi22 in https://github.com/pinojs/pino/pull/1587
- Fix updating errorKey with default error serializer (#1593) by @zahar517 in https://github.com/pinojs/pino/pull/1604
New Contributors
- @jonathansamines made their first contribution in https://github.com/pinojs/pino/pull/1578
- @bbi22 made their first contribution in https://github.com/pinojs/pino/pull/1587
- @zahar517 made their first contribution in https://github.com/pinojs/pino/pull/1604
Full Changelog: https://github.com/pinojs/pino/compare/v8.7.0...v8.8.0
What's Changed
- Add DestinationStreamMetadata type to pino.d.ts by @segevfiner in https://github.com/pinojs/pino/pull/1566
- fix: remove pretty print in types, docs by @susmithagudapati in https://github.com/pinojs/pino/pull/1569
- Pass logger instance as an argument in
level-changeevent by @bienzaaron in https://github.com/pinojs/pino/pull/1576
New Contributors
- @segevfiner made their first contribution in https://github.com/pinojs/pino/pull/1566
- @susmithagudapati made their first contribution in https://github.com/pinojs/pino/pull/1569
- @bienzaaron made their first contribution in https://github.com/pinojs/pino/pull/1576
Full Changelog: https://github.com/pinojs/pino/compare/v8.6.1...v8.7.0
What's Changed
- build(deps-dev): bump tsd from 0.23.0 to 0.24.1 by @dependabot in https://github.com/pinojs/pino/pull/1563
- fix(tools): log[level] compatible with when first argument is undefined (fix #1555) by @sun0day in https://github.com/pinojs/pino/pull/1565
New Contributors
- @sun0day made their first contribution in https://github.com/pinojs/pino/pull/1565
Full Changelog: https://github.com/pinojs/pino/compare/v8.6.0...v8.6.1
What's Changed
- feat: bump typescript to 4.8.2 by @anonrig in https://github.com/pinojs/pino/pull/1550
- Document how error is received from worker transport by @TommyDew42 in https://github.com/pinojs/pino/pull/1548
- build(deps-dev): bump jest from 28.1.3 to 29.0.3 by @dependabot in https://github.com/pinojs/pino/pull/1553
- fix: add
thistohooks.logMethodby @SimenB in https://github.com/pinojs/pino/pull/1559 - docs: grammar and spelling fixes by @Fdawgs in https://github.com/pinojs/pino/pull/1560
- fix: type
formatters.logwith a Record type by @SimenB in https://github.com/pinojs/pino/pull/1561 - fix: correct type of
argspassed tohooks.logMethodby @SimenB in https://github.com/pinojs/pino/pull/1558
New Contributors
- @anonrig made their first contribution in https://github.com/pinojs/pino/pull/1550
- @TommyDew42 made their first contribution in https://github.com/pinojs/pino/pull/1548
- @SimenB made their first contribution in https://github.com/pinojs/pino/pull/1559
Full Changelog: https://github.com/pinojs/pino/compare/v8.5.0...v8.6.0
What's Changed
- docs(ecosystem): add cloud-pine to community list by @metcoder95 in https://github.com/pinojs/pino/pull/1527
- Fix transports doc pipeline example by @AceFire6 in https://github.com/pinojs/pino/pull/1530
- docs(help): use formatters since useLevelLabels is deprecated by @arkerone in https://github.com/pinojs/pino/pull/1533
- build(deps-dev): add debug by @Fdawgs in https://github.com/pinojs/pino/pull/1537
- Remove all mentions of final by @mcollina in https://github.com/pinojs/pino/pull/1544
- build(deps): bump jsumners/lock-threads from b27edac0ac998d42b2815e122b6c24b32b568321 to 3 by @dependabot in https://github.com/pinojs/pino/pull/1545
- GitHub Workflows security hardening by @sashashura in https://github.com/pinojs/pino/pull/1546
- Revert "build(deps): bump jsumners/lock-threads from b27edac0ac998d42b2815e122b6c24b32b568321 to 3" by @jsumners in https://github.com/pinojs/pino/pull/1547
- Added
onChildcallback with tests and documentation by @Diabl0269 in https://github.com/pinojs/pino/pull/1541
New Contributors
- @metcoder95 made their first contribution in https://github.com/pinojs/pino/pull/1527
- @AceFire6 made their first contribution in https://github.com/pinojs/pino/pull/1530
- @arkerone made their first contribution in https://github.com/pinojs/pino/pull/1533
- @sashashura made their first contribution in https://github.com/pinojs/pino/pull/1546
- @Diabl0269 made their first contribution in https://github.com/pinojs/pino/pull/1541
Full Changelog: https://github.com/pinojs/pino/compare/v8.4.2...v8.5.0
What's Changed
- build(deps-dev): bump pino-pretty from 8.1.0 to 9.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1519
- chore: update pino-pretty example image by @Fdawgs in https://github.com/pinojs/pino/pull/1522
- fix loading .js with pkg by @burgerni10 in https://github.com/pinojs/pino/pull/1493
New Contributors
- @burgerni10 made their first contribution in https://github.com/pinojs/pino/pull/1493
Full Changelog: https://github.com/pinojs/pino/compare/v8.4.1...v8.4.2
What's Changed
- Add pino-transport-datadog to transports.md by @theogravity in https://github.com/pinojs/pino/pull/1512
- Simplify Google logging-specific configuration example by @andrew-demb in https://github.com/pinojs/pino/pull/1516
- Default fd=1 in pino.destination if stdout has no file descriptor by @mcollina in https://github.com/pinojs/pino/pull/1517
New Contributors
- @theogravity made their first contribution in https://github.com/pinojs/pino/pull/1512
- @andrew-demb made their first contribution in https://github.com/pinojs/pino/pull/1516
Full Changelog: https://github.com/pinojs/pino/compare/v8.4.0...v8.4.1
What's Changed
- build(deps): bump real-require from 0.1.0 to 0.2.0 by @dependabot in https://github.com/pinojs/pino/pull/1505
- feat: add errorKey option by @qwelias in https://github.com/pinojs/pino/pull/1507
- Fix: dedup works with multistream (refs: #1506) by @bl00dhound in https://github.com/pinojs/pino/pull/1508
New Contributors
- @qwelias made their first contribution in https://github.com/pinojs/pino/pull/1507
- @bl00dhound made their first contribution in https://github.com/pinojs/pino/pull/1508
Full Changelog: https://github.com/pinojs/pino/compare/v8.3.1...v8.4.0
What's Changed
- Do not assume process.stdout has a file descriptor by @mcollina in https://github.com/pinojs/pino/pull/1503
Full Changelog: https://github.com/pinojs/pino/compare/v8.3.0...v8.3.1
What's Changed
- Use https url in package.json homepage field by @glensc in https://github.com/pinojs/pino/pull/1498
- Use process.stdout if specified by the developer by @mcollina in https://github.com/pinojs/pino/pull/1499
Full Changelog: https://github.com/pinojs/pino/compare/v8.2.0...v8.3.0
What's Changed
- fix(#1347): added disabled to browser opts for logs by @dancastillo in https://github.com/pinojs/pino/pull/1480
- Introducing Aibrake transport by @enricodeleo in https://github.com/pinojs/pino/pull/1481
- build(deps-dev): bump tsd from 0.21.0 to 0.22.0 by @dependabot in https://github.com/pinojs/pino/pull/1483
- fix: updated lts docs by @dancastillo in https://github.com/pinojs/pino/pull/1486
- docs(API): add description to
levelconstructor option by @KoltesDigital in https://github.com/pinojs/pino/pull/1488 - build(deps): bump actions/dependency-review-action from 1 to 2 by @dependabot in https://github.com/pinojs/pino/pull/1482
- Update thread-stream@2.0.0 by @mcollina in https://github.com/pinojs/pino/pull/1494
- build(deps): bump pino-std-serializers from 5.6.0 to 6.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1478
- resolves #1489 add test by @Mogztter in https://github.com/pinojs/pino/pull/1496
New Contributors
- @dancastillo made their first contribution in https://github.com/pinojs/pino/pull/1480
- @enricodeleo made their first contribution in https://github.com/pinojs/pino/pull/1481
- @KoltesDigital made their first contribution in https://github.com/pinojs/pino/pull/1488
- @Mogztter made their first contribution in https://github.com/pinojs/pino/pull/1496
Full Changelog: https://github.com/pinojs/pino/compare/v8.1.0...v8.2.0
What's Changed
- build(deps): bump pnpm/action-setup from 2.2.1 to 2.2.2 by @dependabot in https://github.com/pinojs/pino/pull/1450
- fix(publishing): add preval pino version by @budarin in https://github.com/pinojs/pino/pull/1453
- Update dependencies by @jsumners in https://github.com/pinojs/pino/pull/1458
- build(deps-dev): bump tsd from 0.20.0 to 0.21.0 by @dependabot in https://github.com/pinojs/pino/pull/1460
- docs: Fixed options for loki transport example by @mrbrianevans in https://github.com/pinojs/pino/pull/1459
- test: Remove npx from transpile. by @ShogunPanda in https://github.com/pinojs/pino/pull/1467
- Add documentation regard pino-sentry-transport by @tomer-yechiel in https://github.com/pinojs/pino/pull/1464
- docs: Fix typo by @krmroland in https://github.com/pinojs/pino/pull/1470
- ci: update workflows by @Fdawgs in https://github.com/pinojs/pino/pull/1471
- docs: add esbuild-plugin-pino to bundling.md by @davipon in https://github.com/pinojs/pino/pull/1469
- build(deps-dev): bump @types/node from 17.0.45 to 18.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1473
- Update to on-exit-leak-free v2 by @mcollina in https://github.com/pinojs/pino/pull/1474
- update abstract-transport to v1.0.0 and drop hack by @mcollina in https://github.com/pinojs/pino/pull/1475
- build(deps): bump pino-abstract-transport from 0.5.0 to 1.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1472
New Contributors
- @budarin made their first contribution in https://github.com/pinojs/pino/pull/1453
- @mrbrianevans made their first contribution in https://github.com/pinojs/pino/pull/1459
- @tomer-yechiel made their first contribution in https://github.com/pinojs/pino/pull/1464
- @krmroland made their first contribution in https://github.com/pinojs/pino/pull/1470
- @davipon made their first contribution in https://github.com/pinojs/pino/pull/1469
Full Changelog: https://github.com/pinojs/pino/compare/v8.0.0...v8.1.0
What's Changed
- chore: add pino lambda to ecosystem doc by @carbonrobot in https://github.com/pinojs/pino/pull/1417
- docs: clarify setBindings() comment by @deanhaleem in https://github.com/pinojs/pino/pull/1419
- ci: bump github actions by @Fdawgs in https://github.com/pinojs/pino/pull/1421
- doc: fix typo in clone(level) by @tniessen in https://github.com/pinojs/pino/pull/1423
- chore: Dependency review action by @naveensrinivasan in https://github.com/pinojs/pino/pull/1425
- build(deps): bump actions/upload-artifact from 2 to 3 by @dependabot in https://github.com/pinojs/pino/pull/1426
- Spelling by @jsoref in https://github.com/pinojs/pino/pull/1427
- docs: add pino-seq-transport to list of v7+ compatible transports by @eadmundo in https://github.com/pinojs/pino/pull/1432
- Remove deprecated API and options in v7 option. by @mcollina in https://github.com/pinojs/pino/pull/1249
- build(deps-dev): update pino-pretty requirement from ^v7.6.0 to ^v7.6.1 by @dependabot in https://github.com/pinojs/pino/pull/1403
- build(deps-dev): bump jest from 27.5.1 to 28.1.0 by @dependabot in https://github.com/pinojs/pino/pull/1433
- Async by default by @mcollina in https://github.com/pinojs/pino/pull/1448
- build(deps): bump process-warning from 1.0.0 to 2.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1439
- docs: add note about nestedKey to mixin section by @mothershipper in https://github.com/pinojs/pino/pull/1444
- Updated dependencies by @mcollina in https://github.com/pinojs/pino/pull/1449
New Contributors
- @carbonrobot made their first contribution in https://github.com/pinojs/pino/pull/1417
- @deanhaleem made their first contribution in https://github.com/pinojs/pino/pull/1419
- @jsoref made their first contribution in https://github.com/pinojs/pino/pull/1427
- @eadmundo made their first contribution in https://github.com/pinojs/pino/pull/1432
- @mothershipper made their first contribution in https://github.com/pinojs/pino/pull/1444
Full Changelog: https://github.com/pinojs/pino/compare/v7.11.0...v8.0.0
What's Changed
- replace extreme destination with async destination by @mksmtn in https://github.com/pinojs/pino/pull/1402
- api.md: fix typo by @jordigh in https://github.com/pinojs/pino/pull/1406
- Missing bracket by @mauricius in https://github.com/pinojs/pino/pull/1407
- Ensure first-class support for transpiled & ts code in transports by @castarco in https://github.com/pinojs/pino/pull/1381
- chore: Set permissions for GitHub actions by @naveensrinivasan in https://github.com/pinojs/pino/pull/1409
- docs: add
pino-lokitransport by @Julien-R44 in https://github.com/pinojs/pino/pull/1414
New Contributors
- @jordigh made their first contribution in https://github.com/pinojs/pino/pull/1406
- @mauricius made their first contribution in https://github.com/pinojs/pino/pull/1407
- @castarco made their first contribution in https://github.com/pinojs/pino/pull/1381
- @naveensrinivasan made their first contribution in https://github.com/pinojs/pino/pull/1409
- @Julien-R44 made their first contribution in https://github.com/pinojs/pino/pull/1414
Full Changelog: https://github.com/pinojs/pino/compare/v7.10.0...v7.11.0
What's Changed
- Fix hasOwnProperty usage by @joshkel in https://github.com/pinojs/pino/pull/1359
- Update tap config by @jsumners in https://github.com/pinojs/pino/pull/1384
- build(deps-dev): bump tsd from 0.19.1 to 0.20.0 by @dependabot in https://github.com/pinojs/pino/pull/1391
- Do not leak files when running tests by @mcollina in https://github.com/pinojs/pino/pull/1395
- Add missing require statement by @jsumners in https://github.com/pinojs/pino/pull/1397
- Add LoggerExtras.setBindings to pino.d.ts by @trevorr in https://github.com/pinojs/pino/pull/1394
- Add synchronous sleep in case of synchronous exit by @mcollina in https://github.com/pinojs/pino/pull/1401
- Add LevelWithSilent as an exported type by @deongroenewald in https://github.com/pinojs/pino/pull/1399
- Add option to pass custom levels down to
multistream()from transport by @savardc in https://github.com/pinojs/pino/pull/1398 - docs: add h3 example by @wobsoriano in https://github.com/pinojs/pino/pull/1385
- Bumped thread-stream version by @ramonmulia in https://github.com/pinojs/pino/pull/1382
- build(deps): bump actions/setup-node from 3.0.0 to 3.1.0 by @dependabot in https://github.com/pinojs/pino/pull/1390
- build(deps-dev): update pino-pretty requirement from ^v7.5.4 to ^v7.6.0 by @dependabot in https://github.com/pinojs/pino/pull/1387
- fix incorrect type definition of censor function by @mksmtn in https://github.com/pinojs/pino/pull/1389
New Contributors
- @joshkel made their first contribution in https://github.com/pinojs/pino/pull/1359
- @trevorr made their first contribution in https://github.com/pinojs/pino/pull/1394
- @deongroenewald made their first contribution in https://github.com/pinojs/pino/pull/1399
- @savardc made their first contribution in https://github.com/pinojs/pino/pull/1398
- @wobsoriano made their first contribution in https://github.com/pinojs/pino/pull/1385
- @ramonmulia made their first contribution in https://github.com/pinojs/pino/pull/1382
- @mksmtn made their first contribution in https://github.com/pinojs/pino/pull/1389
Full Changelog: https://github.com/pinojs/pino/compare/v7.9.2...v7.10.0
What's Changed
- Bumped thread-stream to v0.14.0 by @mcollina in https://github.com/pinojs/pino/pull/1377
- build(deps-dev): update pino-pretty requirement from ^v7.5.3 to ^v7.5.4 by @dependabot in https://github.com/pinojs/pino/pull/1374
- Revert "fix: Run parent bindings formatter when creating child logger (#1367)" by @mcollina in https://github.com/pinojs/pino/pull/1380
- Bumped thread-stream to v0.15.0 by @mcollina in https://github.com/pinojs/pino/pull/1379
Full Changelog: https://github.com/pinojs/pino/compare/v7.9.1...v7.9.2
What's Changed
- Fix pino.multristream test failure. by @mcollina in https://github.com/pinojs/pino/pull/1373
Full Changelog: https://github.com/pinojs/pino/compare/v7.9.0...v7.9.1
What's Changed
- feat: add level number to mixin callback by @techmunk in https://github.com/pinojs/pino/pull/1364
- fix: Run parent bindings formatter when creating child logger by @guilhermelimak in https://github.com/pinojs/pino/pull/1367
- use pino/file instead of pino-pretty for caller transport tests by @mcollina in https://github.com/pinojs/pino/pull/1370
- Fixed big flaky test by @mcollina in https://github.com/pinojs/pino/pull/1371
New Contributors
- @techmunk made their first contribution in https://github.com/pinojs/pino/pull/1364
Full Changelog: https://github.com/pinojs/pino/compare/v7.8.1...v7.9.0
What's Changed
- Added documentation for MultiStreamRes, StreamEntry, DestinationStream and Level by @dbacarel in https://github.com/pinojs/pino/pull/1342
- Fix workflow target main branch workflow by @jsumners in https://github.com/pinojs/pino/pull/1346
- docs: add syntax highlighting for typescript by @micalevisk in https://github.com/pinojs/pino/pull/1345
- build(deps): bump actions/setup-node from 2 to 3.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1349
- build(deps): bump pnpm/action-setup from 2.0.1 to 2.2.1 by @dependabot in https://github.com/pinojs/pino/pull/1351
- added newrelic pino extension to docs by @bizob2828 in https://github.com/pinojs/pino/pull/1350
- build: reduce dependabot update frequency by @Fdawgs in https://github.com/pinojs/pino/pull/1356
- fix: Throw when using custom level formatters with multiple transports (#1353) by @guilhermelimak in https://github.com/pinojs/pino/pull/1362
- build(deps-dev): bump tap from 15.2.3 to 16.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1360
New Contributors
- @dbacarel made their first contribution in https://github.com/pinojs/pino/pull/1342
- @micalevisk made their first contribution in https://github.com/pinojs/pino/pull/1345
- @bizob2828 made their first contribution in https://github.com/pinojs/pino/pull/1350
- @guilhermelimak made their first contribution in https://github.com/pinojs/pino/pull/1362
Full Changelog: https://github.com/pinojs/pino/compare/v7.8.0...v7.8.1
What's Changed
- Add
flushfunction to types by @kblcuk in https://github.com/pinojs/pino/pull/1329 - New features must always target the master branch by @mcollina in https://github.com/pinojs/pino/pull/1334
- Refactor the mixing logic by @mcollina in https://github.com/pinojs/pino/pull/1335
- Add action to check PR target by @jsumners in https://github.com/pinojs/pino/pull/1337
- add option
mixinMergeStrategy(to v7) by @alexpts in https://github.com/pinojs/pino/pull/1336
New Contributors
- @kblcuk made their first contribution in https://github.com/pinojs/pino/pull/1329
Full Changelog: https://github.com/pinojs/pino/compare/v7.7.0...v7.8.0
What's Changed
- Add thread locking action by @jsumners in https://github.com/pinojs/pino/pull/1316
Full Changelog: https://github.com/pinojs/pino/compare/v7.6.5...v7.7.0
What's Changed
- build(deps-dev): update pino-pretty requirement from ^v7.4.0 to ^v7.5.0 by @dependabot in https://github.com/pinojs/pino/pull/1307
- fix(types): child is not respect customLevels by @climba03003 in https://github.com/pinojs/pino/pull/1306
- fix error in example by @danjenkins in https://github.com/pinojs/pino/pull/1310
- build(deps-dev): update pino-pretty requirement from ^v7.5.0 to ^v7.5.1 by @dependabot in https://github.com/pinojs/pino/pull/1311
New Contributors
- @danjenkins made their first contribution in https://github.com/pinojs/pino/pull/1310
Full Changelog: https://github.com/pinojs/pino/compare/v7.6.4...v7.6.5
What's Changed
- Added SECURITY.md by @mcollina in https://github.com/pinojs/pino/pull/1299
- fix: stricter type by @climba03003 in https://github.com/pinojs/pino/pull/1297
- build(deps-dev): update pino-pretty requirement from ^v7.3.0 to ^v7.4.0 by @dependabot in https://github.com/pinojs/pino/pull/1305
- fix: test for multiple caller entries by @moshie in https://github.com/pinojs/pino/pull/1304
New Contributors
- @moshie made their first contribution in https://github.com/pinojs/pino/pull/1304
Full Changelog: https://github.com/pinojs/pino/compare/v7.6.3...v7.6.4
What's Changed
- fix: passing stream to transport by @climba03003 in https://github.com/pinojs/pino/pull/1286
- fix: missing types by @ZiiMakc in https://github.com/pinojs/pino/pull/1288
- type: add pipeline to pino.transport options by @Lleios in https://github.com/pinojs/pino/pull/1287
- docs: fix broken link by @yubinTW in https://github.com/pinojs/pino/pull/1291
- chore: simplify formatters normalize by @ZYSzys in https://github.com/pinojs/pino/pull/1294
- Call .end() on thread-stream before exiting the process. by @mcollina in https://github.com/pinojs/pino/pull/1296
New Contributors
- @ZiiMakc made their first contribution in https://github.com/pinojs/pino/pull/1288
- @Lleios made their first contribution in https://github.com/pinojs/pino/pull/1287
- @yubinTW made their first contribution in https://github.com/pinojs/pino/pull/1291
- @ZYSzys made their first contribution in https://github.com/pinojs/pino/pull/1294
Full Changelog: https://github.com/pinojs/pino/compare/v7.6.2...v7.6.3
What's Changed
- Move from fastify-warning to process-warning by @mcollina in https://github.com/pinojs/pino/pull/1282
Full Changelog: https://github.com/pinojs/pino/compare/v7.6.1...v7.6.2
What's Changed
- fix(caller): use calling file name for libraries calling Pino by @FredericEspiau in https://github.com/pinojs/pino/pull/1276
New Contributors
- @FredericEspiau made their first contribution in https://github.com/pinojs/pino/pull/1276
Full Changelog: https://github.com/pinojs/pino/compare/v7.6.0...v7.6.1
What's Changed
- fix: type regression on fastify by @climba03003 in https://github.com/pinojs/pino/pull/1246
- Improve transport/syncfalse test by @mcollina in https://github.com/pinojs/pino/pull/1253
- build(deps): bump fastify/github-action-merge-dependabot from 2.5.0 to 2.7.1 by @dependabot in https://github.com/pinojs/pino/pull/1259
- build(deps-dev): update pino-pretty requirement from ^v7.1.0 to ^v7.3.0 by @dependabot in https://github.com/pinojs/pino/pull/1265
- fix: improved caller detection by @Eomm in https://github.com/pinojs/pino/pull/1267
- build(deps-dev): bump @types/node from 16.11.14 to 17.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1270
- build(deps-dev): bump airtap from 4.0.3 to 4.0.4 by @dependabot in https://github.com/pinojs/pino/pull/1244
Full Changelog: https://github.com/pinojs/pino/compare/v7.5.1...v7.6.0
What's Changed
- Fix JSDOM TS issue. by @kibertoad in https://github.com/pinojs/pino/pull/1251
Full Changelog: https://github.com/pinojs/pino/compare/v7.5.0...v7.5.1
What's Changed
- Clarify that the "Exit logger" does not apply on Node v14+ by @mcollina in https://github.com/pinojs/pino/pull/1240
- Issue #1193 - Typescript typings top level exports by @thw0rted in https://github.com/pinojs/pino/pull/1195
New Contributors
- @thw0rted made their first contribution in https://github.com/pinojs/pino/pull/1195
Full Changelog: https://github.com/pinojs/pino/compare/v7.4.1...v7.5.0
What's Changed
- test: make test timeouts configurable by @mhdawson in https://github.com/pinojs/pino/pull/1238
New Contributors
- @mhdawson made their first contribution in https://github.com/pinojs/pino/pull/1238
Full Changelog: https://github.com/pinojs/pino/compare/v7.4.0...v7.4.1
What's Changed
- build(deps-dev): bump tsd from 0.18.0 to 0.19.0 by @dependabot in https://github.com/pinojs/pino/pull/1231
- Update LTS document by @jsumners in https://github.com/pinojs/pino/pull/1233
- forward all unknown options passed to pino/file transport to destination by @mojavelinux in https://github.com/pinojs/pino/pull/1234
- consistently use the term mergingObject in the docs by @mojavelinux in https://github.com/pinojs/pino/pull/1235
- docs: add the bundling instruction for Webpack by @pan93412 in https://github.com/pinojs/pino/pull/1236
- Coerce string integer destinations to file descriptors by @jsumners in https://github.com/pinojs/pino/pull/1180
Full Changelog: https://github.com/pinojs/pino/compare/v7.3.0...v7.4.0
What's Changed
- Clarify that
watchFileCreatedfails are timeouts by @voxpelli in https://github.com/pinojs/pino/pull/1219 - Avoid duplicate action runs for eg. Dependabot by @voxpelli in https://github.com/pinojs/pino/pull/1220
- build(dependabot): ignore minor and patch github-actions updates by @Fdawgs in https://github.com/pinojs/pino/pull/1224
- pass mkdir option on pino/file transport to destination by @mojavelinux in https://github.com/pinojs/pino/pull/1223
- Add node v17 to CI by @mcollina in https://github.com/pinojs/pino/pull/1228
- pass append option on pino/file transport to pino.destination function by @mojavelinux in https://github.com/pinojs/pino/pull/1229
New Contributors
- @voxpelli made their first contribution in https://github.com/pinojs/pino/pull/1219
- @mojavelinux made their first contribution in https://github.com/pinojs/pino/pull/1223
Full Changelog: https://github.com/pinojs/pino/compare/v7.2.0...v7.3.0
What's Changed
- feat: Support bundlers. by @ShogunPanda in https://github.com/pinojs/pino/pull/1209
- Updated thread-stream to v0.13.0 by @mcollina in https://github.com/pinojs/pino/pull/1216
New Contributors
- @ShogunPanda made their first contribution in https://github.com/pinojs/pino/pull/1209
Full Changelog: https://github.com/pinojs/pino/compare/v7.1.0...v7.2.0
What's Changed
- Fix max-depth using safe-stable-stringify by @sameer-coder in https://github.com/pinojs/pino/pull/1169
- Update help.md (resolves #1188) by @jitterjuice1 in https://github.com/pinojs/pino/pull/1190
- Update api.md (resolves #1187) by @choinker in https://github.com/pinojs/pino/pull/1192
- Fixes issue with nested keys by @sameer-coder in https://github.com/pinojs/pino/pull/1198
- Improve docs and deprecation about prettyPrint by @mcollina in https://github.com/pinojs/pino/pull/1203
- Removed console.log() from transport doc by @mcollina in https://github.com/pinojs/pino/pull/1204
- bumped thread-stream to v0.12.0 by @mcollina in https://github.com/pinojs/pino/pull/1205
- Deprecation warning for pino.final() in Node v14+ by @sameer-coder in https://github.com/pinojs/pino/pull/1199
- build(deps): bump pino-abstract-transport from 0.4.0 to 0.5.0 by @dependabot in https://github.com/pinojs/pino/pull/1207
New Contributors
- @sameer-coder made their first contribution in https://github.com/pinojs/pino/pull/1169
- @jitterjuice1 made their first contribution in https://github.com/pinojs/pino/pull/1190
- @choinker made their first contribution in https://github.com/pinojs/pino/pull/1192
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.5...v7.1.0
What's Changed
- Flush on exit by @mcollina in https://github.com/pinojs/pino/pull/1185
- fixed flaky test in transport by @mcollina in https://github.com/pinojs/pino/pull/1186
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.4...v7.0.5
What's Changed
- docs: fix pino-abstract-transport and mention hwp by @simoneb in https://github.com/pinojs/pino/pull/1174
- Make transport Jest-aware by @mcollina in https://github.com/pinojs/pino/pull/1181
New Contributors
- @simoneb made their first contribution in https://github.com/pinojs/pino/pull/1174
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.3...v7.0.4
What's Changed
- build(deps): bump actions/checkout from 2.3.4 to 2.3.5 by @dependabot in https://github.com/pinojs/pino/pull/1170
- doc/transport: fix export typo by @glensc in https://github.com/pinojs/pino/pull/1173
- Fixes #1167 (dedupe should write to all streams matching the target level) by @frzsombor in https://github.com/pinojs/pino/pull/1172
- Bring the asynchronous logging doc up to v7 by @mcollina in https://github.com/pinojs/pino/pull/1171
New Contributors
- @frzsombor made their first contribution in https://github.com/pinojs/pino/pull/1172
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.2...v7.0.3
What's Changed
- build(deps-dev): update pino-pretty requirement from ^v7.0.1 to ^v7.1.0 by @dependabot in https://github.com/pinojs/pino/pull/1155
- Fix types for
pino.multistreamby @clemyan in https://github.com/pinojs/pino/pull/1152 - fix(docs/transports): #pino/file has been renamed to pino/file by @pan93412 in https://github.com/pinojs/pino/pull/1159
- build(deps-dev): bump split2 from 3.2.2 to 4.0.0 by @dependabot in https://github.com/pinojs/pino/pull/1163
- fix formatters when used along transport by @TinOo512 in https://github.com/pinojs/pino/pull/1162
- Add transport option param to types by @kibertoad in https://github.com/pinojs/pino/pull/1156
New Contributors
- @clemyan made their first contribution in https://github.com/pinojs/pino/pull/1152
- @pan93412 made their first contribution in https://github.com/pinojs/pino/pull/1159
- @TinOo512 made their first contribution in https://github.com/pinojs/pino/pull/1162
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.1...v7.0.2
Updated install instructions
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0...v7.0.1
New Features
pino.transport()
Create a a stream that routes logs to a worker thread that wraps around a Pino Transport.
const pino = require('pino')
const transport = pino.transport({
target: 'some-transport',
options: { some: 'options for', the: 'transport' }
})
pino(transport)
Multiple transports may also be defined, and specific levels can be logged to each transport:
const pino = require('pino')
const transports = pino.transport({
targets: [{
level: 'info',
target: 'pino-pretty'
}, {
level: 'trace',
target: 'pino/file',
options: { destination: '/path/to/store/logs' }
}]
})
pino(transports)
Transports may alternatively be arranged in a pipeline:
const logger = pino({
transport: {
pipeline: [{
target: './my-transform.js'
}, {
// Use target: 'pino/file' to write to stdout
// without any change.
target: 'pino-pretty'
}]
}
})
logger.info('hello world')
For more on transports, how they work, and how to create them see the Transports documentation.
The internal implementation is based on thread-stream ⇗.
`pino.multistream()``
We have embedded a part of pino-multi-stream into pino itself, so you would be able to write to multiple streams from the same pino instance:
var fs = require('fs')
var pino = require('pino')
var streams = [
{stream: fs.createWriteStream('/tmp/info.stream.out')},
{level: 'debug', stream: fs.createWriteStream('/tmp/debug.stream.out')},
{level: 'fatal', stream: fs.createWriteStream('/tmp/fatal.stream.out')}
]
var log = pino({
level: 'debug' // this MUST be set at the lowest level of all the destinations
}, pino.multistream(streams))
log.debug('this will be written to /tmp/debug.stream.out')
log.info('this will be written to /tmp/debug.stream.out and /tmp/info.stream.out')
log.fatal('this will be written to /tmp/debug.stream.out, /tmp/info.stream.out and /tmp/fatal.stream.out')
This differs from pino.transport() as all the streams will be executed within the main thread, i.e. the one that created the pino instance.
Added TypeScript types
Types have been added to the the project, so you can now use pino with TypeScript without downloading any additional types: you should remove @types/pino from your project. The following typescript example would now work correctly:
import { pino } from "pino";
const log = pino();
log.info("hello world");
log.error("this is at error level");
log.info("the answer is %d", 42);
log.info({ obj: 42 }, "hello world");
log.info({ obj: 42, b: 2 }, "hello world");
log. info({ obj: { aa: "bbb" } }, "another");
Updated sonic-boom
sonic-boom, our fs.createWriteStream() replacement has become safer to use in v2.x.
A few selected changes:
- Atomic sync writes https://github.com/pinojs/sonic-boom/pull/102
- Add retryEAGAIN callback function https://github.com/pinojs/sonic-boom/pull/95
- Fix writing deadlock https://github.com/pinojs/sonic-boom/pull/104
- flush() with no buffered data should work https://github.com/pinojs/sonic-boom/pull/105
Solved "exit" problem for sync: false destinations and transports
Thanks to the addition of WeakRef and FinalizationRegistry to JavaScript (available in Node.js v14+) we can automatically flush asynchronous streams when the processes exits without leaking memory.
Check out https://github.com/mcollina/on-exit-leak-free.
Breaking Changes
Deprecation of prettyPrint option
The prettyPrint option has been deprecated in favor of the new transport system.
Dropped Node.js v10.x
Node.js v10 went out of LTS/Maintenance in April 2021. We are dropping support.
Apply err serializer everywhere
We will start applying the err serializer also to Error objects passed in as first argument to log methods, e.g. log.info(new Error('kaboom')) will pass through the serializer.
Removal of extreme mode
Extreme mode has been deprecated in previous release cycle and it has now been removed.
Pull Requests
- removed all outstanding deprecations (#1057)
- pino.transport() (#1003)
- Add pino.multistream (#1004)
- Add TS types (#913)
- Apply err serializer everywhere. (#896)
- Make the nestedKey only take effect in the serialized object and fix error detection and serialization #885
- fix: transport async function example (#1071)
- refactor: update typings (#1073)
- Make sure that the main thread stays alive to process stdout. (#1075)
- Completely removed extreme mode by @mcollina in https://github.com/pinojs/pino/pull/1090
- Make ThreadStream sync: false (the default) by @mcollina in https://github.com/pinojs/pino/pull/1089
- Automatically flush the logs on exit in Node v14+ by @mcollina in https://github.com/pinojs/pino/pull/1091
- Add overload to handle unknown returned by TS-4.4 for errors be default by @kibertoad in https://github.com/pinojs/pino/pull/1116
- pino-pretty transport convertion by @mcollina in https://github.com/pinojs/pino/pull/1110
- Package manager CI action by @Eomm in https://github.com/pinojs/pino/pull/1113
- Deprecate the prettyPrint option by @mcollina in https://github.com/pinojs/pino/pull/1122
- add transports constructor option by @Eomm in https://github.com/pinojs/pino/pull/1111
- Use fastify-warning in v7 by @jsumners in https://github.com/pinojs/pino/pull/1093
- Document pino.transport() async startup by @mcollina in https://github.com/pinojs/pino/pull/1097
- Improve TS types by @kibertoad in https://github.com/pinojs/pino/pull/1099
- Removed deprecated options in pino.child() by @mcollina in https://github.com/pinojs/pino/pull/1124
- Update the
options.leveldocumentation of the child logger by @marcbachmann in https://github.com/pinojs/pino/pull/1125 - fix: make pino.final sync flushes when no handler provided (#1126) by @javiertury in https://github.com/pinojs/pino/pull/1127
- Removed multistream prettyPrint deprecation and clean up docs by @mcollina in https://github.com/pinojs/pino/pull/1123
- dep: removes fast-safe-stringify dep by @leorossi in https://github.com/pinojs/pino/pull/1129
- Remove whitespace from markdown files by @justinpage in https://github.com/pinojs/pino/pull/1131
- Restore automerge by @kibertoad in https://github.com/pinojs/pino/pull/1135
- Removed coveralls, removed TS badge by @mcollina in https://github.com/pinojs/pino/pull/1134
- fix: flush thread-stream missing callback by @climba03003 in https://github.com/pinojs/pino/pull/1137
-
- Transport pipeline by @mcollina in https://github.com/pinojs/pino/pull/1143
-
- fix missing end quote in docs/transports.md by @xieyuheng in https://github.com/pinojs/pino/pull/1148
- Correctly select the caller file when using the transport option by @mcollina in https://github.com/pinojs/pino/pull/1147
What's Changed
- fix missing end quote in docs/transports.md by @xieyuheng in https://github.com/pinojs/pino/pull/1148
- Correctly select the caller file when using the transport option by @mcollina in https://github.com/pinojs/pino/pull/1147
New Contributors
- @xieyuheng made their first contribution in https://github.com/pinojs/pino/pull/1148
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0-rc.8...v7.0.0-rc.9
What's Changed
- build(deps): bump actions/setup-node from 2.4.0 to 2.4.1 by @dependabot in https://github.com/pinojs/pino/pull/1141
- Transport pipeline by @mcollina in https://github.com/pinojs/pino/pull/1143
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0-rc.7...v7.0.0-rc.8
What's Changed
- Remove in-between Transform for file.js by @mcollina in https://github.com/pinojs/pino/pull/1140
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0-rc.6...v7.0.0-rc.7
What's Changed
- Restore automerge by @kibertoad in https://github.com/pinojs/pino/pull/1135
- Removed coveralls, removed TS badge by @mcollina in https://github.com/pinojs/pino/pull/1134
- fix: flush thread-stream missing callback by @climba03003 in https://github.com/pinojs/pino/pull/1137
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0-rc.5...v7.0.0-rc.6
What's Changed
- Removed deprecated options in pino.child() by @mcollina in https://github.com/pinojs/pino/pull/1124
- Update the
options.leveldocumentation of the child logger by @marcbachmann in https://github.com/pinojs/pino/pull/1125 - fix: make pino.final sync flushes when no handler provided (#1126) by @javiertury in https://github.com/pinojs/pino/pull/1127
- Removed multistream prettyPrint deprecation and clean up docs by @mcollina in https://github.com/pinojs/pino/pull/1123
- dep: removes fast-safe-stringify dep by @leorossi in https://github.com/pinojs/pino/pull/1129
- Remove whitespace from markdown files by @justinpage in https://github.com/pinojs/pino/pull/1131
- build(deps): bump pino-abstract-transport from 0.2.0 to 0.3.0 by @dependabot in https://github.com/pinojs/pino/pull/1130
- build(deps-dev): update pino-pretty requirement from ^v7.0.0 to ^v7.0.1 by @dependabot in https://github.com/pinojs/pino/pull/1132
- added
file.jstopackage.json
New Contributors
- @javiertury made their first contribution in https://github.com/pinojs/pino/pull/1127
- @leorossi made their first contribution in https://github.com/pinojs/pino/pull/1129
- @justinpage made their first contribution in https://github.com/pinojs/pino/pull/1131
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0-rc.4...v7.0.0-rc.5
What's Changed
- Use fastify-warning in v7 by @jsumners in https://github.com/pinojs/pino/pull/1093
- Document pino.transport() async startup by @mcollina in https://github.com/pinojs/pino/pull/1097
- Improve TS types by @kibertoad in https://github.com/pinojs/pino/pull/1099
- build(deps): bump actions/setup-node from 2.3.0 to 2.4.0 by @dependabot in https://github.com/pinojs/pino/pull/1085
- Add overload to handle unknown returned by TS-4.4 for errors be default by @kibertoad in https://github.com/pinojs/pino/pull/1116
- pino-pretty transport convertion by @mcollina in https://github.com/pinojs/pino/pull/1110
- Package manager CI action by @Eomm in https://github.com/pinojs/pino/pull/1113
- Deprecate the prettyPrint option by @mcollina in https://github.com/pinojs/pino/pull/1122
- add transports constructor option by @Eomm in https://github.com/pinojs/pino/pull/1111
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0-rc.3...v7.0.0-rc.4
What's Changed
- build(deps): bump actions/setup-node from 2.2.0 to 2.3.0 by @dependabot in https://github.com/pinojs/pino/pull/1070
- build(deps-dev): bump @types/node from 15.14.5 to 16.4.10 by @dependabot in https://github.com/pinojs/pino/pull/1082
- Fix typo by @vladshcherbin in https://github.com/pinojs/pino/pull/1084
- Completely removed extreme mode by @mcollina in https://github.com/pinojs/pino/pull/1090
- Make ThreadStream sync: false (the default) by @mcollina in https://github.com/pinojs/pino/pull/1089
- Automatically flush the logs on exit in Node v14+ by @mcollina in https://github.com/pinojs/pino/pull/1091
New Contributors
- @vladshcherbin made their first contribution in https://github.com/pinojs/pino/pull/1084
Full Changelog: https://github.com/pinojs/pino/compare/v7.0.0-rc.2...v7.0.0-rc.3
📚 PR:
- fix: transport async function example (#1071)
- refactor: update typings (#1073)
- Make sure that the main thread stays alive to process stdout. (#1075)
v7.0.0-rc.1
- First release of the v7 Release Candidate series.
All v7.0.0 release notes are included.
v7.0.0 release notes
New Features
pino.transport()
Create a a stream that routes logs to a worker thread that wraps around a Pino Transport.
const pino = require('pino')
const transport = pino.transport({
target: 'some-transport',
options: { some: 'options for', the: 'transport' }
})
pino(transport)
Multiple transports may also be defined, and specific levels can be logged to each transport:
const pino = require('pino')
const transports = pino.transport({
targets: [{
level: 'info',
target: 'some-transport',
options: { some: 'options for', the: 'transport' }
}, {
level: 'trace',
target: '#pino/file',
options: { destination: '/path/to/store/logs' }
}]
})
pino(transports)
For more on transports, how they work, and how to create them see the Transports documentation.
- See
Transports - See
thread-stream⇗
`pino.multistream()``
We have embedded a part of pino-multi-stream into pino itself, so you would be able to write to multiple streams from the same pino instance:
var fs = require('fs')
var pino = require('pino')
var streams = [
{stream: fs.createWriteStream('/tmp/info.stream.out')},
{level: 'debug', stream: fs.createWriteStream('/tmp/debug.stream.out')},
{level: 'fatal', stream: fs.createWriteStream('/tmp/fatal.stream.out')}
]
var log = pino({
level: 'debug' // this MUST be set at the lowest level of all the destinations
}, pino.multistream(streams))
log.debug('this will be written to /tmp/debug.stream.out')
log.info('this will be written to /tmp/debug.stream.out and /tmp/info.stream.out')
log.fatal('this will be written to /tmp/debug.stream.out, /tmp/info.stream.out and /tmp/fatal.stream.out')
This differs from pino.transport() as all the streams will be executed within the main thread, i.e. the one that created the pino instance.
Added TypeScript types
Types have been added to the the project, so you can now use pino with TypeScript without downloading any additional types: you should remove @types/pino from your project. The following typescript example would now work correctly:
import { pino } from "pino";
const log = pino();
log.info("hello world");
log.error("this is at error level");
log.info("the answer is %d", 42);
log.info({ obj: 42 }, "hello world");
log.info({ obj: 42, b: 2 }, "hello world");
log. info({ obj: { aa: "bbb" } }, "another");
Breaking Changes
Dropped Node.js v10.x
Node.js v10 went out of LTS/Maintenance in April 2021. We are dropping support.
Apply err serializer everywhere
We will start applying the err serializer also to Error objects passed in as first argument to log methods, e.g. log.info(new Error('kaboom')) will pass through the serializer.
Pull Requests
- removed all outstanding deprecations (#1057)
- pino.transport() (#1003)
- Add pino.multistream (#1004)
- Add TS types (#913)
- Apply err serializer everywhere. (#896)
- Make the nestedKey only take effect in the serialized object and fix error detection and serialization #885
What's Changed
- Add option
mixinMergeStrategyby @alexpts in https://github.com/pinojs/pino/pull/1328
Full Changelog: https://github.com/pinojs/pino/compare/v6.13.4...v6.14.0
What's Changed
- Move from fastify-warning to process-warning by @mcollina in https://github.com/pinojs/pino/pull/1283
Full Changelog: https://github.com/pinojs/pino/compare/v6.13.3...v6.13.4
- Disable 100% coverage check
Full Changelog: https://github.com/pinojs/pino/compare/v6.13.2...v6.13.3
What's Changed
- Support the newer pino-pretty as well as the older in v6.x by @mcollina in https://github.com/pinojs/pino/pull/1117
Full Changelog: https://github.com/pinojs/pino/compare/v6.13.1...v6.13.2
- Reduce verbosity of deprecation warnings #1092
📚 PR:
- refactor: deprecate child bindings apply options (#1067)
- docs: fix an incorrect links in
docs/lts.md(#1069) - build(deps): bump actions/setup-node from 2.1.5 to 2.2.0 (#1047)
📚 PR:
- Update ci.yml
- [Docs] document that
.child()call triggerslevel-changeevent. (#1014) - ci: add nodejs v16 to test matrix (#1018)
- build(deps): bump actions/checkout from 2 to 2.3.4 (#1024)
- ci: remove redundant conditional; ignore doc updates (#1026)
- build(deps-dev): bump eslint-plugin-promise from 4.3.1 to 5.1.0 (#1029)
- build(deps): bump fastify/github-action-merge-dependabot (#1030)
- build(deps): bump actions/upload-artifact from 2.2.3 to 2.2.4 (#1044)
- build(deps): bump fastify/github-action-merge-dependabot (#1033)
- Better describe base options in docs (#1046)
- build(deps): bump coverallsapp/github-action from 1.1.2 to 1.1.3 (#1055)
- Handle complex object cases (#1061)
- Improved LTS documentation (#1060)
- feat: child redact option (#1059)
📚 PR:
- quick-format-unescaped@^4.0.3 is fixed (#985)
- docs: fix reference to pino-websocket (#989)
- Update to tap v15 (#999)
- docs: fix Event: levelChange example (#1000)
- Bump actions/upload-artifact from v2.2.2 to v2.2.3 (#1002)
- Bump fastify/github-action-merge-dependabot from v1.2.1 to v2.0.0 (#986)
- docs: use brackets for hyphenated properties (#1005)
- doc: Add description statement to benchmark results (#1008)
- fix: prettyPrint options - misleading error message with wrong option value (#1012)
- Temporary fix for #983 #984
📚 PR:
- Typo
- Merge pull request #957 from mendeljacks/patch-1
- clarify options.timestamp usage (#953)
- docs/transport: add pino-kafka (#954)
- Make the build pass again (#962)
- Update errors documentation #948 #949
- Update mixin documentation #951 #952
- Replace
varwithletandconst#947 #950
📚 PR:
- Bump up pino-std-serializers dependency (#946)
📚 PR:
- docs: upgrade all available http links to https
- Merge pull request #941 from xom9ikk/upgrate-to-https
- Add pino-dev as an ecosystem package in the docs
- Merge pull request #943 from dnjstrom/docs/pino-dev
- docs: Fix a tiny typo (#939)
- Fix typos (#940)
- access log level in hook #909 (#944)
📚 PR:
- #915 Adding path case sensitivity to docs (#916)
- Fix link on pretty document (#927)
- pass merging object to mixins (#926)
- address destructuring mergeObject in docs (#928)
- doc: fix wrong link to logger.level (#929)
- docs/transport: add pino-gelf (#934)
- Support Babel/Typescript "faux modules" as well as native ESM (#936)
- integrate fast-redact v3 #917
- Fix time quoting in prettification #905 #907
📚 PR:
- Add timestamp option to browser env, closes #903 (#904)
📚 PR:
- Clear cached parsed chindings when they're changed with .setBindings (fixes #890) (#893)
- Update deps (#894)
- Revert
originalMsgfeature #882
- Remove unused communication channels from README #880
📚 PR:
- Issue 855 clarify mixin docks (#857)
- Docs Map log level to Stackdriver Severity (#726) (#865)
- order levels, trace maps to DEBUG severity (#868)
- Wrap prototype in factory and guard against loss of scope. (#875)
- Avoid data loss with conflictig 'msg' values. (#876)
📚 PR:
- Issue 87 child binding redact bug (#856)
📚 PR:
- Set sync: true when passing in no defaults (#852)
📚 PR:
- Added node v14 to CI (#829)
- Use object shorthand for properties (#830)
- added pino-tiny to Community list (#832)
- Remove obsolete logger field mentions from docs (#836)
- Remove pino extreme mentions in docs and code (#838)
- Disable code coverage on Windows (#839)
- Revert "Disable code coverage on Windows (#839)" (#843)
- Remove useless return (#844)
- Allow to suppress prettyPrint flush sync warning (#841)
📚 PR:
- express-pino-logger should be deprecated (#814)
- Fixed docs links for asynchronous logging. (#827)
- Updated benchmarks (#828)
📚 PR:
- Add rc files
- Merge pull request #811 from pinojs/dx-improvements
- Support formatters.log on pretty print (#809)
- Add "silent" property with "noop" value to the pino instance (#802)
- Multi stream logging docs (#822)
- Update docs interpolation values examples to match v6 (#818)
📚 PR:
- Dropped "Inspired by bunyan".
- Correctly forwards chindings to prettyPrint when using option (#810)
- Add a hook API to allow mutation of log method parameters before the log method is invoked. #803 #808
Major changes
- Drops support for no longer maintained versions of Node.js #776 #747
- Removes
vfrom 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:
log.info('a message', { an: 'object'})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.:
log.info('a message %j', { an: 'object' })log.info('a %s %s', 'silly', 'message')
- Fix two broken links in the documentation (#769)
- api.md - fix wrong letter case (#770)
- Fixed stream metadata loss during prettification (#780)
- Deprecate the
changeLevelNameoption and alias it tolevelKey(#772) - Bind pino instance to prettifier (#721)
- add
nestedKeyoption https://github.com/pinojs/pino/pull/759
📚 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)
📚 PR:
- catch potential write errors on fatal flush sync (#740)
- feat(mixin): add mixin config option (#741)
📚 PR:
- Bumped dependencies
- fix(redaction): fix corner cases with paths (#732)
- Add MySQL/MariaDB transport (#708)
- always sync flush on fatal log – https://github.com/pinojs/pino/pull/730
- fastify integration clarification - https://github.com/pinojs/pino/pull/729
- bump fast redact #714
📚 PR:
- docs(transports): add CloudWatch (#696)
- docs(api): remove Lambda note in pino-destination (#697)
- fix(serializers): properly transfer Symbol based serializers (#707)
- docs(api): fix binding example (#700)
- docs update #690
- #684
- flatstr 0.7.5
- Updated to standard v13 (#683)
- Remove note about fastify v2 and link to right doc (#678)
- Updated copyright to 2019
- Fix metadata streams docs links #676
- docs fix #659
- browser fix #658
- mobile safari browser fix #653
- fix browser issues #650
- fix ci by keeping browser pino compat with pino-std-serializers – #646
- add new ecosystem module to docs – #645
- docs fix – #638
- stateful bug fix #637
- resolve message key state issue #635
- add pino-websocket transport to docs #611
- Fix bug Global serializer not invoked for strings when
base: null(#597) - Add cls-proxify to ecosystem.md (#604)
- Fix wildcard redacting with a custom censor function (#617)
- fix message precedence over merging object https://github.com/pinojs/pino/pull/616
- Support hapi-pino in pino-browser #612
- add pino-fluentd to community modules [docs] #594
- add
bindingsmethod to logger instances #588
- fix for
asObjectandtransmit.sendinterrelated bug #590
- redaction top level key fixes #592
- Support leading wildcards in redaction filters #587
- fix browser transmit method https://github.com/pinojs/pino/pull/585
- docs typo fix #577
- Removed unused dependencies #574
- docs update #572
- fix invalid JSON when
redact.removeacts on chindings #570
- doc fixes, https://github.com/pinojs/pino/pull/567
- fix failing test, allow censor function #551
- simplify switch statement #550
- add note about Windows terminal #552
- added docs about the new censor function #553
- Do not crash on broken pipe, redirect to /dev/null #540
- Fix response headers in test #529
- Makes final warn instead of throw when using prettyPrint #528
- Don't use default levels if useOnlyCustomLevel is specified #522
- The serializer object should not have a prototype #527
- Convert NaN and Infinity to null #519
- Convert -Infinity to null #520
- Allow custom level to remove defaults #515
- Do not error "primitives cannot be redacted" #514
- Added the ability to change the level name when creating an instance #503
- Correctly assemble the message for pretty when an error is present #501
- pino.final extension to create finalLogger directly when no callback supplied #496
- Protect from
process.stdout.writehacks #493 useLevelLabelsoption #492
- Do not use SonicBoom for stdout on Lambda #489
- Make
Symbol.for('pino.serializers')part of the public API #487
- Forward errors passed as first args to pretty #486
- Fix prettyPrint child data #484 #485
- 100% coverage, as a minimum #483
- allow for square bracket notation in
redactoption paths, #482
- Bump sonic-boom to v0.6.0 #473
- Apply serializers and redact when prettyPrint: true #474 #475
- Do not crash on
prettyPrint: { translateTime: true }#476
- Use SonicBoom https://github.com/pinojs/pino/pull/394
- Redact API https://github.com/pinojs/pino/pull/420
- Fast UTC time as timestamp https://github.com/pinojs/pino/pull/415
- Removed slowtime https://github.com/pinojs/pino/pull/391
- Removed safe option https://github.com/pinojs/pino/pull/470
- Support automatic destination with string https://github.com/pinojs/pino/pull/472
- Added
pino.finalhttps://github.com/pinojs/pino/pull/454 - Updated dependencies
- Dropped Node v4
And many many refactoring!
- Do not cast to strickt
Error#stack#464
- Support logging errors that do not contain a stack #457
- internal typo and circular formatting fix – https://github.com/pinojs/pino/pull/422
- Fix level set in browser logger #424
- Fix to set level in the browser https://github.com/pinojs/pino/pull/424
- Add level and levelVal property to browser pino #418 #419
- Update Winston dependency for benchmarks (#232)
- Update documentation (#281 #387)
- added lastTime meta parameter #385
- Fix pretty-print with null error stack #383
- update pino-std-serializers #380
- update pino-std-serializers module #379
- std serializers typo fix, plus new deprecation tests #377
- Improved serialized stacktraces in pretty #374
- Introducing global serializer #365
- Add CLI option
--errorPropsfor additional formatting options (#360, #359)
- Use serializers from
pino-std-serializers(#364)
- Added
--dateFormatand--localTimehttps://github.com/pinojs/pino/pull/280
- fix test for browser pino @mcollina #353
- Fixed extreme mode SIGHUP handling in Node 9 #342 #339 #340
- supports pretty with no baseLog #333
- Do not throw if the passed stream is stdout @mcollina #332
- Customizable base log (#282 #324)
- Add additional context to pretty formatter (#316 #317)
- Throw when prettyPrint enabled with stream specified (#298 #321)
- Add
isLevelEnabled(logLevel)utility method (#320)
- crlf support for ndjson output - windows tooling support - @tniessen #327
- browser tests updated to ensure they run in browser environment @davidmarkclements #314
- add missing timestamp to transmit API @davidmarkclements #315
- add new transmit API to browser pino @davidmarkclements #319
- add support for silent level in browser pino #309
- Add
unixTimestandard time function (#292)
- Add transports clarification to main readme #263 #267
- Added logstash link in
doc/transports.mdhttps://github.com/pinojs/pino/pull/264 by @vladgolubev - Improved performance of child creation #268 by @mcollina
- Metadata protocol #258 by @mcollina
- Fix crash in request serializer behind a proxy #254 @joakimbeng
- Use
this.stringify()instead ofJSON.stringifyhttps://github.com/pinojs/pino/pull/251 by @doron2402
- added levelVal check to addLevel function #247 by @bbonagura9
- Make
pretty()do not crash if there is no timestamp #244 by @mcollina
- Correct documentation typo ( #240 )
- Clarify serializers in documentation ( #241 )
- Add support for supplying custom timestamp functions ( #239 #202 )
- add forceColor option to printer printer #237 (@sandyplace)
- Configurable message property name ( #233 )
- Typo correction ( #234 )
- Expose Pino version via
pinoproperty ( #235 )
- update package.json quick-format-unescpaed to v1.1.1 - allows browser side bundling in IE10 (use of const breaks IE10 - see #228) @davidmarkclem #229
- Removed
pumpfrom devDependencies #227
- Fix child bindings not merging properly in parsed log line #222 #224
- fix for browser child loggers by @davidmarkclem (#223)
- write hooks an
asObjectmode for logging via pino in browser, by @davidmarkclem (#218)
- Do not use
require.resolve#216 #217 by @temsa - Fixed spelling in docs #215 by @psykzz
- Use top level functions #214 by @jsumners
- Fixed #212
- Use
Object.createto define thePinoprototype #210 by @jsumners - Refactor the factory to avoid
new#211 by @jsumners - Support webpack for build in serverside mode #201 by @joeyvandijk
- bump
fast-safe-stringifyto handle toJSON edge case on objects (cf. #203) #204 @davidmarkclements
- internally, the "silent" log level is now a no-op, to be more predictable to consuming libs - by @jsumners (#199)
- Fix child serializers overwriting the serializers of parents @choif ( #195 #196 )
- Fix typo in transports documentation @AlexTes ( #188 )
- Add external link indicator to Readme TOC @jmeas ( #189 )
- Re-work handling of events in extreme mode @jsumners @mcollina ( #187 )
- Add
prettyPrintconvenience option to constructor ( #184 #186 )
- fix for null proto objects by @davidmarkclements #181
- Include
lib/folder in package.json
- Reorganize code for legibility #179 by @jsumners
- Fix detection of errors vs http requests #175 #176 @nodo
- Change level value of "silent" (disabled) to
Infinity#174 @itavy
- fix shared level state between instances #167 by @HCanber @jsumners
- fix logged level number for custom level after a level change #177 by @jsumners
- normalize messages as strings https://github.com/pinojs/pino/pull/171 by @mcollina
- fix pino pretty custom levels - #173 by @itavy
- Fix docs for
.pretty(), as it's actually on the module, not in the instance #164 by @watson - Added @watson as a team member
- Added links to
pino@legacyin the README #166 by @watson
- Improve the error serializer #146 #157 by @satazor @colmose @mcollina
- Fix prettifier error when receiving
nullvalue input #154 #155 @jsumners
- Split
READMEinto multiple files for better organization #152 #153 @jsumners
- Reduce the size of the package #137 #136 @osher
- readme tweak fix @davidmarkclem
- Condense README #143 by @davidmarkclements
- Fix for #139, #141 by @mcollina
- added
pino-debugto readme - #133 - @davidmarkclements
- improved deep object interpolation performance and fixed double escaping bug #129 by @davidmarkclements
- Support custom log levels #124 #123 by @jsumners
- Drop support for Node v0.10 and 0.12, and
native-assigndependency by @jsumners - Open Open Source #127 #118 by @mcollina
- Refactor the internal constructors #125 by @mcollina
This release gets the 2.x branch up to date with the latest bug-fixes and new features from master and as such include all non-breaking commits that have been released from v3.0.0 up until v3.1.0, including:
- Improve the error serializer #146 #157 by @satazor @colmose @mcollina
- Fix prettifier error when receiving
nullvalue input #154 #155 @jsumners - Split
READMEinto multiple files for better organization #152 #153 @jsumners - Reduce the size of the package #137 #136 @osher
- readme tweak fix @davidmarkclements
- Condense README #143 by @davidmarkclements
- Fix for #139, #141 by @mcollina
- added
pino-debugto readme - #133 - @davidmarkclements - improved deep object interpolation performance and fixed double escaping bug #129 by @davidmarkclements
- Open Open Source #127 #118 by @mcollina
- Refactor the internal constructors #125 by @mcollina
- Add
formatteroption to `pino.pretty() #121 by @msaspence
- minimal browser implementation that uses
consolein browser environments #114, by @davidmarkclements
- Escape all characters in messages #113 #112 by @mcollina @mstade @jsumners
- expose
Pinoconstructor #107 (see #106 for motivations) by @jsumners
- add missing question marks to readme
- add "How do I redact sensitive information" to readme
- handle undefined from
toJsonhttps://github.com/mcollina/pino/pull/98
- Pass through on non-pino lines #95 by @jsumners
- Support emitting logs without a timestamp #90 #91 by @jsumners
- README fix #89 by @jsumners
- Force update of
fast-safe-stringifyto v1.1.0 by @mcollina
- Fixed a potential data loss scenario in extreme mode when the output is not
process.stdout#84 #88 by @jsumners - Added @jsumners as a contributor! Hurray 🎉 !
- Support passing in redirected output #85 #86 by @mcollina
- Added support for flipping level and time in pretty #82 by @colm-mcqs
- Reverting of #79 because it was slowing things down in v6 by @mcollina
- Improved object logging #79 by @marcbachmann
- What v2.8.0 should have been, but it wasn't by @mcollina
- serializers might strip keys #77 by @davidmarkclements
- support serializers in child loggers #75 by @dgonzalez
- Added logo and banner #74
- Documented flush #73 by @dgonzalez
- pretty print bug fix (#70, #71)
- Preserve non-json output in the cli #69 by @satazor
- Better docs for Elasticsearch and Logstash by @dadoonet #64
- Added docs for elasticsearch transport #61 by @mcollina
- 5% perf improvement by caching PID and hostname, and flatstr everything #60 by @mcollina and @davidmarkclements
- Updated benchmark README with new bole #59 by @rvagg
- Fixed
levelproperty in child #57 by @mcollina - Increased code coverage #56 #58 by @mcollina
- Support
'silent'level andenabledoption #53 by @mcollina
- Added LogLevel and debug to the benchmarks #51 #45 by @davidmarkclements and @mcollina
- Added an example to the README on how to use
pino.prettyby @mcollina
- Fix pino constructor in the README.
- Added pino-socket documentation in the README #48 by @jsumners
- on('level-change') #44
- logger.LOG_VERSION and pino.LOG_VERSION #44
- logger.levels as well as pino.levels #44
- add logger level numbers, with logger label and value maps #39
- bug fix for cli from 2.2.2 #43
- add help and version to cli
- Correct require in README #32 by @odino
- Added JSON in NPM tags #35 by @satazor
- Added
pino.pretty()to pretty-print the logs #31 by @mcollina
- README removed redundant changelog link
- README fixed #hapi anchor link
- README added restify instructions
- README added koa instructions
- Link to hapi-pino in the README
- Removed changelog from the README
- Do not pretty print
undefinedif themsgin the log line is empy #29 by @mcollina
- Support extreme mode in child loggers
- changelog update
- Faster big object logging #26 by @davidmarkclements
- #21 sub-child loggers, up to 20% perf improvement
- breaking change in that methods must be called on (or else bound to) the
pinoobject
- Restored the executable functionality
- README fix: the order of params in the constructor was inverted by @mcollina
- Changelog in the README #16 by @davidmarkclements
- improved serializer output around circular references #15 by @davidmarkclements
- 6x speed increase on multi arg logs by using custom format/interpolation function instead of util.format #13 by @davidmarkclements
- Child logger support #8 by @mcollina
- 5-10% performance increase #12 by @davidmarkclements
- 2.5% performance increase #11 by @davidmarkclements
- Readme improvements, covering transports
- Moved benchmarks at the top of the README.
- Use epoch vs ISO timestamps because it's 20% faster #5 by @davidmarkclements
- Avoid slicing the string when passing an object #3 by @mcollina
- %20 speed increase #2 by @davidmarkclements
- Added serializers for HTTP requests and responses by @mcollina
- Do not write undefined properties.
- README tweaks
- README tweaks.
- Added printing error capabilities
- Added shell pretty printer