Repository navigation
Release v23.11.0
Summary
Adds a non-mutating drift check and a validation projection report to the proxy generator, caps queued observable-query emissions per subscription, and flags command results whose command has no handler. Also fixes causation for events appended by response value handlers, and custom WebSocket connection handlers.
Added
- Proxy generator
--checkoption compares committed TypeScript clients with what the compiled backend would generate, without writing or deleting files. It lists missing, changed and obsolete files and exits2on drift,0when up to date and1on errors. (#3637) - Proxy generator
--validation-report=text|jsonand--validation-report-file=<path>options explain which inspected server validation rules are projected into generated TypeScript clients and why others stay server-side. (#3638) QueryOptions.MaxQueuedEmissionsPerSubscription(default 256) caps how many emissions can queue for one observable-query subscription. When a subscriber falls further behind than that over WebSocket, Server-Sent Events or the demultiplexer hub, Arc ends the subscription and the client reconnects with fresh data. (#3633)- Command results now report
IsMissingHandler(isMissingHandlerin TypeScript) when a command has no registered handler, so clients can tell a missing handler apart from other failures.CommandFormvalidation treats such a result as not run, with the reasonmissingHandler, instead of as a failed validation. (#3869)
Fixed
- Events appended by response value handlers now carry the command on their causation chain, also when the transactional command scope completes after the command's causation scope has ended. (#3735)
- Enumerable observable queries close the WebSocket connection again when a custom connection handler fails to send, instead of silently skipping each item (#3652)
- Subclasses of
WebSocketConnectionHandlerthat re-implementSendMessageare now used for query data pushes, not only for error frames (#3652) - Typed command results (
Execute<TResult>) now keep the retryable flag from the underlying result. (part of #3869)