<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luarocks, branch main</title>
<subtitle>A mirror of https://github.com/luarocks/luarocks.git
</subtitle>
<id>https://git.lua4.win/luarocks/atom?h=main</id>
<link rel='self' href='https://git.lua4.win/luarocks/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/'/>
<updated>2026-04-06T19:34:35+00:00</updated>
<entry>
<title>Do not pin `lua` as a dependency.</title>
<updated>2026-04-06T19:34:35+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2026-04-06T19:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=fc402072fca856f05e8ae09799cd6c2a2352dd17'/>
<id>urn:sha1:fc402072fca856f05e8ae09799cd6c2a2352dd17</id>
<content type='text'>
Fixes #1874.
</content>
</entry>
<entry>
<title>fix: check if table entry is nil or not (#1867)</title>
<updated>2026-03-17T17:33:03+00:00</updated>
<author>
<name>Bruno Thiago</name>
<email>45828157+brunotvs@users.noreply.github.com</email>
</author>
<published>2026-03-17T17:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=6b0a7f7f8770f5d21730a5f2fa8fcbc695687c43'/>
<id>urn:sha1:6b0a7f7f8770f5d21730a5f2fa8fcbc695687c43</id>
<content type='text'>
running 

```luarocks config local_by_default``` returns ```Error: Unknown entry local_by_default```

and running

```luarocks config local_by_default true``` writes it as a string to the config file: 
```lua 
local_by_default = "true"
```

Same is true to any bool var set as false.

This pr aims to fix this issue.</content>
</entry>
<entry>
<title>fix:  correctly handling wrap_bin_scripts flag (#1866)</title>
<updated>2026-03-17T15:48:34+00:00</updated>
<author>
<name>Bruno Thiago</name>
<email>45828157+brunotvs@users.noreply.github.com</email>
</author>
<published>2026-03-17T15:48:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=df425b4a24637797f552245685d7535ad9a56f7c'/>
<id>urn:sha1:df425b4a24637797f552245685d7535ad9a56f7c</id>
<content type='text'>
Fixes #1827.</content>
</entry>
<entry>
<title>ci: bump OpenSSL to 3.6.1</title>
<updated>2026-03-16T22:31:35+00:00</updated>
<author>
<name>luau-project</name>
<email>luau.project@gmail.com</email>
</author>
<published>2026-03-06T22:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=e4689642f1b72efd221a60fd364efb5ce86eeff5'/>
<id>urn:sha1:e4689642f1b72efd221a60fd364efb5ce86eeff5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ci: test the build of LuaRocks binaries for Windows</title>
<updated>2026-03-16T22:31:35+00:00</updated>
<author>
<name>luau-project</name>
<email>luau.project@gmail.com</email>
</author>
<published>2026-03-06T22:21:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=aaa828ea1a71af131a78de61ce89643940da05dd'/>
<id>urn:sha1:aaa828ea1a71af131a78de61ce89643940da05dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: use zlib fossils</title>
<updated>2026-03-16T22:31:35+00:00</updated>
<author>
<name>luau-project</name>
<email>luau.project@gmail.com</email>
</author>
<published>2026-03-06T13:54:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=ba60ebde65b617bdf341909d0a56ac99327005d6'/>
<id>urn:sha1:ba60ebde65b617bdf341909d0a56ac99327005d6</id>
<content type='text'>
   * the upstream zlib was updated from
     1.3.1 to 1.3.2, invalidating the
     current URL;

   * according to zlib website, each tarball
     released so far can be found at
     https://www.zlib.net/fossils/ ;
</content>
</entry>
<entry>
<title>fix: allow cross compilation of LuaRocks binaries</title>
<updated>2026-03-16T22:31:35+00:00</updated>
<author>
<name>luau-project</name>
<email>luau.project@gmail.com</email>
</author>
<published>2026-03-06T13:50:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=137dd749a0b0026483eb76411d1a1a8736a86d48'/>
<id>urn:sha1:137dd749a0b0026483eb76411d1a1a8736a86d48</id>
<content type='text'>
   * this change is on LuaSocket 3.1.0 rockspec: see https://luarocks.org/manifests/lunarmodules/luasocket-3.1.0-1.rockspec
</content>
</entry>
<entry>
<title>Improve flexibility around vendored libraries</title>
<updated>2026-02-03T22:47:50+00:00</updated>
<author>
<name>tobil4sk</name>
<email>tobil4sk@outlook.com</email>
</author>
<published>2026-02-03T22:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=47301d83aba58925e1b9594023621ebb27070cdb'/>
<id>urn:sha1:47301d83aba58925e1b9594023621ebb27070cdb</id>
<content type='text'>
compat53 is vendored since #1757 as it is required to run luarocks with lua 5.1 or 5.2.

However, this introduced some issues as the GNUmakefile install rule places these in the same place where `luarocks install compat53` would install them. This means you get conflicts if you install the actual package:
```
Warning: /.../prefix/share/lua/5.1/compat53/init.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/init.lua~
Warning: /.../prefix/share/lua/5.1/compat53/module.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/module.lua~
Warning: /.../prefix/share/lua/5.1/compat53/file_mt.lua is not tracked by this installation of LuaRocks. Moving it to /.../prefix/share/lua/5.1/compat53/file_mt.lua~
```

It is also not ideal for linux package maintainers to include a vendored package, see: https://github.com/luarocks/luarocks/pull/1757#issuecomment-3409873412.

To solve these issues, this patchset makes the following changes:
- GNUmakefile now places the compat53 files under `luarocks/vendor/compat53` (which is added internally to the luarocks script's `package.path`). This way a user's installation of compat53 does not interfere at all with luarocks one.
- Added `--with-system-compat53` option to configure script for external packaging systems.
- Fixed install.bat's logic for deciding whether to vendor compat53, as the current script includes it for every version.

install.bat already places luarocks sources outside of LUAPATH, so that part can stay as is.

I've also inverted the version check to avoid the need for future patches like: #1850.</content>
</entry>
<entry>
<title>assert: skip compat53 itself from the stacktrace</title>
<updated>2026-02-01T21:20:02+00:00</updated>
<author>
<name>Hisham Muhammad</name>
<email>hisham@gobolinux.org</email>
</author>
<published>2026-02-01T21:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=acf1f47e7f1b1ecbc147e41cae51ddfd06ad898d'/>
<id>urn:sha1:acf1f47e7f1b1ecbc147e41cae51ddfd06ad898d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: use LuaFileSystem in the system only if its version is 1.6.0 or newer. (#1825)</title>
<updated>2026-01-29T00:39:46+00:00</updated>
<author>
<name>Luau Project</name>
<email>luau.project@gmail.com</email>
</author>
<published>2026-01-29T00:39:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luarocks/commit/?id=e5821e9a6fd94aba56e28f0282f00748cd864903'/>
<id>urn:sha1:e5821e9a6fd94aba56e28f0282f00748cd864903</id>
<content type='text'>
</content>
</entry>
</feed>
