Security related
- Fix possible path traversal when
--domainis used (thanks @fg0x0).
Fixes
- Fix a possible file descriptor leak after trying to write to
/dev/shm. - Fix a possible issue with setting header values when proxying.
New functionality
- Add new functions for using SQLite, ref [#156] (thanks for the feature request, @judell).
- Add support for compiling TypeScript and rendering
index.tsxfiles, ref [#166] (thanks for the feature request @fayakun-it-consulting). - Add multiple ways of specifying ports and protocols, ref [#173] (thanks for the feature request @DaVyze).
Other improvements
- Improve how JSX and TSX files are cached.
- Improve error handling when extracting
.algfiles. - Add a
--noninteractiveflag as an alias for the less descriptive--serverflag, and also deprecate the--serverflag. The short-sflag remains unchanged, and the--serverflag is still supported. - Improve the Lua plugin system wrt. oncurrency.
- Let the desired React version be specified in a comment in
index.jsx/index.tsxinstead of in an.algernonfile. Currently only React 19 is supported and can be specified like this:// React: 19. - Add more Lua functions for building HTML output programmatically by using the
github.com/xyproto/ontheflypackage. - Prioritize configuration values from command line flags first, then positional arguments and then
serverconf.lua.
Examples
- Add two new example projects under
samples/react_tsxandsamples/onthefly.
General
- Update dependencies.
- Update documentation.