Skip to content

v1.5.5

Choose a tag to compare

@github-actions github-actions released this 28 Sep 11:31
· 18 commits to main since this release

Added

  • JSON: Add JSON_EMPTY_ARRAY and optional array? parameter to json_encode. Use JSON_EMPTY_ARRAY to force [], or pass true on second param to treat all empty tables as arrays.

Changed

  • Windows: Statically link the MSVC C runtime. windows binary no longer require Visual C++.
  • TLS: Change tls_probe returning errors as plain strings to {error, kind} like all other network functions.
  • http_multipart: Ignore content-type header modification coming from lua
  • Shutdown: Added pre/post shutdown hooks; services stop in order: job runner → browser & I/O → DB → exit. SIGTERM/SIGHUP now trigger it too.

Fixed

  • HTTP: Fix http_multipart always reporting ~0ms for time_ms.
  • SQLite Lua bindings: db_query/db_exec now bind nil holes in param tables as SQL NULL instead of erroring. Trailing nil can't be recovered from a Lua table, put a non-nil value after it or use a SQL literal NULL.