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.0.1 - autoclosed #10

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2023

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 - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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 Nov 27, 2023

⚠ 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/magefile/mage v1.15.0
go: downloading github.com/mpalmer/gorm-zerolog v0.1.0
go: downloading github.com/rs/zerolog v1.31.0
go: downloading gorm.io/driver/sqlite v1.5.4
go: downloading gorm.io/gorm v1.25.5
go: downloading github.com/stretchr/testify v1.8.4
go: downloading entgo.io/contrib v0.4.5
go: downloading github.com/99designs/gqlgen v0.17.42
go: downloading github.com/go-chi/chi/v5 v5.0.11
go: downloading github.com/go-chi/render v1.0.3
go: downloading github.com/prometheus/client_golang v1.18.0
go: downloading github.com/spf13/cobra v1.8.0
go: downloading github.com/google/uuid v1.5.0
go: downloading github.com/gookit/validate v1.5.1
go: downloading github.com/spf13/pflag v1.0.5
go: downloading entgo.io/ent v0.12.5
go: downloading github.com/mattn/go-sqlite3 v1.14.19
go: downloading github.com/jackc/pgx/v5 v5.5.1
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/vektah/gqlparser/v2 v2.5.10
go: downloading github.com/segmentio/ksuid v1.0.4
go: downloading github.com/tj/assert v0.0.3
go: downloading github.com/golang-jwt/jwt/v5 v5.2.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/jinzhu/now v1.1.5
go: downloading github.com/vmihailenco/msgpack/v5 v5.0.0-beta.9
go: downloading golang.org/x/exp v0.0.0-20221230185412-738e83a70c30
go: downloading github.com/ajg/form v1.5.1
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading golang.org/x/sys v0.15.0
go: downloading google.golang.org/protobuf v1.31.0
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/gookit/filter v1.2.0
go: downloading github.com/gookit/goutil v0.6.12
go: downloading github.com/sosodev/duration v1.1.0
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading ariga.io/atlas v0.14.1-0.20230918065911-83ad451a4935
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/mattn/go-isatty v0.0.19
go: downloading github.com/jinzhu/inflection v1.0.0
go: downloading golang.org/x/tools v0.9.3
go: downloading github.com/go-openapi/inflect v0.19.0
go: downloading github.com/vmihailenco/tagparser v0.1.2
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/hashicorp/golang-lru/v2 v2.0.3
go: downloading github.com/gorilla/websocket v1.5.0
go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
go: downloading golang.org/x/text v0.13.0
go: downloading github.com/jackc/pgpassfile v1.0.0
go: downloading github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a
go: downloading golang.org/x/crypto v0.9.0
go: downloading github.com/jackc/puddle/v2 v2.2.1
go: downloading github.com/hashicorp/hcl/v2 v2.13.0
go: downloading github.com/zclconf/go-cty v1.8.0
go: downloading github.com/agnivade/levenshtein v1.1.1
go: downloading golang.org/x/sync v0.3.0
go: downloading golang.org/x/mod v0.10.0
go: downloading github.com/agext/levenshtein v1.2.1
go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
go: downloading github.com/mitchellh/go-wordwrap v1.0.0
go: downloading github.com/google/go-cmp v0.5.9
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/posflag v0.1.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: lybbrio/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: lybbrio/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: lybbrio/internal/config imports
	github.com/knadh/koanf/providers/posflag: ambiguous import: found package github.com/knadh/koanf/providers/posflag in multiple modules:
	github.com/knadh/koanf v1.5.0 (/go/pkg/mod/github.com/knadh/[email protected]/providers/posflag)
	github.com/knadh/koanf/providers/posflag v0.1.0 (/go/pkg/mod/github.com/knadh/koanf/providers/[email protected])

@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch 3 times, most recently from a133ba0 to 8424bd7 Compare November 29, 2023 02:26
@renovate renovate bot changed the title Update module github.com/knadh/koanf to v2 fix(deps): update module github.com/knadh/koanf to v2.0.1 Dec 1, 2023
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from 8424bd7 to d4e2e41 Compare January 2, 2024 04:53
@renovate renovate bot requested a review from rtrox as a code owner January 2, 2024 04:53
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch 3 times, most recently from 8bbd4b1 to e59b6e5 Compare January 3, 2024 00:02
@renovate renovate bot force-pushed the renovate/github.com-knadh-koanf-2.x branch from e59b6e5 to f27afe1 Compare January 3, 2024 00:27
@renovate renovate bot changed the title fix(deps): update module github.com/knadh/koanf to v2.0.1 fix(deps): update module github.com/knadh/koanf to v2.0.1 - autoclosed Jan 3, 2024
@renovate renovate bot closed this Jan 3, 2024
@renovate renovate bot deleted the renovate/github.com-knadh-koanf-2.x branch January 3, 2024 01:54
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.

0 participants