github evloghq/evlog evlog@2.37.0

20 minutes ago

What's Changed

Features 🚀

  • More integrations deliver a createDrainPipeline drain when the request ends on serverless platforms, and a pipeline warns when a frozen instance left events behind by @HugoRCD in #1186
  • A request-end flush on a serverless platform is bounded, and AWS Lambda delivers before it freezes by @HugoRCD in #1186
  • Jobs and other units of work can drop their own success events, and keep failures by @2648782102 in #1176
  • createDrainPipeline delivers buffered events when the process stops, without a shutdown hook of your own by @HugoRCD in #1165
  • Every deprecation warning now links to its section of What's coming in v3, and more of what evlog 3 removes or changes now warns in development by @HugoRCD in #1150

Bug Fixes 🐞

  • On Cloudflare Workers, Vercel, Netlify and AWS Lambda, a createDrainPipeline drain sends its buffered events when the request ends, instead of after batch.intervalMs, and the integration keeps the runtime alive with waitUntil until they are delivered or dropped by @HugoRCD in #1184
  • The OTLP drain reads the partialSuccess an OTLP collector can return with a 2xx, in JSON and protobuf responses by @HugoRCD in #1162
  • HTTP drains retry only failures that can succeed later, and wait as long as the provider asks by @HugoRCD in #1145
  • createDrainPipeline reports every event it drops by @HugoRCD in #1145
  • The Sentry drain honours Sentry's rate limits per data category, like the official SDKs by @HugoRCD in #1145

Performance Improvements ⚡️

  • perf(core): keep request-end flushes linear when the drain backend is slow by @HugoRCD in #1211

Changelog: https://github.com/evloghq/evlog/blob/evlog@2.37.0/packages/evlog/CHANGELOG.md#2370
Full Changelog: https://github.com/evloghq/evlog/compare/evlog@2.36.0...evlog@2.37.0

Don't miss a new evlog release

NewReleases is sending notifications on new releases.