Skip to content

Set the proper version in the provider.#456

Merged
ringods merged 1 commit intomainfrom
fix-version-in-sdks
Oct 21, 2025
Merged

Set the proper version in the provider.#456
ringods merged 1 commit intomainfrom
fix-version-in-sdks

Conversation

@ringods
Copy link
Member

@ringods ringods commented Oct 21, 2025

  • The Version property needed to be set in provider/resources.go to have it populated in the SDK package descriptors.
  • The majorversion in past resource types within bridge-metadata.json needed to be bumped to 1 ahead of SDK generation. Without it, the old names were dropped from the SDK which is not what I wanted yet.

@github-actions
Copy link
Contributor

Does the PR have any schema changes?

Found 14 breaking changes:

Resources

  • "scaleway:databases/instance:Instance":
    • 🟡 inputs: "loadBalancers" missing
    • 🟡 properties: "loadBalancers" missing output "loadBalancers"
  • "scaleway:index/databaseInstance:DatabaseInstance":
    • 🟡 inputs: "loadBalancers" missing
    • 🟡 properties: "loadBalancers" missing output "loadBalancers"
  • "scaleway:index/instanceImage:InstanceImage":
    • 🟡 inputs: "additionalVolumeIds" type changed from "string" to "array":
      • 🟡 items had no type but now has &{Type:string Ref: AdditionalProperties: Items: OneOf:[] Discriminator: Plain:false}
    • 🟡 properties: "additionalVolumeIds" type changed from "string" to "array":
      • 🟡 items had no type but now has &{Type:string Ref: AdditionalProperties: Items: OneOf:[] Discriminator: Plain:false}
  • "scaleway:instance/image:Image":
    • 🟡 inputs: "additionalVolumeIds" type changed from "string" to "array":
      • 🟡 items had no type but now has &{Type:string Ref: AdditionalProperties: Items: OneOf:[] Discriminator: Plain:false}
    • 🟡 properties: "additionalVolumeIds" type changed from "string" to "array":
      • 🟡 items had no type but now has &{Type:string Ref: AdditionalProperties: Items: OneOf:[] Discriminator: Plain:false}

Types

  • 🟡 "scaleway:index/LoadbalancerPrivateNetwork:LoadbalancerPrivateNetwork": properties: "staticConfig" missing
  • 🟡 "scaleway:loadbalancers/LoadBalancerPrivateNetwork:LoadBalancerPrivateNetwork": properties: "staticConfig" missing
    No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

@ringods ringods merged commit e8e51b0 into main Oct 21, 2025
17 checks passed
@ringods ringods deleted the fix-version-in-sdks branch October 21, 2025 18:47
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