Skip to content

0.5.0

Choose a tag to compare

@DorianMazur DorianMazur released this 10 Sep 18:45
· 97 commits to main since this release

Features

  • Add defineTransition for typed shared-element roles and companion enter/exit motion, with reusable navigation options. (804d3b6)
  • Add useSharedElementPresentation so retained content can adapt its internal layout using collapsed/expanded endpoints and transition progress. (804d3b6)
  • Add native forward preparation on iOS and Android, including destination layout stability checks and batched target measurement. (804d3b6)
  • Add preparation tracing and Android performance benchmarks with CI reporting. (7496b0c, 804d3b6)

Fixes and improvements

  • Improve transition startup, retained-content layout, and reverse-navigation coordination. (804d3b6)
  • Harden native preparation cancellation, pending destination visibility, and interrupted transitions. (804d3b6)
  • Refresh the Gallery, Wallet, and Wallet Setup examples and integration documentation. (804d3b6)

Breaking changes and migration from 0.4.x

This release uses live shared content throughout. Keep one content owner and an empty receiving endpoint.

  • Replace SharedElement.Live with SharedElement and SharedElement.LiveTarget with SharedElement.Target. Existing stand-in uses of SharedElement must migrate to this live-owner model. (804d3b6)
  • Replace makeLiveTransition with makeTransition, StandInContainer with TransitionSurface, and StandInElement with TransitionFrame. (804d3b6)
  • Update renamed types: LiveSharedElementProps → SharedElementProps, LiveSharedElementTargetProps → SharedElementTargetProps, MakeLiveTransitionOptions → MakeTransitionOptions, LiveTransition → Transition, LiveTransitionRendererProps → TransitionRendererProps, and LiveTransitionSide → TransitionEndpoint. (804d3b6)
  • createSharedElementComponent, makeSurfaceTransition, makeStretchTransition, and textMorphTransition have been removed. Use defineTransition recipes or custom renderers created with makeTransition. (804d3b6)
  • Transition presentations no longer carry copied React content or a stand-in/live mode. Custom renderers must render the supplied library-owned portal host children exactly once. (804d3b6)
  • Rebuild your native app after upgrading to enable native forward preparation; on iOS, reinstall pods. Older binaries retain the existing readiness fallback. (804d3b6)

Full changelog: v0.4.3...v0.5.0