Skip to content

Releases: HugoRCD/evlog

evlog@2.0.0

26 Feb 17:41

Choose a tag to compare

What's Changed

⚠️ Breaking Change: PostHog adapter now uses PostHog Logs (OTLP) by default

This only affects you if you use evlog/posthog. For all other adapters, this release is fully backward-compatible.

createPostHogDrain() now sends logs to PostHog Logs via OTLP instead of sending custom events via the /batch/ API. This is significantly cheaper and provides a dedicated log viewer in PostHog.

If you were using createPostHogDrain():

  • Your logs will now appear in PostHog Logs instead of Events
  • The eventName and distinctId options are no longer available on createPostHogDrain()
  • If you need the old custom events behavior, switch to createPostHogEventsDrain() from evlog/posthog

If you were using createPostHogLogsDrain():

  • This function has been removed — createPostHogDrain() now does the same thing

Migration:

- import { createPostHogDrain } from 'evlog/posthog'
+ import { createPostHogEventsDrain } from 'evlog/posthog'
- createPostHogDrain({ eventName: 'server_request', distinctId: 'my-service' })
+ createPostHogEventsDrain({ eventName: 'server_request', distinctId: 'my-service' })

Features 🚀

Bug Fixes 🐞

Dependency Updates 📦

  • chore(deps): update dependency next to v16 by @renovate[bot] in #104
  • chore(deps): update dependency zod to v4 by @renovate[bot] in #106
  • chore(deps): update dependency react to v19 by @renovate[bot] in #105
  • chore(deps): update all non-major dependencies by @renovate[bot] in #103
  • chore(deps): update all non-major dependencies by @renovate[bot] in #107

New Contributors

Full Changelog: https://github.com/HugoRCD/evlog/compare/evlog@1.11.0...evlog@2.0.0

@evlog/nuxthub@2.0.0

26 Feb 17:41

Choose a tag to compare

What's Changed

Features 🚀

Bug Fixes 🐞

Dependency Updates 📦

  • chore(deps): update dependency next to v16 by @renovate[bot] in #104
  • chore(deps): update dependency zod to v4 by @renovate[bot] in #106
  • chore(deps): update dependency react to v19 by @renovate[bot] in #105
  • chore(deps): update all non-major dependencies by @renovate[bot] in #103
  • chore(deps): update all non-major dependencies by @renovate[bot] in #107

New Contributors

Full Changelog: https://github.com/HugoRCD/evlog/compare/evlog@1.11.0...@evlog/nuxthub@2.0.0

evlog@1.11.0

21 Feb 16:40
c8647b3

Choose a tag to compare

What's Changed

Features 🚀

Bug Fixes 🐞

  • fix: await drain when waitUntil is unavailable by @HugoRCD in #100

Dependency Updates 📦

  • chore(deps): lock file maintenance by @renovate[bot] in #91

Full Changelog: https://github.com/HugoRCD/evlog/compare/@evlog/nuxthub@1.1.0...evlog@1.11.0

evlog@1.10.0

19 Feb 16:51
ec37e5d

Choose a tag to compare

What's Changed

Features 🚀

  • feat(evlog): add first-class support for next.js by @HugoRCD in #97

Bug Fixes 🐞

  • fix(nuxthub): add retry with backoff to drain insert by @HugoRCD in #95

Documentation 📚

Dependency Updates 📦

  • chore(deps): update all non-major dependencies by @renovate[bot] in #90

New Contributors

Full Changelog: https://github.com/HugoRCD/evlog/compare/@evlog/nuxthub@1.0.0...evlog@1.10.0

@evlog/nuxthub@1.1.0

19 Feb 16:51
ec37e5d

Choose a tag to compare

What's Changed

Features 🚀

  • feat(evlog): add first-class support for next.js by @HugoRCD in #97

Bug Fixes 🐞

  • fix(nuxthub): add retry with backoff to drain insert by @HugoRCD in #95

Documentation 📚

Dependency Updates 📦

  • chore(deps): update all non-major dependencies by @renovate[bot] in #90

New Contributors

Full Changelog: https://github.com/HugoRCD/evlog/compare/@evlog/nuxthub@1.0.0...@evlog/nuxthub@1.1.0

evlog@v1.8.0

15 Feb 10:41
81b8bf2

Choose a tag to compare

What's Changed

Features 🚀

  • feat: add support for nitro v3 by @schplitt and @HugoRCD in #8
  • feat: add PostHog Logs drain via OTLP by @HugoRCD in #79
  • feat: add enabled?: boolean config option to disable logger by @Pastequee in #69
  • feat: add request-scoped info() and warn() methods to logger by @HugoRCD in #70
  • feat: add standalone browser-to-server log transport by @HugoRCD in #77
  • feat: add client identity tracking and PostHog userId mapping by @HugoRCD in #78

Bug Fixes 🐞

  • fix: capture status/statusText from H3 v2+ errors by @HugoRCD in #80

Refactoring 🛠

  • refactor: extract shared utilities to reduce duplication by @HugoRCD in #85

Dependency Updates 📦

  • chore(deps): update dependency @nuxt/test-utils to v4 by @renovate[bot] in #59

New Contributors

  • @Pastequee made their first contribution in #69
  • @Copilot made their first contribution in #83
  • @schplitt made their first contribution in #8

Full Changelog: v1.7.0...v1.8.0

evlog@1.9.0

15 Feb 16:14

Choose a tag to compare

What's Changed

Features 🚀

Refactoring 🛠

  • refactor: replace scroll layout with sidebar navigation by @HugoRCD in #87

New Contributors

  • @github-actions[bot] made their first contribution in #89

Full Changelog: https://github.com/HugoRCD/evlog/compare/v1.8.0...evlog@1.9.0

@evlog/nuxthub@1.0.0

15 Feb 16:14

Choose a tag to compare

What's Changed

Features 🚀

Refactoring 🛠

  • refactor: replace scroll layout with sidebar navigation by @HugoRCD in #87

New Contributors

  • @github-actions[bot] made their first contribution in #89

Full Changelog: https://github.com/HugoRCD/evlog/compare/v1.8.0...@evlog/nuxthub@1.0.0

v1.7.0

10 Feb 23:29
77cebc8

Choose a tag to compare

What's Changed

Features 🚀

  • feat: add better-stack adapter by @HugoRCD in #67
  • feat: add shared drain pipeline for batching and retry by @HugoRCD in #57
  • feat: allow drain callbacks in plain typescript environments by @HugoRCD in #63
  • feat: add opt-in generic T to RequestLogger and useLogger by @HugoRCD in #66

Bug Fixes 🐞

  • fix: include h3 createError custom properties in wide event by @HugoRCD in #64

Documentation 📚

  • docs: add hono example and setup guide by @HugoRCD in #65

Dependency Updates 📦

  • chore(deps): update dependency turbo to ^2.8.3 by @renovate[bot] in #58

Performance Improvements ⚡️

Full Changelog: v1.6.0...v1.7.0

v1.6.0

08 Feb 13:54
e922ff2

Choose a tag to compare

What's Changed

Features 🚀

Performance Improvements ⚡️

  • perf: move @nuxt/kit to optional peer dependency by @HugoRCD in #53
  • perf: make evlog zero-dependency by @HugoRCD in #54

Full Changelog: v1.5.0...v1.6.0