Skip to content

Releases: pmndrs/react-spring

v11.0.0-beta.0

v11.0.0-beta.0 Pre-release
Pre-release

Choose a tag to compare

@joshuaellis joshuaellis released this 24 Jun 08:56
7b9a6e6

What's Changed

  • test: expand public-API coverage across core, web and parallax by @joshuaellis in #2538
  • refactor!: remove deprecated targets, native support, and the react-spring umbrella by @joshuaellis with @Copilot in #2526
  • refactor!: ship ESM-only builds by @joshuaellis in #2544
  • fix(core): infer all animated keys when a partial from is provided by @joshuaellis in #2545
  • chore(ci): move turbo caching to actions/cache via shared setup action by @joshuaellis in #2546
  • fix(core): pass an AnimationResult to SpringValue onChange by @patrickwehbe in #2548
  • fix: cache output number parsing in createStringInterpolator by @literalpie in #2547
  • docs: correct changeset guidance in CONTRIBUTING by @joshuaellis in #2549
  • chore: version packages (beta) by @github-actions[bot] in #2543

New Contributors

Full Changelog: v10.1.1...v11.0.0-beta.0

v10.1.2

Choose a tag to compare

@joshuaellis joshuaellis released this 24 Jun 08:55
59b1e53

Bug Fixes

  • core: PickAnimated now infers all animated keys when a partial from is provided. Previously a from prop collapsed the result type to just the from shape, dropping to keys, forward props, and the other transition phases — so useSpring({ width: 100, height: 100, from: { width: 0 } }) made styles.height a compile error even though height animates at runtime. It now merges from with the to, forward, and transition-phase values. (#2545)
  • core: The SpringValue-level onChange now receives an AnimationResult ({ value, finished: false, cancelled: false }) instead of the raw value, so result.value is no longer undefined mid-animation. This matches onStart/onRest and the Controller-level onChange. The internal change event the animated tree subscribes to still emits the raw value. (#2548)
  • animated: Fixed a cannot add a new property crash when wrapping non-extensible React Native host components. On Hermes, host components like View, Text, and Image become non-extensible after their first render, breaking the wrapper cache. createHost now attempts the direct write first (fast path, unchanged for extensible components) and falls back to a module-level WeakMap when the write is rejected. (#2535)

Performance

  • shared: Improved string interpolation performance with large amounts of data by caching output number parsing in createStringInterpolator. (#2547)

Full Changelog: v10.1.1...v10.1.2

v10.1.1

Choose a tag to compare

@joshuaellis joshuaellis released this 10 Jun 09:33
13aa6a2

What's Changed

  • fix(core): floor adaptive precision at float resolution to let springs settle on sub-precision drift by @joshuaellis in #2520
  • chore(deps): update build-tooling by @renovate[bot] in #2524
  • chore(deps): update commitlint to v21.0.2 by @renovate[bot] in #2525
  • fix(parallax): pin container to top-left to prevent double scrollbar by @joshuaellis in #2527
  • docs(core): clarify null/undefined goals are skipped, not animated by @joshuaellis in #2528
  • fix(shared): guard string interpolator against number-less output values by @joshuaellis in #2529
  • test(parallax): pin #2052 sticky-layer-in-component regression by @joshuaellis in #2530
  • test(core): cover declarative useSpring auto-start under StrictMode (#2361) by @joshuaellis in #2531
  • fix(core): auto-start useTransition when props is a function (#2287) by @joshuaellis in #2532
  • fix(three): drive demand-mode frameloop so looping animations don't freeze by @joshuaellis in #2536
  • chore: version packages by @github-actions[bot] in #2521

Full Changelog: v10.1.0...v10.1.1

v10.1.0

Choose a tag to compare

@joshuaellis joshuaellis released this 22 May 15:37
3d0ca63

What's Changed

Full Changelog: v10.0.4...v10.1.0

v10.0.4

Choose a tag to compare

@joshuaellis joshuaellis released this 21 May 20:32
ee556ba

What's Changed

New Contributors

Full Changelog: v10.0.3...v10.0.4

v10.0.3

Choose a tag to compare

@joshuaellis joshuaellis released this 18 Sep 14:40
b6fbb98

What's Changed

New Contributors

Full Changelog: v10.0.2...v10.0.3

v10.0.2

Choose a tag to compare

@joshuaellis joshuaellis released this 07 Sep 12:25
8631391

What's Changed

New Contributors

Full Changelog: v10.0.1...v10.0.2

v10.0.1

Choose a tag to compare

@joshuaellis joshuaellis released this 21 May 07:55
2dec583

What's Changed

Full Changelog: v10.0.0...v10.0.1

v10.0.0

Choose a tag to compare

@joshuaellis joshuaellis released this 14 May 19:07
195c479

What's Changed

New Contributors

Full Changelog: v9.7.5...v10.0.0

v9.7.5

Choose a tag to compare

@joshuaellis joshuaellis released this 07 Oct 07:37

What's Changed

New Contributors

Full Changelog: v9.7.4...v9.7.5