Skip to content

Release v5.20.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 08:45
f38be47

Stage now serves the server side of extension components: public settings, browser-initiated ability invocations and static placeholders. Loading a component's frontend into the browser runtime is not part of this release; it waits for the @cratis/scene.extensions package to be published to npm.

Added

  • Browser invocations: a screen component can ask Stage to run an ability, limited to the contract's invokes allowlist and the screen's authorization. The request is recorded as a new ScreenInteraction origin, and a repeated interaction identity is a retry, not a second run. (part of #1070)
  • Public settings for extension components: only settings declared public reach the browser; secret settings never do. (part of #1070)
  • Static placeholders for pages without a browser runtime (previews, exports, first paint). (part of #1070)
  • Documentation: "Run extension components" in the extensions section. (part of #1070)