Opened 15 months ago
Closed 15 months ago
#18880 closed enhancement (fixed)
libxml2-2.12.0
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.1 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
New minor version.
Change History (3)
comment:1 by , 15 months ago
comment:2 by , 15 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 15 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commits
d80235bfa4 Update to libksba-1.6.5. 3636c57e46 Update to pipewire-0.3.85. 0c73385b78 Update to libxml2-2.12.0.
Note:
See TracTickets
for help on using tickets.
libxml2 2.12.0
Major changes
Most of the known issues leading to quadratic behavior in the XML parser were fixed. Internal hash tables were rewritten to reduce memory consumption.
Starting with this release, it should be enough to add the --with-legacy configuration option to provide maximum ABI compatibility. For example, if a code module was removed from the default configuration, the option will add stubs for the removed symbols.
libxml2 will now store global variables in thread-local storage if supported by the compiler. This avoids allocating the data lazily which can result in a fatal error condition. A new API function xmlCheckThreadLocalStorage was added so the allocation can be checked earlier if compiler TLS is not supported. To prepare for future improvements, some API functions now expect or return a const xmlError struct.
Several cyclic dependencies in public header files were fixed. As a result, certain headers won't include other headers as before.
Refactoring of the encoding code has been mostly completed. Calling xmlSwitchEncoding from client code is now fully supported, for example to override the encoding for the push parser.
When parsing data from memory, libxml2 will now stream data chunk by chunk instead of copying the whole buffer (possibly twice with encodings), reducing peak memory consumption considerably.
A new API function xmlCtxtSetMaxAmplification was added to allow parsing of files that would otherwise trigger the billion laughs protection. Several bugs in the regex determinism checks were fixed. Invalid XML Schemas which previous versions erroneously accepted will now be rejected.
Deprecations
Bug fixes
Improvements
Portability
Build systems
Tests
Documentation