Skip to content

Migrate to /v2 module path; pre-stage 2.0.0-alpha.1 bump#109

Closed
highb wants to merge 1 commit into
mainfrom
highb/iga-1181-v2-module-path
Closed

Migrate to /v2 module path; pre-stage 2.0.0-alpha.1 bump#109
highb wants to merge 1 commit into
mainfrom
highb/iga-1181-v2-module-path

Conversation

@highb
Copy link
Copy Markdown
Contributor

@highb highb commented Apr 30, 2026

Summary

  • Bump `gen.yaml: go.version` from `1.26.1` → `2.0.0-alpha.1`
  • Migrate Go module path to `github.com/conductorone/conductorone-sdk-go/v2` per Go's semantic import versioning
  • Bulk-update 509 `.go` files' imports to the `/v2` path

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

  • Local `go build ./...` clean
  • Existing daily cron / manual `workflow_dispatch` produces a regen PR at `2.0.0-alpha.1`
  • After regen merges, `speakeasy_sdk_publish.yml` auto-tags `v2.0.0-alpha.1` on RELEASES.md push
  • `go get github.com/conductorone/conductorone-sdk-go/v2@v2.0.0-alpha.1` resolves cleanly via Go module proxy

Follow-ups

🤖 Generated with Claude Code

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`).
@linear
Copy link
Copy Markdown

linear Bot commented Apr 30, 2026

@highb
Copy link
Copy Markdown
Contributor Author

highb commented May 5, 2026

Not doing major release, closing.

@highb highb closed this May 5, 2026
@highb highb deleted the highb/iga-1181-v2-module-path branch May 5, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant