pugixml Changelog

What's new in pugixml 1.14

Oct 2, 2023
  • Release highlights:
  • xml_attribute::set_name and xml_node::set_name now have overloads that accept pointer to non-null-terminated string and size
  • Implement parse_merge_pcdata parsing mode in which PCDATA contents is merged into a single node when original document had comments that were skipped during parsing
  • Fix PUGIXML_STATIC_CRT CMake option

New in pugixml 1.13 (Sep 23, 2023)

  • Maintenance release. Changes:
  • Improvements:
  • xml_attribute::set_value, xml_node::set_value and xml_text::set now have overloads that accept pointer to non-null-terminated string and size
  • Improve performance of tree traversal when using compact mode (PUGIXML_COMPACT)
  • Bug fixes:
  • Fix error handling in xml_document::save_file that could result in the function succeeding while running out of disk space
  • Fix memory leak during error handling of some out-of-memory conditions during xml_document::load
  • Compatibility improvements:
  • Fix exported symbols in CMake DLL builds when using CMake
  • Fix exported symbols in CMake shared object builds when using -fvisibility=hidden