Releases: grahammendick/navigation
Releases · grahammendick/navigation
NavigationReact v3.0.0
From this release onwards, unless it contains a security fix, the bower package won't be updated
Changed
- #147 Removed
lazy prop
because it was a premature optimisation. If you were using thisprop
, please raise an issue and I'll revisit the decision - #147 Stopped Links re-rendering after a navigation if they're in the breadcrumb trail. Set
acrossCrumbs prop
to true to always re-render them - #147 Removed
domId
parameter from thenavigating prop
function. Thelink
becomes the second parameter
NavigationReactMobile v1.0.0
Initial release of NavigationReactMobile
Navigation v4.0.1
New
- #125 Added old and previous url to State Context
NavigationReactNative v2.0.0
New
- #125 Reimplemented Shared Element transitions modelled on Linton Ye’s blog
Fixed
- #134 Prevented updates of non-active Scenes
Changed
NavigationReact v2.0.5
Fixed
- #130 Removed PropType warnings
Navigation v4.0.0
New
- #96 Changed build task to use rollup instead of browserify
- #102 Allowed construction of navigation links with pre-populated crumb trails (fluent navigation)
Fixed
- #95 Improved performance of navigation link construction
- #104 Removed byte order mark from npm package entry point
Changed
If you don’t use the crumb trail then this is a non-breaking release
- #111 Passed new navigation data to
truncateCrumbTrail
- #112 Removed automatic crumb trail truncation. You can use the following to revert to the previous crumb trail truncation behaviour:
for(var key in stateNavigator.states) {
stateNavigator.states[key].truncateCrumbTrail = function(state, data, crumbs) {
var newCrumbs = [];
for (var i = 0; i < crumbs.length; i++) {
if (crumbs[i].state === state)
break;
newCrumbs.push(crumbs[i]);
}
return newCrumbs;
}
}
NavigationReact v2.0.4
NavigationReactNative v1.0.0
Initial release of NavigationReactNative
Navigation v3.0.0
New
- #77 Added Constraints. Attached a validate function to a State that can check the navigation data. Navigation to a State is only allowed if validate returns true
Fixed
- #77 Removed crumb trail from Crumb data
- #82 Allowed applicationPath without a leading slash in HTML5HistoryManager
Changed
- #77 Removed route sorting. Routes are matched in configuration order with constraints providing added match control