Minor Changes
-
Add unified
debug-metadata.jsonper Lynx entry. (#2642)- New
@lynx-js/debug-metadataschema package (zero-dep). - New
@lynx-js/debug-metadata-rsbuild-pluginemits the file and serves?field=…queries in dev. - JS
//# sourceMappingURL=and tasmtemplateDebugUrlrepointed at the new endpoint. debug-info.jsonno longer written to disk.- Auto-registered by Rspeedy — zero user config.
- New
-
BREAKING CHANGE (#2803)
Drop webpack support — the plugins now target Rspack only. All public types come from
@rspack/coreinstead ofwebpack(e.g.Compiler,Compilation,LoaderContext), and thewebpackdependency is removed. -
Enable
syncXElementRegistryin the generated page config by default. (#2784)This lets the runtime sync the XElement registry during page setup, so the open-source
<input>/<textarea>map to the new XElement implementation (x-input-ng/x-textarea-ng) instead of the deprecated legacy elements.
Patch Changes
-
Encode entry templates concurrently on the shared worker pool, speeding up multi-page builds. (#2757)
-
Always inline a lazy bundle's background (bts) chunk. (#2715)
A lazy bundle (
appType: "DynamicComponent") runs its background synchronously when the bundle is required, so its bts must be inlined intoapp-service.js. Previously a non-matchinginlineScriptsmatcher could externalize it vialynx.requireModuleAsync, leaving the module unavailable atinstallChunktime and breaking the bundle. The bts of a lazy bundle is now always inlined regardless ofinlineScripts; the option still applies to card templates. -
Prefix Lynx runtime module names with
webpack/runtime/(e.g.Lynx async chunks→webpack/runtime/lynx async chunks), matching the path-structured naming of the bundler's built-in runtime modules. The previous bare names had no path segment, so when they appear as a source-mapsourcesentry under afile://module-filename template they collapsed into an invalid URL authority (the space-containing name became the host) and brokeSourceMapConsumerparsing. (#2642) -
Updated dependencies [
5891d0f,7b135f4,7b4616b]:- @lynx-js/web-core@0.21.1