Repository navigation
Release v24.9.0
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/structurereports 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/modelreports 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/overridesswitches audiences on or off, and modules, features and slices on or off. Open/.cratis/availabilitysessions decide again, so React clients update live.IDiscoveryEndpointContributorlets a package map further developer endpoints under/.cratiswith 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.