Skip to content

BUILD/MINOR: upgrade dependency mapstructure to supported fork #122

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

Conversation

dolmen
Copy link
Contributor

@dolmen dolmen commented May 15, 2025

Replace module github.com/mitchellh/mapstructure with github.com/go-viper/mapstructure/v2.

Note: github.com/mitchellh/mapstructure is still referenced in dependencies of go-openapi packages, but this is already being fixed (see go-openapi/strfmt#157 ) and will be released with the next github.com/go-openapi/strfmt release.

Rationale

Module github.com/mitchellh/mapstructure isn't supported anymore and the repository has been archived. Announcement: https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc The blessed fork is at github.com/go-viper/mapstructure/v2.

Replace github.com/mitchellh/mapstructure with github.com/go-viper/mapstructure/v2.

Rationale:

Module github.com/mitchellh/mapstructure isn't supported anymore.
Announcement: https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc
The blessed fork is at github.com/go-viper/mapstructure/v2.

Note: github.com/mitchellh/mapstructure is still referenced in
dependencies of go-openapi packages, but this is already being fixed (see
go-openapi/strfmt#157 ) and will be released
with the next github.com/go-openapi/strfmt.

Signed-off-by: Olivier Mengué <[email protected]>
@mjuraga
Copy link
Collaborator

mjuraga commented May 15, 2025

Thank you for the PR, merging it now.

@mjuraga mjuraga merged commit 23f34c7 into haproxytech:master May 15, 2025
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.

2 participants