[ANNOUNCEMENT] CSS4J 2.1.0

3 views
Skip to first unread message

admin

unread,
Aug 15, 2020, 3:27:26 PM8/15/20
to css4j
A new css4j release, 2.1.0, is available from the usual download sites, see:


Version 2.1.0 is the result of several months of work (it is the first code release from the master branch since March 5), although most fixes have been already made available to the -stable branches (like the resource limits).


Release Highlights
  • Ships NSAC 2.1.
  • Supports empty custom properties (--foo:;).
  • env() is now processed in computed values.
  • The parsing is a bit more Windows-friendly. Previous versions produced different whitespaces when parsing custom CSS rules for Windows and Unix; that was enough to break some unit tests on Windows.
 
In short, 2.1 is a bit more spec-compliant and a good refinement over 2.0, which supersedes.


Upgrading

You can handle 2.1 as a drop-in replacement for 2.0 unless you were either:

a) using NSAC directly at low level (instead of via the CSS Object Model).
b) specifically checking for cubic-bezier() or steps() functions.
or c) are implementing the StyleDatabase interface (you need to deal with env() then).

Read the Release Notes if you need more details about upgrading, although you probably do not need to.
Reply all
Reply to author
Forward
0 new messages