Release-v0.8.0 #58
LibirSoft
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What's in it
Microservice messaging — the flagship of 0.8. Asena services can now talk to each other over a broker, both request/response and fire-and-forget. The core ships only the broker-agnostic SPI (@asenajs/asena/microservice, a new export subpath) plus an in-process reference transport; real brokers live in @asenajs/asena-redis and @asenajs/asena-kafka.
@MessageController / @MessagePattern / @EventPattern
ulak.send() / ulak.emit() and the pattern-scoped ulak.messages('order') view
MessagingInterceptor wrapper hooks — how @asenajs/asena-otel propagates trace context
Multiple named transports, so one service can bridge two brokers
Headless mode — create({ headless: true }) boots without an HTTP adapter, for message-driven workers. Omitting the adapter without the flag still fails, so the intent stays explicit.
Health endpoint — create({ health: { port } }) starts a standalone probe server that reports each named transport and returns 503 while any is disconnected.
Test harness (@asenajs/asena/test) — createTestApp() boots a full application, createWebTest() only the web layer, with supertest-style assertions, deep mocks and unix-socket dispatch so parallel suites can't collide on a port.
This discussion was created from the release Release-v0.8.0.
All reactions