|
2 | 2 | CSS4J RELEASE NOTES |
3 | 3 | =================== |
4 | 4 |
|
5 | | -Release 1.0.9 - October 11, 2020 [This release is EOL and not formally supported] |
6 | | ---------------------------------------------------------------------------------- |
| 5 | +Release 1.1.0 - October 22, 2020 |
| 6 | +-------------------------------- |
7 | 7 |
|
8 | 8 | Release Highlights |
9 | 9 | ------------------ |
10 | 10 | This release backports a few 3.x improvements to the 1.x branch, although users |
11 | | -should upgrade to 2.1 or later as soon as possible (1.x is not formally |
12 | | -maintained anymore). When upgrading, please keep in mind that 2 and 3.x releases |
13 | | -require Java 8 or higher. |
| 11 | +should upgrade to 3.1 or later as soon as possible. When upgrading, please keep |
| 12 | +in mind that 2 and 3.x releases require Java 8 or higher. |
| 13 | + |
| 14 | + Notable changes: |
| 15 | + |
| 16 | + - Previous versions are vulnerable to DoS attacks, and the new protections use |
| 17 | + the new CSSDocument.isAuthorizedOrigin(URL) method. |
| 18 | + - The method ErrorHandler.hasErrors() now returns true if there are I/O errors. |
| 19 | + Those errors were previously considered transient, and therefore weren't |
| 20 | + appearing there. |
| 21 | + - On attribute nodes, getTextContent() now returns the attribute value instead |
| 22 | + of the empty string. |
| 23 | + |
| 24 | + These new behaviors mean that this release is not fully backwards-compatible |
| 25 | +with 1.0, so the minor version was bumped to 1.1. |
14 | 26 |
|
15 | 27 |
|
16 | 28 | BUGS |
17 | 29 | ---- |
18 | 30 | The 1.x branch has known bugs, and most of them are considered as too difficult |
19 | 31 | to fix with the 1.x API. If you keep using 1.x instead of the latest version |
20 | | -(currently 2.1), you acknowledge that the 1.x software has more bugs, is less |
| 32 | +(currently 3.1), you acknowledge that the 1.x software has more bugs, is less |
21 | 33 | compliant with the specifications and has less protection against security |
22 | 34 | vulnerabilities. |
23 | 35 |
|
|
0 commit comments