Releases: grahammendick/navigation
Releases · grahammendick/navigation
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
NavigationReact v2.0.3
Navigation v2.0.1
New
- #74 Passed async data into onNavigate handlers
NavigationReact v2.0.2
Fixed
- Removed Unknown Prop Warning
NavigationReact v2.0.1
Fixed
- Removed ReactDOM dependency by replacing findDOMNode with ref callback
- Rendered anchor instead of span when active Link disabled
Navigation and Plugins v2.0.0
A redesign of the Navigation router that makes it easier to use and understand. See the documentation for details.
NavigationJS v1.3.0
New
- #44 Accepted Dates in NavigationData. They're converted to yyyy-mm-dd in the URL
- #45 Added urlEncode and urlDecode functions to StateHandler for customised URL encoding
Fixed
- #42 Accepted array-specific default types, e.g., 'stringarray' and 'numberarray'
Changed
- #42 Repeated query string parameters for NavigationData arrays, e.g., /?x=a&x=b. To revert to the old behaviour, set the new combineArray Navigation setting to false