Skip to content

[ANN] std.normalize v5 released

Choose a tag to compare

@gvvaughan gvvaughan released this 29 Oct 00:11
· 6 commits to master since this release

Normalized Lua Functions

I am happy to announce release 5 of std.normalize.

std.normalize's home page is at https://lua-stdlib.github.io/normalize

Noteworthy changes in release 5 (2026-10-28) [stable]

Incompatible changes

  • load raises an error for a mode that does not allow text, such as
    'b', in every Lua. Lua byte code is not portable between hosts, so
    it is not part of the dialect that std.normalize provides: use 't',
    or 'bt' if byte code that the host can read is acceptable.

Bug fixes

  • load checks its mode argument for a string chunk in Lua 5.1 too, as
    Lua 5.2 and later do, so that 't' refuses a binary chunk, which Lua 5.1
    used to load. A function that reads a chunk in pieces is still not
    checked in Lua 5.1, which can't read ahead in it.

Install it with LuaRocks, using:

luarocks install std.normalize 5