New css4j 4.2 implements CSS Conditional Rules Module Level 4, see
https://github.com/css4j/css4j/releases/tag/v4.2 for details.
Like xml-dtd, css4j depends on the Tokenproducer mini-parser, which has been upgraded to 3.0 (while xml-dtd 4.2 uses 2.x). I haven't seen any issues in running css4j 4.2 together with xml-dtd 4.2, but I decided to produce an xml-dtd 4.2.1 (depending on Tokenproducer 3.0 as well) to be safe. xml-dtd 4.2.1 is essentially the same as 4.2, it is just a recompilation.
All css4j users are encouraged to upgrade to 4.2, and if you declare an explicit dependency on xml-dtd I recommend to upgrade to 4.2.1 as well, although you are probably just fine with 4.2.
As always, there is more information here: