Skip to content

Commit dc7a765

Browse files
authored
Prepare for Spring Cloud Azure 5.23.0 release (#46270)
* update version client * update version * add a script * update changelog * update bom
1 parent f0d3418 commit dc7a765

File tree

91 files changed

+343
-431
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+343
-431
lines changed

eng/versioning/version_client.txt

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -212,61 +212,61 @@ com.microsoft.azure:azure-eventhubs-eph;3.3.0;3.4.0-beta.1
212212
com.microsoft.azure:azure-servicebus;3.6.7;3.7.0-beta.1
213213
com.microsoft.azure:azure-media;1.0.0-beta.1;1.0.0-beta.1
214214
com.azure.spring:azure-monitor-spring-native-test;1.0.0-beta.1;1.0.0-beta.1
215-
com.azure.spring:spring-cloud-azure-appconfiguration-config-web;5.22.0;5.23.0-beta.1
216-
com.azure.spring:spring-cloud-azure-appconfiguration-config;5.22.0;5.23.0-beta.1
217-
com.azure.spring:spring-cloud-azure-feature-management-web;5.22.0;5.23.0-beta.1
218-
com.azure.spring:spring-cloud-azure-feature-management;5.22.0;5.23.0-beta.1
219-
com.azure.spring:spring-cloud-azure-starter-appconfiguration-config;5.22.0;5.23.0-beta.1
220-
com.azure.spring:spring-cloud-azure-dependencies;5.21.0;5.22.0
221-
com.azure.spring:spring-messaging-azure;5.22.0;5.23.0-beta.1
222-
com.azure.spring:spring-messaging-azure-eventhubs;5.22.0;5.23.0-beta.1
223-
com.azure.spring:spring-messaging-azure-servicebus;5.22.0;5.23.0-beta.1
224-
com.azure.spring:spring-messaging-azure-storage-queue;5.22.0;5.23.0-beta.1
225-
com.azure.spring:spring-integration-azure-core;5.22.0;5.23.0-beta.1
226-
com.azure.spring:spring-integration-azure-eventhubs;5.22.0;5.23.0-beta.1
227-
com.azure.spring:spring-integration-azure-servicebus;5.22.0;5.23.0-beta.1
228-
com.azure.spring:spring-integration-azure-storage-queue;5.22.0;5.23.0-beta.1
229-
com.azure.spring:spring-cloud-azure-core;5.22.0;5.23.0-beta.1
230-
com.azure.spring:spring-cloud-azure-actuator-autoconfigure;5.22.0;5.23.0-beta.1
231-
com.azure.spring:spring-cloud-azure-actuator;5.22.0;5.23.0-beta.1
232-
com.azure.spring:spring-cloud-azure-autoconfigure;5.22.0;5.23.0-beta.1
233-
com.azure.spring:spring-cloud-azure-docker-compose;5.22.0;5.23.0-beta.1
234-
com.azure.spring:spring-cloud-azure-resourcemanager;5.22.0;5.23.0-beta.1
235-
com.azure.spring:spring-cloud-azure-service;5.22.0;5.23.0-beta.1
236-
com.azure.spring:spring-cloud-azure-starter-active-directory;5.22.0;5.23.0-beta.1
237-
com.azure.spring:spring-cloud-azure-starter-active-directory-b2c;5.22.0;5.23.0-beta.1
238-
com.azure.spring:spring-cloud-azure-starter-actuator;5.22.0;5.23.0-beta.1
239-
com.azure.spring:spring-cloud-azure-starter-appconfiguration;5.22.0;5.23.0-beta.1
240-
com.azure.spring:spring-cloud-azure-starter-cosmos;5.22.0;5.23.0-beta.1
241-
com.azure.spring:spring-cloud-azure-starter-data-cosmos;5.22.0;5.23.0-beta.1
242-
com.azure.spring:spring-cloud-azure-starter-data-redis-lettuce;5.22.0;5.23.0-beta.1
243-
com.azure.spring:spring-cloud-azure-starter-eventhubs;5.22.0;5.23.0-beta.1
244-
com.azure.spring:spring-cloud-azure-starter-eventgrid;5.22.0;5.23.0-beta.1
245-
com.azure.spring:spring-cloud-azure-starter-jdbc-mysql;5.22.0;5.23.0-beta.1
246-
com.azure.spring:spring-cloud-azure-starter-jdbc-postgresql;5.22.0;5.23.0-beta.1
247-
com.azure.spring:spring-cloud-azure-starter-keyvault;5.22.0;5.23.0-beta.1
248-
com.azure.spring:spring-cloud-azure-starter-keyvault-certificates;5.22.0;5.23.0-beta.1
249-
com.azure.spring:spring-cloud-azure-starter-keyvault-jca;5.22.0;5.23.0-beta.1
250-
com.azure.spring:spring-cloud-azure-starter-keyvault-secrets;5.22.0;5.23.0-beta.1
251-
com.azure.spring:spring-cloud-azure-starter-monitor;5.22.0;5.23.0-beta.1
252-
com.azure.spring:spring-cloud-azure-starter-servicebus-jms;5.22.0;5.23.0-beta.1
253-
com.azure.spring:spring-cloud-azure-starter-servicebus;5.22.0;5.23.0-beta.1
254-
com.azure.spring:spring-cloud-azure-starter-storage;5.22.0;5.23.0-beta.1
255-
com.azure.spring:spring-cloud-azure-starter-storage-blob;5.22.0;5.23.0-beta.1
256-
com.azure.spring:spring-cloud-azure-starter-storage-file-share;5.22.0;5.23.0-beta.1
257-
com.azure.spring:spring-cloud-azure-starter-storage-queue;5.22.0;5.23.0-beta.1
258-
com.azure.spring:spring-cloud-azure-starter-integration-eventhubs;5.22.0;5.23.0-beta.1
259-
com.azure.spring:spring-cloud-azure-starter-integration-servicebus;5.22.0;5.23.0-beta.1
260-
com.azure.spring:spring-cloud-azure-starter-integration-storage-queue;5.22.0;5.23.0-beta.1
261-
com.azure.spring:spring-cloud-azure-starter-stream-eventhubs;5.22.0;5.23.0-beta.1
262-
com.azure.spring:spring-cloud-azure-starter-stream-servicebus;5.22.0;5.23.0-beta.1
263-
com.azure.spring:spring-cloud-azure-starter;5.22.0;5.23.0-beta.1
264-
com.azure.spring:spring-cloud-azure-stream-binder-eventhubs-core;5.22.0;5.23.0-beta.1
265-
com.azure.spring:spring-cloud-azure-stream-binder-eventhubs;5.22.0;5.23.0-beta.1
266-
com.azure.spring:spring-cloud-azure-stream-binder-servicebus-core;5.22.0;5.23.0-beta.1
267-
com.azure.spring:spring-cloud-azure-stream-binder-servicebus;5.22.0;5.23.0-beta.1
268-
com.azure.spring:spring-cloud-azure-testcontainers;5.22.0;5.23.0-beta.1
269-
com.azure:azure-spring-data-cosmos;5.22.0;5.23.0-beta.1
215+
com.azure.spring:spring-cloud-azure-appconfiguration-config-web;5.22.0;5.23.0
216+
com.azure.spring:spring-cloud-azure-appconfiguration-config;5.22.0;5.23.0
217+
com.azure.spring:spring-cloud-azure-feature-management-web;5.22.0;5.23.0
218+
com.azure.spring:spring-cloud-azure-feature-management;5.22.0;5.23.0
219+
com.azure.spring:spring-cloud-azure-starter-appconfiguration-config;5.22.0;5.23.0
220+
com.azure.spring:spring-cloud-azure-dependencies;5.22.0;5.23.0
221+
com.azure.spring:spring-messaging-azure;5.22.0;5.23.0
222+
com.azure.spring:spring-messaging-azure-eventhubs;5.22.0;5.23.0
223+
com.azure.spring:spring-messaging-azure-servicebus;5.22.0;5.23.0
224+
com.azure.spring:spring-messaging-azure-storage-queue;5.22.0;5.23.0
225+
com.azure.spring:spring-integration-azure-core;5.22.0;5.23.0
226+
com.azure.spring:spring-integration-azure-eventhubs;5.22.0;5.23.0
227+
com.azure.spring:spring-integration-azure-servicebus;5.22.0;5.23.0
228+
com.azure.spring:spring-integration-azure-storage-queue;5.22.0;5.23.0
229+
com.azure.spring:spring-cloud-azure-core;5.22.0;5.23.0
230+
com.azure.spring:spring-cloud-azure-actuator-autoconfigure;5.22.0;5.23.0
231+
com.azure.spring:spring-cloud-azure-actuator;5.22.0;5.23.0
232+
com.azure.spring:spring-cloud-azure-autoconfigure;5.22.0;5.23.0
233+
com.azure.spring:spring-cloud-azure-docker-compose;5.22.0;5.23.0
234+
com.azure.spring:spring-cloud-azure-resourcemanager;5.22.0;5.23.0
235+
com.azure.spring:spring-cloud-azure-service;5.22.0;5.23.0
236+
com.azure.spring:spring-cloud-azure-starter-active-directory;5.22.0;5.23.0
237+
com.azure.spring:spring-cloud-azure-starter-active-directory-b2c;5.22.0;5.23.0
238+
com.azure.spring:spring-cloud-azure-starter-actuator;5.22.0;5.23.0
239+
com.azure.spring:spring-cloud-azure-starter-appconfiguration;5.22.0;5.23.0
240+
com.azure.spring:spring-cloud-azure-starter-cosmos;5.22.0;5.23.0
241+
com.azure.spring:spring-cloud-azure-starter-data-cosmos;5.22.0;5.23.0
242+
com.azure.spring:spring-cloud-azure-starter-data-redis-lettuce;5.22.0;5.23.0
243+
com.azure.spring:spring-cloud-azure-starter-eventhubs;5.22.0;5.23.0
244+
com.azure.spring:spring-cloud-azure-starter-eventgrid;5.22.0;5.23.0
245+
com.azure.spring:spring-cloud-azure-starter-jdbc-mysql;5.22.0;5.23.0
246+
com.azure.spring:spring-cloud-azure-starter-jdbc-postgresql;5.22.0;5.23.0
247+
com.azure.spring:spring-cloud-azure-starter-keyvault;5.22.0;5.23.0
248+
com.azure.spring:spring-cloud-azure-starter-keyvault-certificates;5.22.0;5.23.0
249+
com.azure.spring:spring-cloud-azure-starter-keyvault-jca;5.22.0;5.23.0
250+
com.azure.spring:spring-cloud-azure-starter-keyvault-secrets;5.22.0;5.23.0
251+
com.azure.spring:spring-cloud-azure-starter-monitor;5.22.0;5.23.0
252+
com.azure.spring:spring-cloud-azure-starter-servicebus-jms;5.22.0;5.23.0
253+
com.azure.spring:spring-cloud-azure-starter-servicebus;5.22.0;5.23.0
254+
com.azure.spring:spring-cloud-azure-starter-storage;5.22.0;5.23.0
255+
com.azure.spring:spring-cloud-azure-starter-storage-blob;5.22.0;5.23.0
256+
com.azure.spring:spring-cloud-azure-starter-storage-file-share;5.22.0;5.23.0
257+
com.azure.spring:spring-cloud-azure-starter-storage-queue;5.22.0;5.23.0
258+
com.azure.spring:spring-cloud-azure-starter-integration-eventhubs;5.22.0;5.23.0
259+
com.azure.spring:spring-cloud-azure-starter-integration-servicebus;5.22.0;5.23.0
260+
com.azure.spring:spring-cloud-azure-starter-integration-storage-queue;5.22.0;5.23.0
261+
com.azure.spring:spring-cloud-azure-starter-stream-eventhubs;5.22.0;5.23.0
262+
com.azure.spring:spring-cloud-azure-starter-stream-servicebus;5.22.0;5.23.0
263+
com.azure.spring:spring-cloud-azure-starter;5.22.0;5.23.0
264+
com.azure.spring:spring-cloud-azure-stream-binder-eventhubs-core;5.22.0;5.23.0
265+
com.azure.spring:spring-cloud-azure-stream-binder-eventhubs;5.22.0;5.23.0
266+
com.azure.spring:spring-cloud-azure-stream-binder-servicebus-core;5.22.0;5.23.0
267+
com.azure.spring:spring-cloud-azure-stream-binder-servicebus;5.22.0;5.23.0
268+
com.azure.spring:spring-cloud-azure-testcontainers;5.22.0;5.23.0
269+
com.azure:azure-spring-data-cosmos;5.22.0;5.23.0
270270
com.azure.resourcemanager:azure-resourcemanager;2.53.0;2.54.0-beta.1
271271
com.azure.resourcemanager:azure-resourcemanager-appplatform;2.50.3;2.51.0-beta.1
272272
com.azure.resourcemanager:azure-resourcemanager-appservice;2.53.0;2.54.0-beta.1

sdk/boms/spring-cloud-azure-dependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.azure.spring</groupId>
88
<artifactId>spring-cloud-azure-dependencies</artifactId>
9-
<version>5.22.0</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-dependencies;current} -->
9+
<version>5.23.0</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-dependencies;current} -->
1010
<packaging>pom</packaging>
1111

1212
<name>Spring Cloud Azure Dependencies</name>
@@ -53,7 +53,7 @@
5353
<dependency>
5454
<groupId>com.azure</groupId>
5555
<artifactId>azure-sdk-bom</artifactId>
56-
<version>1.2.33</version> <!-- NOTE: This should be updated manually. -->
56+
<version>1.2.37</version> <!-- NOTE: This should be updated manually. -->
5757
<type>pom</type>
5858
<scope>import</scope>
5959
</dependency>

sdk/spring/CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
# Release History
22

3-
## 5.23.0-beta.1 (Unreleased)
4-
Upgrade Spring Boot dependencies version to 3.5.4 and Spring Cloud dependencies version to 2025.0.0
5-
Upgrade Spring Boot dependencies version to 3.5.3 and Spring Cloud dependencies version to 2025.0.0
3+
## 5.23.0 (2025-08-05)
4+
- This release is compatible with Spring Boot 3.5.0-3.5.4, 3.4.0-3.4.8, 3.3.0-3.3.13, 3.2.0-3.2.12, 3.1.0-3.1.12, 3.0.0-3.0.13. (Note: 3.5.x (x>4) and 3.4.y (y>8) should be supported, but they aren't tested with this release.)
5+
- This release is compatible with Spring Cloud 2025.0.0, 2024.0.0-2024.0.2, 2023.0.0-2023.0.5, 2022.0.0-2022.0.5. (Note: 2025.0.x(x>0) and 2024.0.y (y>2) should be supported, but they aren't tested with this release.)
6+
7+
### Spring Cloud Azure Dependencies (BOM)
8+
9+
#### Dependency Updates
10+
- Upgrade `azure-sdk-bom` to 1.2.37.
611

712
### Spring Messaging Azure Service Bus
813
This section includes changes in the `spring-messaging-azure-servicebus` module.
@@ -11,6 +16,10 @@ This section includes changes in the `spring-messaging-azure-servicebus` module.
1116
- Lower the priority of the `EntityType` used by `ServiceBusTemplate`.
1217
- Fix NPE when using JCA Starter with system Managed Identity.
1318

19+
### Azure Spring Data Cosmos
20+
This section includes changes in `azure-spring-data-cosmos` module.
21+
Please refer to [azure-spring-data-cosmos/CHANGELOG.md](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/spring/azure-spring-data-cosmos/CHANGELOG.md#5230-08-05) for more details.
22+
1423
## 5.22.0 (2025-04-08)
1524
- This release is compatible with Spring Boot 3.4.0-3.4.4, 3.3.0-3.3.10, 3.2.0-3.2.12, 3.1.0-3.1.12, 3.0.0-3.0.13. (Note: 3.4.x (x>4), 3.3.y (y>10) and 3.2.z (z>12) should be supported, but they aren't tested with this release.)
1625
- This release is compatible with Spring Cloud 2024.0.1, 2023.0.0-2023.0.5, 2022.0.0-2022.0.5. (Note: 2024.0.x(x>1) and 2023.0.y (y>5) should be supported, but they aren't tested with this release.)

sdk/spring/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ If you’re a Maven user, add our BOM to your pom.xml `<dependencyManagement>` s
146146
<dependency>
147147
<groupId>com.azure.spring</groupId>
148148
<artifactId>spring-cloud-azure-dependencies</artifactId>
149-
<version>5.22.0</version>
149+
<version>5.23.0</version>
150150
<type>pom</type>
151151
<scope>import</scope>
152152
</dependency>

sdk/spring/azure-spring-data-cosmos/CHANGELOG.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
## Release History
22

3-
### 5.23.0-beta.1 (Unreleased)
4-
5-
#### Features Added
6-
7-
#### Breaking Changes
8-
9-
#### Bugs Fixed
3+
### 5.23.0 (2025-08-05)
104

115
#### Other Changes
6+
* Updated `azure-cosmos` to version `4.73.1`.
127

138
### 5.22.0 (2025-04-08)
149

sdk/spring/azure-spring-data-cosmos/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ If you are using Maven, add the following dependency.
100100
<dependency>
101101
<groupId>com.azure</groupId>
102102
<artifactId>azure-spring-data-cosmos</artifactId>
103-
<version>5.22.0</version>
103+
<version>5.23.0</version>
104104
</dependency>
105105
```
106106
[//]: # ({x-version-update-end})

sdk/spring/azure-spring-data-cosmos/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.azure</groupId>
1414
<artifactId>azure-spring-data-cosmos</artifactId>
15-
<version>5.23.0-beta.1</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
15+
<version>5.23.0</version> <!-- {x-version-update;com.azure:azure-spring-data-cosmos;current} -->
1616
<packaging>jar</packaging>
1717
<name>Spring Data for Azure Cosmos DB SQL API</name>
1818
<description>Spring Data for Azure Cosmos DB SQL API</description>
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
import os
2+
import re
3+
from datetime import datetime
4+
5+
# python sdk/spring/scripts/udpate_changelogs.py
6+
7+
PACKAGES_DIR = "./sdk/spring"
8+
EXCLUDE_PATHS = {"./sdk/spring\spring-cloud-azure-native-reachability", "./sdk/spring\azure-spring-data-cosmos"}
9+
BETA_HEADER_PATTERN = re.compile(r"^## (\d+\.\d+\.\d+)-beta\.\d+ \(Unreleased\)$")
10+
11+
12+
def update_changelog(package_path: str):
13+
changelog_path = os.path.join(package_path, "CHANGELOG.md")
14+
if not os.path.exists(changelog_path):
15+
return
16+
with open(changelog_path, "r", encoding="utf-8") as f:
17+
lines = f.readlines()
18+
if not lines:
19+
return
20+
21+
new_lines = []
22+
i = 0
23+
updated = False
24+
25+
while i < len(lines):
26+
line = lines[i]
27+
match = BETA_HEADER_PATTERN.match(line)
28+
29+
if match and not updated:
30+
base_version = match.group(1)
31+
date_str = datetime.now().strftime("%Y-%m-%d")
32+
new_header = f"## {base_version} ({date_str})\n"
33+
new_log = (
34+
f"Please refer to [spring/CHANGELOG.md]"
35+
f"(https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/CHANGELOG.md"
36+
f"#{base_version.replace(".", "")}-{date_str}) for more details.\n"
37+
)
38+
new_lines.append(new_header)
39+
i += 1
40+
41+
while i < len(lines) and not lines[i].startswith("## "):
42+
i += 1
43+
44+
# Insert the new one-liner
45+
new_lines.append("\n" + new_log + "\n")
46+
updated = True
47+
48+
else:
49+
new_lines.append(line)
50+
i += 1
51+
52+
with open (changelog_path, "w", encoding="utf-8") as f:
53+
f.writelines(new_lines)
54+
55+
print(f"✅ Updated CHANGELOG for: {os.path.basename(package_path)}")
56+
57+
def main():
58+
for entry in os.listdir(PACKAGES_DIR):
59+
package_path = os.path.join(PACKAGES_DIR, entry)
60+
if os.path.isdir(package_path) and package_path not in EXCLUDE_PATHS:
61+
update_changelog(package_path)
62+
63+
if __name__ == "__main__":
64+
main()

sdk/spring/spring-cloud-azure-actuator-autoconfigure/CHANGELOG.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
# Release History
22

3-
## 5.23.0-beta.1 (Unreleased)
3+
## 5.23.0 (2025-08-05)
44

5-
### Features Added
6-
7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
5+
Please refer to [spring/CHANGELOG.md](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/spring/CHANGELOG.md#5230-2025-08-05) for more details.
126

137
## 5.22.0 (2025-04-08)
148

sdk/spring/spring-cloud-azure-actuator-autoconfigure/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.azure.spring</groupId>
1414
<artifactId>spring-cloud-azure-actuator-autoconfigure</artifactId>
15-
<version>5.23.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-actuator-autoconfigure;current} -->
15+
<version>5.23.0</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-actuator-autoconfigure;current} -->
1616

1717
<name>Spring Cloud Azure Actuator AutoConfigure</name>
1818
<description>Spring Cloud Azure Starter Actuator AutoConfigure</description>
@@ -52,17 +52,17 @@
5252
<dependency>
5353
<groupId>com.azure.spring</groupId>
5454
<artifactId>spring-cloud-azure-actuator</artifactId>
55-
<version>5.23.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-actuator;current} -->
55+
<version>5.23.0</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-actuator;current} -->
5656
</dependency>
5757
<dependency>
5858
<groupId>com.azure.spring</groupId>
5959
<artifactId>spring-cloud-azure-autoconfigure</artifactId>
60-
<version>5.23.0-beta.1</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-autoconfigure;current} -->
60+
<version>5.23.0</version> <!-- {x-version-update;com.azure.spring:spring-cloud-azure-autoconfigure;current} -->
6161
</dependency>
6262
<dependency>
6363
<groupId>com.azure.spring</groupId>
6464
<artifactId>spring-cloud-azure-appconfiguration-config-web</artifactId>
65-
<version>5.23.0-beta.1</version><!-- {x-version-update;com.azure.spring:spring-cloud-azure-appconfiguration-config-web;current} -->
65+
<version>5.23.0</version><!-- {x-version-update;com.azure.spring:spring-cloud-azure-appconfiguration-config-web;current} -->
6666
<optional>true</optional>
6767
</dependency>
6868

0 commit comments

Comments
 (0)