Skip to content

Commit 5d2c451

Browse files
eng, prepare release 0.31.4 and 4.1.53 (#3143)
1 parent 99c4d25 commit 5d2c451

File tree

17 files changed

+199
-189
lines changed

17 files changed

+199
-189
lines changed

core

Submodule core updated 58 files

customization-base/src/main/java/com/azure/autorest/customization/Editor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public final class Editor {
2525
public Editor(Map<String, String> contents) {
2626
this.contents = new HashMap<>(contents);
2727
this.lines = new HashMap<>();
28-
for (Map.Entry<String, String> content : contents.entrySet()) {
29-
addFile(content.getKey(), content.getValue());
28+
for (Map.Entry<String, String> entry : contents.entrySet()) {
29+
lines.put(entry.getKey(), splitContentIntoLines(entry.getValue()));
3030
}
3131
}
3232

customization-base/src/main/java/com/azure/autorest/customization/implementation/Utils.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ public static <T> boolean isNullOrEmpty(Iterable<T> iterable) {
2929
return (iterable == null || !iterable.iterator().hasNext());
3030
}
3131

32-
public static void writeLine(StringBuilder stringBuilder, String text) {
33-
stringBuilder.append(text).append(System.lineSeparator());
34-
}
35-
3632
public static boolean isWindows() {
3733
String osName = System.getProperty("os.name");
3834
return osName != null && osName.startsWith("Windows");

eng/pipelines/variables/image.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,20 @@
22

33
variables:
44
- name: LINUXPOOL
5-
value: azsdk-pool-mms-ubuntu-2004-general
5+
value: azsdk-pool
66
- name: WINDOWSPOOL
7-
value: azsdk-pool-mms-win-2022-general
7+
value: azsdk-pool
88
- name: MACPOOL
99
value: Azure Pipelines
1010

1111
- name: LINUXVMIMAGE
12-
value: azsdk-pool-mms-ubuntu-2004-1espt
12+
value: ubuntu-24.04
1313
- name: LINUXNEXTVMIMAGE
14-
value: ubuntu-22.04
14+
value: ubuntu-24.04
1515
- name: WINDOWSVMIMAGE
16-
value: azsdk-pool-mms-win-2022-1espt
16+
value: windows-2022
1717
- name: MACVMIMAGE
18-
value: macos-11
18+
value: macos-latest
1919

20-
# Values required for pool.os field in 1es pipeline templates
21-
- name: LINUXOS
22-
value: linux
23-
- name: WINDOWSOS
24-
value: windows
25-
- name: MACOS
26-
value: macOS
20+
- name: LinuxImageDemand
21+
value: ImageOverride -equals $(LINUXVMIMAGE)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@autorest/java",
3-
"version": "4.1.52",
3+
"version": "4.1.53",
44
"description": "The Java extension for classic generators in AutoRest.",
55
"scripts": {
66
"autorest": "autorest",

typespec-extension/changelog.md

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

3+
## 0.31.4 (2025-06-17)
4+
5+
Compatible with compiler 1.1.0.
6+
7+
- Supported `@clientLocation` decorator.
8+
39
## 0.31.3 (2025-06-16)
410

511
Compatible with compiler 1.1.0.

0 commit comments

Comments
 (0)