Skip to content

Release v24.9.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 17:03
2d80d12

Developer tools can now read the structure of an application and switch availability live while it runs, so a tool such as Lens can turn audiences, modules, features and slices on or off and open client sessions follow without a reload.

Added

  • GET /.cratis/structure reports the modules, features, sub-features and slices of the application, each with a path and the commands and read models it holds. It follows the same access rules as the other discovery endpoints.
  • GET /.cratis/availability/model reports the audiences an application declares and, when the host registers an availability manifest, its blocks, gates, context values and personas, together with the overrides in force.
  • POST /.cratis/availability/overrides switches audiences on or off, and modules, features and slices on or off. Open /.cratis/availability sessions decide again, so React clients update live.
  • IDiscoveryEndpointContributor lets a package map further developer endpoints under /.cratis with the discovery access rules.

Changed

  • The availability endpoints are mapped only in a Development, Local, Test or Testing environment. Everywhere else they are not mapped and no override is ever applied.