NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #1182 by repository stars
Latest stable
v1.8.1
Last release 1 months ago
23 Sep 2026
Release timing varies
gaps range from 1 weeks to 11 months
Nearly every release is documented
notes for 18 of 18 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
149 releases · first in 2013
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
The InsertChild method is deprecated. Use InsertChildAt instead.
New Features
Element.SortAttrs method, which lexicographically sorts an element's attributes by key.ReadSettings properties.
Entity for the support of custom entity maps.WriteSettings properties.
UseCRLF to allow the output of CR-LF newlines instead of the default LF newlines. This is useful on Windows systems.Element.Text method now returns the concatenation of all consecutive character data tokens immediately following an element's opening tag.Element.SetCData to replace the character data immediately following an element's opening tag with a CDATA section.Element.CreateCData to create and add a CDATA section child CharData token to an element.Element.CreateText to create and add a child text CharData token to an element.NewCData to create a parentless CDATA section CharData token.NewText to create a parentless text CharData token.CharData.IsCData to detect if the token contains a CDATA section.CharData.IsWhitespace to detect if the token contains whitespace inserted by one of the document Indent functions.Element.SetText so that it replaces a run of consecutive character data tokens following the element's opening tag (instead of just the first one).Element.Tail method, which returns the text immediately following an element's closing tag.Element.SetTail method, which modifies the text immediately following an element's closing tag.Element.InsertChildAt method, which inserts a new child token before the specified child token index.Element.RemoveChildAt method, which removes the child token at the specified child token index.Element.Index method, which returns the element's index within its parent element's child token list.Element.NamespaceURI method to return the namespace URI associated with an element.Attr.NamespaceURI method to return the namespace URI associated with an element.Attr.Element method to return the element that an attribute belongs to.[local-name()='val'] to keep elements whose unprefixed tag matches the desired value.[name()='val'] to keep elements whose full tag matches the desired value.[namespace-prefix()='val'] to keep elements whose namespace prefix matches the desired value.[namespace-uri()='val'] to keep elements whose namespace URI matches the desired value.Bug Fixes
CharSetReader is now used to prevent failed parsing of XML documents using certain encodings. (Issue).Document.Indent and Document.IndentTabs functions no longer insert empty string CharData tokens.Deprecated
Element
InsertChild method is deprecated. Use InsertChildAt instead.CreateCharData method is deprecated. Use CreateText instead.CharData
NewCharData method is deprecated. Use NewText instead.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
[edit 2/1/2019]: Minor releases should not contain breaking changes. Even though this breaking change was very minor, it was a mistake to include it i…
Changes
/ or // and begins a search from the element's document root.GetPath and GetRelativePath functions to the Element type.Breaking changes
// is now interpreted as an absolute path. Previously, it was interpreted as a relative path starting from the element whose FindElement method was called. To remain compatible with this release, all paths prefixed with // should be prefixed with .// when used with any element other than the document's root.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
The etree package is a lightweight, pure go package that expresses XML in the form of an element tree. Its design was inspired by the Python ElementTr
The etree package is a lightweight, pure go package that expresses XML in the form of an element tree. Its design was inspired by the Python ElementTree module. Some of the package's features include:
This is the first official release of etree, a go package that has been around for some time but until now has not played well with go vendoring solutions.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.