Changelog History
Page 1
-
v1.11.1 Changes
December 05, 2020🚀 Patch release.
📦 This patch reintroduces
pugixml
target for CMake whenfind_package
is used, which was accidentally removed from v1.11.
⏪ It's recommended thatpugixml::pugixml
target is used instead, but this patch restorespugixml
target for existing applications / libraries that depend on it. -
v1.11 Changes
November 26, 2020🚀 Maintenance release.
🚀 Release highlights:
- 🚚 Add xml_node::remove_attributes and xml_node::remove_children
- Add a way to customize floating point precision via xml_attribute::set and xml_text::set overloads
- 📜 XPath parser now limits recursion depth which prevents stack overflow on malicious queries
-
v1.10 Changes
September 16, 2019🚀 Maintenance release.
🚀 Release highlights:
- XPath union operation now is ~2x faster to compute and results in a stable order that doesn't depend on pointer order
- Add format_skip_control_chars formatting flag to skip non-printable ASCII characters
- Add format_attribute_single_quote formatting flag to use single quotes for attribute values
- ➕ Add Visual Studio .natvis files to improve debugging experience
-
v1.9 Changes
April 04, 2018🚀 Maintenance release.
🚀 Release highlights:
- ➕ Added move semantics support for
xml_document
- 📜 XPath parser no longer relies on exceptional control flow/longjmp in absence of exceptions
- xpath_exception is still used to communicate errors when exceptions are enabled
- 🛠 Fix compilation issues for some custom GCC installations
- 🛠 Fix compilation warnings for GCC 7.3/8
- ➕ Added move semantics support for
-
v1.8.1 Changes
November 27, 2016🚀 This is a re-release of v1.8 with fixed timestamps for files in .tar.gz
-
v1.8 Changes
November 24, 2016🚀 Maintenance release.
🚀 Release highlights:
- Added parse_embed_pcdata parsing mode to reduce memory consumption for some documents
- ➕ Added Latin-1 auto-detection support
- 🖨 When printing empty elements, a space is no longer added before / in format_raw mode
- 🛠 Fix compilation issues for Borland C++ 5.4 and some distributions of MinGW 3.8
-
v1.7 Changes
October 19, 2015🚀 Major release, featuring performance and memory improvements along with some new features.
🚀 Release highlights:
- 🐎 Introduced a new compact tree storage mode that takes significantly less memory (2-5x smaller DOM) at some performance cost
- 🆕 New integer parsing/formatting implementation (3-5x faster at getting/setting integers)
- Added
format_indent_attributes
that makes the resulting XML friendlier to line diff/merge tools - 🛠 Fix Clang 3.7 crashes in out-of-memory cases (C++ DR 1748)
-
v1.6 Changes
April 11, 2015🚀 Maintenance release focused on bug fixes.
🚀 Release highlights:
- 🛠 Fixed translate and normalize-space XPath functions to no longer return internal NUL characters
- 🛠 Fixed buffer overrun on malformed comments inside DOCTYPE sections
- 🖨 Attribute/text values now use more digits when printing floating point numbers to guarantee round-tripping.
-
v1.5 Changes
November 23, 2014🚀 Major release focused on performance improvements that also has some new features and compatibility improvements.
🚀 Release highlights:
- Implemented efficient moving of nodes within the same document
- ⚡️ Optimized parsing (10-40% faster with clang/GCC, 10% faster with MSVC)
- ⚡️ Optimized node copying (stackless, shares string contents where possible, up to 3x faster overall)
- ⚡️ Optimized node output (stackless, up to 60% faster)
- ⚡️ Optimized XPath evaluation (XPathMark suite is 100x faster; some commonly used queries are 4x faster)
-
v1.4 Changes
February 28, 2014🚀 Major release, featuring various new features, bug fixes and compatibility improvements.
Specification changes:
- Documents without element nodes are now rejected with status_no_document_element error, unless parse_fragment option is used
🚀 Release highlights:
- 📜 More parsing options (parse_fragment flag to parse XML document fragments, parse_trim_pcdata flag to remove leading/trailing whitespace);
- 👍 Better integer support for attribute and text nodes (long long types and hexadecimal conversion);
- More stack-efficient XPath compilation and evaluation;