Skip to content

chore(repo): version packages#357

Merged
HugoRCD merged 1 commit into
mainfrom
changeset-release/main
Jun 10, 2026
Merged

chore(repo): version packages#357
HugoRCD merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

evlog@2.19.0

Minor Changes

  • #356 bb3ec19 Thanks @HugoRCD! - Add optional catalog metadata on defineAuditCatalog and defineAuditAction entries: description, severity, requiresChanges, requiresReason, and redactPaths. Metadata is exposed on each factory for introspection, docs, and review tooling.

  • #370 6dc352d Thanks @HugoRCD! - Improve dev terminal error output and introduce a clearer dev config API.

    Presets: dev: 'evlog' | 'nitro' | 'both' — controls Nitro's Youch overlay (frameworkOverlay) and how much stack detail evlog prints in the wide event (prettyError.detail). Default in pretty dev is 'evlog' (no Nitro overlay, full evlog error block). 'nitro' keeps Nitro's stack and prints only message + Why/Fix/link in the wide event. 'both' shows both full outputs.

    Explicit object: dev: { frameworkOverlay, prettyError: { snippet, stackDepth, compact, detail: 'full' | 'guidance' } }.

    Other improvements: tighter error blocks by default (prettyError.compact), tree spacers, hanging-indent Why/Fix wrapping, stdout for error wide events in dev, source-mapped file:line via Nitro loadStackTrace, Nitro error hook enrich+drain no longer blocks HTTP responses.

  • #371 0625240 Thanks @HugoRCD! - Add glob path redaction to RedactConfig.paths. Single-segment patterns like password are shorthand for **.password (any nesting depth). Key-name globs (*_token) and path globs (user.*) are supported. auditRedactPreset simplified to path globs.

    initLogger({
      redact: {
        paths: ["password", "*_token", "headers.x-forwarded-for"],
      },
    });
  • #367 23d616f Thanks @HugoRCD! - Defer wide-event emit for streaming HTTP responses (SSE, AI SDK UI streams, chunked bodies) until the response body finishes, so createAILogger() metadata is included on the same request event instead of triggering post-emit warnings.

    Applies to Next.js withEvlog, SvelteKit, Hono, React Router, oRPC, and Nitro/Nuxt integrations. Also merges late ai fields onto an emitted event before enrich/drain when metadata arrives in a narrow race window.

    Fixes #321

Patch Changes

  • #356 bb3ec19 Thanks @HugoRCD! - Fix mockAudit() to capture in-request log.audit() events on emit (with finalized idempotencyKey). Add assertAudit() matcher on the mock result. Type AuditFields.changes.patch via new AuditChanges export.

  • #369 0c6cb24 Thanks @HugoRCD! - Fix Nuxt silent option not suppressing built-in console output in production builds on evlog 2.11+. The Nuxt module now bakes evlog options into nitro.options.replace.__EVLOG_CONFIG__ (matching standalone Nitro modules), so the Nitro plugin receives silent: true and no longer emits an unenriched log line before your evlog:drain hook runs.

  • #359 1b17ff1 Thanks @abhishekg999! - Fix evlog/elysia to capture unmatched routes so Elysia 404 responses emit HTTP events with the correct path and error level.

  • #365 e2806b8 Thanks @HugoRCD! - Fix redaction mutating source objects and arrays passed by reference. Wide events are now deep-cloned before redaction, so log.info({ user }) and createLogger().emit() only scrub the emitted copy sent to console and drains.

evlog-community-adapter-skeleton@5.0.0

Patch Changes

evlog-community-enricher-skeleton@5.0.0

Patch Changes

evlog-community-framework-skeleton@5.0.0

Patch Changes

@vercel

vercel Bot commented May 29, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
evlog-docs Ready Ready Preview, Comment, Open in v0 Jun 10, 2026 9:28pm
just-use-evlog Ready Ready Preview, Comment Jun 10, 2026 9:28pm

@github-actions github-actions Bot force-pushed the changeset-release/main branch from 65d8c81 to 733a5d4 Compare May 30, 2026 11:03
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 733a5d4 to 8ba8051 Compare June 7, 2026 10:15
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 8ba8051 to 3461669 Compare June 7, 2026 10:18
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 3461669 to 13f1891 Compare June 9, 2026 20:27
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 13f1891 to a964cc4 Compare June 10, 2026 20:12
@github-actions github-actions Bot force-pushed the changeset-release/main branch from a964cc4 to 179d38d Compare June 10, 2026 21:23
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 179d38d to 9af8460 Compare June 10, 2026 21:26
@HugoRCD HugoRCD merged commit 638cdc1 into main Jun 10, 2026
4 checks passed
@HugoRCD HugoRCD deleted the changeset-release/main branch June 10, 2026 21:32
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.

[bug] "[evlog] log.set() called after the wide event was emitted — Keys dropped: ai

1 participant