Skip to content

Commit 04e9a32

Browse files
authored
Create 0.12.0.md
1 parent 12b3965 commit 04e9a32

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

release-notes/0.12.0.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# [`bevy_mod_scripting`](https://github.com/makspll/bevy_mod_scripting/) 0.10.0 is out!
2+
3+
![image](https://github.com/user-attachments/assets/6ae0f927-ea1b-4d90-a809-4cc513e49b18)
4+
5+
## Summary
6+
7+
### Fine grained imports & BMSPlugin
8+
`BMSPlugin` is now all you need to add to your app following the selection of the features you care about:
9+
```rust
10+
app.add_plugins(BMSPlugin);
11+
```
12+
Since this is a plugin group, you can also override any individual plugins that make up `BMS` by using `.set` i.e.:
13+
```
14+
app.add_plugins(BMSPlugin.set(CoreScriptGlobalsPlugin::default()));
15+
```
16+
17+
### Callback responses
18+
It is now possible to request that a `ScriptCallbackResponseEvent` event is emitted on custom callbacks.
19+
20+
You can do this at the time of creation of `ScriptCallbackEvent` triggers like so:
21+
```rust
22+
ScriptCallbackEvent::new_for_all(YourCallbackLabel, vec![my_arg])
23+
.with_response();
24+
```
25+
26+
### Fixes
27+
- since `0.11.0` the crate has silently been pulling in `mlua` with the `lua54` feature, which meant you could not select another lua version. This has been fixed
28+
29+
## Changelog
30+
See a detailed changelog [here](https://github.com/makspll/bevy_mod_scripting/blob/main/CHANGELOG.md)

0 commit comments

Comments
 (0)