Skip to content

evlog@2.37.2

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 09:28
acd7759

What's Changed

Bug Fixes 🐞

  • Fixes a type error in the Nitro v3 plugin's streamed-response path, where the response hook's event was typed as HTTPEvent instead of h3's H3Event by @evlogai[bot] in #1240
  • useLogger(event) now accepts the event a Nuxt nuxt/server handler (defineHandler) receives by @HugoRCD in #1241
  • evlog/sveltekit now logs a redirect() or 4xx error() thrown by a hook after evlog() with its own status (303, 403, ...) and no error, instead of as a 500 with [object Object], and still rethrows it for SvelteKit to build the response by @mastermakrela in #1238
  • log.audit() and log.audit.deny() on a route left out by include or exclude now reach your drains by @HugoRCD in #1224
  • On Vercel, Nuxt and Nitro 2 apps now keep the function alive with Vercel's waitUntil while request events drain after the response by @HugoRCD in #1224

Changelog: https://github.com/evloghq/evlog/blob/evlog@2.37.2/packages/evlog/CHANGELOG.md#2372
Full Changelog: https://github.com/evloghq/evlog/compare/evlog@2.37.1...evlog@2.37.2