Skip to content

chore(deps): upgrade gitlab client-go to v2.34.0#317

Merged
henrysachs merged 2 commits into
crossplane-contrib:masterfrom
BoxBoxJason:deps/upgrade-gitlab-sdk
Jun 2, 2026
Merged

chore(deps): upgrade gitlab client-go to v2.34.0#317
henrysachs merged 2 commits into
crossplane-contrib:masterfrom
BoxBoxJason:deps/upgrade-gitlab-sdk

Conversation

@BoxBoxJason

@BoxBoxJason BoxBoxJason commented May 28, 2026

Copy link
Copy Markdown
Contributor

Description of your changes

This PR upgrades the gitlab client-go sdk to v2.34.0.

This is a major version upgrade, luckily, there was no major impact on this SDK, unlike the migration from v0 to v1.
There are two instances of the same deprecation that appeared, I marked them with a comment: // deprecated but still needed for backward compatibility

There were a few functions signature that changed to pass pointers instead of raw types. Those were fully migrated.

Closes #316

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

I did not test the provider against all resources, as this would be too difficult, but I ran it properly against my cluster, it works as is.

@henrysachs

Copy link
Copy Markdown
Collaborator

spec.forProvider.sentryEnabled is a breaking in-place API/CRD type change from string to boolean

but i'm okay with breaking it for compatibility with the library itself. Would you be so kind and resolve the MR Conflicts so i can merge this? @BoxBoxJason

Signed-off-by: BoxBoxJason <contact@boxboxjason.dev>
Signed-off-by: BoxBoxJason <contact@boxboxjason.dev>
@BoxBoxJason BoxBoxJason force-pushed the deps/upgrade-gitlab-sdk branch from ef60866 to 6bf473d Compare June 1, 2026 19:15
@BoxBoxJason

Copy link
Copy Markdown
Contributor Author

Hey there @henrysachs !

I just performed the rebase.

I even think this change is positive, that meant the field SentryEnabled was NOT reconciled, it will now be drift detected during observation (at the cost of a breaking change). Also the users can now use regular boolean values instead of stringified ones.

@henrysachs

Copy link
Copy Markdown
Collaborator

@BoxBoxJason thank you so much! Great work as always. Keep it up 🎉

@henrysachs henrysachs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@henrysachs henrysachs merged commit 73517e0 into crossplane-contrib:master Jun 2, 2026
8 checks passed
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.

Upgrade gitlab client-go to v2(.34.0)

2 participants