Releases
v2.0.0
Compare
Sorry, something went wrong.
No results found
Changes
break(kernel): 💥 Improve kernel contracts and environment schema
Release details
Pull request notes
Summary
Add typed environment schema choices with runtime validation and literal TypeScript inference.
Add environment schema metadata fields for documentation and operational tooling.
Move kernel consumer and route registration types to core contracts with KernelConsumer and KernelRoute.
Make adapter Consumer and Route implement/extend those kernel contracts.
Document adapter-specific install/import paths and the registration contracts.
Keep coverage focused on runtime kernel files instead of excluding all src/kernel.
Breaking changes
Kernel consumer registration is now typed against KernelConsumer instead of the pub/sub adapter Consumer base class.
Kernel route registration is now typed against KernelRoute instead of the UI adapter Route base class.
Custom registered consumers must expose queueName and init(). Adapter consumers already comply.
Custom registered routes should extend or be assignable to KernelRoute. Adapter routes already comply.
Validation
yarn typecheck
yarn lint
yarn build
yarn test:coverage
yarn docs:build
yarn format:check
yarn --cwd example typecheck
You can’t perform that action at this time.