Skip to content

Commit b9ca7ae

Browse files
chore: release v0.9.0-alpha.2 (#189)
* chore: release v0.9.0-alpha.2 * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Maksymilian Mozolewski <makspl17@gmail.com>
1 parent bbfda42 commit b9ca7ae

File tree

9 files changed

+67
-12
lines changed

9 files changed

+67
-12
lines changed

CHANGELOG.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## [0.9.0-alpha.2](https://github.com/makspll/bevy_mod_scripting/compare/v0.9.0-alpha.1...v0.9.0-alpha.2) - 2025-01-05
4+
5+
### Added
6+
7+
- Dynamic function registry and dynamic function calls
8+
- `bevy_mod_scripting_functions` crate added, containing built-in dynamic functions callable from scripts
9+
- Lua dynamic function call mechanism
10+
- Dynamic functions automatically register their argument and return types with the type registry
11+
- Added set of `IntoScript`, `FromScript`, `IntoScriptRef`, and `FromScriptRef` traits
12+
- Added `ScriptAllocator` to manage lifetimes of non-world stored types (such as `Vec2` created via scripts etc..)
13+
- Added `AccessMap` dynamic safety mechanism, every access is now small, and does not require mutexing the entire world
14+
15+
### Changed
16+
- Complete plugin re-write, expect breakages everywhere
17+
- `prelude` imports removed
18+
- `ScriptValue` abstraction replacing the concept of a generic event argument type. Each event payload is a `ScriptValue`
19+
- `world` is now a static reference, `world:function` calls must be replaced with `world.function` calls
20+
- Documentation generation was temporarilly removed
21+
- `Teal` and `Tealr` was removed
22+
- `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
23+
- Temporarilly suspended full rhai and rune support until next non-alpha release
24+
- Removed Deferred reflection mechanism
25+
- Added `mdbook` documentation book
26+
- Removed `APIProvider` traits in favour of various configuration resources
27+
- Specific registration of `Vec<T>` and `Option<T>` via `register_lua_vec` etc.. is no longer necessary, reflection *just* works on all registered types
28+
- Expanded core library of `ReflectReference` functions
29+
- Removed `LuaProxyable` abstraction and all custom type data, everything is now driven via normal reflection
30+
- All references are now represented via either references to the world or to a `ScriptAllocator`
31+
- Accessing anything in the world requires claiming the appropriate `AccessMap` locks to do so safely (which is abstracted away with various utility functions)
32+
- And much more
33+
334
## [0.8.0-alpha.2](https://github.com/makspll/bevy_mod_scripting/compare/v0.8.0-alpha.1...v0.8.0-alpha.2) - 2024-12-03
435

536
### Fixed
@@ -69,4 +100,4 @@
69100
- Fixed broken example links in `readme.md`
70101

71102
## v0.1.0
72-
Initial version
103+
Initial version

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_mod_scripting"
3-
version = "0.9.0-alpha.1"
3+
version = "0.9.0-alpha.2"
44
authors = ["Maksymilian Mozolewski <makspl17@gmail.com>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
@@ -52,15 +52,15 @@ rune = ["bevy_mod_scripting_rune"]
5252
[dependencies]
5353
bevy = { workspace = true }
5454
bevy_mod_scripting_core = { workspace = true }
55-
bevy_mod_scripting_lua = { path = "crates/languages/bevy_mod_scripting_lua", version = "0.9.0-alpha.1", optional = true }
56-
bevy_mod_scripting_rhai = { path = "crates/languages/bevy_mod_scripting_rhai", version = "0.9.0-alpha.1", optional = true }
57-
bevy_mod_scripting_rune = { path = "crates/languages/bevy_mod_scripting_rune", version = "0.9.0-alpha.1", optional = true }
55+
bevy_mod_scripting_lua = { path = "crates/languages/bevy_mod_scripting_lua", version = "0.9.0-alpha.2", optional = true }
56+
bevy_mod_scripting_rhai = { path = "crates/languages/bevy_mod_scripting_rhai", version = "0.9.0-alpha.2", optional = true }
57+
bevy_mod_scripting_rune = { path = "crates/languages/bevy_mod_scripting_rune", version = "0.9.0-alpha.2", optional = true }
5858
bevy_mod_scripting_functions = { workspace = true }
5959

6060
[workspace.dependencies]
6161
bevy = { version = "0.15.0", default-features = false }
62-
bevy_mod_scripting_core = { path = "crates/bevy_mod_scripting_core", version = "0.9.0-alpha.1" }
63-
bevy_mod_scripting_functions = { path = "crates/bevy_mod_scripting_functions", version = "0.9.0-alpha.1" }
62+
bevy_mod_scripting_core = { path = "crates/bevy_mod_scripting_core", version = "0.9.0-alpha.2" }
63+
bevy_mod_scripting_functions = { path = "crates/bevy_mod_scripting_functions", version = "0.9.0-alpha.2" }
6464
test_utils = { path = "crates/test_utils" }
6565
mlua = { version = "0.10" }
6666
rhai = { version = "1.20.1" }

crates/bevy_mod_scripting_core/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.9.0-alpha.2](https://github.com/makspll/bevy_mod_scripting/compare/bevy_mod_scripting_core-v0.9.0-alpha.1...bevy_mod_scripting_core-v0.9.0-alpha.2) - 2025-01-05
11+
12+
### Added
13+
14+
- complete plugin re-write
15+
16+
### Other
17+
18+
- ditch alpha pre-releases ([#162](https://github.com/makspll/bevy_mod_scripting/pull/162))
19+
1020
## [0.8.0-alpha.2](https://github.com/makspll/bevy_mod_scripting/compare/bevy_mod_scripting_core-v0.8.0-alpha.1...bevy_mod_scripting_core-v0.8.0-alpha.2) - 2024-12-03
1121

1222
### Other

crates/bevy_mod_scripting_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_mod_scripting_core"
3-
version = "0.9.0-alpha.1"
3+
version = "0.9.0-alpha.2"
44
authors = ["Maksymilian Mozolewski <makspl17@gmail.com>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
## [0.9.0-alpha.2](https://github.com/makspll/bevy_mod_scripting/compare/bevy_mod_scripting_functions-v0.9.0-alpha.1...bevy_mod_scripting_functions-v0.9.0-alpha.2) - 2025-01-05
11+
12+
### Added
13+
14+
- complete plugin re-write

crates/bevy_mod_scripting_functions/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_mod_scripting_functions"
3-
version = "0.9.0-alpha.1"
3+
version = "0.9.0-alpha.2"
44
edition = "2021"
55
authors = ["Maksymilian Mozolewski <makspl17@gmail.com>"]
66
license = "MIT OR Apache-2.0"

crates/languages/bevy_mod_scripting_lua/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_mod_scripting_lua"
3-
version = "0.9.0-alpha.1"
3+
version = "0.9.0-alpha.2"
44
authors = ["Maksymilian Mozolewski <makspl17@gmail.com>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

crates/languages/bevy_mod_scripting_rhai/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_mod_scripting_rhai"
3-
version = "0.9.0-alpha.1"
3+
version = "0.9.0-alpha.2"
44
authors = ["Maksymilian Mozolewski <makspl17@gmail.com>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

crates/languages/bevy_mod_scripting_rune/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bevy_mod_scripting_rune"
3-
version = "0.9.0-alpha.1"
3+
version = "0.9.0-alpha.2"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
description = "Necessary functionality for Rune support with bevy_mod_scripting"

0 commit comments

Comments
 (0)