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
5 changes: 0 additions & 5 deletions .changeset/cli-grade-baseline-label.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cli-logs.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fs-reader-pretty.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/quiet-actions-handle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/serialize-errors-in-event-fields.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/workers-ctx-type.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @evlog/cli

## 0.9.0

### Minor Changes

- [#773](https://github.com/evloghq/evlog/pull/773) [`a053adb`](https://github.com/evloghq/evlog/commit/a053adb9ec5813626c73c98274ae7188d18f62e5) Thanks [@HugoRCD](https://github.com/HugoRCD)! - `evlog map --json` now carries `grade` next to `map` and `summary`, the same word the report prints, so a consumer no longer recomputes it from the score. `--baseline-label <text>` names the baseline in the report and the `--format github` annotations when the map was copied to a temp file, so CI can say `regressed against main` instead of printing a path.

- [#774](https://github.com/evloghq/evlog/pull/774) [`5ca8bd4`](https://github.com/evloghq/evlog/commit/5ca8bd4fbe481acaf05dd226e5cfc44618dd50c9) Thanks [@HugoRCD](https://github.com/HugoRCD)! - `evlog logs` reads the wide events the fs drain wrote to `.evlog/logs`: the last 50 (`evlog logs`), the failures (`evlog logs errors`), the slowest (`evlog logs slow --over 1s`), one request in full by id (`evlog logs <requestId>`, a UUID prefix is enough), or the shape of the traffic (`evlog logs stats`: per route, status class and level). Filters compose with every view: `--since 15m`, `--until`, `--level error,fatal`, `--path`, `--status 5xx`, `--where payment.amount>5000` on any field of the event (`=`, `!=`, `>`, `>=`, `<`, `<=`, `~regex`, present, `!absent`, repeatable), `--limit`, `--dir`. `-f` follows new events like `tail -f`; `--json` returns the events as JSON. It finds the project's log directory the way `doctor` does, reads every app of a workspace when the root has none, reads the memory drain's dev endpoint with `--url` (a follow there survives the app restarting, and says so when the endpoint stays quiet), handles both the compact and the pretty layout, and never writes.

### Patch Changes

- Updated dependencies [[`302fd0e`](https://github.com/evloghq/evlog/commit/302fd0ea8726e19dfb9ac6e7fb8f09d926878aba)]:
- @evlog/telemetry@0.3.4

## 0.8.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evlog/cli",
"version": "0.8.0",
"version": "0.9.0",
"description": "The official command line for evlog",
"author": "HugoRCD <contact@evlog.dev>",
"homepage": "https://evlog.dev",
Expand Down
10 changes: 10 additions & 0 deletions packages/evlog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# evlog

## 2.30.1

### Patch Changes

- [#774](https://github.com/evloghq/evlog/pull/774) [`5ca8bd4`](https://github.com/evloghq/evlog/commit/5ca8bd4fbe481acaf05dd226e5cfc44618dd50c9) Thanks [@HugoRCD](https://github.com/HugoRCD)! - `readFsLogs()` and `tailFsLogs()` from `evlog/fs` now read files the drain wrote with `pretty: true`, assembling each indented event, where they used to skip every line of them as malformed.

- [#778](https://github.com/evloghq/evlog/pull/778) [`88d2c9f`](https://github.com/evloghq/evlog/commit/88d2c9f2254a41e6ff7b744b4cbeac844a6b0023) Thanks [@adelrodriguez](https://github.com/adelrodriguez)! - An `Error` inside an event field is now serialized the same way as `log.error(err)`, with `name`, `message`, `stack`, and `cause`, instead of being written as `{}`. This covers the object form of `log.info/warn/error/...({ ... })` at any depth, and `set()` plus the context argument of the level methods on a request logger.

- [#780](https://github.com/evloghq/evlog/pull/780) [`8fabc14`](https://github.com/evloghq/evlog/commit/8fabc14aff3ca30089fbb246b7747d6cd2907220) Thanks [@simplyzetax](https://github.com/simplyzetax)! - `withEvlog` and `defineWorkerFetch` (`evlog/workers`) keep the type of an annotated `ctx`, so a handler typed with Cloudflare's `ExecutionContext` reaches `ctx.exports`, `ctx.props` and `ctx.passThroughOnException()` without a cast. An unannotated `ctx` is still `WorkerExecutionContext`.

## 2.30.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.30.0",
"version": "2.30.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@evlog.dev>",
"homepage": "https://evlog.dev",
Expand Down
6 changes: 6 additions & 0 deletions packages/telemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @evlog/telemetry

## 0.3.4

### Patch Changes

- [#782](https://github.com/evloghq/evlog/pull/782) [`302fd0e`](https://github.com/evloghq/evlog/commit/302fd0ea8726e19dfb9ac6e7fb8f09d926878aba) Thanks [@HugoRCD](https://github.com/HugoRCD)! - Fix `createGitHubActionsTelemetry()` to expose `set()`, `flush()`, and a live `enabled` getter alongside `run()`.

## 0.3.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/telemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@evlog/telemetry",
"version": "0.3.3",
"version": "0.3.4",
"description": "Wide-event telemetry for CLIs and automation — evlog's one-event-per-run model for tools on user machines, with privacy-safe flags, consent, outbox, and auto disclosure",
"author": "HugoRCD <contact@evlog.dev>",
"homepage": "https://evlog.dev",
Expand Down