Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common types json gen - Off reorg branch #1

Open
wants to merge 44 commits into
base: azhang_ArmReorg
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
fe90e20
ARM Library reorganization (#945)
allenjzhang Jun 12, 2024
d30db5b
Make Resource Properties Bag Updatable (#979)
markcowl Jun 12, 2024
6fc4645
Bump core from `ac93dfa` to `913aa03` (#994)
dependabot[bot] Jun 12, 2024
1723864
Adding Legacy V4 ManagedIdentity to avoid breaking change in spec wi…
allenjzhang Jun 13, 2024
70ffbbc
Bump core from `913aa03` to `4ed71bf` (#1012)
dependabot[bot] Jun 13, 2024
a6bd067
Generate common types swagger
timotheeguerin Jun 13, 2024
d936214
Revert main:
timotheeguerin Jun 13, 2024
54839cc
Add release notes for 0.57 - 0.43 (#996)
timotheeguerin Jun 13, 2024
5b9bef3
TypeSpec Azure 0.43 - June 2024 Release (#1013)
allenjzhang Jun 13, 2024
37d1f00
break up tests for types into multiple files (#1017)
ArcturusZhang Jun 14, 2024
9671293
Bump core from `9c701cc` to `216f423` (#1019)
dependabot[bot] Jun 14, 2024
5c10b3e
Removed unused macos variables (#1026)
weshaggard Jun 17, 2024
45a9585
add `tspNamespace` to `SdkModelType`, `SdkEnumType`, `SdkEnumValueTyp…
ArcturusZhang Jun 18, 2024
0a349d2
Add `name` and `tspNamespace` to `SdkArrayType` (#1000)
ArcturusZhang Jun 18, 2024
1e14af8
Set armId kind for Azure.Core.armResourceIdentifier (#1032)
live1206 Jun 18, 2024
eae81f8
[tcgc] only expose top level client in SdkPackage (#1033)
tadelesh Jun 20, 2024
0b1afda
[tcgc] allow csv list of scopes (#1038)
iscai-msft Jun 20, 2024
2628d00
Bump core from `216f423` to `224e725` (#1053)
dependabot[bot] Jun 22, 2024
d4a1bac
tcgc, arm, set context.arm for explicit client (#1050)
weidongxu-microsoft Jun 24, 2024
30fa1e0
[tcgc] add linter for empty client names (#1066)
iscai-msft Jun 24, 2024
ee6fc40
[tcgc] remove deprecated `nameInClient` property from `SdkModelProper…
iscai-msft Jun 24, 2024
2876cb7
export `SdkClientAccessor` (#990)
tadelesh Jun 24, 2024
688fd18
remove unused isErrorOrChildOfError (#1068)
iscai-msft Jun 24, 2024
932666f
[tcgc] don't set optional `.contentTypes` property on responses to an…
iscai-msft Jun 24, 2024
83851cb
[tcgc] unify datetime casing by renaming interface types (#1067)
iscai-msft Jun 25, 2024
ed1017c
[CanonicalEmitter] Add option and isArmCommonType check (#1065)
dinwa-ms Jun 26, 2024
660b587
[tcgc] support generic type decorators in sdk types (#966)
tadelesh Jun 26, 2024
3f911bb
replace `tspNamespace` with `crossLanguageDefinitionId` in enum, mode…
ArcturusZhang Jun 26, 2024
5dc55cc
[tcgc] change generic decorator list data structure to support duplic…
tadelesh Jun 26, 2024
49fc59d
Publish/tcgc (#1087)
iscai-msft Jun 27, 2024
54567f7
Bump core from `224e725` to `393f40a` (#1079)
dependabot[bot] Jun 27, 2024
acde810
Bump core from `393f40a` to `44a5be8` (#1100)
dependabot[bot] Jul 1, 2024
d4cfac6
Bump @azure-tools/cadl-ranch-specs from 0.33.4 to 0.34.2 in /packages…
dependabot[bot] Jul 1, 2024
ee6a7f8
Fixing typpo (#1102)
allenjzhang Jul 1, 2024
20a472c
Merge branch 'main' into common-types-json-gen
timotheeguerin Jul 1, 2024
772b495
fix
timotheeguerin Jul 1, 2024
1d20521
Create common-types-json-gen-2024-6-1-21-40-23.md
timotheeguerin Jul 1, 2024
16284d4
.
timotheeguerin Jul 1, 2024
c23d5ad
Update common-types.tsp
timotheeguerin Jul 1, 2024
9c52c78
Update common-types.tsp
timotheeguerin Jul 1, 2024
88ba7bf
Dependency updates July 2024 (#1104)
timotheeguerin Jul 1, 2024
a360511
Merge branch 'main' into common-types-json-gen
timotheeguerin Jul 1, 2024
ee3af88
fix
timotheeguerin Jul 1, 2024
732575f
fix
timotheeguerin Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .chronus/changes/arm-lro-opt-2024-5-5-15-31-47.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/arm-lro-opt-2024-5-5-15-33-29.md

This file was deleted.

2 changes: 1 addition & 1 deletion .chronus/changes/arm-lro-opt-2024-5-5-19-32-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
- "@azure-tools/typespec-autorest"
---

Add suppress-lro-options emitter option to control emission of x-ms-long-running-operation-options
Use emit-lro--options emitter option to control emission of x-ms-long-running-operation-options
2 changes: 1 addition & 1 deletion .chronus/changes/arm-lro-opt-2024-5-5-2-57-50.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ packages:

---

- Add support for displaying lro options in typespec-autorest based on lro metadata
Add support for displaying lro options in typespec-autorest based on lro metadata

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-azure-resource-manager"
- "@azure-tools/typespec-client-generator-core"
---

don't add constant value to generated name
Fixing typo
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: fix
packages:
- "@azure-tools/typespec-autorest-canonical"
---

set option "use-read-only-status-schema" to true to fix ProvisioningStateMustBeReadOnly bug;
add isArmCommonType check to avoid decorator validation in canonical emitter
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ changeKind: internal
packages:
- "@azure-tools/typespec-azure-resource-manager"
---
Doc change

Move version enum to its own file
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
changeKind: fix
changeKind: feature
packages:
- "@azure-tools/typespec-client-generator-core"
---

add description for created discriminator property
export decorators in allow list to all sdk types
7 changes: 0 additions & 7 deletions .chronus/changes/default_access_public-2024-4-28-12-23-9.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/emitter_name-2024-5-3-22-57-49.md

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/enum_response_header-2024-4-28-16-46-48.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/fix-emit-api-version-2024-4-25-9-53-10.md

This file was deleted.

8 changes: 0 additions & 8 deletions .chronus/changes/fix-percentcomplete-2024-4-17-22-11-46.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/fix_core_model_filter-2024-5-6-15-47-3.md

This file was deleted.

7 changes: 7 additions & 0 deletions .chronus/changes/fix_decorator_list-2024-5-26-13-53-0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: internal
packages:
- "@azure-tools/typespec-client-generator-core"
---

change generic decorator list data structure to support duplicate decorator use case

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/move_nullable_to_type-2024-4-21-18-6-54.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
changeKind: feature
packages:
- "@azure-tools/typespec-client-generator-core"
---

Replace `tspNamespace` with `crossLanguageDefinitionId`.
- Remove `tspNamespace` in `SdkEnumType`, `SdkModelType`, `SdkUnionType`, `SdkArrayType`.
- Add `crossLanguageDefinitionId` to `SdkUnionType` and `SdkArrayType`.
7 changes: 7 additions & 0 deletions .chronus/changes/rename_datetime_type-2024-5-24-14-52-19.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
changeKind: fix
packages:
- "@azure-tools/typespec-client-generator-core"
---

Unify casing of datetime spelling to `DateTime`. Change interface names to `SdkDateTimeType`, `SdkUtcDateTimeType`, and `SdkOffsetDateTimeType`

This file was deleted.

8 changes: 0 additions & 8 deletions .chronus/changes/summary-is-title-2024-4-9-20-35-33.md

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/tsp_clid-2024-5-3-18-13-18.md

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ packages:
- "@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 dependencies - May 2024
Dependency updates July 2024
8 changes: 0 additions & 8 deletions .chronus/changes/uptake-multipartv2-2024-4-22-16-3-12.2.md

This file was deleted.

8 changes: 0 additions & 8 deletions .chronus/changes/uptake-multipartv2-2024-4-22-16-3-12.md

This file was deleted.

8 changes: 0 additions & 8 deletions .chronus/changes/uptake-object-literals-2024-2-19-2-42-4.md

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions .chronus/changes/usage_refine-2024-4-29-22-20-25.md

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ core/packages/compiler/templates/__snapshots__/
# Tm Grammars generated files
core/grammars/

# Generated openapi files
packages/samples/common-types/**/*.json

# Client emitters not part of workspace that shouldn't be needed in this repo
core/packages/http-client-csharp/
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"pnpm-config.json": "jsonc",
"version-policies.json": "jsonc"
},
"typescript.tsdk": "./core/packages/compiler/node_modules/typescript/lib",
"typescript.tsdk": "node_modules/typescript/lib",
"git.ignoreLimitWarning": true,
"vitest.workspaceConfig": "./vitest.workspace.ts",
"prettier.configPath": ".prettierrc.json",
Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 1340 files
1 change: 1 addition & 0 deletions cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ enableFiletypes:
- typespec
words:
- allof
- mobo
- apim
- apos
- armId
Expand Down
6 changes: 3 additions & 3 deletions docs/getstarted/azure-resource-manager/step04.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ These templates have default values so that they are normally used without speci

The above templates are specializations of the following template in the `Azure.ResourceManager.Foundations` namespace:

| Template | Description |
| -------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| `checkNameAvailability<TScopeParamters, TRequest, TResponse, TAdditionalParams>` | Checks name availability based on the provided scope parameters. |
| Template | Description |
| --------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| `checkNameAvailability<TScopeParameters, TRequest, TResponse, TAdditionalParams>` | Checks name availability based on the provided scope parameters. |

For reference, the standard templates use the following `TScopeParameters`:

Expand Down
Loading