Skip to content

Commit 194919c

Browse files
committed
Release Notes for 2.0.1.
1 parent 0530019 commit 194919c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

RELEASE_NOTES.txt

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

5-
Release 2.0.0 - December 4, 2019
6-
--------------------------------
5+
Release 2.0.1 - March 5, 2020
6+
-----------------------------
77

8-
This new major release features NSAC 2.0 and a new Object Model Value API; it
9-
is not backwards-compatible with 1.0, but the new 2.0 APIs are more appropriate
10-
to deal with modern CSS. Any new development should use the 2.0 API.
8+
This release comes with several small fixes, and support for two new functions
9+
in calc(): abs() and sign(). Several of the issues fixed were found thanks to
10+
the FindBugs[1] static analysis tool.
11+
12+
[1] https://spotbugs.github.io/
13+
14+
15+
Upgrading from 1.0
16+
------------------
17+
The 2.0 branch features NSAC 2.0 and a new Object Model Value API; it is not
18+
backwards-compatible with 1.0, but the new 2.0 APIs are more appropriate to deal
19+
with modern CSS.
1120

1221
NSAC 2.0 no longer inherits from stuff in the org.w3c.css.sac package (provided
1322
by the -not needed anymore- sac.jar file) but is an independent API, with its
@@ -31,16 +40,6 @@ common source interface. But some methods have names similar to the old API to
3140
ease the transition (for example I keep getCssValueType() to retrieve the value
3241
category, instead of a more proper getCategory()).
3342

34-
Another important change is that the source-level compatibility is now for Java
35-
SE version 8 instead of 7. Comments about the new APIs are welcome.
36-
37-
Many 2.0 patches do not apply to 1.0 which makes it difficult to maintain. As a
38-
consequence, the end of life for 1.0 shall happen in March 5, 2020 unless
39-
somebody volunteers for maintaining it (which would probably be a waste of time).
40-
41-
42-
Upgrading from 1.0
43-
------------------
4443
The extended CSS interfaces in 1.0 ('css' and 'nsac' packages) have now adopted
4544
the names of the interfaces that they were extending, due to the fact that they
4645
are no longer an extension but a full fork. This means that if you are using
@@ -69,7 +68,8 @@ RGBColorValue.getRGBColorValue() to access the RGBAColor object).
6968
loads a default User Agent sheet. This backwards-incompatible change may seem
7069
gratuitous, but the old behaviour has shown to be problematic for users.
7170

72-
Finally, be sure that you are able to use Java SE 8 or higher.
71+
Finally, the source-level compatibility is now for Java SE version 8 instead of
72+
7: be sure that you are able to use Java 8 or higher.
7373

7474

7575
Description

0 commit comments

Comments
 (0)