Skip to content

chore(deps): bump pino-http 10→11 + pino 9→10#349

Merged
rz1989s merged 1 commit into
mainfrom
chore/pino-http-11
Jun 25, 2026
Merged

chore(deps): bump pino-http 10→11 + pino 9→10#349
rz1989s merged 1 commit into
mainfrom
chore/pino-http-11

Conversation

@rz1989s

@rz1989s rz1989s commented Jun 25, 2026

Copy link
Copy Markdown
Member

Adopts pino-http 10→11. Dependabot's #330 bumped pino-http alone, but pino-http 11 depends on pino ^10 — so the matched pino major bump is required, otherwise the pino v9 logger instance passed to pinoHttp({ logger }) in src/logger.ts type-mismatches and node_modules splits pino across two majors. This PR bumps both as the coordinated set.

Why pino 10 is safe here

  • pino 10's only breaking change is dropping Node 18 support. Runtime is node:22-alpine (build + runtime stages) → unaffected.
  • No API changes touch the app's usage: LoggerOptions, stdTimeFunctions.isoTime, the transport config, or logger().
  • pino-pretty 13 (dev transport) is transport-agnostic (pino-abstract-transport ^2) and rides along on pino 10.

Verification (off latest main, fresh worktree)

  • pnpm typecheck — green across root / app / sdk / agent (confirms the pinoHttp({ logger }) type alignment on the deduped pino@10.3.1).
  • pnpm test -- --run (root) — 563/563 passed; requestLogger middleware (requestId / customLogLevel / custom messages) exercised end-to-end in the supertest integration tests.

Supersedes #330 (closed as superseded on merge).

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sipher Ready Ready Preview, Comment Jun 25, 2026 4:49am

pino-http 11 depends on pino ^10, so adopting it requires the matched
pino major bump — otherwise the pino v9 logger instance passed to
pinoHttp({ logger }) in src/logger.ts type-mismatches and node_modules
ends up with split pino majors.

pino 10's only breaking change is dropping Node 18; the runtime is
node:24-alpine, so it's unaffected. No API changes touch LoggerOptions,
stdTimeFunctions, the transport config, or logger() usage. pino-pretty 13
is transport-agnostic and rides along on pino 10.

Verified: typecheck green (root/app/sdk/agent), root suite 563/563,
requestLogger middleware exercised end-to-end in the integration tests.

Rebased onto main after the minor-group + node:24 merges.
@rz1989s rz1989s force-pushed the chore/pino-http-11 branch from cf44dde to 4c8ff28 Compare June 25, 2026 04:48
@rz1989s rz1989s merged commit ec0f6ec into main Jun 25, 2026
8 checks passed
@rz1989s rz1989s deleted the chore/pino-http-11 branch June 25, 2026 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant