css4j v1.1.0
carlosame
released this
22 Oct 19:04
·
13 commits
to 1-stable
since this release
This release backports a few 3.x improvements to the 1.x branch, although users should upgrade to 3.1 or later as soon as possible. When upgrading, please keep in mind that 2 and 3.x releases require Java 8 or higher.
Notable changes:
- Previous versions are vulnerable to DoS attacks, and the new protections use the new
CSSDocument.isAuthorizedOrigin(URL)
method. - The method
ErrorHandler.hasErrors()
now returns true if there are I/O errors. Those errors were previously considered transient, and therefore weren't appearing there. - On attribute nodes,
getTextContent()
now returns the attribute value instead of the empty string.
These new behaviors mean that this release is not fully backwards-compatible with 1.0, so the minor version was bumped to 1.1.