You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial MCP server for Go SDK tool
* update mod
* update
* add mcp config
* move tools from mcp to generator tools, remove useless go version config and update the readme template
* revert mcp
* remove useless part
* fix
* changelog
* review update
---------
Co-authored-by: tadelesh <[email protected]>
Copy file name to clipboardExpand all lines: eng/tools/generator/CHANGELOG.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,18 @@
1
1
# Release History
2
2
3
-
## 0.2.0 (2025-07-23)
3
+
## 0.2.0 (UNRELEASED)
4
+
5
+
### Features Added
6
+
7
+
- Add `environment` command to check and validate environment prerequisites for Azure Go SDK generation.
8
+
- Add `generate` command to generate Azure Go SDK packages from TypeSpec specifications.
9
+
10
+
### Breaking Changes
11
+
12
+
- Remove `go-version` flag from all commands. It is useless since the code generator could handle it.
13
+
14
+
### Bugs Fixed
15
+
4
16
- Refined dependency upgrade logic to explicitly upgrade `azcore` and `azidentity` dependencies instead of using generic `go get -u ./... toolchain@none`
@@ -6,6 +6,8 @@ This is a command line tool for generating new releases and managing automation
6
6
7
7
The generator tool provides several commands to support the Azure SDK for Go development lifecycle:
8
8
9
+
-**Environment**: Check and validate development environment prerequisites
10
+
-**Generate**: Generate individual SDK packages from TypeSpec specifications
9
11
-**Issue Management**: Parse GitHub release request issues into configuration
10
12
-**Release Generation**: Generate new SDK releases from TypeSpec or Swagger specifications
11
13
-**Automation**: Process batch SDK generation for CI/CD pipelines
@@ -16,6 +18,114 @@ The generator tool provides several commands to support the Azure SDK for Go dev
16
18
17
19
This CLI tool provides the following commands:
18
20
21
+
### The `environment` command
22
+
23
+
The `environment` command checks and validates environment prerequisites for Azure Go SDK generation. It verifies the installation and versions of required tools and can automatically install missing TypeSpec tools.
The `generate` command generates Azure Go SDK packages from TypeSpec specifications. It can work with either a direct path to a TypeSpec configuration file or a GitHub PR link.
- New client `armcognitiveservices.ClientFactory` which is a client factory used to create any client in this module
127
+
```
128
+
19
129
### The `issue` command
20
130
21
131
The `issue` command fetches release request issues from `github.com/Azure/sdk-release-request/issues` and parses them into configuration that other commands consume. The configuration outputs to stdout.
@@ -64,17 +174,23 @@ The command outputs a JSON configuration:
64
174
65
175
### The `automation-v2` command
66
176
67
-
The `automation-v2` command processes batch SDK generation for automation pipelines. This command is designed to run in the root directory of azure-sdk-for-go.
177
+
The `automation-v2` command processes batch SDK generation for automation pipelines. This command is designed to run in the root directory of azure-sdk-for-go and handles multiple SDK generations in a single execution.
The `release-v2` command generates individual SDK releases for specific resource providers.
237
+
The `release-v2` command generates individual SDK releases for specific resource providers. It creates new SDK packages or updates existing ones with new API versions.
96
238
97
239
**Usage:**
98
240
```bash
@@ -115,61 +257,121 @@ generator release-v2 <azure-sdk-for-go directory> <azure-rest-api-specs director
The `refresh-v2` command regenerates all existing SDK packages.
292
+
The `refresh-v2` command regenerates all existing SDK packages using the latest specifications. This is useful for bulk updates across multiple packages.
The `template` command generates package templates and scaffolding for new SDK packages.
338
+
### The `template` command
147
339
148
-
## TypeSpec Support
340
+
The `template` command generates package templates and scaffolding for new SDK packages. It creates the necessary directory structure and boilerplate code to onboard new services to the Azure SDK for Go.
149
341
150
-
The generator supports both traditional Swagger/OpenAPI specifications and modern TypeSpec definitions:
0 commit comments