diff --git a/.changeset/eve-uselogger-never-throws.md b/.changeset/eve-uselogger-never-throws.md deleted file mode 100644 index a92c97844..000000000 --- a/.changeset/eve-uselogger-never-throws.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"evlog": patch ---- - -`useLogger()` from `evlog/eve` no longer throws when it cannot reach the current turn's logger. It warns once for that turn and returns a logger that accepts every call and emits nothing, so a tool is never failed by its own instrumentation. - -Turn state is held per process, while an eve turn is durable and can resume in another process after a step boundary. A tool calling `useLogger(ctx)` after such a resume used to throw, which failed the tool itself — a long-running turn could lose real work to a missing log field. Enrichment for that turn is dropped instead, and the warning names the turn so the gap is visible. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index a1f1c0d35..37fe8bccc 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,12 @@ # @evlog/cli +## 0.6.1 + +### Patch Changes + +- Updated dependencies [[`c0a0385`](https://github.com/HugoRCD/evlog/commit/c0a03855d476224039154aee46064a38da008836)]: + - evlog@2.27.2 + ## 0.6.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 72f98737e..3097b6aa2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@evlog/cli", - "version": "0.6.0", + "version": "0.6.1", "description": "The official command line for evlog", "author": "HugoRCD ", "homepage": "https://evlog.dev", diff --git a/packages/evlog/CHANGELOG.md b/packages/evlog/CHANGELOG.md index 3972b1aba..8b852b8d9 100644 --- a/packages/evlog/CHANGELOG.md +++ b/packages/evlog/CHANGELOG.md @@ -1,5 +1,13 @@ # evlog +## 2.27.2 + +### Patch Changes + +- [`c0a0385`](https://github.com/HugoRCD/evlog/commit/c0a03855d476224039154aee46064a38da008836) Thanks [@HugoRCD](https://github.com/HugoRCD)! - `useLogger()` from `evlog/eve` no longer throws when it cannot reach the current turn's logger. It warns once for that turn and returns a logger that accepts every call and emits nothing, so a tool is never failed by its own instrumentation. + + Turn state is held per process, while an eve turn is durable and can resume in another process after a step boundary. A tool calling `useLogger(ctx)` after such a resume used to throw, which failed the tool itself — a long-running turn could lose real work to a missing log field. Enrichment for that turn is dropped instead, and the warning names the turn so the gap is visible. + ## 2.27.1 ### Patch Changes diff --git a/packages/evlog/package.json b/packages/evlog/package.json index 6ba7bb8bf..e419e52ca 100644 --- a/packages/evlog/package.json +++ b/packages/evlog/package.json @@ -1,6 +1,6 @@ { "name": "evlog", - "version": "2.27.1", + "version": "2.27.2", "description": "Modern TypeScript logger — simple logs, wide events, structured errors. Built for scripts, libraries, jobs, edge, and HTTP. One drain pipeline everywhere.", "author": "HugoRCD ", "homepage": "https://evlog.dev",