Skip to content

Tags: Kong/lua-pack

Tags

2.0.0

Toggle 2.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: return module (#3)

* fix: return module

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]>

1.0.5

Toggle 1.0.5's commit message

Verified

This tag was signed with the committer’s verified signature.
thibaultcha Thibault Charbonnier
v1.0.5

1.0.4

Toggle 1.0.4's commit message
Pack implementation code