Page 1 of 6

LÖVE 11.4 - out now!

Posted: Sun Jan 02, 2022 1:42 pm
by slime
LÖVE version 11.4 has been released!

This is primarily a bugfix release plus a small number of new features and changes. The main highlights are:
  • LuaJIT 2.1 is now used in all builds where LuaJIT is bundled with LÖVE (macOS, Windows, iOS, Android, Linux AppImage).
  • LÖVE now has native Apple Silicon / arm64 support on macOS.
  • Of the many fixes, the most important one is a memory corruption / crash fix for love.graphics.line and other line-rendering APIs.
The full changelog is available on the wiki, and download links are on the LÖVE homepage.

----

Work has also been progressing on LÖVE 12.0. We don't have a release date yet but you can see the latest in-progress changelog in the git repository, with a few more major features planned (e.g. basic HTTPS support and a Metal graphics backend) in addition to what's there already.

Happy new year!

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 4:16 pm
by EngineerSmith
Woot! Awesome finally I can use byteData:clone() 🦆

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 4:27 pm
by grump
Holy shit, it finally happened.
* Changed all builds and platforms where LOVE provides LuaJIT to use LuaJIT 2.1 instead of 2.0.
Which platforms are not guaranteed to use 2.1?

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 4:41 pm
by AuahDark
Linux that distribute LOVE as part of their package manager may not use the latest LuaJIT version.

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 4:48 pm
by grump
Hm, that is unfortunate. 2.1 supports 64-bit bitops but this means you can't rely on them being present when distributing plain love files.

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 5:04 pm
by slime
You could check whether the distros that matter to you have 2.1 in their package managers - I think a lot (or most?) do these days.

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 5:07 pm
by AuahDark
grump wrote: Tue Jan 04, 2022 4:48 pm Hm, that is unfortunate. 2.1 supports 64-bit bitops but this means you can't rely on them being present when distributing plain love files.
Another option would be using the relocatable nature of the 11.4 AppImage. You can "fuse" your game with the 11.4 Linux binaries and distribute that along your game.

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 5:33 pm
by grump
AuahDark wrote: Tue Jan 04, 2022 5:07 pm Another option would be using the relocatable nature of the 11.4 AppImage. You can "fuse" your game with the 11.4 Linux binaries and distribute that along your game.
I am aware; I build and distribute an AppImage that runs LÖVE games for all versions from 0.8.0 to 11.3. That reminds me: I have to release an update soon.

My main concern is that 64-bit ops still require a fallback in libraries, and stuff posted as .love files only. Not a huge issue, just not ideal. Thanks for the info.

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 5:50 pm
by uriid1
Congratulations on the release!
Now I'm waiting for 12.0
LÖVE was a real discovery for me that year :)

Re: LÖVE 11.4 - out now!

Posted: Tue Jan 04, 2022 6:05 pm
by ruairidx
Nice one, especially the native Apple Silicon support!

Is there any way to detect the current running architecture (e.g. love.system.getArch() or something)? Currently I have a game using a compiled C library, gifcat, which instacrashes on 11.4 since my precompiled .so file is for x86_64 architectures (which worked fine on 11.3/Rosetta).

Code: Select all

Error: Thread error (Thread: 0x6000015e0a00)

deps/gifcat.lua:207: dlopen(/path/gifcatlib.so, 0x0006): tried: '/path/gifcatlib.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'))
If there's a way to detect the architecture, then I can just compile multiple .so files for each architecture and dynamically load the correct one at runtime. Open to other solutions as well!

Thanks for all the hard work!