Repository navigation
0.17.0
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.propsto 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
- [docs] Add docs for stylex.when by @mellyeliu in #1327
- [docs] add documentation for new ESLint rules by @mellyeliu in #1325
- [docs] fix broken link, incorrect rule names by @henryqdineen in #1310
- [docs] add team members by @mellyeliu in #1321
- Add example on chaining keyframes by @Joha99 in #1316
Type improvements
- [types] Restructure
GenStylePropTypeTypescript type for more readable error messages by @j-malt in #1308 - [types] Fix TypeScript constraint error in
CSSTypeunion 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
- chore: format mjs files with prettier by @henryqdineen in #1309
- Add
defineConstsusage to benchmark by @j-malt in #1312 - Fix internal meta sync by @vincentriemer in #1319
Release
- [release] v0.17.0 by @mellyeliu in #1328
New contributors
Full Changelog: 0.16.3...0.17.0