Skip to content

Releases: makspll/bevy_mod_scripting

v0.9.0-alpha.8

28 Jan 00:28
70bad5a
Compare
Choose a tag to compare

Added

  • re-implement rhai again (#222)
  • add ScriptValue::Map and create appropriate conversions in lua and rhai (#229)
  • Add functions script method, and create function info scaffolding (#228)
  • Call custom get and set functions on the type when indexing. (#226)
  • Add optional arguments to script functions (#225)
  • Add world.with_or_insert_component_mut() (#223)

v0.9.0-alpha.7

20 Jan 16:49
c71fa0a
Compare
Choose a tag to compare

Added

  • [breaking] Remove WorldCallbackAccess & Combine context args for dynamic functions into one FunctionCallContext (#219)
  • Add component upsert function (#218)

v0.9.0-alpha.6

19 Jan 21:43
6c92a68
Compare
Choose a tag to compare

Added

  • Don't panic! (#216)

v0.9.0-alpha.5

19 Jan 00:57
ecf613d
Compare
Choose a tag to compare

Fixed

  • Fix missing functions in codegen (#210)

v0.9.0-alpha.4

17 Jan 02:18
67b253d
Compare
Choose a tag to compare

Added

  • Improvements to BMS in multi-language context (#194)
  • Implement global namespace registration (#202)
  • make script contexts public (#193)

v0.9.0-alpha.3

14 Jan 11:39
bc83c5a
Compare
Choose a tag to compare

Added

  • Improvements to BMS in multi-language context (#194)
  • Implement global namespace registration (#202)
  • make script contexts public (#193)

v0.9.0-alpha.2

05 Jan 22:53
Compare
Choose a tag to compare

Added

  • Dynamic function registry and dynamic function calls
  • bevy_mod_scripting_functions crate added, containing built-in dynamic functions callable from scripts
  • Lua dynamic function call mechanism
  • Dynamic functions automatically register their argument and return types with the type registry
  • Added set of IntoScript, FromScript, IntoScriptRef, and FromScriptRef traits
  • Added ScriptAllocator to manage lifetimes of non-world stored types (such as Vec2 created via scripts etc..)
  • Added AccessMap dynamic safety mechanism, every access is now small, and does not require mutexing the entire world

Changed

  • Complete plugin re-write, expect breakages everywhere
  • prelude imports removed
  • ScriptValue abstraction replacing the concept of a generic event argument type. Each event payload is a ScriptValue
  • world is now a static reference, world:function calls must be replaced with world.function calls
  • Documentation generation was temporarilly removed
  • Teal and Tealr was removed
  • bevy_mod_scripting_derive, bevy_mod_scripting_common and other derive crates as well as bevy_event_priority and bevy_script_api crates were removed
  • Temporarilly suspended full rhai and rune support until next non-alpha release
  • Removed Deferred reflection mechanism
  • Added mdbook documentation book
  • Removed APIProvider traits in favour of various configuration resources
  • Specific registration of Vec<T> and Option<T> via register_lua_vec etc.. is no longer necessary, reflection just works on all registered types
  • Expanded core library of ReflectReference functions
  • Removed LuaProxyable abstraction and all custom type data, everything is now driven via normal reflection
  • All references are now represented via either references to the world or to a ScriptAllocator
  • Accessing anything in the world requires claiming the appropriate AccessMap locks to do so safely (which is abstracted away with various utility functions)
  • And much more

v0.8.0-alpha.2

03 Dec 12:21
f35103e
Compare
Choose a tag to compare

Fixed

  • bug when compiling without teal feature (#148)

Other

  • Small fixes (#155)
  • Luau support (#154)
  • Bump bevy & bevy console (#153)
  • Fix failing doctest (#146)
  • update Cargo.toml dependencies

Contributors

v0.8.0

03 Dec 22:56
f3bf9c3
Compare
Choose a tag to compare

What's Changed

  • v0.8.0 - Bevy 0.15 Support by @makspll in #141
  • luau support

Full Changelog: v0.7.1...v0.8.0

v0.8.0-alpha.1

10 Nov 13:47
b3615f9
Compare
Choose a tag to compare

Other

  • Bump Bevy release candidate (#143)
  • update Cargo.toml dependencies

Contributors