From 4ede673291c4de51cd49947f202fc3da64ea1a34 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Fri, 8 Aug 2025 07:17:17 +0000 Subject: [PATCH 1/2] Initialize repository for autorest build 20250808.1 --- eng/Packages.Data.props | 2 +- eng/emitter-package-lock.json | 38 ++++++++++------------------------- eng/emitter-package.json | 5 ++++- 3 files changed, 16 insertions(+), 29 deletions(-) diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 1e656a6025ba..f1ef6abcde67 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -293,7 +293,7 @@ All should have PrivateAssets="All" set so they don't become package dependencies --> - + diff --git a/eng/emitter-package-lock.json b/eng/emitter-package-lock.json index 3975cc2eda42..0576b6e176e7 100644 --- a/eng/emitter-package-lock.json +++ b/eng/emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20250728.3" + "@azure-tools/typespec-csharp": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest/npm/registry/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-alpha.20250808.1.tgz" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.57.1", @@ -26,9 +26,9 @@ } }, "node_modules/@autorest/csharp": { - "version": "3.0.0-beta.20250728.3", - "resolved": "https://registry.npmjs.org/@autorest/csharp/-/csharp-3.0.0-beta.20250728.3.tgz", - "integrity": "sha512-CIGqbzBxO9EOHLEtneFyyPqLrtPX+v+3zAJkf709PV9WevWSKtjnFQyH/dbxBLAj5C6VSkuClmAl4LbfoqNTSg==" + "version": "3.0.0-alpha.20250808.1", + "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest/npm/registry/@autorest/csharp/-/csharp-3.0.0-alpha.20250808.1.tgz", + "integrity": "sha512-YGDL9pdrf52aO6wZyVbG5sUE+bdghC+iWHgcbyRou8n044U7XC9VPcubns6BGqVynwa4M/5TER1ATWQrue9ESQ==" }, "node_modules/@azure-tools/typespec-autorest": { "version": "0.57.1", @@ -131,13 +131,12 @@ } }, "node_modules/@azure-tools/typespec-csharp": { - "version": "0.2.0-beta.20250728.3", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-beta.20250728.3.tgz", - "integrity": "sha512-iMfozk9Iu4ot3xMJvj/WM56PmBbbqmU8F2TXLiFpFdrd8GxrJvvVj+cANmW4sXRtWxV/MOUe9W3cAhPTzeiVjQ==", + "version": "0.2.0-alpha.20250808.1", + "resolved": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest/npm/registry/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-alpha.20250808.1.tgz", + "integrity": "sha512-3iZslsymcd2ovACAxfJS1KZ4HPccLAa3jJJmEFWvcZxHoW044GYpZUCIOUUYBuO73T5+uZqcN+cQ62SfxbUs0g==", "license": "MIT", "dependencies": { - "@autorest/csharp": "3.0.0-beta.20250728.3", - "@typespec/http-client-csharp": "1.0.0-alpha.20250715.1" + "@autorest/csharp": "3.0.0-alpha.20250808.1" }, "peerDependencies": { "@azure-tools/typespec-autorest": ">=0.57.0 <0.58.0 || ~0.58.0-0", @@ -648,21 +647,6 @@ } } }, - "node_modules/@typespec/http-client-csharp": { - "version": "1.0.0-alpha.20250715.1", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250715.1.tgz", - "integrity": "sha512-pm30xlgESVW8oqiR6oGRk/Xok9imSDSgGrf60pnWLL0qHPDVrX5ceWinPJY6Ajd9TwEHfAGXXWNJ1PNmXjJs+w==", - "license": "MIT", - "peerDependencies": { - "@azure-tools/typespec-azure-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", - "@azure-tools/typespec-client-generator-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", - "@typespec/compiler": "^1.1.0", - "@typespec/http": "^1.1.0", - "@typespec/openapi": "^1.1.0", - "@typespec/rest": ">=0.71.0 <0.72.0 || ~0.72.0-0", - "@typespec/versioning": ">=0.71.0 <0.72.0 || ~0.72.0-0" - } - }, "node_modules/@typespec/openapi": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-1.1.0.tgz", @@ -1624,9 +1608,9 @@ } }, "node_modules/yaml": { - "version": "2.8.0", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.0.tgz", - "integrity": "sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ==", + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.1.tgz", + "integrity": "sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==", "dev": true, "license": "ISC", "bin": { diff --git a/eng/emitter-package.json b/eng/emitter-package.json index c8c6b46ce978..2df17d492cdd 100644 --- a/eng/emitter-package.json +++ b/eng/emitter-package.json @@ -1,7 +1,7 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-tools/typespec-csharp": "0.2.0-beta.20250728.3" + "@azure-tools/typespec-csharp": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest/npm/registry/@azure-tools/typespec-csharp/-/typespec-csharp-0.2.0-alpha.20250808.1.tgz" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.57.1", @@ -19,5 +19,8 @@ "@typespec/streams": "0.71.0", "@typespec/versioning": "0.71.0", "@typespec/xml": "0.71.0" + }, + "overrides": { + "@autorest/csharp": "https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-js-test-autorest/npm/registry/@autorest/csharp/-/csharp-3.0.0-alpha.20250808.1.tgz" } } From 849fdd18dff221594ba7a39e233b84fc6fe5c97f Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Fri, 8 Aug 2025 07:47:48 +0000 Subject: [PATCH 2/2] Update SDK code st_wo_9 --- .../src/Generated/Internal/ModelSerializationExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/support/Azure.ResourceManager.Support/src/Generated/Internal/ModelSerializationExtensions.cs b/sdk/support/Azure.ResourceManager.Support/src/Generated/Internal/ModelSerializationExtensions.cs index 1e3e547055e8..2c0504926a64 100644 --- a/sdk/support/Azure.ResourceManager.Support/src/Generated/Internal/ModelSerializationExtensions.cs +++ b/sdk/support/Azure.ResourceManager.Support/src/Generated/Internal/ModelSerializationExtensions.cs @@ -20,6 +20,8 @@ internal static class ModelSerializationExtensions { internal static readonly JsonDocumentOptions JsonDocumentOptions = new JsonDocumentOptions { MaxDepth = 256 }; internal static readonly ModelReaderWriterOptions WireOptions = new ModelReaderWriterOptions("W"); + internal static readonly ModelReaderWriterOptions WireV3Options = new ModelReaderWriterOptions("W|v3"); + internal static readonly ModelReaderWriterOptions JsonV3Options = new ModelReaderWriterOptions("J|v3"); internal static readonly BinaryData SentinelValue = BinaryData.FromBytes("\"__EMPTY__\""u8.ToArray()); public static object GetObject(this JsonElement element)