Skip to content

Commit ff94971

Browse files
Release v1.28.1 (#2439)
Release v1.28.1
1 parent 73cb1e9 commit ff94971

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

releases/v1.28.1

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# **💥 BREAKING CHANGES**
2+
3+
# API Keys
4+
The SDK will now automatically set the `temporal-namespace` header on all gRPC request made by the `WorkflowClient`. Users
5+
should no longer manually set this header.
6+
7+
To use API keys users should follow this example:
8+
9+
```java
10+
WorkflowServiceStubs service =
11+
WorkflowServiceStubs.newServiceStubs(
12+
WorkflowServiceStubsOptions.newBuilder()
13+
.addApiKey(
14+
() ->
15+
<API key>)
16+
.setTarget(<endpoint>)
17+
.setEnableHttps(true)
18+
...
19+
.build());
20+
21+
WorkflowClient client =
22+
WorkflowClient.newInstance(
23+
service, WorkflowClientOptions.newBuilder().setNamespace(<namespace_id>.<account_id>).build());
24+
```
25+
26+
# Bugfixes
27+
28+
# API Keys
29+
* Fixed an issue where API keys were not being properly set in the `WorkflowClient` when using the Spring Boot integration.
30+
* Fixed an issue where a worker connecting to a Temporal server with an unconnected client would fail to authenticate.
31+
32+
# What's Changed
33+
34+
2025-03-10 - 73cb1e96 - Fix API key auth (#2438)

0 commit comments

Comments
 (0)