Repository navigation
0.5.0
Features
- Add
defineTransitionfor typed shared-element roles and companion enter/exit motion, with reusable navigation options. (804d3b6) - Add
useSharedElementPresentationso 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.LivewithSharedElementandSharedElement.LiveTargetwithSharedElement.Target. Existing stand-in uses ofSharedElementmust migrate to this live-owner model. (804d3b6) - Replace
makeLiveTransitionwithmakeTransition,StandInContainerwithTransitionSurface, andStandInElementwithTransitionFrame. (804d3b6) - Update renamed types:
LiveSharedElementProps→SharedElementProps,LiveSharedElementTargetProps→SharedElementTargetProps,MakeLiveTransitionOptions→MakeTransitionOptions,LiveTransition→Transition,LiveTransitionRendererProps→TransitionRendererProps, andLiveTransitionSide→TransitionEndpoint. (804d3b6) createSharedElementComponent,makeSurfaceTransition,makeStretchTransition, andtextMorphTransitionhave been removed. UsedefineTransitionrecipes or custom renderers created withmakeTransition. (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
childrenexactly 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