Skip to content

Releases: maou-shonen/hono-pino

v0.7.0

20 Nov 01:39
bf89ad0
Compare
Choose a tag to compare

0.7.0 (2024-11-19)

Features

Special Thanks

  • thank @dmaesj for proposing the initial solution in #56, which provided valuable inspiration for this improvement!

Summary

Now defaults to referencing LOG_LEVEL env variable, and this behavior can be modified through pino options.

v0.6.0

07 Nov 21:05
e69165a
Compare
Choose a tag to compare

0.6.0 (2024-11-07)

Features

Bug Fixes

  • pino.symbols is undefined in cloudflare workers (#49) (61c6ab4)

For better DX

v0.5.1

03 Nov 09:12
f3a28b9
Compare
Choose a tag to compare

0.5.1 (2024-11-03)

Bug Fixes

  • Fix incorrect structured logging by default (#39) (7c77de8)

v0.5.0

02 Nov 18:39
b383c96
Compare
Choose a tag to compare

0.5.0 (2024-11-02)

Features

  • Do not use slow types (#35) (9e4edbe)
  • Response message can be overridden (#27) (62d89d9)
  • Use referRequestIdKey instead of the reqId option. (#33) (efc9f07)

The reqId option has been deprecated and replaced with referRequestIdKey,
By default, it references the requestId in the context,
This is an example of working with the official requestId middleware.

import { Hono } from "hono";
import { pinoLogger } from "hono-pino";
import { requestId } from "hono/request-id";

const app = new Hono()
  .use(requestId())
  .use(pinoLogger())
  .get('/', (c) => c.text(`requestId: ${c.get('requestId')}`));

v0.4.0

20 Oct 11:16
3c51c80
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

25 Sep 07:18
1f8fdce
Compare
Choose a tag to compare

What's Changed

  • Version Packages by @github-actions in #17

Full Changelog: v0.2.0...v0.3.0

v0.2.0

21 Sep 21:14
cf1346c
Compare
Choose a tag to compare

Minor Changes
ca773dc: Changing pino to peerDependencies
ecaf049: Enhancing performance with prototype

v0.1.1

07 Jul 19:52
46bb964
Compare
Choose a tag to compare

[email protected]

Patch Changes

v0.1.0

07 Jul 16:51
d3b6c5b
Compare
Choose a tag to compare

[email protected]

Minor Changes

  • 0e513a0: Release v0.1.0

    Start following semver from this version