Skip to content

Commit 1335247

Browse files
stg100 versioning changes (#46145)
* stg100 versioning changes * removing extra space * fixing formatting error
1 parent 8aeb72f commit 1335247

File tree

7 files changed

+34
-12
lines changed

7 files changed

+34
-12
lines changed

sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/BlobServiceVersion.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ public enum BlobServiceVersion implements ServiceVersion {
147147
/**
148148
* Service version {@code 2025-11-05}.
149149
*/
150-
V2025_11_05("2025-11-05");
150+
V2025_11_05("2025-11-05"),
151+
152+
/**
153+
* Service version {@code 2026-02-06}.
154+
*/
155+
V2026_02_06("2026-02-06");
151156

152157
private final String version;
153158

@@ -169,6 +174,6 @@ public String getVersion() {
169174
* @return the latest {@link BlobServiceVersion}
170175
*/
171176
public static BlobServiceVersion getLatest() {
172-
return V2025_11_05;
177+
return V2026_02_06;
173178
}
174179
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
AZURE_LIVE_TEST_SERVICE_VERSION=V2025_11_05
2-
AZURE_STORAGE_SAS_SERVICE_VERSION=2025-11-05
1+
AZURE_LIVE_TEST_SERVICE_VERSION=V2026_02_06
2+
AZURE_STORAGE_SAS_SERVICE_VERSION=2026-02-06

sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/Constants.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public final class Constants {
8888
public static final String PROPERTY_AZURE_STORAGE_SAS_SERVICE_VERSION = "AZURE_STORAGE_SAS_SERVICE_VERSION";
8989

9090
public static final String SAS_SERVICE_VERSION
91-
= Configuration.getGlobalConfiguration().get(PROPERTY_AZURE_STORAGE_SAS_SERVICE_VERSION, "2025-11-05");
91+
= Configuration.getGlobalConfiguration().get(PROPERTY_AZURE_STORAGE_SAS_SERVICE_VERSION, "2026-02-06");
9292

9393
public static final String ADJUSTED_BLOB_LENGTH_KEY = "adjustedBlobLength";
9494

@@ -220,7 +220,7 @@ public static final class HeaderConstants {
220220
* @deprecated For SAS Service Version use {@link Constants#SAS_SERVICE_VERSION}.
221221
*/
222222
@Deprecated
223-
public static final String TARGET_STORAGE_VERSION = "2025-11-05";
223+
public static final String TARGET_STORAGE_VERSION = "2026-02-06";
224224

225225
/**
226226
* Error code returned from the service.

sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/DataLakeServiceVersion.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ public enum DataLakeServiceVersion implements ServiceVersion {
147147
/**
148148
* Service version {@code 2025-11-05}.
149149
*/
150-
V2025_11_05("2025-11-05");
150+
V2025_11_05("2025-11-05"),
151+
152+
/**
153+
* Service version {@code 2026-02-06}.
154+
*/
155+
V2026_02_06("2026-02-06");
151156

152157
private final String version;
153158

@@ -169,6 +174,6 @@ public String getVersion() {
169174
* @return the latest {@link DataLakeServiceVersion}
170175
*/
171176
public static DataLakeServiceVersion getLatest() {
172-
return V2025_11_05;
177+
return V2026_02_06;
173178
}
174179
}

sdk/storage/azure-storage-file-datalake/src/main/java/com/azure/storage/file/datalake/implementation/util/TransformUtils.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ public static BlobServiceVersion toBlobServiceVersion(DataLakeServiceVersion ver
6868
return BlobServiceVersion.V2025_07_05;
6969
} else if (DataLakeServiceVersion.V2025_11_05.ordinal() == version.ordinal()) {
7070
return BlobServiceVersion.V2025_11_05;
71+
} else if (DataLakeServiceVersion.V2026_02_06.ordinal() == version.ordinal()) {
72+
return BlobServiceVersion.V2026_02_06;
7173
}
7274

7375
return null;

sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/ShareServiceVersion.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ public enum ShareServiceVersion implements ServiceVersion {
147147
/**
148148
* Service version {@code 2025-11-05}.
149149
*/
150-
V2025_11_05("2025-11-05");
150+
V2025_11_05("2025-11-05"),
151+
152+
/**
153+
* Service version {@code 2026-02-06}.
154+
*/
155+
V2026_02_06("2026-02-06");
151156

152157
private final String version;
153158

@@ -169,6 +174,6 @@ public String getVersion() {
169174
* @return the latest {@link ShareServiceVersion}
170175
*/
171176
public static ShareServiceVersion getLatest() {
172-
return V2025_11_05;
177+
return V2026_02_06;
173178
}
174179
}

sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/QueueServiceVersion.java

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ public enum QueueServiceVersion implements ServiceVersion {
147147
/**
148148
* Service version {@code 2025-11-05}.
149149
*/
150-
V2025_11_05("2025-11-05");
150+
V2025_11_05("2025-11-05"),
151+
152+
/**
153+
* Service version {@code 2026-02-06}.
154+
*/
155+
V2026_02_06("2026-02-06");
151156

152157
private final String version;
153158

@@ -169,6 +174,6 @@ public String getVersion() {
169174
* @return the latest {@link QueueServiceVersion}
170175
*/
171176
public static QueueServiceVersion getLatest() {
172-
return V2025_11_05;
177+
return V2026_02_06;
173178
}
174179
}

0 commit comments

Comments
 (0)