github temporalio/sdk-java v1.28.1

2 days ago

💥 BREAKING CHANGES

API Keys

The SDK will now automatically set the temporal-namespace header on all gRPC request made by the WorkflowClient. Users
should no longer manually set this header.

To use API keys users should follow this example:

    WorkflowServiceStubs service =
        WorkflowServiceStubs.newServiceStubs(
            WorkflowServiceStubsOptions.newBuilder()
                .addApiKey(
                    () ->
                        <API key>)
                .setTarget(<endpoint>)
                .setEnableHttps(true)
                ...
                .build());

    WorkflowClient client =
        WorkflowClient.newInstance(
            service, WorkflowClientOptions.newBuilder().setNamespace(<namespace_id>.<account_id>).build());

Bugfixes

API Keys

  • Fixed an issue where API keys were not being properly set in the WorkflowClient when using the Spring Boot integration.
  • Fixed an issue where a worker connecting to a Temporal server with an unconnected client would fail to authenticate.

What's Changed

2025-03-10 - 73cb1e9 - Fix API key auth (#2438)

Don't miss a new sdk-java release

NewReleases is sending notifications on new releases.