Skip to content

Releases: tv-labs/lua

v0.4.0

06 Dec 18:45
5bf2069

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

09 Jun 12:49

Choose a tag to compare

[v0.3.0] - 2025-06-09

Added

  • Guards for encoded Lua values in deflua functions
    • is_table/1
    • is_userdata/1
    • is_lua_func/1
    • is_erl_func/1
    • is_mfa/1

Fixed

  • deflua function can now specify guards when using or not using state

v0.2.1

14 May 18:33

Choose a tag to compare

[v0.2.1] - 2025-05-14

Added

  • Lua.encode_list!/2 and Lua.decode_list!/2 for encoding and decoding function arguments and return values

Fixed

  • Ensure that list return values are properly encoded

Full Changelog: v0.2.0...v0.2.1

v0.2.0

14 May 14:26
75b4975

Choose a tag to compare

[v0.2.0] - 2025-05-14

Changed

  • Any data returned from a deflua function, or a function set by Lua.set!/3 is now validated. If the data is not an identity value, or an encoded value, it will raise an exception. In the past, Lua and Luerl would happily accept bad values, causing downstream problems in the program. This led to unexpected behavior, where depending on if the data passed was decoded or not, the program would succeed or fail

Full Changelog: v0.1.1...v0.2.0

v0.1.1

13 May 16:26
8142867

Choose a tag to compare

[v0.1.1] - 2025-05-13

Added

  • Lua.put_private/3, Lua.get_private/2, Lua.get_private!/2, and Lua.delete_private/2 for working with private state

Full Changelog: v0.1.0...v0.1.1

v0.1.0

12 May 20:18
d962594

Choose a tag to compare

[v0.1.0] - 2025-05-12

Fixed

  • Errors now correctly propagate state updates
  • Fixed version requirements issues, causing references to undefined luerl_new
  • Allow Unicode characters to be used in Lua scripts
  • Files with only comments can be loaded

Changed

  • Upgrade to Luerl 1.4.1
  • Tables must now be explicitly decoded when receiving as arguments deflua and other Elixir callbacks

Full Changelog: v0.0.22...v0.1.0

v0.0.22

14 Nov 19:23
918fbaf

Choose a tag to compare

What's Changed

Full Changelog: v0.0.21...v0.0.22

v0.0.21

30 Oct 13:36
f3ef3cb

Choose a tag to compare

What's Changed

Full Changelog: v0.0.20...v0.0.21

v0.0.20

03 Oct 16:01
5423eba

Choose a tag to compare

What's Changed

Full Changelog: v0.0.19...v0.0.20

v0.0.19

17 Sep 13:54

Choose a tag to compare

Full Changelog: v0.0.18...v0.0.19

Update to Luerl 1.2.2