Preparing release

This commit is contained in:
Mike Farah 2022-11-28 08:34:58 +11:00
parent 1617e5de19
commit f9a8ba91e4
2 changed files with 10 additions and 4 deletions

View File

@ -235,13 +235,13 @@ func guessTagFromCustomType(node *yaml.Node) string {
if strings.HasPrefix(node.Tag, "!!") { if strings.HasPrefix(node.Tag, "!!") {
return node.Tag return node.Tag
} else if node.Value == "" { } else if node.Value == "" {
log.Warning("node has no value to guess the type with") log.Debug("guessTagFromCustomType: node has no value to guess the type with")
return node.Tag return node.Tag
} }
dataBucket, errorReading := parseSnippet(node.Value) dataBucket, errorReading := parseSnippet(node.Value)
if errorReading != nil { if errorReading != nil {
log.Warning("could not guess underlying tag type %v", errorReading) log.Debug("guessTagFromCustomType: could not guess underlying tag type %v", errorReading)
return node.Tag return node.Tag
} }
guessedTag := unwrapDoc(dataBucket).Tag guessedTag := unwrapDoc(dataBucket).Tag

View File

@ -1,6 +1,12 @@
4.30.5: 4.30.5:
- Fixed - XML Decoder: Comment parsing tweak
- Special thanks to Kopfbremse for finding all the bugs - XML Decoder: Fixed processing comments in empty XML #1446
- XML Decoder: Checking for invalid content outside of a root node #1448
- XML Decoder: Fixed issue where content surrounding tags are lost #1447
- XML Decoder: Fixed xml decode bug when there is content after a comment
- Fixed loading yaml with header issue #1445
- guessTagFromCustomType warning log is now a debug.
- Special thanks to @Kopfbremse for reporting XML issues!
4.30.4: 4.30.4:
- Fixed bug in automated versioning (snap/brew) - Fixed bug in automated versioning (snap/brew)