Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

docs(changelog): a forced module brings its binary

esengine01da398d5d7b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 610c730ad..3fab30901 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -33,6 +33,11 @@ published separately; it ships inside the editor.
install it. A project using a subsystem no subpath installs (video today) takes the whole
entry as before. Measured on the UI-game template: 1,305KB → 1,090KB, 57 files → 32.
+- **Forcing a module in now ships its wasm binary too, not just its JavaScript.** A project that spawns bodies from a
+ script — the case Include exists for — got the solver's JavaScript staged and no wasm to
+ run it. The wasm scan was reading the older `physics.enabled` directly, so only that flag
+ reached it and only for that one module.
+
- **A build target can include or exclude an engine module without changing the project's answer.** A playable ad has a
size cap a web build does not, so refusing 3D physics there should not refuse it
everywhere. `packaging.modulesByPlatform` lays a target's answer over the project's,
diff --git a/tools/releaseNotes.mjs b/tools/releaseNotes.mjs
index 868172a8a..7c6c7d072 100644
--- a/tools/releaseNotes.mjs
+++ b/tools/releaseNotes.mjs
@@ -698,6 +698,8 @@ export const NOTED = {
{ internal: "a manual page's import line, following the move it documents" },
'refactor(play): the play realm asks for the whole import map by name':
{ internal: "the editor's preview page names the same subpaths it always did" },
+ 'fix(export): a module the project forced in brings its binary too':
+ { note: "Forcing a module in now ships its wasm binary too, not just its JavaScript." },
'feat(project): a build target can answer differently about a module':
{ note: "A build target can include or exclude an engine module without changing the project's answer." },
'feat(settings): each engine module says what this project does with it':