Skip to content

Commit eb27eb5

Browse files
committed
Release Notes for 2.2.0.
1 parent eb82212 commit eb27eb5

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

RELEASE_NOTES.txt

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22
CSS4J RELEASE NOTES
33
===================
44

5-
Release 2.1.1 - September 16, 2020
6-
----------------------------------
5+
Release 2.2.0 - October 22, 2020
6+
--------------------------------
77

8-
This release contains several fixes over 2.1.0, and deprecates the class
9-
doc.agent.AgentUtil in preparation for 3.0. Use util.agent.AgentUtil instead.
8+
Release Highlights
9+
------------------
10+
- Previous versions are vulnerable to DoS attacks, and the new protections use
11+
the new CSSDocument.isAuthorizedOrigin(URL) method.
12+
- The method ErrorHandler.hasErrors() now returns true if there are I/O errors.
13+
Those errors were previously considered transient, and therefore weren't
14+
appearing there.
15+
- On attribute nodes, getTextContent() now returns the attribute value instead
16+
of the empty string.
17+
18+
These new behaviors mean that this release is not fully backwards-compatible
19+
with 2.1, so the minor version was bumped to 2.2.
1020

1121

1222
Upgrading from 2.0

0 commit comments

Comments
 (0)