File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 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)
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments