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

fix(deps): update module github.com/knadh/koanf to v2 #3

Merged
merged 2 commits into from
Jan 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 14, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/knadh/koanf v1.5.0 -> v2.0.1 age adoption passing confidence

Release Notes

knadh/koanf (github.com/knadh/koanf)

v2.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: knadh/koanf@v2.0.0...v2.0.1

v2.0.0

Compare Source

This is a major breaking change that ends koanf v1 (v1.5.0) and moves to v2. Continued usage of v1 is unaffected. While koanf does not bundle external dependencies into its core thereby avoiding them in the build, a go get would still pull them and go.mod, bringing in unnecessary references as all the providers and parsers were "sub" packages of the main module.

This PR upgrades koanf to v2 and separates every single provider and parser package into its own module, go.mod, and release tag (eg: providers/yaml/v0.1.0). That is, one-repository, many modules. This removes references to all indirect dependencies in the main koanf package significantly de-cluttering it.

What changes?
  • Going forward, koanf references should change to github.com/knadh/koanf/v2.
  • The required parsers and providers should be installed explicitly as they do not come bundled with the main koanf package anymore. Eg: go get github.com/knadh/koanf/providers/s3, go get github.com/knadh/koanf/parsers/json etc.
  • That's all. There is no change in functionality.

Full Changelog: knadh/koanf@v1.5.0...v2.0.0


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Jan 14, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: downloading github.com/gin-gonic/gin v1.9.1
go: downloading github.com/go-playground/validator v9.31.0+incompatible
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/gin-contrib/cors v1.5.0
go: downloading github.com/gin-contrib/requestid v0.0.6
go: downloading github.com/gin-contrib/timeout v0.0.6
go: downloading github.com/swaggo/files v1.0.1
go: downloading github.com/swaggo/gin-swagger v1.6.0
go: downloading go.uber.org/fx v1.20.1
go: downloading go.uber.org/zap v1.26.0
go: downloading github.com/google/go-github/v58 v58.0.0
go: downloading github.com/stretchr/testify v1.8.4
go: downloading github.com/xanzy/go-gitlab v0.96.0
go: downloading github.com/magiconair/properties v1.8.7
go: downloading github.com/go-playground/universal-translator v0.18.1
go: downloading github.com/leodido/go-urn v1.2.4
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/mattn/go-isatty v0.0.19
go: downloading golang.org/x/net v0.16.0
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/swaggo/swag v1.8.12
go: downloading go.uber.org/dig v1.17.0
go: downloading go.uber.org/multierr v1.10.0
go: downloading golang.org/x/sys v0.13.0
go: downloading github.com/google/go-querystring v1.1.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/go-playground/locales v0.14.1
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/hashicorp/go-retryablehttp v0.7.2
go: downloading golang.org/x/oauth2 v0.6.0
go: downloading golang.org/x/time v0.3.0
go: downloading github.com/go-playground/validator/v10 v10.15.5
go: downloading github.com/pelletier/go-toml/v2 v2.1.0
go: downloading github.com/ugorji/go/codec v1.2.11
go: downloading google.golang.org/protobuf v1.31.0
go: downloading github.com/bytedance/sonic v1.10.1
go: downloading github.com/goccy/go-json v0.10.2
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/KyleBanks/depth v1.2.1
go: downloading github.com/go-openapi/spec v0.20.4
go: downloading golang.org/x/tools v0.7.0
go: downloading github.com/gabriel-vasile/mimetype v1.4.2
go: downloading golang.org/x/crypto v0.14.0
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/go-openapi/jsonreference v0.19.6
go: downloading github.com/go-openapi/swag v0.19.15
go: downloading google.golang.org/appengine v1.6.7
go: downloading github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d
go: downloading golang.org/x/arch v0.5.0
go: downloading github.com/PuerkitoBio/purell v1.1.1
go: downloading github.com/mailru/easyjson v0.7.6
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/klauspost/cpuid/v2 v2.2.5
go: downloading github.com/twitchyliquid64/golang-asm v0.15.1
go: downloading github.com/golang/protobuf v1.5.3
go: downloading github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/chenzhuoyu/iasm v0.9.0
go: downloading github.com/knadh/koanf/parsers/yaml v0.1.0
go: downloading github.com/knadh/koanf v1.5.0
go: downloading github.com/knadh/koanf/providers/confmap v0.1.0
go: downloading github.com/knadh/koanf/providers/env v0.1.0
go: downloading github.com/knadh/koanf/providers/file v0.1.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: github.com/thegalactiks/giteway/internal/config imports
	github.com/knadh/koanf/parsers/yaml: ambiguous import: found package github.com/knadh/koanf/parsers/yaml in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/parsers/yaml)
	github.com/knadh/koanf/parsers/yaml v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/parsers/[email protected])
go: github.com/thegalactiks/giteway/internal/config imports
	github.com/knadh/koanf/providers/confmap: ambiguous import: found package github.com/knadh/koanf/providers/confmap in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/providers/confmap)
	github.com/knadh/koanf/providers/confmap v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/[email protected])
go: github.com/thegalactiks/giteway/internal/config imports
	github.com/knadh/koanf/providers/env: ambiguous import: found package github.com/knadh/koanf/providers/env in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/providers/env)
	github.com/knadh/koanf/providers/env v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/[email protected])
go: github.com/thegalactiks/giteway/internal/config imports
	github.com/knadh/koanf/providers/file: ambiguous import: found package github.com/knadh/koanf/providers/file in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/providers/file)
	github.com/knadh/koanf/providers/file v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/[email protected])
go: downloading github.com/fsnotify/fsnotify v1.6.0

@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch 3 times, most recently from 0352861 to f0c4947 Compare January 16, 2024 22:33
@renovate renovate bot requested a review from emmanuelgautier as a code owner January 16, 2024 22:33
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from f0c4947 to aed3354 Compare January 16, 2024 22:51
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from aed3354 to 5ea6af3 Compare January 16, 2024 22:54
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 5ea6af3 to 8bb3895 Compare January 17, 2024 12:30
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 8bb3895 to 8317919 Compare January 17, 2024 20:01
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 8317919 to 43176d0 Compare January 17, 2024 20:09
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch 7 times, most recently from 1ff6600 to 5a42c10 Compare January 20, 2024 17:52
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 5a42c10 to 64ad4ae Compare January 20, 2024 17:55
Copy link
Contributor Author

renovate bot commented Jan 20, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@emmanuelgautier emmanuelgautier merged commit dc01f50 into main Jan 20, 2024
1 check passed
@emmanuelgautier emmanuelgautier deleted the renovate/github.com-knadh-koanf-2.x branch January 20, 2024 18:05
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