Skip to content

Releases: IjzerenHein/react-navigation-shared-element

v3.1.4

24 Mar 10:07
692c550
Compare
Choose a tag to compare

Dependency updates:

  • Updated react-native-shared-element version
  • Minor updates in dependency libraries

v3.1.3

01 Sep 15:16
Compare
Choose a tag to compare

Bug Fixes

  • Fix double-tap on bottom tab not resetting navigation (V5/6) (#191 thanks @Whichoney)
  • Fix <StackView> not wrapped in <NavigationContent> (V5/6)

React Navigation 5 & 6 🚀 🎉

19 Aug 09:56
Compare
Choose a tag to compare

3.1.2 (2021-08-19)

Features

  • Support for react-navigation 5 & 6 🚀
  • Unifies codebase to support both the react-navigation 4 and 5/6 APIs
  • New example app to showcase and test navigation scenarios
  • Recommend upgrading to react-native-shared-element@0.8.x for the latest Native bug-fixes

Breaking changes

  • React navigation 4 is now supported through the createSharedElementStackNavigator/build/v4 import
  • sharedElements function replaces navigation/otherNavigation by route/otherRoute arguments
  • See migration guide in ./docs/Migration.md for upgrading instructions

Bug Fixes

  • Fixes blink artefact on Android transitions (disables detachInactiveScreens by default on Android)

(prerelease 3.0.0)

24 May 15:45
Compare
Choose a tag to compare
(prerelease 3.0.0) Pre-release
Pre-release

Features

  • Add suppport for react-navigation 5.x 🚀
  • Codebase and tests now supports both the 4.x and 5.x APIs

Breaking changes

  • React navigation 4 is now supported through the createSharedElementStackNavigator4 export
    sharedElements function replaces navigation/otherNavigation by route/otheRoute arguments
  • See migration guide in ./docs/Migration.md for upgrading instructions

v2.3.0

13 Apr 14:23
Compare
Choose a tag to compare

Features

  • Add ‘debug’ option to createSharedElementStackNavigator
  • Add new example/test app in ./example
  • Updated internal tooling to use expo-module-scripts

Bug Fixes

  • Fix back navigation no longer working with latest navigation/stack
  • Fix element stuck after navigating back on nested navigators
  • Fix transition when starting a new transition before previous had ended
  • Fix result typings for createSharedElementStackNavigator

react-navigation@5 alpha1

18 Mar 20:50
Compare
Choose a tag to compare

Features

  • rewrite createSharedElementStackNavigator to react-navigation v5 (a4ee203) (thanks @cbrevik)

v2.2.0

15 Mar 14:22
Compare
Choose a tag to compare

Bug Fixes

  • Fix defaultNavigationOptions when it's a function. (thanks @praveen-me)

v2.1.0

22 Feb 15:02
Compare
Choose a tag to compare

Bug Fixes

  • Fix no transition when navigators are nested inside createSharedElementStackNavigator.
  • Fix exception when nesting a Navigator inside createSharedElementStackNavigator.

v2.0.2

13 Feb 08:36
Compare
Choose a tag to compare

Bug Fixes

  • Fix defaultNavigationOptions settings not working for createSharedElementStackNavigator (thanks @tankers746)
  • Add missing typings to createSharedElementStackNavigator for routeConfig and navigatorConfig (thanks @tankers746)

Stack V2 support 🎉🎉

09 Feb 17:29
Compare
Choose a tag to compare

Features

  • Add support for react-navigation-stack@2
  • Add support for nested navigators

BREAKING CHANGES

  • The createSharedElementStackNavigator function has changed. It no longer takes the createStackNavigator function as an input.

Previous (v1):

import { createSharedElementStackNavigator } from 'react-navigation-shared-element';
import { createStackNavigator } from 'react-navigation-stack';

const stackNav = createSharedElementStackNavigator(
  createStackNavigator,
  {
    Main: MainScreen,
    ...
  },
  {...}
);

Now (v2):

import { createSharedElementStackNavigator } from 'react-navigation-shared-element';

const stackNav = createSharedElementStackNavigator(
  {
    Main: MainScreen,
    ...
  },
  {...}
);