v15.0.0
Breaking changes
Snapshots may change due to new formatting on the class
and style
HTML attributes. Run jest -u
to update.
The changes are as follows:
class
attributes are now whitespace-normalized (trimmed and single-spaces only)style
attributes are similarly normalized, with a terminating;
for each individual style. In addition, invalid styles are now omitted (e.g.color: foobar
), and property values may be normalized (e.g.color: #FFFFFF
becomescolor: rgb(255, 255, 255);
).
What's Changed
- fix(serializer): normalize class attributes by @nolanlawson in #236
- fix(serializer): normalize style attributes by @jmsjtu in #237
Full Changelog: v14.4.0...v15.0.0