Releases: gudzpoz/luajava
Releases · gudzpoz/luajava
v4.0.2
What's Changed
- feat: enable LUA_COMPAT for Lua 5.2, 5.3, and 5.4 by @ccarrasc in #193
- fix: try to load class from multiple class-loaders by @gudzpoz in #202
- Bump luajit/jni/luajit from
ae4735f
tof725e44
by @dependabot in #201
New Contributors
Full Changelog: v4.0.1...v4.0.2
v4.0.0
What's Changed
Major API Changes (Breaking!) (#171)
- Methods that might trigger Lua errors now throw
LuaException
s instead of returningLuaError
enums. LuaValue
API Changes:LuaValue
s now implement theMap
interface, allowing direct manipulation of tables.Lua
now implements a newly addedLuaThread
interface, supporting directly setting and retrieving global variables asLuaValue
s.- Renamed
Lua::execute
toLua::eval
. - Added
LuaValue::toProxy
,LuaValue::toNumber/String/...
. - Removed
LuaValue::close
, fully offloading the job to phantom reference cleaners. - Added
LuaFunction
to allow implementing Lua function without knowledge of Lua C API.
- Methods in
LuaNatives
(renamed fromLuaNative
) are nowpublic
. - Lua API
java.catched
is renamed tojava.caught
(still aliased tojava.catched
though).
Minor API Changes
- Lua '==' now detects jobject identity. (#160)
- Passing 64-bit integers across proxies and jobject calls in Lua 5.3 and on is now supported. (#167)
- On 32-bit machines, when using 64-bit integers in Lua 5.3 and on, the result is no longer truncated into
int32
then intodouble
but directly approximated todouble
instead.
- On 32-bit machines, when using 64-bit integers in Lua 5.3 and on, the result is no longer truncated into
API Additions
- Added
Lua::newTable
method by @dayo05 in #173 - Added
Lua::toInteger
method to provide access to 64-bit integers in Lua 5.3 and beyond (#167)
New Bindings & Platforms
- Added LuaJ bindings for platforms with no precompiled binaries (#164)
- Supported Windows on ARM64 (#176)
- Precompiled untested iOS binaries (#174)
Fixes
- Calling
Lua::createTable(nArr, nRec)
wrongly calledlua_createtable(nArr, nArr)
.
Maintenance Changes
- Bump luajit/jni/luajit (#175)
- Bump other dependencies
New Contributors
Full Changelog: v3.5.0...v4.0.0
v3.5.0
What's Changed
- Breaking: Bumped minimum Android API version to that of NDK 26 by @gudzpoz in #130
- Fix incorrect index usage in table manipulation by @gudzpoz in #128
- Bump luajit/jni/luajit from
ff6c496
to113a168
by @dependabot in #131
Full Changelog: v3.4.1...v3.5.0
v3.4.1
What's Changed
- Re-open the library with
RTLD_GLOBAL
by @gudzpoz in #97 - Update dependencies and Lua versions (Lua 5.4 and LuaJIT)
- Example console improvements
Full Changelog: v3.4.0...v3.4.1
v3.4.0
What's Changed
- Add MacOsX arm64 target to jnigen task by @chendler in #60
- Setup Circleci project by @gudzpoz in #69
- Bump luajit/jni/luajit from
6c4826f
to505e2c0
by @dependabot in #67 - Bump org.jetbrains:annotations from 24.0.0 to 24.0.1 by @dependabot in #70
Full Changelog: v3.3.0...v3.4.0
v3.3.0
What's Changed
- Support Java 9 Platform Module System in #44
- Breaking: Some classes are moved out of
party.iroiro.luajava
, e.g.,Lua51
,Lua52
,Lua53
,Lua54
andLuaJit
.
- Breaking: Some classes are moved out of
Full Changelog: v3.2.0...v3.3.0
v3.2.0
What's Changed
- Added basic JSR-223 provider with
jsr223
artifact in #41 - LuaJava compatibility in #42
- Added
java.loadlib
- Added another Lua module searcher / loader using
java.loadlib
- Added documentation about LuaJava compatibility
- Added
Full Changelog: v3.1.3...v3.2.0
v3.1.3
What's Changed
- Interfacing
lua_dump
andlua_tolstring
withLua#dump
,Lua#toBuffer
andLua#toDirectBuffer
- Bumped LuaJIT version
v3.1.2
What's Changed
- Support glibc of lower versions as well as musl with gcompat in #36
- Added
--test
--file
--expr
options to the Lua console - Future-proofing by moving from finalize to PhantomReference
- Moved loader initialization to openLibrary
Full Changelog: v3.1.1...v3.1.2
v3.1.1
What's Changed
- Proxy improvement in #23 #30 #32 and 3612472
- Added default method handling
- Automatic proxy conversion for lambdas
- Added
java.unwrap
- Supporting import of nested packages / classes in #28
- Added support for Android down to API level 19 (Android 4.4) and tests in #33
- Garbage collecting proxies, values and threads in #34
Full Changelog: v3.1.0...v3.1.1