Skip to content

Release 0.1.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 16 Feb 01:56
· 1 commit to main since this release

LilGuy 0.1.3 Release Notes

Full Changelog: 0.1.2...0.1.3

This release includes a number of new features, bug fixes, and other improvements.

New Features

  • Added a new file runtime module, which is different from the Lua io module. The Lua io module is weird. The file module can do the same things, but it's closer to other languages' and it's async.
  • Added a new regex runtime module exposing the Rust regex crate.
  • Added a new os runtime module exposing some OS functions, like os.execute(), which is similar to Lua's os.execute(). cite: 3] The operating system can be detected with os.name (a string).
  • The not-found handler is now a property of the routes table.
  • WebSockets are now supported with the routes.websocket() handler.
  • Added net.connect and net.listen for basic support of TCP connections.
  • Added spawn() to spawn Tokio tasks from Lua.
  • Added utility functions for dealing with iterators in Lua.
  • Added support for closing temporary files created with file.temp.
  • Added support for closing files opened with file.open.
  • Added the find() function to the regex object.
  • Added htmx.

Bug Fixes

  • Fixed broken reload functionality.
  • Paths are probably converted to lua strings correctly on unix and windows.