npm lightningcss 1.30.0
v1.30.0

latest release: 1.30.1
one month ago

Features

  • Update relative color parsing to latest spec: colors now support numbers in addition to percentages, and calcs in colors are now always numbers. Note that this was technically a breaking change in the spec. You may need to update code using relative color calculations on percentages to use numbers instead. See the PR for details. – #465
  • Update nesting implementation for new spec: It is now possible to nest selectors with pseudo elements, and declarations and nested rules can be interleaved. See https://web.dev/blog/css-nesting-cssnesteddeclarations for more details. – 6c465c1
  • Skip generating unnecessary @supports rules when already nested in a @supports rule – #878, d398c1b
  • Improve error recovery for media queries – #954
  • Add support for ::picker, ::picker-icon and ::checkmark – #957
  • Add build support for Android – #932

Fixes

  • Fix error message for invalid composes selectors – #948
  • Update browserslist – #961
  • Fix linear-gradient direction conversion for legacy vendor-prefixed values – #936
  • Prevent new lines in license comments from breaking source maps – #971
  • Do not inline layers before imports – 33ea2c1
  • Statically link Visual Studio redistributables on Windows builds – e5c4139
  • update browser compat data – 17bdc80

Don't miss a new lightningcss release

NewReleases is sending notifications on new releases.