Skip to content
This repository was archived by the owner on Sep 20, 2020. It is now read-only.

Commit a79191d

Browse files
author
christhielen
committed
release 0.1.0
1 parent 130e1b4 commit a79191d

19 files changed

Lines changed: 373 additions & 265 deletions

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,41 @@
1+
2+
<a name="0.1.0"></a>
3+
### 0.1.0 (2015-10-13)
4+
5+
## BREAKING CHANGE
6+
This release changes the semantics of navigating to a parent state of a sticky state. A sticky state tree is now *always exited* if its parent state is directly activated. This provides a consistent rule and addresses issue #212.
7+
8+
Previously, navigating from a sticky state tree to the parent of the sticky state tree would not exit the children. However, if the sticky state tree was inactivated, navigating from elsewhere to the parent of the sticky state tree *would* exit the children.
9+
10+
Example:
11+
Given states A, A.1 (sticky) and A.2
12+
13+
The previous behavior:
14+
- If A.1 is active and you transition to A, A.1 was inactivated
15+
- If A.1 is inactive, A.2 is active, and you transition to A, A.1 was exited
16+
17+
The new behavior:
18+
- If A.1 is active and you transition to A, A.1 is exited
19+
- If A.1 is inactive and A.2 is active, if you transition to A, A.1 is exited
20+
21+
#### Bug Fixes
22+
23+
* **sticky:**
24+
* BC-BREAK always orphan inactive children of the toState ([990e73ee](https://github.com/christopherthielen/ui-router-extras/commit/990e73ee1000f2811728b273236859c1a3f22228), closes [#212](https://github.com/christopherthielen/ui-router-extras/issues/212))
25+
* Exit all orphaned inactive states. ([72a6ce51](https://github.com/christopherthielen/ui-router-extras/commit/72a6ce51a996f9a002ba0db62b42bc11f25fb516), closes [#217](https://github.com/christopherthielen/ui-router-extras/issues/217))
26+
* Properly support Typed Parameters (object params) by using $$equals() (if ui-router 0.2.12+) to determine if params are equal ([5d5ce6de](https://github.com/christopherthielen/ui-router-extras/commit/5d5ce6de313208ae3123d02a19e75ed5efb72a79), closes [#239](https://github.com/christopherthielen/ui-router-extras/issues/239))
27+
* **transition:** mitigate angular-permissions causing exceptions. ([5fbd478c](https://github.com/christopherthielen/ui-router-extras/commit/5fbd478cdd14c36b439a8f138419fd02edea3819))
28+
29+
* **package.json:** remove engines declaration allowing any version of node ([4a575e41](https://github.com/christopherthielen/ui-router-extras/commit/4a575e4102c8589fb89172610a7454f96ee72c13))
30+
31+
32+
#### Features
33+
34+
* **previous:** reject $previousState.go if unassigned memo is passed in ([48affbc1](https://github.com/christopherthielen/ui-router-extras/commit/48affbc19c1a2c6d13e51beb796c0a0ca127de81))
35+
* **dsr:** Added getRedirect() to $deepStateRedirect ([45c535af59b4](https://github.com/christopherthielen/ui-router-extras/commit/45c535af59b4344fda854dd1c88cd155f8ad241a)), closes [#184](https://github.com/christopherthielen/ui-router-extras/issues/184)
36+
37+
38+
139
<a name="0.0.14"></a>
240
### 0.0.14 (2015-06-18)
341

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ui-router-extras",
3-
"version": "0.0.14",
3+
"version": "0.1.0",
44
"authors": [
55
"Chris Thielen <christopherthielen@ikkyikkyikkypikangzoopboing.com>"
66
],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Christopher Thielen",
33
"name": "ui-router-extras",
4-
"version": "0.0.14",
4+
"version": "0.1.0",
55
"description": "UI-Router Extras: Sticky states, Future States, Deep State Redirect, Transition promise",
66
"homepage": "http://christopherthielen.github.io/ui-router-extras/",
77
"license": "MIT",

release/ct-ui-router-extras.js

Lines changed: 157 additions & 122 deletions
Large diffs are not rendered by default.

release/ct-ui-router-extras.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/modular/ct-ui-router-extras.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* UI-Router Extras: Sticky states, Future States, Deep State Redirect, Transition promise
33
* Module: core
4-
* @version 0.0.14
4+
* @version 0.1.0
55
* @link http://christopherthielen.github.io/ui-router-extras/
66
* @license MIT License, http://www.opensource.org/licenses/MIT
77
*/

release/modular/ct-ui-router-extras.core.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/modular/ct-ui-router-extras.dsr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* UI-Router Extras: Sticky states, Future States, Deep State Redirect, Transition promise
33
* Module: dsr
4-
* @version 0.0.14
4+
* @version 0.1.0
55
* @link http://christopherthielen.github.io/ui-router-extras/
66
* @license MIT License, http://www.opensource.org/licenses/MIT
77
*/

release/modular/ct-ui-router-extras.dsr.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/modular/ct-ui-router-extras.future.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* UI-Router Extras: Sticky states, Future States, Deep State Redirect, Transition promise
33
* Module: future
4-
* @version 0.0.14
4+
* @version 0.1.0
55
* @link http://christopherthielen.github.io/ui-router-extras/
66
* @license MIT License, http://www.opensource.org/licenses/MIT
77
*/

0 commit comments

Comments
 (0)