diff --git a/NEWS b/NEWS index 14c297d41..ef5c1be43 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,16 @@ v2.14.0: not released yet The HTML tokenizer now conforms fully to HTML5. Note that HTML5 tree construction isn't implemented yet. +The serialization API will now take user-provided or default encodings +into account when serializing attribute values, matching the +serialization of text and avoiding unnecessary escaping. + +Support for RELAX NG can now be disabled with a new configuration +option independently of XML Schemas support. It is still enabled by +default. + +### New features + Input callbacks can now be set on a parser context and an improved API to create parser input is available. @@ -18,16 +28,16 @@ The xmlSave API now has additional options to replace global settings. Parser options XML_PARSE_UNZIP, XML_PARSE_NO_SYS_CATALOG and XML_PARSE_CATALOG_PI were added. -The serialization API will now take user-provided or default encodings -into account when serializing attribute values, matching the -serialization of text and avoiding unnecessary escaping. - An API function to install a custom character encoding converter is now available. This makes it possible to use ICU for encoding conversion even if libxml2 was complied without ICU support, see example/icu.c. +### Deprecations + Access to many public struct members is now deprecated. Several accessor -functions were added. +functions were added to use instead. + +### Removals Metadata about the HTML4 content model was removed from the htmlElemDesc struct and related functions were deprecated. @@ -35,7 +45,7 @@ struct and related functions were deprecated. The FTP module and related functions were removed. Support for the range and point extensions of the xpointer() scheme -were removed. The rest of the XPointer implementation isn't affected. +was removed. The rest of the XPointer implementation isn't affected. The xpointer() scheme now behaves like the xpath1() scheme. Several legacy functions were removed from the header files. @@ -43,6 +53,17 @@ Several legacy functions were removed from the header files. The shell was moved from libxml2 to xmllint. Several related functions are no longer available. +### Planned removals + +Support for HTTP is planned to be removed in the 2.15 release. + +The following features are considered for removal in the long term: + +- Schematron support +- RELAX NG support +- Support for compressed file I/O +- Legacy Windows build system in win32 + v2.13.0: Jun 12 2024