Commit Graph

  • 0711c614c7 v0.12.0-rc.2 main v0.12.0-rc.2 Alex Orlenko 2026-06-06 14:25:57 +01:00
  • 743325f7d6 clippy Alex Orlenko 2026-06-06 14:28:17 +01:00
  • 0b365e92a9 Support to_alias_override/to_alias_fallback in Require trait (Luau) Alex Orlenko 2026-06-06 13:18:55 +01:00
  • 15fb63b2a2 Support thread create/resume/yield callbacks for all Lua/Luau versions Alex Orlenko 2026-06-01 00:25:12 +01:00
  • 0849d05c83 mlua_derive: Update docs Alex Orlenko 2026-05-31 13:44:24 +01:00
  • 38c05b850e mlua_derive: Improve error reporting for #[lua] attributes Alex Orlenko 2026-05-31 13:32:33 +01:00
  • 8d1841f8cf Fix tests (Luau 0.723 integer type) Alex Orlenko 2026-05-31 13:22:50 +01:00
  • e9271d2e32 mlua_derive: Use correct Span in metamethod name validation error Alex Orlenko 2026-05-31 13:17:40 +01:00
  • e263220fb3 Add documentation for #derive(UserData) Alex Orlenko 2026-05-31 13:05:03 +01:00
  • e6d16815d7 mlua_derive: Improve context-aware validation for #[lua] attr Alex Orlenko 2026-05-31 12:56:15 +01:00
  • ae88e8acf8 mlua_derive: Detect (and reject) all generic type parameters in UserData derive Alex Orlenko 2026-05-31 12:31:35 +01:00
  • fcab60bac4 mlua_derive: Fix #[lua(meta, field)] case Alex Orlenko 2026-05-31 12:28:06 +01:00
  • 208a70f407 Move inlined #[lua_module] proc macro doc to docs/lua_module.md Alex Orlenko 2026-05-31 11:17:51 +01:00
  • ca360f9019 Move inlined chunk! macro doc to docs/chunk.md Alex Orlenko 2026-05-31 11:01:15 +01:00
  • a7c5a24a7b mlua_derive: Deny #[lua = "..."] syntax Alex Orlenko 2026-05-30 22:23:03 +01:00
  • b7c98ad9bb mlua_derive: Switch from #[userdata] to [derive(UserData)] Alex Orlenko 2026-05-30 13:11:26 +01:00
  • 1f3dafa564 mlua_derive: Reject static field functions with args Alex Orlenko 2026-05-30 12:46:31 +01:00
  • 1d4a756436 mlua_derive: Support async userdata methods in macro Alex Orlenko 2026-05-29 00:54:56 +01:00
  • 6e7d6c78ed mlua_derive: Group functionality in modules Alex Orlenko 2026-05-18 23:21:37 +01:00
  • 023e4c61d8 mlua_derive: Fix compilation / remove "if let" guards Alex Orlenko 2026-05-18 22:44:00 +01:00
  • 92bd06d3c1 mlua_derive: Refactor Capture implementation for chunk! Alex Orlenko 2026-05-16 23:40:23 +01:00
  • d8544bf038 mlua_derive: Optimize Captures::add Alex Orlenko 2026-05-16 22:36:13 +01:00
  • 7114c03489 mlua_derive: Remove unneeded Span::line hack for chunk! since we use Rust 1.95+ Alex Orlenko 2026-05-16 01:15:35 +01:00
  • f4cacc524e mlua_derive: Bump MSRV to 1.88 Alex Orlenko 2026-05-16 00:53:21 +01:00
  • cc7f7ce7b7 mlua_derive: show better error message when $ is not followed by ident Alex Orlenko 2026-05-16 00:42:23 +01:00
  • 72de602ec3 Fix modules compilation after switching to 2024 edition in mlua_derive Alex Orlenko 2026-05-16 00:30:25 +01:00
  • 1573dd1242 Add #[mlua::userdata] and #[mlua::userdata_impl] macros Alex Orlenko 2026-05-16 00:03:11 +01:00
  • 39d3201848 Prevent XRc overflow when dropping RawLua with foreign Lua state Alex Orlenko 2026-05-26 23:13:44 +01:00
  • 4aa6214b45 feat: implement Not for StdLib (#699) 莯凛 2026-05-01 05:56:50 +08:00
  • 72824a468a Remove custom PartialEq for LuaString and use derived one Alex Orlenko 2026-04-22 22:28:17 +01:00
  • c54b90623c Fix String::to_pointer return NULL in Lua <5.4 Alex Orlenko 2026-04-22 22:23:25 +01:00
  • 5f0e06fb66 Update CHANGELOG v0.12.0-rc.1 Alex Orlenko 2026-04-22 00:06:11 +01:00
  • 181c9d07b7 v0.12.0-rc.1 Alex Orlenko 2026-04-20 00:24:58 +01:00
  • 4e827179d1 Update compile tests messages Alex Orlenko 2026-04-20 00:19:56 +01:00
  • cc26dcd4ff Bump rustyline Alex Orlenko 2026-04-20 00:16:34 +01:00
  • 201e30bc07 Add UserDataOwned<T> wrapper to take ownership of userdata T Alex Orlenko 2026-04-20 00:05:57 +01:00
  • 4e028d8409 Change AnyUserData::type_name to return LuaString instead. Alex Orlenko 2026-04-19 23:26:24 +01:00
  • 3d1ae981d3 Update docs Alex Orlenko 2026-04-19 22:12:17 +01:00
  • 8c93948f2f Fix tests Alex Orlenko 2026-04-18 16:13:23 +01:00
  • f2b5cc44de traits module no longer need to be public Alex Orlenko 2026-04-18 16:09:17 +01:00
  • 27f91dfd1b Accept any error in Function::wrap/wrap_mut/wrap_async Alex Orlenko 2026-04-18 16:01:35 +01:00
  • 75ff11f795 Move LuaNativeFn/Mut into function module Alex Orlenko 2026-04-18 14:56:24 +01:00
  • df6097ab38 Mark Luau CompileConstant as non_exhaustive Alex Orlenko 2026-04-18 14:51:54 +01:00
  • 65bb6279ee Update serde types visibility Alex Orlenko 2026-04-18 14:47:26 +01:00
  • 31b88e85bb cargo fmt Alex Orlenko 2026-04-18 13:26:42 +01:00
  • 3be4745190 Add initial Luau integer64 type support Alex Orlenko 2026-04-18 13:12:31 +01:00
  • c52deec988 Use c_int for userdata metatable id Alex Orlenko 2026-04-14 23:45:42 +01:00
  • 3ab3c997b3 feat: support external strings for Cow<str> and Cow<CStr> (#692) 三咲雅 misaki masa 2026-04-09 17:45:15 +08:00
  • 5872ed70f5 Make traits module public Alex Orlenko 2026-04-04 15:04:00 +01:00
  • e7e92b4f6f Make chunk module public Alex Orlenko 2026-04-03 13:44:49 +01:00
  • d27693b61a Make error module public Alex Orlenko 2026-03-29 09:55:38 +01:00
  • c9848d6faf Update doc/example for (hidden) Lua::exec_raw_lua Alex Orlenko 2026-03-28 23:57:35 +00:00
  • 9126bb8ce0 Add RawLua::pop method Alex Orlenko 2026-03-28 22:37:25 +00:00
  • 7f1d716a44 Remove deprecated Lua::load_from_function Alex Orlenko 2026-03-28 17:40:22 +00:00
  • be56e2205c Update GC step_size doc Alex Orlenko 2026-03-28 17:38:49 +00:00
  • c5aadc68cd Open UserDataMethods::add_method_once and UserDataMethods::add_async_method_once Alex Orlenko 2026-03-28 17:17:57 +00:00
  • a5ae2a1fc3 Update useratom doc Alex Orlenko 2026-03-28 17:07:03 +00:00
  • 59872da63d mlua-sys: Bump lua-src and luajit-src dependencies Alex Orlenko 2026-03-28 16:31:05 +00:00
  • a24d2151af Minor fixes in docs Alex Orlenko 2026-03-27 22:54:56 +00:00
  • 56c227fd7e Make state module public Alex Orlenko 2026-03-08 00:06:11 +00:00
  • d5d66abe42 Refactor GC control API Alex Orlenko 2026-03-07 23:33:52 +00:00
  • a2d8b21964 Make luau module public Alex Orlenko 2026-03-01 16:37:02 +00:00
  • a9604c4946 Rename Luau's TextRequirer to FsRequirer Alex Orlenko 2026-03-01 16:26:09 +00:00
  • 81ae8e1393 Make Chunk::wrap public Alex Orlenko 2026-03-01 16:17:11 +00:00
  • a959b98d30 Add chunk module doc and update prelude re-exports Alex Orlenko 2026-03-01 16:11:38 +00:00
  • efd0856033 Derive PartialEq for Thread Alex Orlenko 2026-02-28 14:52:59 +00:00
  • c91066006f Make thread module public Alex Orlenko 2026-02-28 14:44:50 +00:00
  • a45fe9bb93 Bump luau-src to 0.19 (Luau 0.710) Alex Orlenko 2026-02-28 12:03:37 +00:00
  • f1a97e4193 Open Thread::state() that returns *mut lua_State pointer. Alex Orlenko 2026-02-28 11:48:59 +00:00
  • 47e6a37323 Add shortcuts to check thread status (Thread::is_resumable(), Thread::is_finished() etc) Alex Orlenko 2026-02-28 11:46:05 +00:00
  • bf0c96908f Remove lifetime from BorrowedStr and BorrowedBytes Alex Orlenko 2026-02-23 10:24:21 +00:00
  • 8817720362 Re-export (hidden) TablePairs and TableSequence Alex Orlenko 2026-02-23 09:51:24 +00:00
  • 35294359ad Inline doc for some types Alex Orlenko 2026-02-22 19:58:28 +00:00
  • eb76db59da Make userdata module public Alex Orlenko 2026-02-22 19:52:57 +00:00
  • 33bf3ffde7 Fix doc warnings Alex Orlenko 2026-02-22 14:37:23 +00:00
  • 0f3fdb0539 Make string module public Alex Orlenko 2026-02-22 14:33:38 +00:00
  • 79d438aaad Build CI docs on main branch Alex Orlenko 2026-02-22 13:28:48 +00:00
  • 30cf4bef58 Use RwLock directly instead of UserDataCell Alex Orlenko 2026-02-22 00:13:19 +00:00
  • 5776c72208 Use parking_lot::RwLock in UserDataCell container in "send" mode. Alex Orlenko 2026-02-21 23:15:48 +00:00
  • 943c3aed58 Some minor fixes in userdata cell Alex Orlenko 2026-02-21 21:19:42 +00:00
  • 8fcb6a8416 Update dependencies Alex Orlenko 2026-02-21 15:38:00 +00:00
  • 452dc8be88 clippy Alex Orlenko 2026-02-21 15:31:48 +00:00
  • 63a255bbc9 Replace is_sync specialization trick with MaybeSync trait bound. Alex Orlenko 2026-02-21 15:05:55 +00:00
  • 151adc0e87 Implement pretty debug format for AnyUserData similar to Value::UserData. Alex Orlenko 2026-02-20 20:31:29 +00:00
  • 7f3ec63ab5 Support __todebugstring for pretty userdata debug output Alex Orlenko 2026-02-20 18:59:53 +00:00
  • f19c6aac3b Fix tests Alex Orlenko 2026-02-12 15:59:55 +00:00
  • 29af448ad9 Update README to indicate dev status Alex Orlenko 2026-02-12 15:27:30 +00:00
  • 497d84828a Add CI to build dev docs dev Alex Orlenko 2026-02-03 11:45:13 +00:00
  • 0e489901a5 Update debug module Move debug types from root to new new module. Alex Orlenko 2026-02-03 10:33:05 +00:00
  • 88063e756f Make table module public Alex Orlenko 2026-01-30 13:18:46 +00:00
  • c8436e2b80 Make function module public Alex Orlenko 2026-01-30 12:30:30 +00:00
  • 613748ec16 Use Error::from_lua_conversion helper Alex Orlenko 2026-01-29 20:47:06 +00:00
  • 2fbd266da6 Remove Error::ToLuaConversionError Alex Orlenko 2026-01-29 21:03:09 +00:00
  • c79b5e9cdb cargo fmt Alex Orlenko 2026-01-29 23:03:56 +00:00
  • 2ace892613 Rename string::String to LuaString Alex Orlenko 2026-01-29 18:45:41 +00:00
  • c1ffd4e790 Replace get_or_insert_with with get_or_insert_default Alex Orlenko 2026-01-29 10:46:58 +00:00
  • d9c139b55f Rust 2024 Alex Orlenko 2026-01-29 10:33:28 +00:00
  • 0c4206c97d Bump min Rust version to 1.88 Alex Orlenko 2026-01-29 10:13:04 +00:00
  • a985dc7a37 Start 0.12.0-dev.1 Alex Orlenko 2026-01-29 10:07:05 +00:00
  • e7fa8d75bb v0.11.6 v0.11.6 v0.11 Alex Orlenko 2026-01-27 16:05:18 +00:00