Release notes
What is included in RiserBob 1.0.0.
1.0.0
The first stable release of the framework.
Core
- Router with static and dynamic routes, where static routes win.
- Methods
spongGet,spongPost,spongPut,spongPatch,spongDeleteandspongHead, all chainable. - Central error handling with
HttpError, including404,405with anAllowheader and500. - Automatic answer to
OPTIONSrequests with the preflight headers. - Request body parsing for JSON, text and form data, with a 10 MiB limit and content-type checks.
- Response helpers for JSON, text, headers, redirects and every common status.
Middleware
MiddlewarePipelinewith global and per-route middleware.AuthMiddlewarewith'cookie','bearer'and'both'modes and your own verifier.loggerMiddlewarefor request logging.corsMiddlewarewith validated options.
Developer experience
Validatorwith a readable rule syntax.- The
riser-bobCLI withg module <name>. - A project template:
bun create riser-bob. - Unit and end-to-end tests that run with
bun test.
Packages
@riser-bob/cookiefor cookie management. See Cookies.