Skip to content

2.0.0

Latest
Compare
Choose a tag to compare
@javierguerragiraldez javierguerragiraldez released this 26 Oct 22:21
495bf30

What's Changed

Previously loading this module would set pack and unpack into the
global string library. Since these methods now exist (since Lua 5.3),
other Lua modules will use these functions if they exist, assuming that
they are the implemenations in Lua 5.3.

More generally, modern best practice is to return the module when
loading instead of setting anything globally.

Obviously this is a breaking change.

  • bump version to 2.0.0

  • Remove Makefile

Use luarocks build or luarocks make instead. The "builtin" process
is much better at providing the appropriate CFLAGS.

  • Fix test

Still not a real test, since it doesn't show failure, but at least now
it runs to completion.

  • Update README.md

Since it no longer pollutes the string table, it's just a normal
module. Also use a bit of formatting.

Co-authored-by: Javier Guerra [email protected]

New Contributors

Full Changelog: 1.0.5...2.0.0