From fb1292d1d5a31f10e0308357ccc9281bc368e1be Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 6 Nov 2024 11:48:28 +0800 Subject: [PATCH 1/8] Bump tsp 0.62.0 (#767) * bump 0.62.0 * changelog --- .changeset/tame-tools-travel.md | 7 + packages/cadl-ranch-expect/package.json | 8 +- packages/cadl-ranch-specs/package.json | 22 +- packages/cadl-ranch/package.json | 6 +- pnpm-lock.yaml | 321 +++++++++++++----------- 5 files changed, 198 insertions(+), 166 deletions(-) create mode 100644 .changeset/tame-tools-travel.md diff --git a/.changeset/tame-tools-travel.md b/.changeset/tame-tools-travel.md new file mode 100644 index 000000000..756a107f6 --- /dev/null +++ b/.changeset/tame-tools-travel.md @@ -0,0 +1,7 @@ +--- +"@azure-tools/cadl-ranch-expect": patch +"@azure-tools/cadl-ranch-specs": patch +"@azure-tools/cadl-ranch": patch +--- + +Bump typespec 0.62.0 diff --git a/packages/cadl-ranch-expect/package.json b/packages/cadl-ranch-expect/package.json index 72b5e79be..673f3592a 100644 --- a/packages/cadl-ranch-expect/package.json +++ b/packages/cadl-ranch-expect/package.json @@ -30,9 +30,9 @@ "typescript": "~5.5.4" }, "peerDependencies": { - "@typespec/compiler": "~0.61.0", - "@typespec/http": "~0.61.0", - "@typespec/rest": "~0.61.0", - "@typespec/versioning": "~0.61.0" + "@typespec/compiler": "~0.62.0", + "@typespec/http": "~0.62.0", + "@typespec/rest": "~0.62.0", + "@typespec/versioning": "~0.62.0" } } diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index 9da1dc3e2..3c48dbd9f 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -38,23 +38,23 @@ "@azure-tools/cadl-ranch-api": "workspace:~" }, "devDependencies": { - "@azure-tools/typespec-autorest": "0.47.0", - "@azure-tools/typespec-azure-resource-manager": "0.47.0", - "@azure-tools/typespec-client-generator-core": "0.47.1", + "@azure-tools/typespec-autorest": "0.48.0", + "@azure-tools/typespec-azure-resource-manager": "0.48.0", + "@azure-tools/typespec-client-generator-core": "0.48.0", "@types/node": "^22.1.0", - "@typespec/openapi": "~0.61.0", - "@typespec/openapi3": "~0.61.0", + "@typespec/openapi": "~0.62.0", + "@typespec/openapi3": "~0.62.0", "concurrently": "^9.0.1", "rimraf": "^6.0.1", "typescript": "~5.5.4" }, "peerDependencies": { "@azure-tools/cadl-ranch-expect": "workspace:~", - "@azure-tools/typespec-azure-core": "~0.47.0", - "@typespec/compiler": "~0.61.0", - "@typespec/http": "~0.61.0", - "@typespec/rest": "~0.61.0", - "@typespec/versioning": "~0.61.0", - "@typespec/xml": "~0.61.0" + "@azure-tools/typespec-azure-core": "~0.48.0", + "@typespec/compiler": "~0.62.0", + "@typespec/http": "~0.62.0", + "@typespec/rest": "~0.62.0", + "@typespec/versioning": "~0.62.0", + "@typespec/xml": "~0.62.0" } } diff --git a/packages/cadl-ranch/package.json b/packages/cadl-ranch/package.json index 1b0b872d2..4fcdad05e 100644 --- a/packages/cadl-ranch/package.json +++ b/packages/cadl-ranch/package.json @@ -32,9 +32,9 @@ "@azure-tools/cadl-ranch-expect": "workspace:~", "@azure/identity": "^4.4.1", "@types/js-yaml": "^4.0.5", - "@typespec/compiler": "~0.61.0", - "@typespec/http": "~0.61.0", - "@typespec/rest": "~0.61.0", + "@typespec/compiler": "~0.62.0", + "@typespec/http": "~0.62.0", + "@typespec/rest": "~0.62.0", "ajv": "8.17.1", "body-parser": "^1.20.3", "deep-equal": "^2.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 050f0beb0..5b1d33a86 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,14 +75,14 @@ importers: specifier: ^4.0.5 version: 4.0.9 '@typespec/compiler': - specifier: ~0.61.0 - version: 0.61.0 + specifier: ~0.62.0 + version: 0.62.0 '@typespec/http': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0) '@typespec/rest': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) ajv: specifier: 8.17.1 version: 8.17.1 @@ -331,17 +331,17 @@ importers: packages/cadl-ranch-expect: dependencies: '@typespec/compiler': - specifier: ~0.61.0 - version: 0.61.0 + specifier: ~0.62.0 + version: 0.62.0 '@typespec/http': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0) '@typespec/rest': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) '@typespec/versioning': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0) devDependencies: '@types/node': specifier: ^22.1.0 @@ -365,42 +365,42 @@ importers: specifier: workspace:~ version: link:../cadl-ranch-expect '@azure-tools/typespec-azure-core': - specifier: ~0.47.0 - version: 0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))) + specifier: ~0.48.0 + version: 0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))) '@typespec/compiler': - specifier: ~0.61.0 - version: 0.61.0 + specifier: ~0.62.0 + version: 0.62.0 '@typespec/http': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0) '@typespec/rest': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) '@typespec/versioning': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0) '@typespec/xml': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0) devDependencies: '@azure-tools/typespec-autorest': - specifier: 0.47.0 - version: 0.47.0(it3uieauvfbt3ppm5uhk4o7n64) + specifier: 0.48.0 + version: 0.48.0(eltkenvcfknbgsjpk2r2c3erra) '@azure-tools/typespec-azure-resource-manager': - specifier: 0.47.0 - version: 0.47.0(@azure-tools/typespec-azure-core@0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))))(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0)) + specifier: 0.48.0 + version: 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) '@azure-tools/typespec-client-generator-core': - specifier: 0.47.1 - version: 0.47.1(@azure-tools/typespec-azure-core@0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))))(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0)) + specifier: 0.48.0 + version: 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) '@types/node': specifier: ^22.1.0 version: 22.1.0 '@typespec/openapi': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) '@typespec/openapi3': - specifier: ~0.61.0 - version: 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0))(openapi-types@12.1.3) + specifier: ~0.62.0 + version: 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0))(@typespec/xml@0.62.0(@typespec/compiler@0.62.0))(openapi-types@12.1.3) concurrently: specifier: ^9.0.1 version: 9.0.1 @@ -457,48 +457,48 @@ packages: '@apidevtools/swagger-methods@3.0.2': resolution: {integrity: sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==} - '@azure-tools/typespec-autorest@0.47.0': - resolution: {integrity: sha512-uYkk8mnzekSMhJKU3RS0cXvKPH0vbkonthYoPe7/vxZ7tWv4xJLSglV2v3m3QElFgvNebNVoBOEWSY8Kz/ip2Q==} + '@azure-tools/typespec-autorest@0.48.0': + resolution: {integrity: sha512-AyoNMq3EORugHynFF8bN0TJh+zYxui/ApU5DoVEL7Xr1yMD6k9p5b90VD4HiCsP0dz8470ApFnjt5Vl6xCSzig==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.47.0 - '@azure-tools/typespec-azure-resource-manager': ~0.47.0 - '@azure-tools/typespec-client-generator-core': ~0.47.0 - '@typespec/compiler': ~0.61.0 - '@typespec/http': ~0.61.0 - '@typespec/openapi': ~0.61.0 - '@typespec/rest': ~0.61.0 - '@typespec/versioning': ~0.61.0 - - '@azure-tools/typespec-azure-core@0.47.0': - resolution: {integrity: sha512-RcBC5+dE1BVXTrUkkKULTImGxzM/ea3P3IL2kr9pk7r1uqF7D4CGqEKHFTg5L6QUtqc1f+zgTgQTNn6t4gI92w==} + '@azure-tools/typespec-azure-core': ~0.48.0 + '@azure-tools/typespec-azure-resource-manager': ~0.48.0 + '@azure-tools/typespec-client-generator-core': ~0.48.0 + '@typespec/compiler': ~0.62.0 + '@typespec/http': ~0.62.0 + '@typespec/openapi': ~0.62.0 + '@typespec/rest': ~0.62.0 + '@typespec/versioning': ~0.62.0 + + '@azure-tools/typespec-azure-core@0.48.0': + resolution: {integrity: sha512-80qyqgTgBbrnCGXtz6eWAMBdEAjYVVL780L0Ye+rBEd6VoA0m3JrgzUqf5bC0Iwju6lEtBAb8o6sefKD/NGA7g==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.61.0 - '@typespec/http': ~0.61.0 - '@typespec/rest': ~0.61.0 + '@typespec/compiler': ~0.62.0 + '@typespec/http': ~0.62.0 + '@typespec/rest': ~0.62.0 - '@azure-tools/typespec-azure-resource-manager@0.47.0': - resolution: {integrity: sha512-pe9XhHJezTZtVlSVKIMhL1kRATMg6QSaXUZQhQmQKSuozVRsRBxI4IAhK3RU4p6SA8A2CoCpPeJpRhQTvdt73Q==} + '@azure-tools/typespec-azure-resource-manager@0.48.0': + resolution: {integrity: sha512-4JxPbKxd3EJ98sLbtfBlqyANWVrU6tT2nk3iLspg7MITPLhiMTeRT9BprsJXH18ks8qw8scR7/am5r57YERTmQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.47.0 - '@typespec/compiler': ~0.61.0 - '@typespec/http': ~0.61.0 - '@typespec/openapi': ~0.61.0 - '@typespec/rest': ~0.61.0 - '@typespec/versioning': ~0.61.0 + '@azure-tools/typespec-azure-core': ~0.48.0 + '@typespec/compiler': ~0.62.0 + '@typespec/http': ~0.62.0 + '@typespec/openapi': ~0.62.0 + '@typespec/rest': ~0.62.0 + '@typespec/versioning': ~0.62.0 - '@azure-tools/typespec-client-generator-core@0.47.1': - resolution: {integrity: sha512-kgjGnnOaHewa8PjmZcEY4+UrEMBrXhOpMxDuhlMnFfOvCo3uZc3FVryoNrDHkZ8weCn6sjxo8zHcj1lpCg4/uw==} + '@azure-tools/typespec-client-generator-core@0.48.0': + resolution: {integrity: sha512-+fmKjapz0kP7ONPZap8dgcIKIdQw+YBSrf89csbIyhPTcLnVAk/BKljo8FoNypKXwqKHenslLm0njBKPllkopg==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.47.0 - '@typespec/compiler': ~0.61.0 - '@typespec/http': ~0.61.0 - '@typespec/openapi': ~0.61.0 - '@typespec/rest': ~0.61.0 - '@typespec/versioning': ~0.61.0 + '@azure-tools/typespec-azure-core': ~0.48.0 + '@typespec/compiler': ~0.62.0 + '@typespec/http': ~0.62.0 + '@typespec/openapi': ~0.62.0 + '@typespec/rest': ~0.62.0 + '@typespec/versioning': ~0.62.0 '@azure/abort-controller@1.1.0': resolution: {integrity: sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==} @@ -572,6 +572,10 @@ packages: resolution: {integrity: sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==} engines: {node: '>=6.9.0'} + '@babel/code-frame@7.25.9': + resolution: {integrity: sha512-z88xeGxnzehn2sqZ8UdGQEvYErF1odv2CftxInpSYJt6uHuPe9YjahKZITGs3l5LeI9d2ROG+obuDAoSlqbNfQ==} + engines: {node: '>=6.9.0'} + '@babel/compat-data@7.25.2': resolution: {integrity: sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==} engines: {node: '>=6.9.0'} @@ -622,6 +626,10 @@ packages: resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} engines: {node: '>=6.9.0'} + '@babel/helper-validator-identifier@7.25.9': + resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} + engines: {node: '>=6.9.0'} + '@babel/helper-validator-option@7.24.8': resolution: {integrity: sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==} engines: {node: '>=6.9.0'} @@ -634,6 +642,10 @@ packages: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} + '@babel/highlight@7.25.9': + resolution: {integrity: sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==} + engines: {node: '>=6.9.0'} + '@babel/parser@7.25.3': resolution: {integrity: sha512-iLTJKDbJ4hMvFPgQwwsVoxtHyWpKKPBrxkANrSYewDPaPpT5py5yeVkgPIJ7XYXhndxJpaA3PyALSXQ7u8e/Dw==} engines: {node: '>=6.0.0'} @@ -2308,59 +2320,63 @@ packages: resolution: {integrity: sha512-W5E+o0UfUcK5EgchLZsyVWqARmsM7v54/qEq6PY3YI5arkgmCzHiuk0zKSJJbm71V0xdRna4BGomkCTXz2/LkQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typespec/compiler@0.61.0': - resolution: {integrity: sha512-sVS8oa6aWAsb2Dy2c4HGn5VOxoYy05bveMn6GRnBA8ZP/wPD3nvJgqWy94AUPezofKoGOfg0Pp/BrrkVyDzCuw==} + '@typespec/compiler@0.62.0': + resolution: {integrity: sha512-RfKJ/rF2Wjxu7dl74oJE8yEfSkeL7NopFlyJ4dW1JQXpRN2IOJYPxas12qZA6H9ZEIB8rBjyrHNxJSQbvn/UDQ==} engines: {node: '>=18.0.0'} hasBin: true - '@typespec/http@0.61.0': - resolution: {integrity: sha512-7+AYHkzkc+p652GY9BcEbXY4OZa1fTr03MVmZeafvmbQbXfyzUU9eJld13M3v6NaUWqXWZ7nBNMISyKiXp/kSw==} + '@typespec/http@0.62.0': + resolution: {integrity: sha512-6H9y9e32lb2s76MMy29ITCwSZNG42sa/qWthiByUvfbTEXMpu5a1fQHNj7RXg+xmDKmVIHv3gAfjGPAWfXhkaQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.61.0 - '@typespec/streams': ~0.61.0 + '@typespec/compiler': ~0.62.0 + '@typespec/streams': ~0.62.0 peerDependenciesMeta: '@typespec/streams': optional: true - '@typespec/openapi3@0.61.0': - resolution: {integrity: sha512-ALLsTkK1UiJBzvygV1Zk/yZaym+lOWroGeEUhQNXYShsq+/GLZkK0rl8sd76Gigq+TVXKMOEwUUvgfws/LMUJw==} + '@typespec/openapi3@0.62.0': + resolution: {integrity: sha512-tfmaPvZ38fM+O5+ZBq4ic7fc32E3v0JOFP9h+7otQyrVprLVCToXpBwaxB7c2nTSJbI4vcxK7/T3Z8BD5j8X+w==} engines: {node: '>=18.0.0'} hasBin: true peerDependencies: - '@typespec/compiler': ~0.61.0 - '@typespec/http': ~0.61.0 - '@typespec/openapi': ~0.61.0 - '@typespec/versioning': ~0.61.0 + '@typespec/compiler': ~0.62.0 + '@typespec/http': ~0.62.0 + '@typespec/openapi': ~0.62.0 + '@typespec/versioning': ~0.62.0 + '@typespec/xml': '*' + peerDependenciesMeta: + '@typespec/xml': + optional: true - '@typespec/openapi@0.61.0': - resolution: {integrity: sha512-3AF319Ae4yGVOscsCLQeedXUJJcL/NdGOR2/e/nFiL/AOVdgLfIRnpR0Ad9Zj9XAESh1fq9XSu4Mi7N1k4V7rw==} + '@typespec/openapi@0.62.0': + resolution: {integrity: sha512-Xtm0Nd2BuSmEfSWGtc10ok22jyomYm9L2jY+kVTy+v5J89DrVh0o6+YpipUl1QhcItM1YMBphWHIHPfwkDRbnw==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.61.0 - '@typespec/http': ~0.61.0 + '@typespec/compiler': ~0.62.0 + '@typespec/http': ~0.62.0 '@typespec/prettier-plugin-typespec@0.59.0': resolution: {integrity: sha512-6baXmjOKvvxGOH+rH/kAn7FaR+agdPN8iw+kT08XvWdLrsQXECDTl0lb2pH1RztWIfL3fC7SwoT/naEztNVDog==} - '@typespec/rest@0.61.0': - resolution: {integrity: sha512-L9Oyor+l42p6S8GE+UvaZTi+dcu6WubGZKmaBRpX8mCZGsa69EgIK8DQoyxrfMcxAO4I5U0sfkzCKwCVFtRr9g==} + '@typespec/rest@0.62.0': + resolution: {integrity: sha512-ci5UjelEKFwsPTdpgysoUoDCcw02EnbG4GBuYJdR5mRrFCBZMxrbro+OJLgSN3g/TORSsWlW7dEOWLfbyrmlZQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.61.0 - '@typespec/http': ~0.61.0 + '@typespec/compiler': ~0.62.0 + '@typespec/http': ~0.62.0 - '@typespec/versioning@0.61.0': - resolution: {integrity: sha512-PIIug6eg3zc7E+BBHyNHHQD+OBq3FU465nhKrLEp35iVji/sYFuPc1ywnELDuwJVRWm6nvqNL1vtnc+4lEk+oA==} + '@typespec/versioning@0.62.0': + resolution: {integrity: sha512-M5KTCVH5fBniZU8eQlw+NV13vAmPr58HyBLDIyxeOuV+SHNlx+f+qanUEDIPaJheKlaSSNTEZKsDhs83/iIMMA==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.61.0 + '@typespec/compiler': ~0.62.0 - '@typespec/xml@0.61.0': - resolution: {integrity: sha512-LnMYyzB7f6C8rBZmQwhKyJOJ8mUTFls6aVKXw4EAaO2+HPsm73GN16lj1bt2ffbWR3izCGnz911K2wGtUrtSpA==} + '@typespec/xml@0.62.0': + resolution: {integrity: sha512-DexGTQHB75fncDcYfs5CIbNwO6NOhjwCaaNoHYAsVVzs4T8qwzw6WQdEEMzZRbgsxwnllFkxKwGhLtRMQdv/cQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.61.0 + '@typespec/compiler': ~0.62.0 '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -5764,11 +5780,6 @@ packages: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} - yaml@2.5.0: - resolution: {integrity: sha512-2wWLbGbYDiSqqIKoPjar3MPgB94ErzCtrNE1FdqGuaO0pi2JGjmE8aW8TDZwzU7vuxcGRdL/4gPQwQ7hD5AMSw==} - engines: {node: '>= 14'} - hasBin: true - yaml@2.5.1: resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==} engines: {node: '>= 14'} @@ -5814,42 +5825,42 @@ snapshots: '@apidevtools/swagger-methods@3.0.2': {} - '@azure-tools/typespec-autorest@0.47.0(it3uieauvfbt3ppm5uhk4o7n64)': + '@azure-tools/typespec-autorest@0.48.0(eltkenvcfknbgsjpk2r2c3erra)': dependencies: - '@azure-tools/typespec-azure-core': 0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))) - '@azure-tools/typespec-azure-resource-manager': 0.47.0(@azure-tools/typespec-azure-core@0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))))(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0)) - '@azure-tools/typespec-client-generator-core': 0.47.1(@azure-tools/typespec-azure-core@0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))))(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/compiler': 0.61.0 - '@typespec/http': 0.61.0(@typespec/compiler@0.61.0) - '@typespec/openapi': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/rest': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/versioning': 0.61.0(@typespec/compiler@0.61.0) + '@azure-tools/typespec-azure-core': 0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))) + '@azure-tools/typespec-azure-resource-manager': 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) + '@azure-tools/typespec-client-generator-core': 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/compiler': 0.62.0 + '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) + '@typespec/openapi': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/rest': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/versioning': 0.62.0(@typespec/compiler@0.62.0) - '@azure-tools/typespec-azure-core@0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))': + '@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))': dependencies: - '@typespec/compiler': 0.61.0 - '@typespec/http': 0.61.0(@typespec/compiler@0.61.0) - '@typespec/rest': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) + '@typespec/compiler': 0.62.0 + '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) + '@typespec/rest': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) - '@azure-tools/typespec-azure-resource-manager@0.47.0(@azure-tools/typespec-azure-core@0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))))(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0))': + '@azure-tools/typespec-azure-resource-manager@0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0))': dependencies: - '@azure-tools/typespec-azure-core': 0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))) - '@typespec/compiler': 0.61.0 - '@typespec/http': 0.61.0(@typespec/compiler@0.61.0) - '@typespec/openapi': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/rest': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/versioning': 0.61.0(@typespec/compiler@0.61.0) + '@azure-tools/typespec-azure-core': 0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))) + '@typespec/compiler': 0.62.0 + '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) + '@typespec/openapi': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/rest': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/versioning': 0.62.0(@typespec/compiler@0.62.0) change-case: 5.4.4 pluralize: 8.0.0 - '@azure-tools/typespec-client-generator-core@0.47.1(@azure-tools/typespec-azure-core@0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))))(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0))': + '@azure-tools/typespec-client-generator-core@0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0))': dependencies: - '@azure-tools/typespec-azure-core': 0.47.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))) - '@typespec/compiler': 0.61.0 - '@typespec/http': 0.61.0(@typespec/compiler@0.61.0) - '@typespec/openapi': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/rest': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/versioning': 0.61.0(@typespec/compiler@0.61.0) + '@azure-tools/typespec-azure-core': 0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))) + '@typespec/compiler': 0.62.0 + '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) + '@typespec/openapi': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/rest': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/versioning': 0.62.0(@typespec/compiler@0.62.0) change-case: 5.4.4 pluralize: 8.0.0 @@ -5983,6 +5994,11 @@ snapshots: '@babel/highlight': 7.24.7 picocolors: 1.1.0 + '@babel/code-frame@7.25.9': + dependencies: + '@babel/highlight': 7.25.9 + picocolors: 1.1.0 + '@babel/compat-data@7.25.2': {} '@babel/core@7.25.2': @@ -6059,6 +6075,8 @@ snapshots: '@babel/helper-validator-identifier@7.24.7': {} + '@babel/helper-validator-identifier@7.25.9': {} + '@babel/helper-validator-option@7.24.8': {} '@babel/helpers@7.25.0': @@ -6073,6 +6091,13 @@ snapshots: js-tokens: 4.0.0 picocolors: 1.1.0 + '@babel/highlight@7.25.9': + dependencies: + '@babel/helper-validator-identifier': 7.25.9 + chalk: 2.4.2 + js-tokens: 4.0.0 + picocolors: 1.1.0 + '@babel/parser@7.25.3': dependencies: '@babel/types': 7.25.2 @@ -8561,9 +8586,9 @@ snapshots: '@typescript-eslint/types': 8.0.1 eslint-visitor-keys: 3.4.3 - '@typespec/compiler@0.61.0': + '@typespec/compiler@0.62.0': dependencies: - '@babel/code-frame': 7.24.7 + '@babel/code-frame': 7.25.9 ajv: 8.17.1 change-case: 5.4.4 globby: 14.0.2 @@ -8578,42 +8603,44 @@ snapshots: yaml: 2.5.1 yargs: 17.7.2 - '@typespec/http@0.61.0(@typespec/compiler@0.61.0)': + '@typespec/http@0.62.0(@typespec/compiler@0.62.0)': dependencies: - '@typespec/compiler': 0.61.0 + '@typespec/compiler': 0.62.0 - '@typespec/openapi3@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))(@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)))(@typespec/versioning@0.61.0(@typespec/compiler@0.61.0))(openapi-types@12.1.3)': + '@typespec/openapi3@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0))(@typespec/xml@0.62.0(@typespec/compiler@0.62.0))(openapi-types@12.1.3)': dependencies: '@readme/openapi-parser': 2.6.0(openapi-types@12.1.3) - '@typespec/compiler': 0.61.0 - '@typespec/http': 0.61.0(@typespec/compiler@0.61.0) - '@typespec/openapi': 0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0)) - '@typespec/versioning': 0.61.0(@typespec/compiler@0.61.0) + '@typespec/compiler': 0.62.0 + '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) + '@typespec/openapi': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) + '@typespec/versioning': 0.62.0(@typespec/compiler@0.62.0) yaml: 2.5.1 + optionalDependencies: + '@typespec/xml': 0.62.0(@typespec/compiler@0.62.0) transitivePeerDependencies: - openapi-types - '@typespec/openapi@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))': + '@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))': dependencies: - '@typespec/compiler': 0.61.0 - '@typespec/http': 0.61.0(@typespec/compiler@0.61.0) + '@typespec/compiler': 0.62.0 + '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) '@typespec/prettier-plugin-typespec@0.59.0': dependencies: prettier: 3.3.3 - '@typespec/rest@0.61.0(@typespec/compiler@0.61.0)(@typespec/http@0.61.0(@typespec/compiler@0.61.0))': + '@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))': dependencies: - '@typespec/compiler': 0.61.0 - '@typespec/http': 0.61.0(@typespec/compiler@0.61.0) + '@typespec/compiler': 0.62.0 + '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) - '@typespec/versioning@0.61.0(@typespec/compiler@0.61.0)': + '@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)': dependencies: - '@typespec/compiler': 0.61.0 + '@typespec/compiler': 0.62.0 - '@typespec/xml@0.61.0(@typespec/compiler@0.61.0)': + '@typespec/xml@0.62.0(@typespec/compiler@0.62.0)': dependencies: - '@typespec/compiler': 0.61.0 + '@typespec/compiler': 0.62.0 '@ungap/structured-clone@1.2.0': {} @@ -9177,7 +9204,7 @@ snapshots: dependencies: '@cspell/cspell-types': 8.13.2 comment-json: 4.2.4 - yaml: 2.5.0 + yaml: 2.5.1 cspell-dictionary@8.13.2: dependencies: @@ -12697,8 +12724,6 @@ snapshots: yaml@1.10.2: {} - yaml@2.5.0: {} - yaml@2.5.1: {} yargs-parser@20.2.9: {} From 778bacc5459ce82622051938759b110aae3c769d Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Wed, 6 Nov 2024 11:53:23 +0800 Subject: [PATCH 2/8] Bump versions after upgrade tsp 0.62.0 (#768) Bump versions Co-authored-by: Microsoft Auto Changeset Bot --- .changeset/quick-coins-speak.md | 5 ----- .changeset/tame-tools-travel.md | 7 ------- .changeset/witty-frogs-rush.md | 5 ----- packages/cadl-ranch-dashboard/CHANGELOG.md | 6 ++++++ packages/cadl-ranch-dashboard/package.json | 2 +- packages/cadl-ranch-expect/CHANGELOG.md | 6 ++++++ packages/cadl-ranch-expect/package.json | 2 +- packages/cadl-ranch-specs/CHANGELOG.md | 10 ++++++++++ packages/cadl-ranch-specs/package.json | 2 +- packages/cadl-ranch/CHANGELOG.md | 8 ++++++++ packages/cadl-ranch/package.json | 2 +- 11 files changed, 34 insertions(+), 21 deletions(-) delete mode 100644 .changeset/quick-coins-speak.md delete mode 100644 .changeset/tame-tools-travel.md delete mode 100644 .changeset/witty-frogs-rush.md diff --git a/.changeset/quick-coins-speak.md b/.changeset/quick-coins-speak.md deleted file mode 100644 index 9485b06da..000000000 --- a/.changeset/quick-coins-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/cadl-ranch-dashboard": minor ---- - -Added number of scenarios under each row diff --git a/.changeset/tame-tools-travel.md b/.changeset/tame-tools-travel.md deleted file mode 100644 index 756a107f6..000000000 --- a/.changeset/tame-tools-travel.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@azure-tools/cadl-ranch-expect": patch -"@azure-tools/cadl-ranch-specs": patch -"@azure-tools/cadl-ranch": patch ---- - -Bump typespec 0.62.0 diff --git a/.changeset/witty-frogs-rush.md b/.changeset/witty-frogs-rush.md deleted file mode 100644 index 82b573ed0..000000000 --- a/.changeset/witty-frogs-rush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/cadl-ranch-specs": patch ---- - -Fix Issue In Versioning\Removed. diff --git a/packages/cadl-ranch-dashboard/CHANGELOG.md b/packages/cadl-ranch-dashboard/CHANGELOG.md index 6f603c26c..296edec14 100644 --- a/packages/cadl-ranch-dashboard/CHANGELOG.md +++ b/packages/cadl-ranch-dashboard/CHANGELOG.md @@ -1,5 +1,11 @@ # @azure-tools/cadl-ranch-dashboard +## 0.11.0 + +### Minor Changes + +- 9d65984: Added number of scenarios under each row + ## 0.9.0 ### Minor Changes diff --git a/packages/cadl-ranch-dashboard/package.json b/packages/cadl-ranch-dashboard/package.json index 411864d5a..b6d526746 100644 --- a/packages/cadl-ranch-dashboard/package.json +++ b/packages/cadl-ranch-dashboard/package.json @@ -1,7 +1,7 @@ { "name": "@azure-tools/cadl-ranch-dashboard", "private": true, - "version": "0.10.0", + "version": "0.11.0", "description": "Cadl Ranch Dashboard website", "main": "dist/index.js", "type": "module", diff --git a/packages/cadl-ranch-expect/CHANGELOG.md b/packages/cadl-ranch-expect/CHANGELOG.md index dbc761c1b..71b7382b3 100644 --- a/packages/cadl-ranch-expect/CHANGELOG.md +++ b/packages/cadl-ranch-expect/CHANGELOG.md @@ -1,5 +1,11 @@ # @azure-tools/cadl-ranch-expect +## 0.15.6 + +### Patch Changes + +- fb1292d: Bump typespec 0.62.0 + ## 0.15.5 ### Patch Changes diff --git a/packages/cadl-ranch-expect/package.json b/packages/cadl-ranch-expect/package.json index 673f3592a..49dca5bf2 100644 --- a/packages/cadl-ranch-expect/package.json +++ b/packages/cadl-ranch-expect/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-expect", - "version": "0.15.5", + "version": "0.15.6", "description": "Cadl Library providing decorator and validation for Cadl Ranch specs", "main": "dist/index.js", "tspMain": "lib/lib.tsp", diff --git a/packages/cadl-ranch-specs/CHANGELOG.md b/packages/cadl-ranch-specs/CHANGELOG.md index 4fd978d52..b8fa83db5 100644 --- a/packages/cadl-ranch-specs/CHANGELOG.md +++ b/packages/cadl-ranch-specs/CHANGELOG.md @@ -1,5 +1,15 @@ # @azure-tools/cadl-ranch-specs +## 0.39.1 + +### Patch Changes + +- fb1292d: Bump typespec 0.62.0 +- 3317017: Fix Issue In Versioning\Removed. +- Updated dependencies [fb1292d] + - @azure-tools/cadl-ranch-expect@0.15.6 + - @azure-tools/cadl-ranch@0.16.1 + ## 0.39.0 ### Minor Changes diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index 3c48dbd9f..3b0f7f9b1 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-specs", - "version": "0.39.0", + "version": "0.39.1", "description": "Cadl scenarios and mock apis", "main": "dist/index.js", "type": "module", diff --git a/packages/cadl-ranch/CHANGELOG.md b/packages/cadl-ranch/CHANGELOG.md index b063dc436..38773d6e4 100644 --- a/packages/cadl-ranch/CHANGELOG.md +++ b/packages/cadl-ranch/CHANGELOG.md @@ -1,5 +1,13 @@ # @azure-tools/cadl-ranch +## 0.16.1 + +### Patch Changes + +- fb1292d: Bump typespec 0.62.0 +- Updated dependencies [fb1292d] + - @azure-tools/cadl-ranch-expect@0.15.6 + ## 0.16.0 ### Minor Changes diff --git a/packages/cadl-ranch/package.json b/packages/cadl-ranch/package.json index 4fcdad05e..0092b592d 100644 --- a/packages/cadl-ranch/package.json +++ b/packages/cadl-ranch/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch", - "version": "0.16.0", + "version": "0.16.1", "description": "Cadl Ranch Tool to validate, run mock api, collect coverage.", "main": "dist/index.js", "type": "module", From bb6a2dd9d19783023ce96ba94405789b9099b5f3 Mon Sep 17 00:00:00 2001 From: Mingzhe Huang Date: Mon, 11 Nov 2024 15:39:07 +0800 Subject: [PATCH 3/8] fix(mockapi): dotnet compatibility failure (#769) * fix(mockapi): dotnet compatibility failure dotnet uses different but compatible datetime format, so the comparison should use `coercedBodyEquals` --------- Co-authored-by: Mingzhe Huang (from Dev Box) --- .changeset/modern-dodos-act.md | 5 +++++ .../cadl-ranch-specs/http/type/dictionary/mockapi.ts | 6 ++++++ .../http/type/property/additional-properties/mockapi.ts | 9 ++++++++- .../http/type/property/nullable/mockapi.ts | 9 +++++++++ .../http/type/property/optionality/mockapi.ts | 6 ++++++ .../http/type/property/value-types/mockapi.ts | 6 ++++++ 6 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .changeset/modern-dodos-act.md diff --git a/.changeset/modern-dodos-act.md b/.changeset/modern-dodos-act.md new file mode 100644 index 000000000..5590d9770 --- /dev/null +++ b/.changeset/modern-dodos-act.md @@ -0,0 +1,5 @@ +--- +"@azure-tools/cadl-ranch-specs": patch +--- + +Fix dotnet compatibility issues in MockApi diff --git a/packages/cadl-ranch-specs/http/type/dictionary/mockapi.ts b/packages/cadl-ranch-specs/http/type/dictionary/mockapi.ts index 15637cb15..72c9ecb10 100644 --- a/packages/cadl-ranch-specs/http/type/dictionary/mockapi.ts +++ b/packages/cadl-ranch-specs/http/type/dictionary/mockapi.ts @@ -23,6 +23,12 @@ function createServerTests(uri: string, data: any) { response: { status: 204, }, + handler: (req) => { + req.expect.coercedBodyEquals(data); + return { + status: 204, + }; + }, kind: "MockApiDefinition", }), }; diff --git a/packages/cadl-ranch-specs/http/type/property/additional-properties/mockapi.ts b/packages/cadl-ranch-specs/http/type/property/additional-properties/mockapi.ts index 5951136ec..07d945bc8 100644 --- a/packages/cadl-ranch-specs/http/type/property/additional-properties/mockapi.ts +++ b/packages/cadl-ranch-specs/http/type/property/additional-properties/mockapi.ts @@ -1,4 +1,4 @@ -import { passOnSuccess, ScenarioMockApi, json } from "@azure-tools/cadl-ranch-api"; +import { passOnSuccess, ScenarioMockApi, json, MockRequest } from "@azure-tools/cadl-ranch-api"; export const Scenarios: Record = {}; @@ -119,6 +119,13 @@ function createServerTests(url: string, value: any) { response: { status: 204, }, + handler: (req: MockRequest) => { + const expectedBody = JSON.parse(JSON.stringify(value)); + req.expect.coercedBodyEquals(expectedBody); + return { + status: 204, + }; + }, kind: "MockApiDefinition", }), }; diff --git a/packages/cadl-ranch-specs/http/type/property/nullable/mockapi.ts b/packages/cadl-ranch-specs/http/type/property/nullable/mockapi.ts index dd77fe439..ba0a4be35 100644 --- a/packages/cadl-ranch-specs/http/type/property/nullable/mockapi.ts +++ b/packages/cadl-ranch-specs/http/type/property/nullable/mockapi.ts @@ -29,6 +29,15 @@ function createServerTests(url: string, value: unknown, patchNullableProperty?: response: { status: 204, }, + handler: (req) => { + req.expect.coercedBodyEquals({ + requiredProperty: "foo", + nullableProperty: patchNullableProperty || null, + }); + return { + status: 204, + }; + }, kind: "MockApiDefinition", }), }; diff --git a/packages/cadl-ranch-specs/http/type/property/optionality/mockapi.ts b/packages/cadl-ranch-specs/http/type/property/optionality/mockapi.ts index 01049584a..35ffad084 100644 --- a/packages/cadl-ranch-specs/http/type/property/optionality/mockapi.ts +++ b/packages/cadl-ranch-specs/http/type/property/optionality/mockapi.ts @@ -23,6 +23,12 @@ function createServerTests(url: string, value: unknown) { response: { status: 204, }, + handler: (req) => { + req.expect.coercedBodyEquals(value); + return { + status: 204, + }; + }, kind: "MockApiDefinition", }), }; diff --git a/packages/cadl-ranch-specs/http/type/property/value-types/mockapi.ts b/packages/cadl-ranch-specs/http/type/property/value-types/mockapi.ts index 893576cda..220608b79 100644 --- a/packages/cadl-ranch-specs/http/type/property/value-types/mockapi.ts +++ b/packages/cadl-ranch-specs/http/type/property/value-types/mockapi.ts @@ -23,6 +23,12 @@ function createServerTests(url: string, data: unknown, convertedToFn?: (_: any) response: { status: 204, }, + handler: (req) => { + req.expect.coercedBodyEquals(data); + return { + status: 204, + }; + }, kind: "MockApiDefinition", }), }; From 0bbcb24a30dff529be1a0bb69623237040e9d55b Mon Sep 17 00:00:00 2001 From: Mingzhe Huang Date: Mon, 11 Nov 2024 16:02:34 +0800 Subject: [PATCH 4/8] Bump versions (#770) Co-authored-by: Microsoft Auto Changeset Bot --- .changeset/modern-dodos-act.md | 5 ----- packages/cadl-ranch-specs/CHANGELOG.md | 6 ++++++ packages/cadl-ranch-specs/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/modern-dodos-act.md diff --git a/.changeset/modern-dodos-act.md b/.changeset/modern-dodos-act.md deleted file mode 100644 index 5590d9770..000000000 --- a/.changeset/modern-dodos-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/cadl-ranch-specs": patch ---- - -Fix dotnet compatibility issues in MockApi diff --git a/packages/cadl-ranch-specs/CHANGELOG.md b/packages/cadl-ranch-specs/CHANGELOG.md index b8fa83db5..8f72269c2 100644 --- a/packages/cadl-ranch-specs/CHANGELOG.md +++ b/packages/cadl-ranch-specs/CHANGELOG.md @@ -1,5 +1,11 @@ # @azure-tools/cadl-ranch-specs +## 0.39.2 + +### Patch Changes + +- bb6a2dd: Fix dotnet compatibility issues in MockApi + ## 0.39.1 ### Patch Changes diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index 3b0f7f9b1..6239a8a4c 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-specs", - "version": "0.39.1", + "version": "0.39.2", "description": "Cadl scenarios and mock apis", "main": "dist/index.js", "type": "module", From 6a2eafa6f689be91589737cdb58888aba481f9d0 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Mon, 18 Nov 2024 10:32:55 -0800 Subject: [PATCH 5/8] Fix expected path (#773) * Fix expected path * changeset * regen --- .changeset/odd-goats-fold.md | 5 +++ .../cadl-ranch-specs/cadl-ranch-summary.md | 36 +++++++++---------- .../cadl-ranch-specs/http/routes/main.tsp | 36 +++++++++---------- 3 files changed, 41 insertions(+), 36 deletions(-) create mode 100644 .changeset/odd-goats-fold.md diff --git a/.changeset/odd-goats-fold.md b/.changeset/odd-goats-fold.md new file mode 100644 index 000000000..4f9571a9e --- /dev/null +++ b/.changeset/odd-goats-fold.md @@ -0,0 +1,5 @@ +--- +"@azure-tools/cadl-ranch-specs": patch +--- + +Fixed the expected path for routes scenarios diff --git a/packages/cadl-ranch-specs/cadl-ranch-summary.md b/packages/cadl-ranch-specs/cadl-ranch-summary.md index fbaf634ef..5684ee236 100644 --- a/packages/cadl-ranch-specs/cadl-ranch-summary.md +++ b/packages/cadl-ranch-specs/cadl-ranch-summary.md @@ -3863,7 +3863,7 @@ Expected path: /routes/path/explicit/a Test label expansion with explode: true when passed an array value. Param value: ["a","b"] -Expected path: /routes/label/explode/array.a.b +Expected path: /routes/path/label/explode/array.a.b ### Routes_PathParameters_LabelExpansion_Explode_primitive @@ -3871,7 +3871,7 @@ Expected path: /routes/label/explode/array.a.b Test label expansion with explode: true when passed a primitive value. Param value: "a" -Expected path: /routes/label/explode/primitive.a +Expected path: /routes/path/label/explode/primitive.a ### Routes_PathParameters_LabelExpansion_Explode_record @@ -3879,7 +3879,7 @@ Expected path: /routes/label/explode/primitive.a Test label expansion with explode: true when passed a record value. Param value: {a: 1, b: 2} -Expected path: /routes/label/explode/record.a=1.b=2 +Expected path: /routes/path/label/explode/record.a=1.b=2 ### Routes_PathParameters_LabelExpansion_Standard_array @@ -3887,7 +3887,7 @@ Expected path: /routes/label/explode/record.a=1.b=2 Test label expansion with explode: false when passed an array value. Param value: ["a","b"] -Expected path: /routes/label/standard/array.a,b +Expected path: /routes/path/label/standard/array.a,b ### Routes_PathParameters_LabelExpansion_Standard_primitive @@ -3895,7 +3895,7 @@ Expected path: /routes/label/standard/array.a,b Test label expansion with explode: false when passed a primitive value. Param value: "a" -Expected path: /routes/label/standard/primitive.a +Expected path: /routes/path/label/standard/primitive.a ### Routes_PathParameters_LabelExpansion_Standard_record @@ -3903,7 +3903,7 @@ Expected path: /routes/label/standard/primitive.a Test label expansion with explode: false when passed a record value. Param value: {a: 1, b: 2} -Expected path: /routes/label/standard/record.a,1,b,2 +Expected path: /routes/path/label/standard/record.a,1,b,2 ### Routes_PathParameters_MatrixExpansion_Explode_array @@ -3911,7 +3911,7 @@ Expected path: /routes/label/standard/record.a,1,b,2 Test matrix expansion with explode: true when passed an array value. Param value: ["a","b"] -Expected path: /routes/matrix/explode/array;a.b +Expected path: /routes/path/matrix/explode/array;a.b ### Routes_PathParameters_MatrixExpansion_Explode_primitive @@ -3919,7 +3919,7 @@ Expected path: /routes/matrix/explode/array;a.b Test matrix expansion with explode: true when passed a primitive value. Param value: "a" -Expected path: /routes/matrix/explode/primitive;a +Expected path: /routes/path/matrix/explode/primitive;a ### Routes_PathParameters_MatrixExpansion_Explode_record @@ -3927,7 +3927,7 @@ Expected path: /routes/matrix/explode/primitive;a Test matrix expansion with explode: true when passed a record value. Param value: {a: 1, b: 2} -Expected path: /routes/matrix/explode/record;a=1;b=2 +Expected path: /routes/path/matrix/explode/record;a=1;b=2 ### Routes_PathParameters_MatrixExpansion_Standard_array @@ -3935,7 +3935,7 @@ Expected path: /routes/matrix/explode/record;a=1;b=2 Test matrix expansion with explode: false when passed an array value. Param value: ["a","b"] -Expected path: /routes/matrix/standard/array;a,b +Expected path: /routes/path/matrix/standard/array;a,b ### Routes_PathParameters_MatrixExpansion_Standard_primitive @@ -3943,7 +3943,7 @@ Expected path: /routes/matrix/standard/array;a,b Test matrix expansion with explode: false when passed a primitive value. Param value: "a" -Expected path: /routes/matrix/standard/primitive;a +Expected path: /routes/path/matrix/standard/primitive;a ### Routes_PathParameters_MatrixExpansion_Standard_record @@ -3951,7 +3951,7 @@ Expected path: /routes/matrix/standard/primitive;a Test matrix expansion with explode: false when passed a record value. Param value: {a: 1, b: 2} -Expected path: /routes/matrix/standard/record;a,1,b,2 +Expected path: /routes/path/matrix/standard/record;a,1,b,2 ### Routes_PathParameters_PathExpansion_Explode_array @@ -4023,7 +4023,7 @@ Expected path: "/routes/path/reserved-expansion/template/foo/bar%20baz" Test simple expansion with explode: true when passed an array value. Param value: ["a","b"] -Expected path: /routes/simple/explode/arraya.b +Expected path: /routes/path/simple/explode/arraya.b ### Routes_PathParameters_SimpleExpansion_Explode_primitive @@ -4031,7 +4031,7 @@ Expected path: /routes/simple/explode/arraya.b Test simple expansion with explode: true when passed a primitive value. Param value: "a" -Expected path: /routes/simple/explode/primitivea +Expected path: /routes/path/simple/explode/primitivea ### Routes_PathParameters_SimpleExpansion_Explode_record @@ -4039,7 +4039,7 @@ Expected path: /routes/simple/explode/primitivea Test simple expansion with explode: true when passed a record value. Param value: {a: 1, b: 2} -Expected path: /routes/simple/explode/recorda=1,b=2 +Expected path: /routes/path/simple/explode/recorda=1,b=2 ### Routes_PathParameters_SimpleExpansion_Standard_array @@ -4047,7 +4047,7 @@ Expected path: /routes/simple/explode/recorda=1,b=2 Test simple expansion with explode: false when passed an array value. Param value: ["a","b"] -Expected path: /routes/simple/standard/arraya,b +Expected path: /routes/path/simple/standard/arraya,b ### Routes_PathParameters_SimpleExpansion_Standard_primitive @@ -4055,7 +4055,7 @@ Expected path: /routes/simple/standard/arraya,b Test simple expansion with explode: false when passed a primitive value. Param value: "a" -Expected path: /routes/simple/standard/primitivea +Expected path: /routes/path/simple/standard/primitivea ### Routes_PathParameters_SimpleExpansion_Standard_record @@ -4063,7 +4063,7 @@ Expected path: /routes/simple/standard/primitivea Test simple expansion with explode: false when passed a record value. Param value: {a: 1, b: 2} -Expected path: /routes/simple/standard/recorda,1,b,2 +Expected path: /routes/path/simple/standard/recorda,1,b,2 ### Routes_PathParameters_templateOnly diff --git a/packages/cadl-ranch-specs/http/routes/main.tsp b/packages/cadl-ranch-specs/http/routes/main.tsp index 82ed00373..f736b4a1a 100644 --- a/packages/cadl-ranch-specs/http/routes/main.tsp +++ b/packages/cadl-ranch-specs/http/routes/main.tsp @@ -86,7 +86,7 @@ namespace PathParameters { @scenarioDoc(""" Test simple expansion with explode: false when passed a primitive value. Param value: "a" - Expected path: /routes/simple/standard/primitivea + Expected path: /routes/path/simple/standard/primitivea """) @route("primitive{param}") op primitive(param: string): void; @@ -95,7 +95,7 @@ namespace PathParameters { @scenarioDoc(""" Test simple expansion with explode: false when passed an array value. Param value: ["a","b"] - Expected path: /routes/simple/standard/arraya,b + Expected path: /routes/path/simple/standard/arraya,b """) @route("array{param}") op array(param: string[]): void; @@ -104,7 +104,7 @@ namespace PathParameters { @scenarioDoc(""" Test simple expansion with explode: false when passed a record value. Param value: {a: 1, b: 2} - Expected path: /routes/simple/standard/recorda,1,b,2 + Expected path: /routes/path/simple/standard/recorda,1,b,2 """) @route("record{param}") op record(param: Record): void; @@ -116,7 +116,7 @@ namespace PathParameters { @scenarioDoc(""" Test simple expansion with explode: true when passed a primitive value. Param value: "a" - Expected path: /routes/simple/explode/primitivea + Expected path: /routes/path/simple/explode/primitivea """) @route("primitive{param*}") op primitive(param: string): void; @@ -125,7 +125,7 @@ namespace PathParameters { @scenarioDoc(""" Test simple expansion with explode: true when passed an array value. Param value: ["a","b"] - Expected path: /routes/simple/explode/arraya.b + Expected path: /routes/path/simple/explode/arraya.b """) @route("array{param*}") op array(param: string[]): void; @@ -134,7 +134,7 @@ namespace PathParameters { @scenarioDoc(""" Test simple expansion with explode: true when passed a record value. Param value: {a: 1, b: 2} - Expected path: /routes/simple/explode/recorda=1,b=2 + Expected path: /routes/path/simple/explode/recorda=1,b=2 """) @route("record{param*}") op record(param: Record): void; @@ -212,7 +212,7 @@ namespace PathParameters { @scenarioDoc(""" Test label expansion with explode: false when passed a primitive value. Param value: "a" - Expected path: /routes/label/standard/primitive.a + Expected path: /routes/path/label/standard/primitive.a """) @route("primitive{.param}") op primitive(param: string): void; @@ -221,7 +221,7 @@ namespace PathParameters { @scenarioDoc(""" Test label expansion with explode: false when passed an array value. Param value: ["a","b"] - Expected path: /routes/label/standard/array.a,b + Expected path: /routes/path/label/standard/array.a,b """) @route("array{.param}") op array(param: string[]): void; @@ -230,7 +230,7 @@ namespace PathParameters { @scenarioDoc(""" Test label expansion with explode: false when passed a record value. Param value: {a: 1, b: 2} - Expected path: /routes/label/standard/record.a,1,b,2 + Expected path: /routes/path/label/standard/record.a,1,b,2 """) @route("record{.param}") op record(param: Record): void; @@ -242,7 +242,7 @@ namespace PathParameters { @scenarioDoc(""" Test label expansion with explode: true when passed a primitive value. Param value: "a" - Expected path: /routes/label/explode/primitive.a + Expected path: /routes/path/label/explode/primitive.a """) @route("primitive{.param*}") op primitive(param: string): void; @@ -251,7 +251,7 @@ namespace PathParameters { @scenarioDoc(""" Test label expansion with explode: true when passed an array value. Param value: ["a","b"] - Expected path: /routes/label/explode/array.a.b + Expected path: /routes/path/label/explode/array.a.b """) @route("array{.param*}") op array(param: string[]): void; @@ -260,7 +260,7 @@ namespace PathParameters { @scenarioDoc(""" Test label expansion with explode: true when passed a record value. Param value: {a: 1, b: 2} - Expected path: /routes/label/explode/record.a=1.b=2 + Expected path: /routes/path/label/explode/record.a=1.b=2 """) @route("record{.param*}") op record(param: Record): void; @@ -275,7 +275,7 @@ namespace PathParameters { @scenarioDoc(""" Test matrix expansion with explode: false when passed a primitive value. Param value: "a" - Expected path: /routes/matrix/standard/primitive;a + Expected path: /routes/path/matrix/standard/primitive;a """) @route("primitive{;param}") op primitive(param: string): void; @@ -284,7 +284,7 @@ namespace PathParameters { @scenarioDoc(""" Test matrix expansion with explode: false when passed an array value. Param value: ["a","b"] - Expected path: /routes/matrix/standard/array;a,b + Expected path: /routes/path/matrix/standard/array;a,b """) @route("array{;param}") op array(param: string[]): void; @@ -293,7 +293,7 @@ namespace PathParameters { @scenarioDoc(""" Test matrix expansion with explode: false when passed a record value. Param value: {a: 1, b: 2} - Expected path: /routes/matrix/standard/record;a,1,b,2 + Expected path: /routes/path/matrix/standard/record;a,1,b,2 """) @route("record{;param}") op record(param: Record): void; @@ -305,7 +305,7 @@ namespace PathParameters { @scenarioDoc(""" Test matrix expansion with explode: true when passed a primitive value. Param value: "a" - Expected path: /routes/matrix/explode/primitive;a + Expected path: /routes/path/matrix/explode/primitive;a """) @route("primitive{;param*}") op primitive(param: string): void; @@ -314,7 +314,7 @@ namespace PathParameters { @scenarioDoc(""" Test matrix expansion with explode: true when passed an array value. Param value: ["a","b"] - Expected path: /routes/matrix/explode/array;a.b + Expected path: /routes/path/matrix/explode/array;a.b """) @route("array{;param*}") op array(param: string[]): void; @@ -323,7 +323,7 @@ namespace PathParameters { @scenarioDoc(""" Test matrix expansion with explode: true when passed a record value. Param value: {a: 1, b: 2} - Expected path: /routes/matrix/explode/record;a=1;b=2 + Expected path: /routes/path/matrix/explode/record;a=1;b=2 """) @route("record{;param*}") op record(param: Record): void; From 7f6800bd8839cb78b9d97de519b4b1f55ddc9a22 Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:07:16 -0800 Subject: [PATCH 6/8] Bump versions (#774) Co-authored-by: Microsoft Auto Changeset Bot --- .changeset/odd-goats-fold.md | 5 ----- packages/cadl-ranch-specs/CHANGELOG.md | 6 ++++++ packages/cadl-ranch-specs/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/odd-goats-fold.md diff --git a/.changeset/odd-goats-fold.md b/.changeset/odd-goats-fold.md deleted file mode 100644 index 4f9571a9e..000000000 --- a/.changeset/odd-goats-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/cadl-ranch-specs": patch ---- - -Fixed the expected path for routes scenarios diff --git a/packages/cadl-ranch-specs/CHANGELOG.md b/packages/cadl-ranch-specs/CHANGELOG.md index 8f72269c2..038cc1a4b 100644 --- a/packages/cadl-ranch-specs/CHANGELOG.md +++ b/packages/cadl-ranch-specs/CHANGELOG.md @@ -1,5 +1,11 @@ # @azure-tools/cadl-ranch-specs +## 0.39.3 + +### Patch Changes + +- 6a2eafa: Fixed the expected path for routes scenarios + ## 0.39.2 ### Patch Changes diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index 6239a8a4c..d6ce69f1b 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-specs", - "version": "0.39.2", + "version": "0.39.3", "description": "Cadl scenarios and mock apis", "main": "dist/index.js", "type": "module", From 7719b7a86b23b7821601bbffc1fbaca5f0c39b2f Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Wed, 20 Nov 2024 10:16:47 +0800 Subject: [PATCH 7/8] http-specs, clientNamespace for java (#771) * bump tcgc to 0.48.1 * clientNamespace for azure/example/basic --- .changeset/tiny-fishes-battle.md | 5 +++++ .../http/azure/example/basic/client.tsp | 3 +++ packages/cadl-ranch-specs/package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 4 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changeset/tiny-fishes-battle.md diff --git a/.changeset/tiny-fishes-battle.md b/.changeset/tiny-fishes-battle.md new file mode 100644 index 000000000..f6db8cefa --- /dev/null +++ b/.changeset/tiny-fishes-battle.md @@ -0,0 +1,5 @@ +--- +"@azure-tools/cadl-ranch-specs": patch +--- + +Set clientNamespace for java diff --git a/packages/cadl-ranch-specs/http/azure/example/basic/client.tsp b/packages/cadl-ranch-specs/http/azure/example/basic/client.tsp index 3c892d218..c828e750e 100644 --- a/packages/cadl-ranch-specs/http/azure/example/basic/client.tsp +++ b/packages/cadl-ranch-specs/http/azure/example/basic/client.tsp @@ -9,6 +9,9 @@ using Azure.ClientGenerator.Core; @route("/azure/example/basic") namespace Client; +@@clientNamespace(Client, "azure.example.basic", "java"); +@@clientNamespace(_Specs_.Azure.Example.Basic, "azure.example.basic", "java"); + @client({ name: "AzureExampleClient", service: _Specs_.Azure.Example.Basic, diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index d6ce69f1b..be62ed58b 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -40,7 +40,7 @@ "devDependencies": { "@azure-tools/typespec-autorest": "0.48.0", "@azure-tools/typespec-azure-resource-manager": "0.48.0", - "@azure-tools/typespec-client-generator-core": "0.48.0", + "@azure-tools/typespec-client-generator-core": "0.48.1", "@types/node": "^22.1.0", "@typespec/openapi": "~0.62.0", "@typespec/openapi3": "~0.62.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5b1d33a86..4901d0ad5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -385,13 +385,13 @@ importers: devDependencies: '@azure-tools/typespec-autorest': specifier: 0.48.0 - version: 0.48.0(eltkenvcfknbgsjpk2r2c3erra) + version: 0.48.0(b2ztdojbbbecr32stuxh774bjy) '@azure-tools/typespec-azure-resource-manager': specifier: 0.48.0 version: 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) '@azure-tools/typespec-client-generator-core': - specifier: 0.48.0 - version: 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) + specifier: 0.48.1 + version: 0.48.1(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) '@types/node': specifier: ^22.1.0 version: 22.1.0 @@ -489,8 +489,8 @@ packages: '@typespec/rest': ~0.62.0 '@typespec/versioning': ~0.62.0 - '@azure-tools/typespec-client-generator-core@0.48.0': - resolution: {integrity: sha512-+fmKjapz0kP7ONPZap8dgcIKIdQw+YBSrf89csbIyhPTcLnVAk/BKljo8FoNypKXwqKHenslLm0njBKPllkopg==} + '@azure-tools/typespec-client-generator-core@0.48.1': + resolution: {integrity: sha512-pYEZDExltNNLAaA12EwEag5VLESyPoKNQQ/6Olj4rJouA4cBjZDTW80VYgKuPQBt/uCtA0Yn6xxl0nH7TGOwWQ==} engines: {node: '>=18.0.0'} peerDependencies: '@azure-tools/typespec-azure-core': ~0.48.0 @@ -5825,11 +5825,11 @@ snapshots: '@apidevtools/swagger-methods@3.0.2': {} - '@azure-tools/typespec-autorest@0.48.0(eltkenvcfknbgsjpk2r2c3erra)': + '@azure-tools/typespec-autorest@0.48.0(b2ztdojbbbecr32stuxh774bjy)': dependencies: '@azure-tools/typespec-azure-core': 0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))) '@azure-tools/typespec-azure-resource-manager': 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) - '@azure-tools/typespec-client-generator-core': 0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) + '@azure-tools/typespec-client-generator-core': 0.48.1(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0)) '@typespec/compiler': 0.62.0 '@typespec/http': 0.62.0(@typespec/compiler@0.62.0) '@typespec/openapi': 0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)) @@ -5853,7 +5853,7 @@ snapshots: change-case: 5.4.4 pluralize: 8.0.0 - '@azure-tools/typespec-client-generator-core@0.48.0(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0))': + '@azure-tools/typespec-client-generator-core@0.48.1(@azure-tools/typespec-azure-core@0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))))(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/openapi@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0)))(@typespec/versioning@0.62.0(@typespec/compiler@0.62.0))': dependencies: '@azure-tools/typespec-azure-core': 0.48.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))(@typespec/rest@0.62.0(@typespec/compiler@0.62.0)(@typespec/http@0.62.0(@typespec/compiler@0.62.0))) '@typespec/compiler': 0.62.0 From 9a13f421725143683c4302d4380f2135dfdab056 Mon Sep 17 00:00:00 2001 From: Haoling Dong <87355844+haolingdong-msft@users.noreply.github.com> Date: Fri, 22 Nov 2024 10:59:06 +0800 Subject: [PATCH 8/8] Bump versions (#777) Co-authored-by: Microsoft Auto Changeset Bot --- .changeset/tiny-fishes-battle.md | 5 ----- packages/cadl-ranch-specs/CHANGELOG.md | 6 ++++++ packages/cadl-ranch-specs/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/tiny-fishes-battle.md diff --git a/.changeset/tiny-fishes-battle.md b/.changeset/tiny-fishes-battle.md deleted file mode 100644 index f6db8cefa..000000000 --- a/.changeset/tiny-fishes-battle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@azure-tools/cadl-ranch-specs": patch ---- - -Set clientNamespace for java diff --git a/packages/cadl-ranch-specs/CHANGELOG.md b/packages/cadl-ranch-specs/CHANGELOG.md index 038cc1a4b..be934e994 100644 --- a/packages/cadl-ranch-specs/CHANGELOG.md +++ b/packages/cadl-ranch-specs/CHANGELOG.md @@ -1,5 +1,11 @@ # @azure-tools/cadl-ranch-specs +## 0.39.4 + +### Patch Changes + +- 7719b7a: Set clientNamespace for java + ## 0.39.3 ### Patch Changes diff --git a/packages/cadl-ranch-specs/package.json b/packages/cadl-ranch-specs/package.json index be62ed58b..6a48e9ed7 100644 --- a/packages/cadl-ranch-specs/package.json +++ b/packages/cadl-ranch-specs/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/cadl-ranch-specs", - "version": "0.39.3", + "version": "0.39.4", "description": "Cadl scenarios and mock apis", "main": "dist/index.js", "type": "module",