Skip to content

Latest commit

 

History

History
213 lines (104 loc) · 6.63 KB

CHANGELOG.md

File metadata and controls

213 lines (104 loc) · 6.63 KB

[Unreleased]

3.1.2 (2021-08-19)

Features

  • Suppport 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
  • Recommended upgrading to [email protected] for the latest 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)

2.3.0 (2020-04-13)

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

2.2.0 (2020-03-15)

Bug Fixes

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

2.1.0 (2020-02-22)

Bug Fixes

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

2.0.2 (2020-02-13)

Bug Fixes

  • Fix defaultNavigationOptions settings not working for createSharedElementStackNavigator
  • Add missing typings to createSharedElementStackNavigator for routeConfig and navigatorConfig.

2.0.1 (2020-02-09)

  • 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,
    ...
  },
  {...}
);

1.0.0 (2020-01-26)

  • update major version to 1 to correspond to react-navigation-stack@1

Bug Fixes

  • fixed type information on SharedElement to support all underlying props (thanks @iamsuneeth)

0.5.0 (2019-09-06)

chore

  • renamed package to react-navigation-shared-element (47f6a8a)

BREAKING CHANGES

  • The package has been renamed to react-navigation-shared-element

0.4.5 (2019-09-04)

Bug Fixes

  • fixed no transition on initial route (edde1d1)

0.4.4 (2019-09-03)

Bug Fixes

  • fixed no or stale transition when switching route (goBack) too fast (f154a93)

0.4.3 (2019-09-02)

Bug Fixes

  • fixed animation/resize/align fields & typing information (df11a0f)

0.4.2 (2019-09-02)

Bug Fixes

  • fixed onTransitionStart exception (5adb650)

0.4.1 (2019-09-01)

0.4.0 (2019-09-01)

Bug Fixes

  • fixed navigation.setParams not working (c0a5f6a)

Features

  • added new API which supports pop as well (9c4136d)

BREAKING CHANGES

  • The old API where the shared elements could be passed as props has been dropped. Instead you should define a static variable called sharedElements on your Screen component. That variable can be either a function or a static array. See the README for more details

0.3.3 (2019-08-30)

Bug Fixes

  • fixed transitions not triggering in release builds (56b11d3)

0.3.2 (2019-08-30)

Bug Fixes

  • fixed funky transition stuff from happening when popping a route (4567dc6)
  • fixed routeConfigs that used {screen: Component} style config (00c74a5)

0.3.1 (2019-08-29)

Features

  • added support for nested stack navigators (69ddd7a)

0.3.0 (2019-08-29)

Initial release