Releases: primatejs/primate
Releases · primatejs/primate
0.13.0
0.12.0
- Rename configuration file to
primate.config.js
- Make programmatically runnable
- Add 'route' hook
- Accept a generic Response object in routes
0.11.0
- Rename configuration to
primate.conf.js
- Allow handlers to manipulate response headers
- Add proper errors for missing routes and missing handler detection
- Add support for HTMX via @primate/htmx.
0.10.0
- Moved configuration file to
primate.js
instead ofprimate.json
. - Added an extension system using
modules
specified inprimate.js
. A Primate module exports a default object with hooks, currently onlyserve
is supported. - Alongside this release, published @primate/sessions as a module to support sessions.
- Default port has been changed to
6161
- Primate now passes the original request under
original
to the route - The
public
directory is now only created if astatic
directory exists
0.9.2
0.9.1
0.9.0
- Separation of datastore functionality into @primate/domains and handlers functionality into @primate/html and @primate/redirect.
- Rewrite of HTML engine
- Update to latest version of Flog's runtime-compat