Skip to content

Releases: Kong/lua-pack

2.0.0

26 Oct 22:21
495bf30

Choose a tag to compare

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 javier@guerrag.com

New Contributors

Full Changelog: 1.0.5...2.0.0

1.0.5

12 Jul 20:04
1.0.5

Choose a tag to compare

Compatibility with latest LuaJIT v2.1

lua-pack - a simple Lua library for packing and unpacking binary data

29 Mar 04:08

Choose a tag to compare