Skip to content

Latest commit

 

History

History
1143 lines (378 loc) · 50.8 KB

CHANGELOG.md

File metadata and controls

1143 lines (378 loc) · 50.8 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

5.15.2 (2021-02-21)

Note: Version bump only for package @react-navigation/core

5.15.1 (2021-01-21)

Note: Version bump only for package @react-navigation/core

5.15.0 (2021-01-14)

Bug Fixes

  • print an error when passing a second argument to useFocusEffect (2317633)

Features

  • add a way to specify an unique ID for screens (b19f76b)

5.14.4 (2020-11-20)

Bug Fixes

  • fix incorrect state change events in independent nested container (95b2599), closes #9080

5.14.3 (2020-11-10)

Bug Fixes

  • improve the error message for incorrect screen configuration (8f764d8)

5.14.2 (2020-11-09)

Bug Fixes

  • throw if the same pattern resolves to multiple screens (48b2e77)

5.14.1 (2020-11-08)

Bug Fixes

  • tweak error message when navigator has non-screen children (360b0e9)

5.14.0 (2020-11-04)

Bug Fixes

  • always respect key in the route object when generating action (cb2e744)

Features

  • add a NavigatorScreenParams type. closes #6931 (e3e58c2)
  • add warning on accessing the state object on route prop (ec7b02a)

5.13.5 (2020-11-04)

Bug Fixes

5.13.4 (2020-11-03)

Bug Fixes

  • fix nested navigation not working the first time (ebc7f9e)

5.13.3 (2020-11-03)

Bug Fixes

  • handle navigating to same screen again for nested screens (0945689)

5.13.2 (2020-10-30)

Bug Fixes

  • fix params from for the root screen when creating action (e8515f9), closes #9006
  • trim routes if an index is specified in state (fb7ac96)

5.13.1 (2020-10-28)

Bug Fixes

  • improve types for route prop in screenOptions (d26bcc0)

5.13.0 (2020-10-24)

Bug Fixes

Features

5.12.5 (2020-10-07)

Note: Version bump only for package @react-navigation/core

5.12.4 (2020-09-22)

Bug Fixes

5.12.3 (2020-08-04)

Note: Version bump only for package @react-navigation/core

5.12.2 (2020-07-28)

Note: Version bump only for package @react-navigation/core

5.12.1 (2020-07-19)

Bug Fixes

  • make sure new state events are emitted when new navigators mount (af8b274)

5.12.0 (2020-07-10)

Bug Fixes

  • avoid error setting warning for devtools migration. closes #8534 (1801a13)
  • fix bubbling actions to correct target when specified (9671c76)
  • fix options event being emitted incorrectly (#8559) (a255e35)
  • improve the warning message for non-serializable values (e63580e)
  • mark some types as read-only (7c3a0a0)

Features

  • add a beforeRemove event (6925e92)
  • add a getComponent prop to lazily specify components (f418029)

5.11.1 (2020-06-25)

Bug Fixes

5.11.0 (2020-06-24)

Bug Fixes

  • fix getCurrentOptions for nested screens (6730690)
  • fix getCurrentOptions for nested screens (afc83ee)
  • more improvements to types (d244488)

Features

5.10.0 (2020-06-06)

Bug Fixes

  • catch missing params when they are required in navigate (#8389) (8774ca9)
  • make sure the wildcard pattern catches nested unmatched routes (c3bd349)
  • only use the query params for focused route in path (2d66ef9)
  • prevent state change being emitted unnecessarily (ab1f79c)

Features

5.9.0 (2020-05-27)

Features

  • add ref to get current options in ServerContainer (#8333) (0b1a718)

5.8.2 (2020-05-23)

Note: Version bump only for package @react-navigation/core

5.8.1 (2020-05-20)

Note: Version bump only for package @react-navigation/core

5.8.0 (2020-05-20)

Features

5.7.0 (2020-05-16)

Bug Fixes

  • don't use Object.fromEntries (51f4d11)

Features

5.6.1 (2020-05-14)

Bug Fixes

  • don't use flat since it's not supported in node (21b397f)

5.6.0 (2020-05-14)

Bug Fixes

  • ignore extra slashes in the pattern (3c47716)
  • ignore state updates when we're not mounted (0149e85), closes #8226

Features

5.5.2 (2020-05-08)

Bug Fixes

  • fix building typescript definitions. closes #8216 (47a1229)

5.5.1 (2020-05-08)

Bug Fixes

  • avoid cleaning up state when a new navigator is mounted. fixes #8195 (f6d0676)

5.5.0 (2020-05-05)

Features

  • add support for optional params to linking (#8196) (fcd1cc6)
  • support params anywhere in path segement (#8184) (3999fc2)

5.4.0 (2020-04-30)

Bug Fixes

Features

  • add useLinkBuilder hook to build links (2792f43)

5.3.5 (2020-04-27)

Bug Fixes

  • add config to enable redux devtools integration (c9c825b)

5.3.4 (2020-04-17)

Bug Fixes

  • add initial option for navigating to nested navigators (004c7d7)
  • add initial param for actions from deep link (a3f7a5f)
  • handle initial: false for nested route after first initialization (187aefe)

5.3.3 (2020-04-08)

Bug Fixes

  • switch order of focus and blur events. closes #7963 (ce3994c)
  • workaround warning about setState in another component in render (d4fd906)

5.3.2 (2020-03-30)

Bug Fixes

  • handle no path property and undefined query params (#7911) (cd47915)

5.3.1 (2020-03-23)

Bug Fixes

  • don't emit events for screens that don't exist anymore (1c00142)
  • only call listeners for focused screen for global events (3096de6)

5.3.0 (2020-03-22)

Bug Fixes

  • return correct value for isFocused after changing screens (5b15c71), closes #7843

Features

  • support function in listeners prop (3709e65)

5.2.3 (2020-03-19)

Note: Version bump only for package @react-navigation/core

5.2.2 (2020-03-16)

Note: Version bump only for package @react-navigation/core

5.2.1 (2020-03-03)

Bug Fixes

  • fix links for documentation (5bb0f40)
  • move updating state to useEffect (2dfa4f3)

5.2.0 (2020-02-26)

Features

  • add ability add listeners with listeners prop (1624108), closes #6756

5.1.6 (2020-02-21)

Bug Fixes

  • avoid emitting focus events twice (f167008), closes #6749
  • preserve screen order with numeric names (125bd70), closes #6900

5.1.5 (2020-02-19)

Bug Fixes

  • show descriptive error for invalid return for useFocusEffect (1a28c29)

5.1.4 (2020-02-14)

Bug Fixes

  • link to migration guide on invalid usage (c5fcfbd)
  • return '/' for empty paths (aaf01e0)

5.1.3 (2020-02-14)

Bug Fixes

  • return false for canGoBack if navigator hasn't finished mounting (c8ac5fa)
  • throw a descriptive error if navigation object hasn't initialized (b6accd0)
  • update links in error messages (f964200)

5.1.2 (2020-02-12)

Bug Fixes

5.1.1 (2020-02-11)

Bug Fixes

  • don't cleanup state on switching navigator (359ae1b)

5.1.0 (2020-02-10)

Bug Fixes

  • add some links in the error messages (13b4e07)

Features

5.0.0-alpha.43 (2020-02-04)

Bug Fixes

  • improve error message for unhandled action (ca4a360)

Features

  • add initialRouteName property to config (#322) (4ca5cc6)

5.0.0-alpha.42 (2020-02-04)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.41 (2020-02-03)

Bug Fixes

  • ignore circular references when checking serializable (e5063b9)

5.0.0-alpha.40 (2020-02-02)

Bug Fixes

  • add licenses (0c159db)
  • add warning when passing inline function to component prop (fa4a959)
  • tweak error messages for validation (2243b45)

Features

5.0.0-alpha.38 (2020-02-02)

Bug Fixes

  • add licenses (0c159db)
  • add warning when passing inline function to component prop (fa4a959)
  • tweak error messages for validation (2243b45)

Features

5.0.0-alpha.37 (2020-01-24)

Bug Fixes

  • add error message when trying to use v4 API with v5 (179e807)
  • validate screen configs (2f1f0af)
  • warn if non-serializable values found in state (5751e7f)

5.0.0-alpha.36 (2020-01-23)

Bug Fixes

Features

  • add useNavigationState hook (32a2206)
  • let the navigator specify if default can be prevented (da67e13)
  • support nested config in getPathFromState (#266) (1e53821)

5.0.0-alpha.35 (2020-01-14)

Bug Fixes

  • fix intellisense for CompositeNavigationProp (a912323)

5.0.0-alpha.34 (2020-01-13)

Bug Fixes

  • make sure paths aren't aliased when building definitions (65a5dac), closes #265

5.0.0-alpha.33 (2020-01-13)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.32 (2020-01-09)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.31 (2020-01-09)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.30 (2020-01-01)

Bug Fixes

  • cleanup transaction even if action wasn't handled (f462d67)
  • show error if an action was not handled (0252bdc)

5.0.0-alpha.29 (2019-12-19)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.28 (2019-12-16)

Bug Fixes

Features

5.0.0-alpha.27 (2019-12-10)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.26 (2019-12-07)

Bug Fixes

  • don't handle replace if screen to replace with isn't present (7b13a81), closes #193

5.0.0-alpha.25 (2019-11-29)

Bug Fixes

  • wrap reset and resetRoot inside transaction (#189) (5a0dfa1), closes #185

5.0.0-alpha.24 (2019-11-20)

Bug Fixes

  • allow passing partial params to setParams (#177) (c3e9e45)

5.0.0-alpha.23 (2019-11-17)

Bug Fixes

  • merge initial params on push (11efb06)

5.0.0-alpha.22 (2019-11-10)

Bug Fixes

  • throw when containers are nested within another (d4072e7)

5.0.0-alpha.21 (2019-11-08)

Bug Fixes

  • don't crash if initialState is null (270fbdc)
  • fix types for resetRoot to accept undefined (e871fdb)

5.0.0-alpha.20 (2019-11-02)

Bug Fixes

  • pass rehydrated state in onStateChange and devtools (5a34764)

5.0.0-alpha.19 (2019-10-30)

Bug Fixes

5.0.0-alpha.18 (2019-10-29)

Bug Fixes

  • improve type annotation for screens (8f16085)

5.0.0-alpha.17 (2019-10-22)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.16 (2019-10-18)

Bug Fixes

  • rehydrate state before using it (3e92e22)

Features

  • make it easier to navigate to a specific route in navigator (#114) (a543f1b), closes #90

5.0.0-alpha.15 (2019-10-15)

Features

5.0.0-alpha.14 (2019-10-06)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.13 (2019-10-03)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.12 (2019-10-03)

Bug Fixes

  • don't merge state with existing state during reset. fixes #111 (7393464)
  • don't throw when switching navigator. fixes #91 (19be2b4)

Features

5.0.0-alpha.11 (2019-09-27)

Bug Fixes

  • fire blur event when a route is removed with a delay (1153d55), closes #110

Features

  • add a method to reset root navigator state (e61f594)

5.0.0-alpha.10 (2019-09-17)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.9 (2019-09-16)

Features

  • compatibility layer (e0f28a4)
  • make deep link handling more flexible (849d952)
  • make example run as bare react-native project as well (#85) (d16c20c)

5.0.0-alpha.8 (2019-09-04)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.7 (2019-08-31)

Bug Fixes

  • fix navigation object changing too often (3c840bb)

Features

5.0.0-alpha.6 (2019-08-31)

Features

5.0.0-alpha.5 (2019-08-30)

Note: Version bump only for package @react-navigation/core

5.0.0-alpha.4 (2019-08-29)

Bug Fixes

  • allow making params optional. fixes #80 (a9d4813)

Features

  • export NavigationContext (9245c79)
  • handle navigating with both with both key and name (#83) (6b75cba)

5.0.0-alpha.3 (2019-08-27)

Features

  • add hook to scroll to top on tab press (9e1104c)
  • add native container (d26b77f)

5.0.0-alpha.2 (2019-08-22)

Bug Fixes

  • fix path to typescript definitions (f182315)

5.0.0-alpha.1 (2019-08-21)

Bug Fixes

  • don't apply action to an unrelated router (e1d7333)
  • fix peer deps and add git urls (6b4fc74)
  • handle partial initial state better when rehydrating (8ed54da)
  • implement canGoBack for tab router (#51) (2b8f2ed)
  • properly infer route type in screen elements (7e3a2c8)
  • throw when duplicate screens are defined (adc2fe4)
  • use correct dispatch in methods in screen's navigation prop (8134895)

Features

  • add a target key to actions and various fixes (747ce66)
  • add a useIsFocused hook to get focus state (#52) (2b59f7e)
  • add canGoBack (#50) (e9da86e)
  • add dangerouslyGetParent (#62) (c0045d8)
  • add dangerouslyGetState (#63) (f7ff0c1)
  • add helpers to convert between url and state (dbe2b91)
  • add hook for deep link support (35987ae)
  • add integration with redux devtools extension (ca985bb)
  • add native container with back button integration (#48) (b7735af)
  • integrate reanimated based stack (#42) (dcf57c0)