Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking change in a Patch version v3.2.1 -> v3.2.2 #409

Open
Skarlso opened this issue Aug 19, 2024 · 1 comment
Open

Breaking change in a Patch version v3.2.1 -> v3.2.2 #409

Skarlso opened this issue Aug 19, 2024 · 1 comment

Comments

@Skarlso
Copy link

Skarlso commented Aug 19, 2024

alibabacloud-go/kms-20160120@0801a4a#diff-bd3a55a72186f59e2e63efb4951573b2f9e4a7cc98086e922b0859f8ccc1dd09R9236

-	VersionStages *GetSecretValueResponseBodyVersionStages `json:"VersionStages,omitempty" xml:"VersionStages,omitempty" type:"Struct"`
+	VersionStages []*string `json:"VersionStages,omitempty" xml:"VersionStages,omitempty" type:"Repeated"`

Please be more careful with your version releases.

-	github.com/alibabacloud-go/kms-20160120/v3 v3.2.1
+	github.com/alibabacloud-go/kms-20160120/v3 v3.2.2
@Skarlso Skarlso changed the title Breaking change in a Patch version Breaking change in a Patch version v3.2.1 -> v3.2.2 Aug 19, 2024
@akayj
Copy link

akayj commented Aug 24, 2024

SAME!

upgrading to v3.2.2, my code breaks. debug it found that VersionStages is a map not a list,
panic with this:
client.GetSecretValueResponse.Body: client.GetSecretValueResponseBody.VersionStages: []*string: decode slice: expect [ or n, but found {, error found in #10 byte of ...|nStages":{"VersionSt|..., bigger context ...|Generic","VersionId":"v20240716","VersionStages":{"VersionStage":["ACSCurrent"]}},"headers":{"connec|...

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

No branches or pull requests

2 participants