summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Orlenko <zxteam@protonmail.com>2020-06-06 14:09:36 +0100
committerAlex Orlenko <zxteam@protonmail.com>2020-06-07 20:38:19 +0100
commit2595fe988562b74bcccc584bf67a2be6ed3d7f60 (patch)
tree28c0b384e0c5a015bb864da977b0d0f78f2a3ac3
parent4865089a781c94b57e21fedbb3ae634e5cb8a98d (diff)
downloadmlua-2595fe988562b74bcccc584bf67a2be6ed3d7f60.zip
Update CHANGELOG
-rw-r--r--CHANGELOG.md16
1 files changed, 11 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 91acf8e..27a3576 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,10 +1,16 @@
-## v0.4.0-beta.1
+## v0.4.0
- Lua 5.4 support with `MetaMethod::Close`.
-- Provide safety guaraness for Lua states which means that potenially unsafe operations like loading C modules (using `require` or `package.loadlib`) are disabled. Equalient for the previous `Lua::new()` function is `Lua::unsafe_new()`.
+- `lua53` feature is disabled by default. Now preferred Lua version have to be chosen explicitly.
+- Provide safety guaraness for Lua state, which means that potenially unsafe operations, like loading C modules (using `require` or `package.loadlib`) are disabled. Equalient for the previous `Lua::new()` function is `Lua::unsafe_new()`.
- New `send` feature to require `Send`.
-- Don't allow `'callback` outlive `'lua` in `Lua::create_function()`. This fixes [the unsoundness](tests/compile/static_callback_args.rs).
+- New `module` feature, that disables linking to Lua Core Libraries. Required for modules.
+- Don't allow `'callback` outlive `'lua` in `Lua::create_function()` to fix [the unsoundness](tests/compile/static_callback_args.rs).
- Added `Lua::into_static()` to make `'static` Lua state. This is useful to spawn async Lua threads that requires `'static`.
- New function `Lua::set_memory_limit()` (similar to `rlua`) to enable memory restrictions in Lua VM (requires Lua >= 5.2).
-- `Scope`, temporary removed in v0.3.0, is back with async support.
-- Removed deprecated `Table::call()`
+- `Scope`, temporary removed in v0.3, is back with async support.
+- Removed deprecated `Table::call()` function.
+- Added hooks support (backported from rlua 0.17).
+- New `AnyUserData::has_metamethod()` function.
+- LuaJIT 2.0.5 (the latest stable) support.
+- Various bug fixes and improvements.