Migrate to /v2 module path; pre-stage 2.0.0-alpha.1 bump#109
Closed
highb wants to merge 1 commit into
Closed
Conversation
Cuts the v2.0.0 line for ConductorOne's Go SDK to absorb the upcoming breaking changes from the tf-provider IGA-1181 spec drift (V2 group overrides, AccessConflictNotificationConfig / AutomationsTaskAction / PolicyForm renames) plus six weeks of accumulated API additions (paper-secret, role-mining-management, principal/credentials, workload-federation, A2UI surfaces, automations expansion, etc.) since v1.27.x. Changes: 1. Bump gen.yaml's go.version 1.26.1 -> 2.0.0-alpha.1. Per Speakeasy's manual-version-bump docs, setting gen.yaml's version field ahead of gen.lock's releaseVersion creates a mismatch the generator detects on its next run; the resulting regen PR will reflect 2.0.0-alpha.1 in RELEASES.md and gen.lock, ready for auto-tag via the existing sdk_publish.yaml workflow on RELEASES.md push. 2. Migrate the Go module path to /v2 per Go's semantic import versioning rules (required for any v2.0.0+ release). Bulk-updates 509 .go files plus go.mod's module declaration to use github.com/conductorone/conductorone-sdk-go/v2. The next daily cron run will produce a regen PR at 2.0.0-alpha.1; merge it and the existing speakeasy_sdk_publish.yml workflow auto-tags v2.0.0-alpha.1 on RELEASES.md push (Go module proxy picks up the prerelease tag; consumers opt in via `go get .../v2@v2.0.0-alpha.1`).
Contributor
Author
|
Not doing major release, closing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
Cuts the v2.0.0 line so the Go SDK can absorb the breaking changes accumulated since v1.27.x — IGA-1181 collision-fix renames (V2 group overrides, `AccessConflictNotificationConfig`, `AutomationsTaskAction`, `PolicyForm`) plus six weeks of API additions (paper-secret, role-mining-management, principal/credentials, workload-federation, A2UI surfaces, automations expansion, webhook callback_timeout, etc.).
The version bump matches the parallel work on `terraform-provider-conductorone` (see tf-provider PR #205 for the analogous regen). Per Speakeasy's manual-version-bump docs, the gen.yaml/gen.lock mismatch is exactly the trigger Speakeasy looks for on the next run.
Test plan
Follow-ups
🤖 Generated with Claude Code