Skip to content

0.17.0

Choose a tag to compare

@mellyeliu mellyeliu released this 18 Nov 22:40
· 298 commits to main since this release
d49af91

v0.17.0

Lots of new features! Plus a new deep-dive on the Meta Engineering blog!

New features

  • [feat] Add an unplugin bundler plugin implementation for various bundlers by @nmn in #1300
  • [feat] Add defineMarker() for custom markers for selector combinators by @nmn in #1238

ESLint improvements

  • [eslint-plugin] add legacyAllowMixedExports config to enforce-extension by @mellyeliu in #1305
  • [eslint-plugin] enforce defineConsts only extension by @mellyeliu in #1311
  • [eslint-plugin] disallow default exports from defineVars and defineConsts in enforce-extension by @mellyeliu in #1313
  • [eslint-plugin] enhance validation for ternary and logical expressions in style properties by @hiteshshetty-dev in #1266
  • [eslint-plugin] order pseudo-classes and stylex.when selectors according to the priorities by @yjoer in #1287

Improvements and bug fixes

  • [babel-plugin] Bump specificity of stylex.when selectors over defaults by @mellyeliu in #1326
  • Enhance stylex.props to precompile more often by @nmn in #1242
  • [babel-plugin] additional externals for rollup build by @henryqdineen in #1307
  • [babel-plugin] Remove confusing removeObjectsWithSpreads() utility by @henryqdineen in #1291

Documentation

Type improvements

  • [types] Restructure GenStylePropType Typescript type for more readable error messages by @j-malt in #1308
  • [types] Fix TypeScript constraint error in CSSType union by @henryqdineen in #1306
  • [types] Remove duplicate property declaration by @henryqdineen in #1315
  • [types] Flow types fix for stylex.when.* by @nmn in #1276
  • [babel-plugin][legacy] Polyfill logical float values by @abhakat in #1237

Internal tooling & infrastructure

Release

New contributors

Full Changelog: 0.16.3...0.17.0