Skip to content

0.19.2

Latest

Choose a tag to compare

@mellyeliu mellyeliu released this 12 Nov 17:52
· 39 commits to main since this release
Immutable release. Only release title and notes can be modified.
d7e6174

What's Changed

Lots of changes in this one! Thanks for your patience as we worked on this release!

New features

  • [eslint-plugin] Validate arguments of firstThatWorks by @nami8824 in #1620
  • [eslint-plugin] Allow stylex.env keys in valid-styles by @Hashim1999164 in #1809
  • [eslint-plugin] Allow the CSS page property by @henryqdineen in #1873
  • [stylex] Accept the Marker type in StyleXStyles for passing between component props by @titchimoto in #1820

Bug fixes

  • [babel-plugin] Fix positionTry emitting every declaration twice by @lenamonj in #1850
  • [babel-plugin] Don't add ancestor selectors or specificity to @position-try by @gyoon in #1854
  • [babel-plugin] Treat fontSizeAdjust as a unitless number by @Om-singhaI in #1903
  • [babel-plugin] Stop adding px to unitless numbers in keyframes and viewTransitionClass by @Om-singhaI in #1897
  • [babel-plugin] Keep the unit of an uppercase zero time, angle or fr value by @kevin9327 in #2000
  • [babel-plugin] Keep custom property rules inside @layer with useLayers by @ryanda9910 in #1752
  • [babel-plugin] Insert constant values verbatim, not as replacement patterns by @henryqdineen in #1872
  • [babel-plugin] Sort a defineConsts at-rule key like the at-rule it names by @vjeux in #1989
  • [babel-plugin] Fix value normalizers rewriting url() contents by @henryqdineen in #1983
  • [babel-plugin] Fix corrupted class names from null coercion in dynamic styles by @henryqdineen in #1731
  • [babel-plugin] Don't hoist $$css objects that reference local variables by @henryqdineen in #1739
  • [babel-plugin] Fix zero-unit stripping inside functions after the first by @durvesh1992 in #1750
  • [stylex] Keep every rule under a compound or named condition in runtime injection by @vjeux in #1991
  • [stylex] Remove unused dependencies from @stylexjs/stylex by @henryqdineen in #1965
  • Fix stylex.attrs with dynamic styles that use multi-word properties by @chbybnwr in #1711
  • Recognize progress pseudo-elements by @Arnav7x in #1968
  • [style-value-parser] Fix media queries with a leading not by @henryqdineen in #2001
  • [style-value-parser] Fix invalid media-type conditions for mixed responsive and print styles by @jennymeshaiah09 in #1888
  • [style-value-parser] Fix BorderRadiusShorthand.toString dropping vertical radii by @LeSingh1 in #1759
  • [style-value-parser] Mirror horizontal radii when border-radius has no / by @henryqdineen in #1907
  • [style-value-parser] Fix shorthand hex colors and border-radius parsing by @durvesh1992 in #1742
  • [style-value-parser] Fix double negation of negative numbers by @durvesh1992 in #1746
  • [style-value-parser] Fix Inset.toString() shortest-form serialization by @durvesh1992 in #1744
  • [eslint-plugin] Stop accepting comma-prefixed length values by @durvesh1992 in #1741
  • [eslint-plugin] Skip single-value gridArea in valid-shorthands by @henryqdineen in #1737
  • [eslint-plugin] Fix the ldw typo in relative length units by @henryqdineen in #1979
  • [unplugin] Clear collected CSS when a module drops its StyleX import by @jennymeshaiah09 in #2016
  • [unplugin] Preserve SSR link attributes during CSS handoff by @agcty in #1892
  • [unplugin] Fix StyleX CSS injection for Rspack by @tmkx in #1745
  • [unplugin] Don't let the Vite dev polling timer keep the process alive by @HsukqiLee in #1846
  • [unplugin] Declare the externalPackages option by @oddurs in #1863
  • [rollup-plugin][unplugin] Honor custom importSources without dropping the built-in ones by @lenamonj in #1849
  • [postcss-plugin] Clear stale rules and retry failed transforms by @mellyeliu in #2026

Documentation

New Contributors

And a thank you to all the new contributors!

Full Changelog: 0.19.1...0.19.2