Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into backmerge/release/nov…
Browse files Browse the repository at this point in the history
…ember-2024-2024-12-10
  • Loading branch information
tadelesh committed Dec 10, 2024
2 parents bf8b5b2 + cff495c commit f23736b
Show file tree
Hide file tree
Showing 264 changed files with 11,050 additions and 3,839 deletions.
7 changes: 7 additions & 0 deletions .chronus/changes/AzureSpecsAlpha2-2024-10-26-16-12-19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@azure-tools/azure-http-specs"
---

Backport changes from cadl-ranch
7 changes: 7 additions & 0 deletions .chronus/changes/ReleaseDashboardsStep1-2024-11-6-15-1-23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@azure-tools/azure-http-specs"
---

Added scripts to package.json
7 changes: 7 additions & 0 deletions .chronus/changes/add-common-types-v6-2024-9-16-14-19-21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-azure-resource-manager"
---

Add common-types v6 with changes in managed identity, private links, and types.
8 changes: 8 additions & 0 deletions .chronus/changes/add-resource-type-2024-6-31-14-6-51.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-azure-core"
- "@azure-tools/typespec-azure-resource-manager"
---

Add `armResourceType` scalar, and changed some properties to be `armResourceType` instead of string
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/azure-http-specs"
---

Fix test scenario for singleton patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/azure-http-specs"
---

Fix a typo in access test scenario doc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@azure-tools/azure-http-specs"
---

Update scenario name on azure example scenario
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/azure-http-specs"
---

Move payload/pageable test scenario to azure folder
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-azure-resource-manager"
---

common-types consistency with original swagger
7 changes: 7 additions & 0 deletions .chronus/changes/cookie_support-2024-10-6-16-23-46.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-client-generator-core"
---

add `SdkCookieParameter` type and support `@cookie` in TypeSpec http lib
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-autorest"
---

Emit error `@azure-tools/typespec-autorest/no-matching-version-found` when the version option is used and does not match any versions of the service.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-azure-resource-manager"
---

Fix the `no-empty-model` rule to prevent it from being triggered for Records, as this is already covered by another rule.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-azure-resource-manager"
---

Add the `@Azure.ResourceManager.Legacy.customAzureResource` decorator to identify ARM resources that do not use the base resource types.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-azure-rulesets"
---

Discourage usage of new decorator `@Azure.ResourceManager.Legacy.customAzureResource`
8 changes: 8 additions & 0 deletions .chronus/changes/no-response-body-rule-2024-9-22-13-23-5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-azure-resource-manager"
- "@azure-tools/typespec-azure-rulesets"
---

Update the `arm no-response-body` rule to behave similarly to the core rule, but with the additional requirement that the 202 response can and should also be empty
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@azure-tools/typespec-client-generator-core"
---

refine tcgc tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-azure-core"
---

Remove `Azure.Core.nextLink` as there is a nextLink instance in `TypeSpec.nextLink`, which is causing an ambiguous problem between the two.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-azure-resource-manager"
---

Replace usage of `Azure.Core.nextLink` to `TypeSpec.nextLink`.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/azure-http-specs"
---

Replace usage of `Azure.Core.nextLink` to `TypeSpec.nextLink`.
7 changes: 7 additions & 0 deletions .chronus/changes/scope-negation-2024-10-1-10-19-14.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-client-generator-core"
---

Implement scope negation for TCGC decorators
7 changes: 7 additions & 0 deletions .chronus/changes/specs_arm_lro-2024-10-7-15-31-16.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/azure-http-specs"
---

Added LRO case for ARM tests.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@azure-tools/azure-http-specs"
---

Update clientNamespace for Java.
7 changes: 7 additions & 0 deletions .chronus/changes/tcgc_output-2024-10-26-15-38-13.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-client-generator-core"
---

support emit code model
15 changes: 15 additions & 0 deletions .chronus/changes/update-core-2024-12-04-2024-11-5-22-13-45.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@azure-tools/azure-http-specs"
- "@azure-tools/typespec-autorest-canonical"
- "@azure-tools/typespec-autorest"
- "@azure-tools/typespec-azure-core"
- "@azure-tools/typespec-azure-portal-core"
- "@azure-tools/typespec-azure-resource-manager"
- "@azure-tools/typespec-azure-rulesets"
- "@azure-tools/typespec-client-generator-core"
---

Update lockfile for core changes
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
changeKind: internal
packages:
- "@azure-tools/typespec-autorest"
- "@azure-tools/typespec-azure-core"
- "@azure-tools/typespec-azure-resource-manager"
- "@azure-tools/typespec-client-generator-core"
---

Mask deprecation lint warnings for uptake of enum-driven visibility.
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/common-types-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: ARM common-types change request
description: Additions or changes to the ARM common-types
title: "[arm-common-types]: "
labels: ["arm-common-types", "lib:azure-resource-manager"]

body:
- type: input
id: contact-dev
attributes:
label: Service Team Contacts (Dev)

- type: dropdown
id: change-type
attributes:
label: Choose which kind of change this is
options:
- Add common-types Version
- Add common-type
- Correction to Existing Type
- Remove common-type

- type: textarea
id: detail
attributes:
label: Describe the change, Provide the desired TypeSpec or json-schema for the change as appropriate.

- type: input
id: doc-link
attributes:
label: Link to documentation if available

- type: textarea
id: additional-notes
attributes:
label: Additional notes or questions
description: Add any other context or questions here.

- type: checkboxes
id: checklist
attributes:
label: Checklist
description: Before submitting the issue, please make sure you do the following
options:
- label: Follow our [Code of Conduct](https://github.com/azure/typespec-azure/blob/main/CODE_OF_CONDUCT.md)
required: true
- label: Change is approved by Arm API Review
required: true
- label: Please update issue title and choose the change type.
required: true
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
spec-coverage.json
manifest.json

# nyc test coverage
.nyc_output
Expand Down
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ recommended to test a private of the change before merging.
+ "@azure-tools/typespec-autorest": "https://.../package.tgz"
```

5. Also edit `eng/pipelines/templates/steps/npm-install.yml`, to force install
5. Also edit `.github/actions/setup-node-npm-ci/action.yaml`, to force install
your private build:

```diff
Expand Down Expand Up @@ -353,6 +353,7 @@ Process labels
| -------------- | ------- | --------------------------------------------------------------------------------- |
| `needs-area` | #ffffff | |
| `needs-info` | #ffffff | Mark an issue that needs reply from the author or it will be closed automatically |
| `stale` | #ffffff | Mark a PR that hasn't been recently updated and will be closed. |
| `triaged:core` | #5319e7 | |

#### misc
Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 4289 files
2 changes: 2 additions & 0 deletions cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ words:
- dynatrace
- espt
- foos
- français
- horiz
- Howtos
- infile
Expand Down Expand Up @@ -74,6 +75,7 @@ words:
- rpaasoneboxacr
- rpass
- SERVICERP
- seti
- tcgc
- userrp
- vnet
Expand Down
2 changes: 1 addition & 1 deletion eng/feeds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"description": "",
"devDependencies": {
"@typespec/compiler": "workspace:~",
"vitest": "^2.1.2"
"vitest": "^2.1.5"
}
}
10 changes: 10 additions & 0 deletions eng/pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ extends:
dotnetVersion: 8.0.x
osName: windows

- job: website
displayName: Website
pool:
name: $(LINUXPOOL)
image: $(LINUXVMIMAGE)
os: linux

steps:
- template: /eng/pipelines/jobs/website.yml

- template: /eng/pipelines/jobs/e2e-job.yml@self
- job: AutorestChecks
displayName: "Autorest Checks"
Expand Down
14 changes: 14 additions & 0 deletions eng/pipelines/jobs/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
steps:
- checkout: self
submodules: true

- template: /eng/pipelines/templates/install.yml

- script: pnpm exec playwright install
displayName: Install browsers

- script: pnpm --filter "@azure-tools/typespec-azure-website..." run build
displayName: Build

- script: node eng/scripts/check-for-changed-files.js
displayName: Check Git Status For Changed Files
4 changes: 4 additions & 0 deletions eng/scripts/upload-bundler-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ await bundleAndUploadPackages({
indexVersion: await getPackageVersion(repoRoot, "@azure-tools/typespec-azure-core"),
packages: [
"@typespec/compiler",
"@typespec/events",
"@typespec/http",
"@typespec/rest",
"@typespec/openapi",
"@typespec/versioning",
"@typespec/openapi3",
"@typespec/json-schema",
"@typespec/protobuf",
"@typespec/sse",
"@typespec/streams",
"@typespec/xml",
"@azure-tools/typespec-autorest",
"@azure-tools/typespec-azure-core",
"@azure-tools/typespec-client-generator-core",
Expand Down
Loading

0 comments on commit f23736b

Please sign in to comment.