Skip to content

Commit 56c7913

Browse files
authored
Prepare azure-json and azure-xml for February 2025 release (Azure#43948)
Prepare azure-json and azure-xml for February 2025 release
1 parent cf5a43b commit 56c7913

File tree

11 files changed

+31
-23
lines changed

11 files changed

+31
-23
lines changed

eng/versioning/external_dependencies.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ org.openjfx:javafx-graphics;17.0.6
8888
org.graalvm.buildtools:junit-platform-native;0.9.19
8989
org.graalvm.buildtools:native-maven-plugin;0.9.19
9090
org.postgresql:postgresql;42.3.9
91+
org.projectlombok:lombok;1.18.34
9192
org.slf4j:slf4j-api;1.7.36
9293
org.slf4j:slf4j-nop;1.7.36
9394
org.slf4j:slf4j-simple;1.7.36

eng/versioning/version_client.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ com.azure:azure-identity-broker-samples;1.0.0-beta.1;1.0.0-beta.1
134134
com.azure:azure-identity-perf;1.0.0-beta.1;1.0.0-beta.1
135135
com.azure:azure-iot-deviceupdate;1.0.24;1.1.0-beta.1
136136
com.azure:azure-iot-modelsrepository;1.0.0-beta.1;1.0.0-beta.2
137-
com.azure:azure-json;1.3.0;1.4.0-beta.1
137+
com.azure:azure-json;1.3.0;1.4.0
138138
com.azure:azure-json-gson;1.0.0-beta.3;1.0.0-beta.4
139139
com.azure:azure-json-reflect;1.0.0-beta.2;1.0.0-beta.3
140140
com.azure:azure-maps-traffic;1.0.0-beta.1;1.0.0-beta.2
@@ -196,7 +196,7 @@ com.azure:azure-storage-queue;12.24.0;12.25.0-beta.1
196196
com.azure:azure-template-perf;1.0.0-beta.1;1.0.0-beta.1
197197
com.azure:azure-template-stress;1.0.0-beta.1;1.0.0-beta.1
198198
com.azure:azure-verticals-agrifood-farming;1.0.0-beta.3;1.0.0-beta.4
199-
com.azure:azure-xml;1.1.0;1.2.0-beta.1
199+
com.azure:azure-xml;1.1.0;1.2.0
200200
com.azure:perf-test-core;1.0.0-beta.1;1.0.0-beta.1
201201
com.azure:azure-ai-vision-imageanalysis;1.0.0;1.1.0-beta.1
202202
com.azure:identity-test-container;1.0.0-beta.1;1.0.0-beta.1

sdk/serialization/azure-json-gson/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<dependency>
6767
<groupId>com.azure</groupId>
6868
<artifactId>azure-json</artifactId>
69-
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-json;current} -->
69+
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-json;current} -->
7070
</dependency>
7171
<dependency>
7272
<groupId>com.google.code.gson</groupId>
@@ -77,7 +77,7 @@
7777
<dependency>
7878
<groupId>com.azure</groupId>
7979
<artifactId>azure-json</artifactId>
80-
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-json;current} -->
80+
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-json;current} -->
8181
<type>test-jar</type>
8282
<scope>test</scope>
8383
</dependency>

sdk/serialization/azure-json-reflect/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<dependency>
6666
<groupId>com.azure</groupId>
6767
<artifactId>azure-json</artifactId>
68-
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-json;current} -->
68+
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-json;current} -->
6969
</dependency>
7070

7171
<!-- Test Dependencies -->
@@ -84,7 +84,7 @@
8484
<dependency>
8585
<groupId>com.azure</groupId>
8686
<artifactId>azure-json</artifactId>
87-
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-json;current} -->
87+
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-json;current} -->
8888
<type>test-jar</type>
8989
<scope>test</scope>
9090
</dependency>

sdk/serialization/azure-json/CHANGELOG.md

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

3-
## 1.4.0-beta.1 (Unreleased)
3+
## 1.4.0 (2025-01-27)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Added convenience APIs to `JsonArray` for adding a `boolean`, `Number`, or `String` without needing to instantiate the
8+
corresponding `JsonElement` subtype.
9+
- Added convenience APIs to `JsonObject` for setting `boolean`, `Number`, and `String` without needing to instantiate the
10+
corresponding `JsonElement` subtype.
11+
- Added `JsonObject.hasProperty` to check if a property exists in the object.
12+
- Added convenience fluent methods to `JsonElement` to cast to a specific subtype if the element is of that type.
1213

1314
## 1.3.0 (2024-09-11)
1415

sdk/serialization/azure-json/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Azure JSON provides shared primitives, abstractions, and helpers for JSON.
1717
<dependency>
1818
<groupId>com.azure</groupId>
1919
<artifactId>azure-json</artifactId>
20-
<version>1.3.0</version>
20+
<version>1.4.0</version>
2121
</dependency>
2222
```
2323
[//]: # ({x-version-update-end})

sdk/serialization/azure-json/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<groupId>com.azure</groupId>
1616
<artifactId>azure-json</artifactId>
1717
<packaging>jar</packaging>
18-
<version>1.4.0-beta.1</version> <!-- {x-version-update;com.azure:azure-json;current} -->
18+
<version>1.4.0</version> <!-- {x-version-update;com.azure:azure-json;current} -->
1919

2020
<name>Microsoft Azure Java JSON Library</name>
2121
<description>This package provides interfaces for reading and writing JSON.</description>

sdk/serialization/azure-xml/CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
11
# Release History
22

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.2.0 (2025-01-27)
44

55
### Features Added
66

7-
### Breaking Changes
8-
9-
### Bugs Fixed
7+
- Added APIs to `XmlReader` that may reduce `QName`, and other allocations, depending on the XML implementation.
8+
`XmlElementConsumer` and usage with `XmlReader.processNextElement(XmlElementConsumer)` allow for processing an element
9+
without using `QName`. `XmlReader.elementNameMathes(String)` and `XmlReader.elementNameMatches(String, String)` allow
10+
for checking the current element name without using `QName`. `XmlReader.getElementLocalName()` and
11+
`XmlReader.getElementNamespaceUri()` allow for inspecting the current element name and namespace without using
12+
`QName`. Depending on the implementation, using these methods may reduce allocations and improve performance.
1013

1114
### Other Changes
1215

16+
- Shaded Aalto XML 1.3.3 into `azure-xml` and updated `XmlReader` and `XmlWriter` to use that implementation by default
17+
if the `XMLInputFactory` or `XMLOutputFactory` `newInstance` returned the default JDK implementation.
18+
1319
## 1.1.0 (2024-07-26)
1420

1521
### Other Changes

sdk/serialization/azure-xml/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ add the direct dependency to your project as follows.
2222
<dependency>
2323
<groupId>com.azure</groupId>
2424
<artifactId>azure-xml</artifactId>
25-
<version>1.1.0</version>
25+
<version>1.2.0</version>
2626
</dependency>
2727
```
2828
[//]: # ({x-version-update-end})

sdk/serialization/azure-xml/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<groupId>com.azure</groupId>
1616
<artifactId>azure-xml</artifactId>
1717
<packaging>jar</packaging>
18-
<version>1.2.0-beta.1</version> <!-- {x-version-update;com.azure:azure-xml;current} -->
18+
<version>1.2.0</version> <!-- {x-version-update;com.azure:azure-xml;current} -->
1919

2020
<name>Microsoft Azure Java XML Library</name>
2121
<description>This package provides interfaces for reading and writing XML.</description>

0 commit comments

Comments
 (0)