unstale

npm / @module-federation/runtime

@module-federation/runtime

What changed in @module-federation/runtime 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

2 breaking14 new APIs and options2 behavior and defaults2 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

@module-federation/runtime 220 changes

Breaking changes 2

  • Legacy share-scope metadata is ignored during shared registration and resolution.

    2.9.0release notes

  • Shared and eager loading evidence is gated to stable runtime 2.5.0+ for Chrome-extension compatibility.

    2.5.0release notes

New APIs and options 14

  • The existing render and destroy hooks now receive semantic context.

    2.9.0release notes

  • A route synchronization hook is added.

    2.9.0release notes

  • The shared-version satisfy helper is now re-exported for use by developers.

    2.9.0release notes

  • These hooks now receive explicit load context, enabling context-aware shared registration and resolution.

    2.9.0release notes

  • A build-specific export provides build summaries and build error reports.

    2.5.0release notes

  • A separate observability plugin entry uses an independent name and fixed browser scope for Chrome-extension compatibility.

    2.5.0release notes

  • Error stack capture is configurable, with explicit opt-ins for raw stacks in console output.

    2.5.0release notes

  • getInstance now supports finder callbacks, clarifying how developers can find runtime instances.

    2.5.0release notes

  • A local collector mode supports AI-assisted browser debugging.

    2.5.0release notes

  • A Node-specific export provides file reports.

    2.5.0release notes

  • An opt-in observability plugin adds runtime and build reports, lifecycle and phase events, loading outcomes, and normalized error details for debugging.

    2.5.0release notes

  • Matched remotes can receive an explicitly injected temporary React callback when they finish loading.

    2.5.0release notes

  • Lifecycle hooks are available for remotes and shared modules.

    2.5.0release notes

  • Opt-in console traces are available for loadRemote and loadShare operations.

    2.5.0release notes

Behavior and default changes 2

  • These diagnostics are kept in the observability plugin.

    2.9.0release notes

  • Dedicated runtime error codes identify invalid manifests, missing exposes, and remote container init failures.

    2.5.0release notes

Fixes and other changes 2

  • Timing, sanitization, and correlation remain in the observability plugin.

    2.9.0release notes

  • Instance creation now includes id and options.

    2.4.0release notes