all repos — kitten @ 6742b6ccdb8cfbedfbee82d9baa7c6da27190208

pkgs/router/changelogs/1.8.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
# [1.8.0] 2026-07-09

this release is focused on devex, internal refactorring and code cleanliness.
i've shed quite a few lines of code and i believe improved the overall readability
of the codebase.

i've replaced the massive, deeply-nested inline configuration types across the
builder methods with cleanly exported interfaces like `ChatCommandConfig`,
`ContextMenuConfig`, and `KittenComponentConfig`.

i also added a few JSDoc comments to a lot of public methods and etc!
you'll now see helpful descriptions, strict type hints, and usage examples
directly in your editor for:

- routing definitions like `Middleware`, `ErrorHandler`, and `Afterware`,
- command, component, and option builders, and
- intentional control-flow exceptions like `HaltExecution` and `CustomIdTooLong`.

internally, i refactored the API synchronization payload generators
(`kitten.sync()`), error propagation trees, option parsing, and interaction
routing handlers to significantly reduce code duplication.

there are no new features or changes to the public-facing API.