Skip to content

0.506

Compare
Choose a tag to compare
@zeux zeux released this 03 Dec 06:58
· 864 commits to master since this release
32fb6d1

Changes

  • Fix some cases where type checking would overflow the native stack
  • Improve autocomplete behavior when assigning a partially written function call (not currently exposed through command line tools)
  • Improve autocomplete type inference feedback for some expressions where previously the type would not be known
  • Improve quantification performance during type checking for large types
  • Improve type checking for table literals when the expected type of the table is known because of a type annotation
  • Fix type checking errors in cases where required module has errors in the resulting type
  • Fix debug line information for multi-line chained call sequences (#255)
  • lua_ref can no longer be used with LUA_REGISTRYINDEX to prevent mistakes when migrating Lua FFI (#247)
  • Fix assertions and possible crashes when executing script code indirectly via metatable dispatch from lua_equal/lua_lessthan/lua_getfield/etc. (#259)
  • Fix flamegraph scripts to run under Python 2

Community contributions

Breaking changes

This release introduces a small breaking change in lua.h (only relevant for embedders) to improve compatibility with Lua/LuaJIT:

  • lua_newuserdata now takes 2 arguments; lua_newuserdatatagged should be used if the third argument was non-0.