Skip to content

Commit

Permalink
chore(all): prepare release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Jun 19, 2018
1 parent 4fac9cf commit 0a66d74
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-router",
"version": "1.6.0",
"version": "1.6.1",
"description": "A powerful client-side router.",
"keywords": [
"aurelia",
Expand Down
6 changes: 6 additions & 0 deletions dist/amd/aurelia-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,9 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction, viewPortPlan.strategy === activationStrategy.invokeLifecycle).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
});
});
Expand Down Expand Up @@ -1577,6 +1580,9 @@ define(['exports', 'aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depen
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
viewPortInstruction.childNavigationInstruction = childInstruction;

Expand Down
6 changes: 6 additions & 0 deletions dist/aurelia-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,9 @@ export function _buildNavigationPlan(instruction: NavigationInstruction, forceLi
childInstruction,
viewPortPlan.strategy === activationStrategy.invokeLifecycle)
.then(childPlan => {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
});
});
Expand Down Expand Up @@ -2114,6 +2117,9 @@ function loadRoute(routeLoader: RouteLoader, navigationInstruction: NavigationIn

return _buildNavigationPlan(childInstruction)
.then((childPlan) => {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
viewPortInstruction.childNavigationInstruction = childInstruction;

Expand Down
6 changes: 6 additions & 0 deletions dist/commonjs/aurelia-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,9 @@ function _buildNavigationPlan(instruction, forceLifecycleMinimum) {
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction, viewPortPlan.strategy === activationStrategy.invokeLifecycle).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
});
});
Expand Down Expand Up @@ -1532,6 +1535,9 @@ function loadRoute(routeLoader, navigationInstruction, viewPortPlan) {
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
viewPortInstruction.childNavigationInstruction = childInstruction;

Expand Down
6 changes: 6 additions & 0 deletions dist/es2015/aurelia-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,9 @@ export function _buildNavigationPlan(instruction, forceLifecycleMinimum) {
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction, viewPortPlan.strategy === activationStrategy.invokeLifecycle).then(childPlan => {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
});
});
Expand Down Expand Up @@ -1349,6 +1352,9 @@ function loadRoute(routeLoader, navigationInstruction, viewPortPlan) {
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction).then(childPlan => {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
viewPortInstruction.childNavigationInstruction = childInstruction;

Expand Down
6 changes: 6 additions & 0 deletions dist/native-modules/aurelia-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,9 @@ export function _buildNavigationPlan(instruction, forceLifecycleMinimum) {
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction, viewPortPlan.strategy === activationStrategy.invokeLifecycle).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
});
});
Expand Down Expand Up @@ -1510,6 +1513,9 @@ function loadRoute(routeLoader, navigationInstruction, viewPortPlan) {
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
viewPortInstruction.childNavigationInstruction = childInstruction;

Expand Down
6 changes: 6 additions & 0 deletions dist/system/aurelia-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ System.register(['aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depende
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction, viewPortPlan.strategy === activationStrategy.invokeLifecycle).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
});
});
Expand Down Expand Up @@ -532,6 +535,9 @@ System.register(['aurelia-logging', 'aurelia-route-recognizer', 'aurelia-depende
viewPortPlan.childNavigationInstruction = childInstruction;

return _buildNavigationPlan(childInstruction).then(function (childPlan) {
if (childPlan instanceof Redirect) {
return Promise.reject(childPlan);
}
childInstruction.plan = childPlan;
viewPortInstruction.childNavigationInstruction = childInstruction;

Expand Down
7 changes: 7 additions & 0 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<a name="1.6.1"></a>
## [1.6.1](https://github.com/aurelia/router/compare/1.6.0...1.6.1) (2018-06-19)

### Bug Fixes

* **navigation-plan:** fix regression related to substate redirects

<a name="1.6.0"></a>
# [1.6.0](https://github.com/aurelia/router/compare/1.5.0...1.6.0) (2018-06-19)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-router",
"version": "1.6.0",
"version": "1.6.1",
"description": "A powerful client-side router.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 0a66d74

Please sign in to comment.