Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/nitro-bridge-active-runtime.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/community-adapter-skeleton/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# evlog-community-adapter-skeleton

## 4.0.1

### Patch Changes

- Updated dependencies [[`cfc9322`](https://github.com/HugoRCD/evlog/commit/cfc932289aa5192706c70bb728afebad560a17e5)]:
- evlog@2.18.1

## 4.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/community-adapter-skeleton/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "evlog-community-adapter-skeleton",
"version": "4.0.0",
"version": "4.0.1",
"description": "Reference skeleton for a community evlog drain adapter built on defineHttpDrain.",
"private": true,
"type": "module",
Expand Down
7 changes: 7 additions & 0 deletions examples/community-enricher-skeleton/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# evlog-community-enricher-skeleton

## 4.0.1

### Patch Changes

- Updated dependencies [[`cfc9322`](https://github.com/HugoRCD/evlog/commit/cfc932289aa5192706c70bb728afebad560a17e5)]:
- evlog@2.18.1

## 4.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/community-enricher-skeleton/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "evlog-community-enricher-skeleton",
"version": "4.0.0",
"version": "4.0.1",
"description": "Reference skeleton for a community evlog enricher built on defineEnricher.",
"private": true,
"type": "module",
Expand Down
7 changes: 7 additions & 0 deletions examples/community-framework-skeleton/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# evlog-community-framework-skeleton

## 4.0.1

### Patch Changes

- Updated dependencies [[`cfc9322`](https://github.com/HugoRCD/evlog/commit/cfc932289aa5192706c70bb728afebad560a17e5)]:
- evlog@2.18.1

## 4.0.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/community-framework-skeleton/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "evlog-community-framework-skeleton",
"version": "4.0.0",
"version": "4.0.1",
"description": "Reference skeleton for a community evlog framework integration built on defineFrameworkIntegration.",
"private": true,
"type": "module",
Expand Down
14 changes: 14 additions & 0 deletions packages/evlog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# evlog

## 2.18.1

### Patch Changes

- [#340](https://github.com/HugoRCD/evlog/pull/340) [`cfc9322`](https://github.com/HugoRCD/evlog/commit/cfc932289aa5192706c70bb728afebad560a17e5) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Fix a runtime crash on Vercel + Bun + Nitro v3 where every request failed with `bun is unable to write files: ReadOnlyFileSystem`. The Nitro plugin probed `nitro/runtime-config` at runtime to read evlog's config; that module transitively imports the build-only `#nitro/virtual/runtime-config`, which doesn't exist in deployed bundles. On Vercel + Bun the missing virtual triggered Bun's package auto-installer, which tried to write `node_modules/.cache` and crashed on the read-only function filesystem.

The Nitro modules now bake the evlog config into the bundle as a literal via `nitro.options.replace.__EVLOG_CONFIG__`. The shared config bridge reads that build-time literal first and skips all runtime probing — no `import('nitro/runtime-config')`, no env propagation guesswork. The bridge also exposes the inlined value as a synthetic `{ evlog: <inlined> }` record, so drain adapters resolving `runtimeConfig.evlog.<adapter>` never trigger the probe either.

For defense-in-depth, the bridge additionally scopes its dynamic-import fallback to the major version declared by the plugin (new internal `setActiveNitroRuntime` helper) — `nitro/runtime-config` for v3, `nitropack/...` for v2 — so standalone use outside a plugin (e.g. adapters called from non-Nitro code) doesn't probe both versions.

No public-API change.

Closes [#312](https://github.com/HugoRCD/evlog/issues/312).

## 2.18.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/evlog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "evlog",
"version": "2.18.0",
"version": "2.18.1",
"description": "Modern TypeScript logger — simple logs, wide events, structured errors. Built for scripts, libraries, jobs, edge, and HTTP. One drain pipeline everywhere.",
"author": "HugoRCD <contact@hrcd.fr>",
"homepage": "https://evlog.dev",
Expand Down