Skip to content

v0.3.0.0

Choose a tag to compare

@luau-project luau-project released this 21 Oct 16:19

Important

Please, before trying to use the tools provided here, perform the initial Setup.

Overview

  1. This new release builds Lua with compatibility to previous Lua versions, as is on unix;
  2. Basic usage for LuaInstaller.Core was added;
  3. This release also fixes pkg-config related variables depending on the Lua version

Note

At the moment, v0.2.0.0 continues to work, because there are no Lua versions that make pkg-config fail. However, if Lua reaches 5.10.0 in the future, v0.2.0.0 will face an issue when writing pkg-config files.

Technical discussion of the changes

  1. This release brings the same behavior of building Lua on unix systems: when -DLUA_COMPAT_* macro is defined on the Makefile, it is added to the build parameters;
  2. Fixed an issue that interpreted 5.10.0 as an older version than 5.2.4. This issue affected the generated pkg-config file, and thus forwarding the issue for modules that depend on it. As explained above, v0.2.0.0 is safe while Lua does not hit 5.10.0 or something like that;
  3. In order to fix the version-related issue, all the version-related objects were reworked (LuaVersion, VisualStudioVersion, WindowsSdkVersion and others) to have a default comparison as expected (ascending), not the one used on UI (descending). This obviously break compatibility with v0.2.0.0 and older.