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 module github.com/pelletier/go-toml to v2 #685

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 26, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/pelletier/go-toml require major v1.9.5 -> v2.0.6

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

pelletier/go-toml

v2.0.6

Compare Source

What's Changed

What's new
Performance
Other changes

New Contributors

Full Changelog: pelletier/go-toml@v2.0.5...v2.0.6

v2.0.5

Compare Source

What's Changed

Fixed bugs

Full Changelog: pelletier/go-toml@v2.0.4...v2.0.5

v2.0.4

Compare Source

This version has compatibility issues with Go <= 1.17. Though go-toml doesn't officially support Go less than 2 versions old, a new version has been released with a backward-compatible fix: https://github.com/pelletier/go-toml/releases/tag/v2.0.5.

What's Changed

Fixed bugs

New Contributors

Full Changelog: pelletier/go-toml@v2.0.3...v2.0.4

v2.0.3

Compare Source

What's Changed

Fixed bugs
Other changes

Full Changelog: pelletier/go-toml@v2.0.2...v2.0.3

v2.0.2

Compare Source

What's Changed

Fixed bugs
Other changes

Full Changelog: pelletier/go-toml@v2.0.1...v2.0.2

v2.0.1

Compare Source

What's Changed

Fixed bugs
Documentation

New Contributors

Full Changelog: pelletier/go-toml@v2.0.0...v2.0.1

v2.0.0

Compare Source

It is finally here! go-toml v2 is now stable. 🎉

Only just over one year after I started working on it. This version of go-toml has been rebuilt from the ground up. It respects the latest TOML specification. Countless bugs have been fixed. It behaves more like the standard library. And it is much faster. Special attention was given to keeping the public API to a minimum. Continuing the strict policy of backward compatibility, the next breaking change will be in another 5 years!

Thank you to everybody who contributed to this new version, as well as folks willing to try out the intermediate beta versions. Shout out to @​moorereason for reporting many issues during the development process using differential fuzzing, as well as @​bep for running a beta on the popular Hugo project!

There is still some work that could be done to improve the performance of the library (https://github.com/pelletier/go-toml/pull/758 and https://github.com/pelletier/go-toml/pull/669 for instance). But I am confident that the library is in a good-enough place at the moment for folks to reap the benefits of the rewrite. The major feature removal is the sort-of-AST that v1 provided. It allowed manipulating an arbitrary document and writing it back out. This was done to cut down the scope of the project, removing a feature that had unclear use-cases. The v2 parser creates some intermediate AST so that if somebody is up to design a Document API the tools should be available to do so. Please reach out if you are interested!

The readme contains a list of differences between v1 and v2 to be aware of when upgrading. Please report any issue you may have with the new version in the bug tracker 🐞, provide feedback, and ask questions in Discussions 💬.
With this release, go-toml v1 will not be receiving any updates. This is required to keep maintenance of the project to a minimum.

Hopefully, this change doesn't break your thing!


Full commit log: pelletier/go-toml@c9a09d8...v2

Thank you contributors: @​pelletier @​oschwald @​moorereason @​xwjdsh @​kkHAIKE @​RiyaJohn @​jidicula @​zostay @​mmorel-35.


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), 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.

@renovate
Copy link
Contributor Author

renovate bot commented Dec 26, 2022

⚠ 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: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/mnt/renovate/gh/ampproject/amppackager":"/mnt/renovate/gh/ampproject/amppackager" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/containerbase":"/tmp/containerbase" -e GOPATH -e GOPROXY -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/mnt/renovate/gh/ampproject/amppackager" docker.io/renovate/sidecar bash -l -c "install-tool golang 1.19.5 && go get -d -t ./... && go install github.com/marwan-at-work/mod/cmd/mod@latest && mod upgrade --mod-name=github.com/pelletier/go-toml -t=2 && go mod tidy && go mod vendor && go mod tidy && go mod tidy"
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/prometheus/client_golang v1.14.0
go: downloading github.com/prometheus/common v0.39.0
go: downloading golang.org/x/crypto v0.5.0
go: downloading github.com/WICG/webpackage v0.0.0-20220530033255-ba99f6be9166
go: downloading google.golang.org/grpc v1.52.3
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/stretchr/testify v1.8.1
go: downloading github.com/gofrs/flock v0.8.1
go: downloading github.com/pquerna/cachecontrol v0.1.0
go: downloading github.com/twifkak/crypto v0.0.0-20210326012946-1fce8924335d
go: downloading github.com/go-acme/lego/v4 v4.9.1
go: downloading gopkg.in/square/go-jose.v2 v2.6.0
go: downloading github.com/pelletier/go-toml v1.8.1
go: downloading golang.org/x/net v0.5.0
go: downloading github.com/google/go-cmp v0.5.9
go: downloading github.com/kylelemons/godebug v1.1.0
go: downloading github.com/ampproject/amphtml v0.0.0-20230126190056-a6ea9dbc37fe
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.1.2
go: downloading github.com/prometheus/client_model v0.3.0
go: downloading github.com/prometheus/procfs v0.8.0
go: downloading golang.org/x/sys v0.4.0
go: downloading google.golang.org/protobuf v1.28.1
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/stretchr/objx v0.5.0
go: downloading golang.org/x/text v0.6.0
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6
go: downloading github.com/cenkalti/backoff/v4 v4.1.3
go: downloading github.com/miekg/dns v1.1.50
go: downloading github.com/cpu/goacmedns v0.1.1
go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1755
go: downloading github.com/nrdcg/auroradns v1.1.0
go: downloading github.com/Azure/azure-sdk-for-go v32.4.0+incompatible
go: downloading github.com/Azure/go-autorest/autorest v0.11.24
go: downloading github.com/Azure/go-autorest v14.2.0+incompatible
go: downloading github.com/Azure/go-autorest/autorest/azure/auth v0.5.11
go: downloading github.com/Azure/go-autorest/autorest/to v0.4.0
go: downloading github.com/labbsr0x/bindman-dns-webhook v1.0.2
go: downloading github.com/civo/civogo v0.3.11
go: downloading github.com/cloudflare/cloudflare-go v0.49.0
go: downloading github.com/nrdcg/desec v0.6.0
go: downloading github.com/gophercloud/gophercloud v1.0.0
go: downloading github.com/gophercloud/utils v0.0.0-20210216074907-f6de111f2eae
go: downloading github.com/dnsimple/dnsimple-go v0.71.1
go: downloading golang.org/x/oauth2 v0.3.0
go: downloading github.com/nrdcg/dnspod-go v0.4.0
go: downloading github.com/akamai/AkamaiOPEN-edgegrid-golang v1.2.1
go: downloading github.com/exoscale/egoscale v0.90.0
go: downloading github.com/nrdcg/freemyip v0.2.0
go: downloading cloud.google.com/go/compute/metadata v0.2.1
go: downloading cloud.google.com/go/compute v1.12.1
go: downloading google.golang.org/api v0.100.0
go: downloading github.com/softlayer/softlayer-go v1.0.6
go: downloading github.com/iij/doapi v0.0.0-20190504054126-0bbf12d6d7df
go: downloading github.com/mimuret/golang-iij-dpf v0.7.1
go: downloading github.com/infobloxopen/infoblox-go-client v1.1.1
go: downloading github.com/nrdcg/goinwx v0.8.1
go: downloading github.com/pquerna/otp v1.3.0
go: downloading github.com/aws/aws-sdk-go v1.39.0
go: downloading github.com/linode/linodego v1.9.1
go: downloading github.com/liquidweb/liquidweb-go v1.6.3
go: downloading github.com/namedotcom/go v0.0.0-20180403034216-08470befbe04
go: downloading github.com/nrdcg/namesilo v0.2.1
go: downloading gopkg.in/ns1/ns1-go.v2 v2.6.5
go: downloading github.com/oracle/oci-go-sdk v24.3.0+incompatible
go: downloading github.com/ovh/go-ovh v1.1.0
go: downloading github.com/nrdcg/porkbun v0.1.1
go: downloading github.com/sacloud/api-client-go v0.2.1
go: downloading github.com/sacloud/iaas-api-go v1.3.2
go: downloading github.com/scaleway/scaleway-sdk-go v1.0.0-beta.9
go: downloading github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.490
go: downloading github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/dnspod v1.0.490
go: downloading github.com/transip/gotransip/v6 v6.17.0
go: downloading github.com/OpenDNS/vegadns2client v0.0.0-20180418235048-a3fa4a771d87
go: downloading github.com/vinyldns/go-vinyldns v0.9.16
go: downloading github.com/vultr/govultr/v2 v2.17.2
go: downloading github.com/yandex-cloud/go-genproto v0.0.0-20220805142335-27b56ddae16f
go: downloading github.com/yandex-cloud/go-sdk v0.0.0-20220805164847-cf028e604997
go: downloading golang.org/x/tools v0.1.12
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/Azure/go-autorest/autorest/validation v0.3.1
go: downloading github.com/Azure/go-autorest/tracing v0.6.0
go: downloading github.com/Azure/go-autorest/autorest/adal v0.9.18
go: downloading github.com/Azure/go-autorest/logger v0.2.1
go: downloading github.com/Azure/go-autorest/autorest/azure/cli v0.4.5
go: downloading github.com/dimchansky/utfbom v1.1.1
go: downloading github.com/labbsr0x/goh v1.0.1
go: downloading github.com/google/go-querystring v1.1.0
go: downloading github.com/hashicorp/go-retryablehttp v0.7.1
go: downloading golang.org/x/time v0.0.0-20220224211638-0e9765cccd65
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/patrickmn/go-cache v2.1.0+incompatible
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading gopkg.in/ini.v1 v1.66.6
go: downloading google.golang.org/appengine v1.6.7
go: downloading github.com/softlayer/xmlrpc v0.0.0-20200409220501-5f089df7cb7e
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/fatih/structs v1.1.0
go: downloading github.com/kolo/xmlrpc v0.0.0-20200310150728-e0350524596b
go: downloading github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48
go: downloading github.com/liquidweb/go-lwApi v0.0.5
go: downloading github.com/sacloud/go-http v0.1.2
go: downloading github.com/sacloud/packages-go v0.0.5
go: downloading github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9
go: downloading github.com/golang-jwt/jwt/v4 v4.2.0
go: downloading github.com/ghodss/yaml v1.0.0
go: downloading github.com/jmespath/go-jmespath v0.4.0
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/Azure/go-autorest/autorest/date v0.3.0
go: downloading github.com/go-errors/errors v1.0.1
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/deepmap/oapi-codegen v1.9.1
go: downloading github.com/googleapis/gax-go/v2 v2.6.0
go: downloading go.opencensus.io v0.23.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc
go: downloading github.com/liquidweb/liquidweb-cli v0.6.9
go: downloading go.uber.org/ratelimit v0.2.0
go: downloading github.com/fsnotify/fsnotify v1.5.4
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.2.0
go: downloading github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/spf13/cast v1.3.1
go: downloading github.com/k0kubun/go-ansi v0.0.0-20180517002512-3bf9e2903213
go: downloading github.com/mattn/go-isatty v0.0.16
go: module github.com/golang/protobuf is deprecated: Use the "google.golang.org/protobuf" module instead.
go: downloading github.com/marwan-at-work/mod v0.4.3
go: downloading github.com/urfave/cli/v2 v2.3.0
go: downloading github.com/PuerkitoBio/goquery v1.5.1
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
go: downloading golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f
go: downloading github.com/andybalholm/cascadia v1.1.0
go: downloading golang.org/x/net v0.0.0-20220722155237-a158d28d115b
go: downloading github.com/google/go-querystring v0.0.0-20170111101155-53e6ce116135
go: downloading github.com/russross/blackfriday/v2 v2.0.1
go: downloading github.com/shurcooL/sanitized_anchor_name v1.0.0
could not load package: err: exit status 1: stderr: go: inconsistent vendoring in /mnt/renovate/gh/ampproject/amppackager:
	github.com/pelletier/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/pelletier/go-toml/[email protected]: is explicitly required in go.mod, but not marked as explicit in vendor/modules.txt
	github.com/pelletier/[email protected]: is marked as explicit in vendor/modules.txt, but not explicitly required in go.mod

	To ignore the vendor directory, use -mod=readonly or -mod=mod.
	To sync the vendor directory, run:
		go mod vendor


@renovate renovate bot changed the title Update module github.com/pelletier/go-toml to v2 Update module github.com/pelletier/go-toml to v2 - autoclosed Jan 9, 2023
@renovate renovate bot closed this Jan 9, 2023
@renovate renovate bot deleted the renovate/major-golang-dependencies branch January 9, 2023 22:19
@renovate renovate bot changed the title Update module github.com/pelletier/go-toml to v2 - autoclosed Update module github.com/pelletier/go-toml to v2 Jan 10, 2023
@renovate renovate bot reopened this Jan 10, 2023
@renovate renovate bot restored the renovate/major-golang-dependencies branch January 10, 2023 02:43
@renovate renovate bot changed the title Update module github.com/pelletier/go-toml to v2 Update module github.com/pelletier/go-toml to v2 - autoclosed Jan 10, 2023
@renovate renovate bot closed this Jan 10, 2023
@renovate renovate bot deleted the renovate/major-golang-dependencies branch January 10, 2023 23:24
@renovate renovate bot changed the title Update module github.com/pelletier/go-toml to v2 - autoclosed Update module github.com/pelletier/go-toml to v2 Jan 17, 2023
@renovate renovate bot restored the renovate/major-golang-dependencies branch January 17, 2023 21:54
@renovate renovate bot reopened this Jan 17, 2023
@renovate renovate bot force-pushed the renovate/major-golang-dependencies branch from 85a3231 to 66b1765 Compare January 18, 2023 03:13
@renovate renovate bot force-pushed the renovate/major-golang-dependencies branch from 66b1765 to 98d0ec9 Compare January 30, 2023 18:02
@banaag banaag closed this Jan 31, 2023
@banaag
Copy link
Collaborator

banaag commented Jan 31, 2023

This was overridden by #686

@renovate
Copy link
Contributor Author

renovate bot commented Jan 31, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/major-golang-dependencies branch January 31, 2023 19:41
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