Skip to content

Bump API models to version v6.10.62 (consolidated)#454

Open
fhacloid wants to merge 3 commits into
developfrom
cli-update
Open

Bump API models to version v6.10.62 (consolidated)#454
fhacloid wants to merge 3 commits into
developfrom
cli-update

Conversation

@fhacloid

@fhacloid fhacloid commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Consolidates PRs #446, #447, #450, #453 in version order with CLI adaptations.

What changed

v6.10.24 (PR #447)

  • FormEntity: new optional condition field (read-only for CLI, no action needed)
  • NewEnvironment.Type: *string required → string omitempty — API now auto-detects env type from canonical keywords; field is no longer mandatory

v6.10.62 (PR #453, supersedes #450)

  • Mass model regeneration: go-openapi/swag split into multi-module at v0.26.0; all models now import swag/jsonutils and swag/typeutils subpackages

CLI adaptations (on top of generated code)

File Change
cmd/cycloid/environments/utils.go Unwrap ptr.Ptr() on NewEnvironment.Type (×2)
internal/testcfg/config.go Same
pkg/testcfg/config.go Same
go.mod / go.sum Add go-openapi/swag/conv, swag/jsonutils, swag/typeutils v0.26.0

PRs superseded

Cycloid and others added 3 commits June 4, 2026 22:34
- NewEnvironment.Type changed from *string (required) to string (omitempty)
  in v6.10.24; unwrap ptr.Ptr() in environments/utils.go and both testcfg
  packages
- v6.10.62 model regen uses go-openapi/swag v0.26 multi-module split
  (swag/jsonutils, swag/typeutils, swag/conv); add them to go.mod/go.sum

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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