Skip to content

[Refresh] Regenerate purview Go SDK with latest TypeSpec#26171

Merged
jliusan merged 2 commits intomainfrom
refresh/purview-latest-typespec
Mar 11, 2026
Merged

[Refresh] Regenerate purview Go SDK with latest TypeSpec#26171
jliusan merged 2 commits intomainfrom
refresh/purview-latest-typespec

Conversation

@tadelesh
Copy link
Member

@tadelesh tadelesh commented Mar 9, 2026

Automated regeneration of the purview Go SDK using the latest TypeSpec definitions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Mar 9, 2026

API Change Check

APIView identified API level changes in this PR and created the following API reviews

sdk/resourcemanager/purview/armpurview

@jliusan
Copy link
Member

jliusan commented Mar 10, 2026

PR base on main branch from swagger tag: package-2024-04-01-preview

@JiaqiZhang-Dev JiaqiZhang-Dev marked this pull request as ready for review March 10, 2026 06:24
@JiaqiZhang-Dev JiaqiZhang-Dev requested a review from lirenhe as a code owner March 10, 2026 06:24
Copilot AI review requested due to automatic review settings March 10, 2026 06:24
@JiaqiZhang-Dev JiaqiZhang-Dev self-requested a review as a code owner March 10, 2026 06:24
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR regenerates the armpurview Go SDK from the latest TypeSpec definitions, upgrading the module from v1 (stable 2021-07-01) to v2 (preview 2024-04-01-preview) and migrating the code generator from AutoRest to the Go Code Generator.

Changes:

  • Migrates armpurview from AutoRest (v1.2.0) to TypeSpec (v2.0.0-beta.1), bumping the API version from 2021-07-01 to 2024-04-01-preview
  • Adds new clients and resources: FeaturesClient, KafkaConfigurationsClient, IngestionPrivateEndpointConnectionsClient, UsagesClient, plus new models/constants
  • Updates existing clients (AccountsClient, PrivateEndpointConnectionsClient, etc.) with improved doc comments, API version bumps, and removes legacy AutoRest artifacts (autorest.md, build.go, time_rfc3339.go)

Reviewed changes

Copilot reviewed 45 out of 46 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tsp-location.yaml New TypeSpec configuration file for SDK regeneration
version.go Bumps module version to v2.0.0-beta.1
go.mod / go.sum Updates module path to v2, bumps dependency versions
constants.go Adds many new enum types, renames/removes old ones
models.go Adds new model types, removes obsolete types, updates field definitions
client_factory.go Updated to share a single arm.Client internally, adds new factory methods
accounts_client.go Updated to API version 2024-04-01-preview with doc improvements
defaultaccounts_client.go Updated to API version 2024-04-01-preview
operations_client.go Updated to API version 2024-04-01-preview
privateendpointconnections_client.go Updated to API version 2024-04-01-preview
privatelinkresources_client.go Updated to API version 2024-04-01-preview
features_client.go New client for listing feature flags
kafkaconfigurations_client.go New client for Kafka configuration management
ingestionprivateendpointconnections_client.go New client for ingestion private endpoint connections
usages_client.go New client for subscription usage quotas
responses.go Adds response types for new clients
options.go Adds option types for new clients
fake/*.go Updated and new fake server implementations for all clients
*_example_test.go Updated example tests for all clients
CHANGELOG.md Documents breaking changes and new features
autorest.md / build.go Removed as part of TypeSpec migration
time_rfc3339.go (main+fake) Removed as part of TypeSpec migration
testdata/_metadata.json New metadata file with emitter version info

JiaqiZhang-Dev
JiaqiZhang-Dev previously approved these changes Mar 10, 2026
@JiaqiZhang-Dev JiaqiZhang-Dev dismissed their stale review March 10, 2026 06:35

tsp-location.yml issue

@JiaqiZhang-Dev
Copy link
Member

changelog looks good, please update to beta version

@jliusan
Copy link
Member

jliusan commented Mar 11, 2026

changelog looks good, please update to beta version

The version is generated beta

@jliusan jliusan merged commit 8a0e1c2 into main Mar 11, 2026
12 checks passed
@jliusan jliusan deleted the refresh/purview-latest-typespec branch March 11, 2026 08:29
@jliusan
Copy link
Member

jliusan commented Mar 12, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants