Repository navigation
v1.0.0
First stable release of dapr4s — a cross-platform (JVM + Scala.js/Wasm) Scala 3 library for Dapr.
Library fixes
- Actor & workflow clients now honour the configured sidecar endpoint.
ActorClient/DaprWorkflowClientwere built with no-arg constructors that defaulted tolocalhost:3500/50001, ignoringDaprConfig.sidecar— so actors and workflows broke against any non-default sidecar port. They now receive the endpoint/TLS/token overrides viaDapr.sidecarProperties. bulkPublishencoding fixed. Events were double-encoded (JSONStringthrough the wrongpublishEventsoverload, which also dropped per-entry ids), leaving them undeliverable. Now usesBulkPublishRequest<byte[]>with raw bytes and explicit entry ids.- Workflow gRPC channel no longer leaks on shutdown. The
DurableTaskGrpcWorkerchannel is now closed on the server'sInterruptedExceptionpath (removes theManagedChannel allocation sitewarning at teardown).
Testing
- Actor / PubSub / Invoke / Workflow integration suites are now single cross-platform classes in
test/shared— JVM and Scala.js run the same test bodies, with only setup coming from per-platform fixtures. Each platform gained the other's previously-missing cases (real server-delivery coverage, not raw-HTTP shortcuts). - JVM and JS test-infrastructure files and types now mirror each other (
ServerDaprItSuite/ServerDaprItEnv/SharedDaprItSuite/TestCodecs), so the two trees read as twins.
Full Changelog: v0.20.1...v1.0.0