[ANN] Lua 5.4.7 (rc4) now available

251 views
Skip to first unread message

Luiz Henrique de Figueiredo

unread,
Jun 13, 2024, 6:22:35 PMJun 13
to lu...@googlegroups.com
Lua 5.4.7 (rc4) is now available for testing at
https://www.lua.org/work/lua-5.4.7-rc4.tar.gz

The SHA256 checksum is
9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30 -

The Git commit ID in branch v5.4 is
1ab3208a1fceb12fca8f24ba57d6e13c5bff15e3

Lua 5.4.7 fixes all bugs listed in
https://www.lua.org/bugs.html#5.4.6

Lua 5.4.7 also contains internal improvements and a revised reference manual:
https://www.lua.org/work/doc/

The complete diffs from Lua 5.4.6 are available at
https://www.lua.org/work/diffs-lua-5.4.6-lua-5.4.7.html
https://www.lua.org/work/diffu-lua-5.4.6-lua-5.4.7.html

We thank everyone for their feedback on Lua 5.4 till now.

All feedback welcome. Thanks.
--lhf

Sainan

unread,
Jun 13, 2024, 7:11:06 PMJun 13
to lu...@googlegroups.com
Looks like the latest commits have not actually been pushed?

Soni "They/Them" L.

unread,
Jun 13, 2024, 7:30:17 PMJun 13
to lu...@googlegroups.com


On 2024-06-13 19:22, Luiz Henrique de Figueiredo wrote:
> Lua 5.4.7 (rc4) is now available for testing at
> https://www.lua.org/work/lua-5.4.7-rc4.tar.gz
>
> The SHA256 checksum is
> 9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30 -
>
> The Git commit ID in branch v5.4 is
> 1ab3208a1fceb12fca8f24ba57d6e13c5bff15e3
>
> Lua 5.4.7 fixes all bugs listed in
> https://www.lua.org/bugs.html#5.4.6

it looks like the issue we reported with _PROMPT is missing from the list.

Luiz Henrique de Figueiredo

unread,
Jun 13, 2024, 7:54:24 PMJun 13
to lu...@googlegroups.com
> it looks like the issue we reported with _PROMPT is missing from the list.

Now it is:
https://www.lua.org/bugs.html#5.4.6-9

Soni "They/Them" L.

unread,
Jun 13, 2024, 8:54:32 PMJun 13
to lu...@googlegroups.com
thanks!

for the record, the related:

> setmetatable(_G, {__index=function(t, k) if k == "_PROMPT" then
error({}) end end})

reproduces as far back as (at least) lua 5.2.4

Soni "They/Them" L.

unread,
Jun 13, 2024, 9:09:13 PMJun 13
to lu...@googlegroups.com
sorry, we meant to say 5.3.6 >.<

sur-behoffski

unread,
Jun 13, 2024, 10:25:58 PMJun 13
to lu...@googlegroups.com
On 2024-06-14 07:52, Luiz Henrique de Figueiredo wrote:
> Lua 5.4.7 (rc4) is now available for testing at
> https://www.lua.org/work/lua-5.4.7-rc4.tar.gz
>
> The SHA256 checksum is
> 9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30 -
>
> The Git commit ID in branch v5.4 is
> 1ab3208a1fceb12fca8f24ba57d6e13c5bff15e3
> [...]

G'day,

I'm pleased to report that I've tried the latest -rc4 in my "lglicua"
test rig (set of virtual machines), and the results are very pleasing.
I've noticed some glitches with very new releases, but these are
unrelated to Lua and/or LuaRocks. (e.g. webkit2-gtk-4.1 has arrived,
but I think that tecmake.mak assumes webkit2gtk-4.0... not sure).

For the record, everything worked with Lua 5.4.7-rc4 for:

Ubuntu-based:

Linux Mint 21.3:
- Kernel 5.15.0-112-generic
- gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0


MX Linux 23.2_ahs_x64:
- Kernel 6.8.12-1-liquorix-amd64
- gcc (Debian 12.2.0-14) 12.2.0

Ubuntu 22.04.4:
- Kernel 6.5.0-28-generic
- gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0


Ubuntu 23.10:
- Kernel 6.5.0-35-generic
- gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0


Red Hat-based:

CentOS-7:
- Kernel 3.10.0-1160.118.1.el7.x86_64
- gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)

Rocky Linux 9.3:
- Kernel 5.14.0-427.18.1.el9_4.x86_64
- gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)

The test produced some "Hello world" modal dialog boxes (from a
2-line script), a PDF with graphics from a Lua script, and a
trivial "test.pptx" output (pdf and pptx from Canvas Draw).

-------

Just to clarify, the existing "lglicua" release, 0.1-beta1, has
a number of changes, and is brittle under 5.4 (even before
-rc3 was released). I have -beta2 in the pipeline, and all the
Lua+LuaRocks testing has been done with a "near-0.1-beta2"
version.

--------

Thank-you so much to everybody who is working on (or who has
worked on) Lua, LuaRocks, the many individual Rocks themselves,
and the Tecgraf scientific/technical+graphical toolkit
components IM, CD and IUP.

cheers,

sur-behoffski (Brenton Hoff)
programmer, Grouse Software


Roberto Ierusalimschy

unread,
Jun 14, 2024, 9:37:29 AMJun 14
to lu...@googlegroups.com
> > for the record, the related:
> >
> > > setmetatable(_G, {__index=function(t, k) if k == "_PROMPT" then
> > error({}) end end})
> >
> > reproduces as far back as (at least) lua 5.2.4
> sorry, we meant to say 5.3.6 >.<

In fact, 5.3.0 already had it.

-- Roberto

Luiz Henrique de Figueiredo

unread,
Jun 20, 2024, 6:43:46 AMJun 20
to lu...@googlegroups.com
Lua 5.4.7 (rc4) is available for testing at
https://www.lua.org/work/
Please try it before we freeze it.

If there is no further feedback on Lua 5.4.7, we'll freeze it next week, and it will become the current release of Lua 5.4.

Lourival Vieira Neto

unread,
Jun 23, 2024, 4:52:21 PMJun 23
to lu...@googlegroups.com
I've updated Lunatik and it's working just fine =). I took the
opportunity and added a (very coarsed) guide [1] to document the
"git-fu" I'm doing to keep track of upstream changes. I welcome any
other fork maintainer who has the same constraints (e.g., no floating
point, no OS) to join efforts and unify the forks. Feel free to reach
out to me directly.

[1] https://github.com/luainkernel/lua/?tab=readme-ov-file#lua-in-kernel

Regards,
--
Lourival Vieira Neto
Reply all
Reply to author
Forward
0 new messages