Skip to content

Release v4.240.3

Choose a tag to compare

@github-actions github-actions released this 21 Oct 18:37
601f279

Part of Cratis/StudioIssues#1083.

Changed

  • Acme Commerce, Sales / Orders: the module declares toolbar actions with Approve order (Decision.ApproveOrder, primary) and Cancel order (Fulfilment.CancelOrder, quiet, asks first) - a module toolbar reaches every screen of the module; the Approval feature declares its own with Reject order (asks first) and Apply discount.
  • Acme Commerce, Warehouse / Stock: Receiving declares Receive shipment (ReceiveStock) and Dispatch declares Dispatch shipment (DispatchShipment).
  • New MCP spec: an agent gives a module an empty toolbar and then adds a button linked to a command of one of its features through the typed nodes. The docs say an empty toolbar is valid.
  • Conformance golden invoicing-sample.syntax.json: the sample note that leaves the default colour unsaid (since #1026) is null in the golden, so the C# and TypeScript compilers agree again.
  • render-blueprint-samples.cjs loads each published blueprint package as the ES module it ships; @cratis/components is ES-only since 4.34 and the CommonJS build of the blueprints failed with ERR_PACKAGE_PATH_NOT_EXPORTED: './Common', which failed the Render Blueprint Samples check for every pull request. All 15 packages checked locally.

Fixed

  • The sample showed feature toolbars only in Catalog; no module toolbar and nothing in Sales or Warehouse. screenplay --warnaserror Samples/AcmeCommerce: 0 errors, 0 warnings; screenplay test: 177 passed.