Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 22, 2024

Bumps tamagui from 1.78.0 to 1.88.2.

Release notes

Sourced from tamagui's releases.

v1.88.2

Bug Fixes

  • build: increase compat with jsc by removing logical-assignment output in esbuild (natew)

Commits

  • 7073572: site fix ssr issue and improve glow movement (natew)
  • 60230f4: v1.88.2 (natew)

v1.88.1

Bug Fixes

  • expo-router: add biome json (natew)
  • expo-router: fix native font loading and splash hiding (natew)
  • dialog: trapfocus #2123 (Ehsan Sarshar)
  • core: fix bug not applying animatable default values when enterStyle or exitStyle have an x or y (natew)
  • core: avoid passing nativeId as its been deprecated for a while and RN supports id for many versions (natew)

Commits

  • ba02e5a: fix ci temp disable site tests (they run on release locally) (natew)
  • update AnimatePresence docs (natew)
  • small refresh (natew)
  • fix stale memo (natew)
  • a bit more design (natew)
  • fix typo (natew)
  • 795f770: fix site test file location (natew)
  • make light mode effect on home much less bold (natew)
  • 56772c5: v1.88.1 (natew)

v1.88.0

Highlights

Metro Plugin + Web support!

Tamagui 1.88.0 has Expo 50 support, a new beta Expo Router Starter template, and an official @tamagui/metro-plugin which works with both native and web and is compatible with Expo Router! This is super exciting as it turns what was a very complex setup process into a snap - and universal file routes for web and native with a shared bundler is an amazing DX.

We have some further improvements coming here as it's just an initial working version and we haven't optimized much yet. But look out for an update coming soon that reduces generated themes CSS by nearly 80%! 🤯

Hugely improved types and type speed

We fixed many outstanding issues and greatly sped up the type system in Tamagui. This has been a long time in the making, at least three failed attempts over the past few months. It's hard to overstate how incredibly tricky the types are in Tamagui - the layering of styled() components, the modifying of types as you layer, and having to wrap a huge amount of style props with all sort of conditional logic based on your settings for media queries, strictness, and more has been a constant battle. We've had to disable improvements to types multiple times because too many users reported the dreaded "too complex" TSC errors.

Well, no more! The types generated as you nest your styled() components have gone from passable but huge, to something like this (this is a component that is 4 layers deep):

CleanShot 2024-01-20 at 16 03 10@2x

Beyond the mysterious TamaguiDefer which can probably be refactored away soon enough, the types are now readable, compact and most importantly, much flatter. This hasn't been one small fix but a series of hard fixes to get right, and now that our types are faster and more correct, we've already rolled in a large number of correctness fixes in this release. Your apps may have some complaints, especially if you are using the onlyAllowShorthands flag which had been breaking in many configurations.

AnimatePresence gets way more solid + working custom prop for much easier animations

This was quite an expedition actually!

... (truncated)

Commits
  • 60230f4 v1.88.2
  • 56772c5 v1.88.1
  • 2528efe v1.88.0
  • 3cfb678 canary1.87.0-1705790572215
  • ce536e3 canary1.87.0-1705788268756
  • 4c5ff6f v1.87.0-1705782099858 canary
  • 2b69cdb fix: update types to latest, fix release script canary
  • e0f636e perf(core): further improve inference on non-tamagui nested styled components
  • 138b2d0 clean and update types
  • c91865d fix(core): refactor types for performance, accuracy, cleanup
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tamagui](https://github.com/tamagui/tamagui/tree/HEAD/packages/tamagui) from 1.78.0 to 1.88.2.
- [Release notes](https://github.com/tamagui/tamagui/releases)
- [Commits](https://github.com/tamagui/tamagui/commits/v1.88.2/packages/tamagui)

---
updated-dependencies:
- dependency-name: tamagui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 29, 2024

Superseded by #1362.

@dependabot dependabot bot closed this Jan 29, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/tamagui-1.88.2 branch January 29, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant