Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 04e9a32

Browse filesBrowse files
authored
Create 0.12.0.md
1 parent 12b3965 commit 04e9a32
Copy full SHA for 04e9a32

File tree

Expand file treeCollapse file tree

1 file changed

+30
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+30
-0
lines changed

‎release-notes/0.12.0.md

Copy file name to clipboard
+30Lines changed: 30 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.