Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 28, 2023

This PR contains the following updates:

Package Change Age Confidence
github.com/pelletier/go-toml/v2 v2.0.6v2.2.4 age confidence

Release Notes

pelletier/go-toml (github.com/pelletier/go-toml/v2)

v2.2.4

Compare Source

Highlight

In this release, @​mikattack removed the last dependency of go-toml! 🎉 (#​981)

What's Changed

Documentation
Other changes

New Contributors

Full Changelog: pelletier/go-toml@v2.2.3...v2.2.4

v2.2.3

Compare Source

What's Changed

What's new
Performance
  • Remove unstable.Parser allocation when creating Decoder by @​mvdan in #​953
Fixed bugs
Documentation
Other changes

New Contributors

Full Changelog: pelletier/go-toml@v2.2.2...v2.2.3

v2.2.2

Compare Source

What's Changed

Fixed bugs
  • Fix race condition when tracking keys that have already been seen by @​sysulq in #​947

New Contributors

Full Changelog: pelletier/go-toml@v2.2.1...v2.2.2

v2.2.1

Compare Source

What's Changed

Fixed bugs

New Contributors

Full Changelog: pelletier/go-toml@v2.2.0...v2.2.1

v2.2.0

Compare Source

What's Changed

What's new
Fixed bugs
Documentation
Other changes

New Contributors

Full Changelog: pelletier/go-toml@v2.1.1...v2.2.0

v2.1.1

Compare Source

What's Changed

Fixed bugs

New Contributors

Full Changelog: pelletier/go-toml@v2.1.0...v2.1.1

v2.1.0

Compare Source

This new minor release brings back the commented struct field tag from go-toml v1. It makes it easier to generate default or example configuration files. For instance:

type TLS struct {
	Cipher  string `toml:"cipher"`
	Version string `toml:"version"`
}
type Config struct {
	Host string `toml:"host" comment:"Host IP to connect to."`
	Port int    `toml:"port" comment:"Port of the remote server."`
	Tls  TLS    `toml:"TLS,commented" comment:"Encryption parameters (optional)"`
}
example := Config{
	Host: "127.0.0.1",
	Port: 4242,
	Tls: TLS{
		Cipher:  "AEAD-AES128-GCM-SHA256",
		Version: "TLS 1.3",
	},
}
out, err := toml.Marshal(example)

generates this TOML document:

### Host IP to connect to.
host = '127.0.0.1'

### Port of the remote server.
port = 4242

### Encryption parameters (optional)
### [TLS]

### cipher = 'AEAD-AES128-GCM-SHA256'
### version = 'TLS 1.3'

This feature was often mentioned as a blocker to upgrading from go-toml v1. Hopefully bringing it back in scope will help folks make the transition!

An other noteworthy improvement is on type mismatch errors. They now include the human-readable context, and include the struct field name of the faulty value if applicable.

Before:

toml: cannot store TOML string into a Go int

After:

1| [server]
2| path = "/my/path"
3| port = "bad"
 |        ~~~~~ cannot decode TOML string into struct field toml_test.Server.Port of type int

What's Changed

What's new
Fixed bugs
Other changes

New Contributors

Full Changelog: pelletier/go-toml@v2.0.9...v2.1.0

v2.0.9

Compare Source

What's Changed

Fixed bugs
Other changes

New Contributors

Full Changelog: pelletier/go-toml@v2.0.8...v2.0.9

v2.0.8

Compare Source

What's Changed

What's new
Fixed bugs
Documentation

New Contributors

Full Changelog: pelletier/go-toml@v2.0.7...v2.0.8

v2.0.7

Compare Source

What's Changed

Fixed bugs
Documentation

New Contributors

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


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from bdf1915 to e94ac0e Compare May 28, 2023 11:29
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.0.7 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.0.8 May 31, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.0.8 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.0.9 Jul 13, 2023
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from e94ac0e to 4b03750 Compare July 13, 2023 16:09
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.0.9 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.1.0 Aug 29, 2023
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 4b03750 to 7f903f3 Compare August 29, 2023 17:34
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 7f903f3 to be91949 Compare December 11, 2023 21:05
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.1.0 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.1.1 Dec 11, 2023
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.1.1 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.0 Mar 19, 2024
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from be91949 to 334c4d0 Compare March 19, 2024 21:14
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.0 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.1 Apr 12, 2024
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 334c4d0 to 5f8b96c Compare April 12, 2024 16:31
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 5f8b96c to 5a529ca Compare May 1, 2024 16:51
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.1 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.2 May 1, 2024
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 5a529ca to 5db4ee7 Compare August 23, 2024 19:00
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.2 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 Aug 23, 2024
@renovate
Copy link
Contributor Author

renovate bot commented Aug 23, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.18 -> 1.21.0

@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 5db4ee7 to 848f5ca Compare September 11, 2024 14:44
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 848f5ca to 9385240 Compare November 17, 2024 16:35
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 9385240 to 4748ae9 Compare December 22, 2024 09:25
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 4748ae9 to c5d3c22 Compare March 3, 2025 12:18
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from c5d3c22 to 5001978 Compare March 11, 2025 10:35
@renovate renovate bot changed the title fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.4 Apr 7, 2025
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 5001978 to 7fc452d Compare April 7, 2025 18:47
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 7fc452d to 0d5a001 Compare May 7, 2025 12:50
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 0d5a001 to 49af47e Compare August 10, 2025 14:05
@renovate renovate bot force-pushed the renovate/github.com-pelletier-go-toml-v2-2.x branch from 49af47e to 41c4d2c Compare October 9, 2025 09:50
@renovate
Copy link
Contributor Author

renovate bot commented Dec 15, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.18 -> 1.21.0

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