Breaking Changes
- core: fix merging of defaultVariants and defaultProps (natew)
Before, we had a bit simpler logic to merge defaultVariants and the props you pass in alongside them in styled(). This would cause defaultVariants to have more precedence than the default props. This is unintuitive as it doesn't let you override the props with your variant, as you'd expect. We found making the change to fix this required more work than expected - we now have to carefully merge all props and variants with respect to deep nesting of styled() components - but worth the effort, because it makes using defaultVariants much more intuitive and powerful. We also found 0 regressions across several large apps in making this change, as many use cases of variants/props simply wouldn't run into this, so we decided to release this as a minor change in a minor release. Note that technically the prior behavior was incorrect and had regressed in an earlier release as well.
Bug Fixes
- floating: fix vite compat (natew)
- sheet: fix Sheet.Handle not having unstyled prop (natew)
- scroll-view: fix ScrollView type to be able to be used with ref (natew)
- font-inter: fix exports of otf files for exports field (natew)
- core: defaultVariants go after defaultProps (but before props passed in) (natew)
- create-tamagui: use configured default remote name (natew)
- loader: fix loader for dual cjs and esm compat (natew)
- next-plugin: fix for dual cjs esm compat (natew)
- static: esm/cjs interop export style (natew)
- switch and animations-react-native extra side effect imports and webpack logs (natew)
- core: fix default variant and default prop merging to account for multi-level parent variant merges more accurately (natew)
Documentation
Commits
- 850c0d8: takeout 2 get native to load (natew)
- 0563f30: fix logs and security and types around auth (natew)
- d77baac: test going straight to profile (natew)
- 972e485: debug yarn (natew)
- c6f05e7: again (natew)
- 6589c33: upgrade vxrn (natew)
- cacecbe: various cleanup in the repo (natew)
- e5372e8: fix bad node version (natew)
- 6e43cfc: add missing patch (natew)
- 792aa3f: revert reanimated (natew)
- 338d87e: fix node version in ci (natew)
- fix reanimated link (natew)
- 0a89b59: fix types (natew)
- 7e4111a: remove profile (natew)
- 0cc97ee: small cleanups (natew)
- e9ed58c: fix deps (natew)
- 3595f07: fix remix by simplifying for now (natew)
- 6d01109: fix old site loading for testing next.js, update to esm (natew)
- add webhook email for invoice.upcoming (natew)
- 58d4f18: site various polish (natew)
- fix cancel sub (natew)
- fda1421: ooo (natew)
- 9cb1a63: words (natew)
- 5235a91: update build (natew)
- 37278dd: simplify readme (natew)
- fd79e60: cascade deletes on sub delete (natew)
- b37877c: add webhook log (natew)
- 5efdf4d: fix ooo build (natew)
- c0fd6b4: add takeout app scripts (natew)
- 352e3e2: remove profile (natew)
- 2e07653: bash typo (natew)
- 829cb89: fix typo (natew)
- cf642fb: fix parity banner position (natew)
- 4e3972b: words (natew)
- c21b11d: words (natew)
- f8e5559: words2 (natew)
- 7b66c74: takeout words (natew)
- 4746e3e: bento logo refine (natew)
- 11e8d1b: upgrade supabase, fix non-dev docker serve (natew)
- 1c5c87d: fix serve command (natew)
- 5d9ab2e: update types (natew)
- 19694bd: upgrade vxrn to fix anchor links (natew)
- 29ff775: v1.103.0 (natew)