all repos — kitten @ 7069b00b3a14cefdd48236a2ad08cb3377011751

pkgs/router/changelogs/1.5.0.md (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
# [1.5.0] 2026-07-09

in this release i decoupled kitten from any opinionated logging library by
switching to an event-emitting telemetry model. the `Kitten` class now extends
Node's native `EventEmitter` and emits strongly-typed lifecycle events:

- `debug`: diagnostics and routing traces,
- `info`: command registration and API sync notices,
- `warn`: non-fatal runtime warning telemetry, and
- `error`: fallback system telemetry for unhandled execution failures.

the `logger` option has been removed from `KittenOptions`. you can now subscribe
to these events to pipe telemetry directly into your preferred logger.

this event system operates strictly as a telemetry layer and remains separate from the
interaction `onError` propagation chain, which is reserved for active error recovery
and user communication.

kitten will not log anything itself.

you can find an example under the "logging" section of the [Getting Started]
guide.

[Getting Started]: ../GET-STARTED.md