Skip to content

0.519

Compare
Choose a tag to compare
@zeux zeux released this 18 Mar 00:53
· 781 commits to master since this release
362428f

Analysis changes

  • Fix pointer identity issues with declared global types (fixes #409)
  • Improve autocomplete for self calls (via :)
  • Fix type checking of function definitions when extending a table with string indexer
  • Fix some cases when any type wasn't treated as optional by the type checker
  • Fix some interactions with discriminable unions during type checking
  • Improve type checking stability

Runtime changes

  • Add C API to access memory category information (lua_setmemcat and lua_totalbytes) for memory profiling
  • Fix typeof() semantics for untagged host-exposed user data: now typeof() returns __type metafield for all host-exposed userdata (but not userdata created via newproxy())
  • Fix definition of lua_clonefunction when LUA_API was customized in the build process (fixes #411)
  • Fix 32-bit Windows builds when using clang-cl (fixes #421)
  • Optimize table rehashing (~15% faster dictionary table resize on average)

Community contributions