Release 3.0.0-rc.2
3.0.0-rc.2 (2025-04-17)
Hello Unistylers!
This release includes several bug fixes and full support for CommonJS modules (transpiled for the web). The Babel plugin can now detect your StyleSheet dependencies and correctly swap your components. We have also added support for transpiling UI kits that use Unistyles 3 and reside in node_modules
.
To enable this, simply pass the library name to autoProcessPaths
, e.g.:
// babel.config.js
{
plugins: [
['react-native-unistyles/plugin', {
// this is 3rd party package from node_modules that contains untranspiled Unistyles 3.0 code
autoProcessPaths: ['@bambooapp/bamboo-molecules']
}]
]
}
Features
- [Babel] - Parse correctly packages that uses Unistyles 3 and are distributed via
node_modules
(6f945cc) - [Babel] - Parse packages that uses CommonJS and RNW (a84c40d)
- [Babel] - Add support for CommonJS to detect stylesheets dependencies (a008d66)
Bug fixes
- [Native] - fix incorrect react-native image export (381dcb1) by @TomLingham
- [Native] - fix babel issue with
rtl
dependency (8089265) - [Web] - fix issue with breakpoints order (9fa8875)
- [Core] - fix module/ commonjs resolution (c2cc6be)
- [Android] - fix issue with missing native event about insets change (2617316)