Skip to content

v1.0.0

Choose a tag to compare

@sideeffffect sideeffffect released this 17 Jun 11:20
· 14 commits to master since this release
a6f7123

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 / DaprWorkflowClient were built with no-arg constructors that defaulted to localhost:3500/50001, ignoring DaprConfig.sidecar — so actors and workflows broke against any non-default sidecar port. They now receive the endpoint/TLS/token overrides via Dapr.sidecarProperties.
  • bulkPublish encoding fixed. Events were double-encoded (JSON String through the wrong publishEvents overload, which also dropped per-entry ids), leaving them undeliverable. Now uses BulkPublishRequest<byte[]> with raw bytes and explicit entry ids.
  • Workflow gRPC channel no longer leaks on shutdown. The DurableTaskGrpcWorker channel is now closed on the server's InterruptedException path (removes the ManagedChannel allocation site warning 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