Skip to content

build(deps): bump @hono/structured-logger from 0.1.0 to 1.0.0 - #55

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono/structured-logger-1.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/hono/structured-logger-1.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps @hono/structured-logger from 0.1.0 to 1.0.0.

Release notes

Sourced from @​hono/structured-logger's releases.

@​hono/structured-logger@​1.0.0

Major Changes

  • #2070 b108df33b209172f6627e30cdaae4141df4a476f Thanks @​BarryThePenguin! - Redesign the public API.

    Breaking changes:

    • Removed BaseLogger export. The middleware no longer constrains the logger type — pass any logger via createLogger and TypeScript infers L from its return type.
    • Removed default onRequest, onResponse, and onError implementations. onResponse is now required; onRequest and onError are optional.
    • Hook signatures are now inferred from StructuredLoggerOptions.
    • The L type parameter now defaults to unknown instead of BaseLogger.

    New features:

    • Added skip option: (c: Context) => boolean. When it returns true, hooks are suppressed but the logger is still created and available on c.var.

    Behaviour change:

    • elapsedMs now measures handler duration only. The timer starts after onRequest returns, so onRequest processing time is excluded.
Changelog

Sourced from @​hono/structured-logger's changelog.

1.0.0

Major Changes

  • #2070 b108df33b209172f6627e30cdaae4141df4a476f Thanks @​BarryThePenguin! - Redesign the public API.

    Breaking changes:

    • Removed BaseLogger export. The middleware no longer constrains the logger type — pass any logger via createLogger and TypeScript infers L from its return type.
    • Removed default onRequest, onResponse, and onError implementations. onResponse is now required; onRequest and onError are optional.
    • Hook signatures are now inferred from StructuredLoggerOptions.
    • The L type parameter now defaults to unknown instead of BaseLogger.

    New features:

    • Added skip option: (c: Context) => boolean. When it returns true, hooks are suppressed but the logger is still created and available on c.var.

    Behaviour change:

    • elapsedMs now measures handler duration only. The timer starts after onRequest returns, so onRequest processing time is excluded.
Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​hono/structured-logger since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@hono/structured-logger](https://github.com/honojs/middleware/tree/HEAD/packages/structured-logger) from 0.1.0 to 1.0.0.
- [Release notes](https://github.com/honojs/middleware/releases)
- [Changelog](https://github.com/honojs/middleware/blob/main/packages/structured-logger/CHANGELOG.md)
- [Commits](https://github.com/honojs/middleware/commits/@hono/structured-logger@1.0.0/packages/structured-logger)

---
updated-dependencies:
- dependency-name: "@hono/structured-logger"
  dependency-version: 1.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants