3.0.0 (2025-07-07)
I’m happy to announce the first stable version of Unistyles 3.0! 🎉
Blog post: https://www.reactnativecrossroads.com/posts/introducing-unistyles-3
Tutorial: https://www.unistyl.es/v3/tutorial/intro
Documentation: https://www.unistyl.es/
Features
- [Tests] feat: add missing mocks for reanimated (05e76d57)
- [iOS] feat: rename ruby helper as it collides with sentry (6357495f)
- [Android] feat: add support for flexible page sizes in Android native build (168c66e7)
- [Android] feat: improve insets initialization on Android (ee534e93)
- [Core] feat: scopedtheme reset (ced956c1)
- [Web] feat: update web listener to emit dependency (8d93c9aa)
- [Core] feat: support useUnistyles and withUnistyles (69be79a6)
- [Core] feat: scoped themeName web implementation (722d6a8a)
- [Core] feat: Scoped Theme inverted adaptive native implementation (f965e5e8)
- [iOS] feat: add React Native version detection for iOS dependencies in podspec (25d378b8)
- [Core] feat: dont spread key in withUnistyles (f8d77a95)
- [Core] feat: add destroy method to clear registry state on module invalidation (b532e6e0)
Bug Fixes
- [Web] fix: emit adaptive themes change event, toggle adaptiveThemes after setting theme to prevent error (e6570f98)
- [Web] fix(web): run forwarded ref without style prop (59af6a1d)
- [Core] fix: remove redundant case for inverted adaptive theme handling (2d736a4f)
- [TS] fix: add typecasting and type reference (8645f6e6) by @phoenixisuppose
- [Core] fix: prevent runtime updates in scoped theme when theme name changes (132a9bc6)
- [Web] fix: emit theme change when theme is updated (8e52391c)
- [Android] fix: use content view instead of decorView to get initial window insets on Android (30ff893d)
- [iOS] fix: set default RN version to 999 in podspec when USE_FRAMEWORKS is enabled (e4efbbce)
- [iOS] fix: improve React Native version parsing using Gem::Version in rn_version.rb (f7956bea)
- [iOS] fix: update pod dependencies and switch from framework to static library in iOS (ea0cab0d)
- [Web] fix: correctly detect pseudo class or pseudo element (e6b172e1)
- [Core] fix: remove invalid assignment to correctly set rootViewBackgroundColor (929160dc)
Chores
- chore: release 3.0.0-nightly-20250703 (68bacec7)
- chore: release 3.0.0-nightly-20250626 (1265e26c)
- chore: release 3.0.0-nightly-20250619 (a746f3cf)
- chore: simplify home screen with variant styles and navigation links (0de395d7)
- chore: improve ScopedTheme component type safety and switch case order (a771dcc6)
- chore: release 3.0.0-nightly-20250617 (ad3aef94)
- chore: include rn_version.rb file in npm package distribution (044b48ba)
- chore: release 3.0.0-nightly-20250616 (4dad05c8)
- chore: release 3.0.0-nightly-20250613 (0ff6b0e6)
- chore: remove usage of replace in pseudo css generation (ce9024e3)