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

Update Masterminds/sprig dependency to fix CamelCase to snake_case conversion bug in xstrings #528

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jpihl
Copy link

@jpihl jpihl commented Mar 1, 2024

What is Changing?

I propose updating the Masterminds/sprig dependency to address a bug where text with numbers would not be correctly converted from CamelCase to snake_case. This bug is located in the version of huandu/xstrings library used by the current version of Masterminds/sprig.

How is it Changing?

The version of sprig will be updated from v2.15.0 to version v2.22.0, which in turn will update xstrings from v1.0.0 to v1.4.0.

The update was done by executing the following commands:

go get -u github.com/Masterminds/sprig
go mod tidy -go=1.16 && go mod tidy -go=1.17

What Could Go Wrong?

The changes have been tested locally to ensure compatibility and correctness. The risk of merging these changes is minimal, as it primarily involves updating a dependency to fix a specific issue.

@pseudomuto

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.

None yet

1 participant