Lua Changelog

What's new in Lua 5.3.0

Jan 13, 2015
  • Main changes:
  • integers (64-bit by default)
  • official support for 32-bit numbers
  • bitwise operators
  • basic utf-8 support
  • functions for packing and unpacking values
  • Language:
  • userdata can have any Lua value as uservalue
  • integer division
  • more flexible rules for some metamethods
  • Libraries:
  • ipairs and the table library respect metamethods
  • strip option in string.dump
  • table library respects metamethods
  • new function table.move
  • new function string.pack
  • new function string.unpack
  • new function string.packsize
  • C API:
  • simpler API for continuation functions in C
  • lua_gettable and similar functions return type of resulted value
  • strip option in lua_dump
  • new function: lua_geti
  • new function: lua_seti
  • new function: lua_isyieldable
  • new function: lua_numbertointeger
  • new function: lua_rotate
  • new function: lua_stringtonumber
  • Lua standalone interpreter:
  • can be used as calculator; no need to prefix with '='
  • arg table available to all code

New in Lua 5.3.0 RC 2 (Dec 24, 2014)

  • Its main new features are support for integers, bitwise operators, and a basic utf-8 library.

New in Lua 5.3.0 Alpha (Aug 1, 2014)

  • Main changes:
  • support for integers (64-bit by default)
  • better support for small architectures ("Small Lua" with 32-bit numbers)
  • bitwise operators
  • basic utf-8 library
  • utf-8 escapes in literal strings
  • strip option in lua_dump/string.dump
  • Language:
  • userdata can have any Lua value as uservalue
  • integer division
  • more flexible rules for some metamethods
  • Libraries:
  • functions for packing/unpacking numbers
  • strip option in string.dump
  • table library respects metamethods
  • new function table.copy
  • new function debug.Csize
  • C API:
  • new functions: lua_rotate, lua_isyieldable, lua_strtonum
  • lua_gettable and similar functions return type of resulted value
  • Lua standalone interpreter:
  • can be used as calculator; no need to prefix with '='
  • arg table available to all code

New in Lua 5.2.0 (Apr 12, 2012)

  • The main new features are yieldable pcall and metamethods, new lexical scheme for globals, ephemeron tables, new library for bitwise operations, light C functions, emergency garbage collector, goto statement, and finalizers for tables.

New in Lua 5.2.0 RC 2 (Nov 29, 2011)

  • The main features in Lua 5.2 are yieldable pcall and metamethods, new lexical scheme for globals, ephemeron tables, new library for bitwise operations, light C functions, emergency garbage collector.

New in Lua 5.1.4 (Oct 25, 2008)

  • Added manifests for the DLLs in dll8 and dll9 distributions to include the dependency on the run time library. Added manifests for the wlua executables to include the dependency on the ComCtl32 library that enable the Windows XP Visual Styles for GUI applications.
  • Originals Lua makefiles are not changed anymore.
  • LUA_CPATH default changed to also include the "clibs" subfolder in search path when in Windows. Added support for "51" suffix.