- dsr: Cannot read property 'ignoreDsr' of undefined (3e23a4ac)
- sticky: fix inactive child state targeting a named ui-view that inactive parent also tar (122d5842, closes #272, #343)
- sticky: Improve view debugging output using console.table() (26058304)
- $previousState: add a
set
method to$previousState
to programmatically set the previous stat (8423e0d6, closes #302) - future: allow options to be passed to future state (3a2469d8)
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.
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.
Example: Given states A, A.1 (sticky) and A.2
The previous behavior:
- If A.1 is active and you transition to A, A.1 was inactivated
- If A.1 is inactive, A.2 is active, and you transition to A, A.1 was exited
The new behavior:
- If A.1 is active and you transition to A, A.1 is exited
- If A.1 is inactive and A.2 is active, if you transition to A, A.1 is exited
-
sticky:
-
transition: mitigate angular-permissions causing exceptions. (5fbd478c)
-
package.json: remove engines declaration allowing any version of node (4a575e41)
- previous: reject $previousState.go if unassigned memo is passed in (48affbc1)
- dsr: Added getRedirect() to $deepStateRedirect (45c535af59b4), closes #184
- dsr: Use state.includes instead of state.name.indexOf to determine if a dsr state is (89565f4d, closes #208)
- future:
- previous: Allow previous state to track states without URLs. (9c4be9f3, closes #175)
- sticky:
- extras: restore ie8 compatibility due to reserved words (c25346d1)
- karma: fixes "lodash" reference (4cfc3bbd)
- dsr: Added getRedirect() to $deepStateRedirect (45c535af, closes #184)
- future: Allow future states to be retried after a failed lazy load attempt (6e6f3ece, closes #196)
- sticky: added $stickyState.reset("*") (3656835d, closes #162)
This release comes 2 days after 0.0.12 and fixes a couple of bugs
- future: fix modular build of futurestates (abfdc34d, closes #151)
- statevis: add dep from statevis to sticky (1a488d84, closes #153)
- sticky: Fix modular sticky states build (21d1d129, closes #154)
- transition: transition promise now resolved correctly (598452ed, closes #152)
- $futureState:
- $stickyState: Made equalForKeys compatible with state.ownParams breaking change in UI-Router 0 (5aba1345, closes #112)
- dsr: Allow default substates and parameters for deep state redirect. (20fade74, closes #150)
- previous:
- sticky:
- $futureState: Added $stateAdded event (b6da3998)
- previous: forget can now forget the previous state (992b88bd, closes #145)
- sticky: Allow reloading of partial state tree (27d6c8c5, closes #139)
- uiRouterExtras: modularize the code base and build system. switched to gulp (aebf936d)
This release focuses on improvements to Future States.
- load in lazyLoadState ((32fcf169))
-
$futureState:
- when concatting with parent url, use parent.navigable.url ((63ec61bf), closes (#69))
- fix top-level future states (root state is parent) ((e5847356), closes (#98))
- also register parent future states returned from factory fn ((48995fb3), closes (#99))
- fix transition to future state using .relative sref ((e953de61), closes (#3))
- unregister lazyloaded future states closes #2 ((67ad0d47))
- allow state lookup by object reference, or by state name ((6ca316cd))
- $stickyState: Make sticky state compatible with UI-Router 0.2.12 ((751db8e1), closes (#88))
- ie: added ['finally'] method invocation on ((095e5675))
-
$futureState:
- use UrlMatcher for future url ((f1b0fe57), closes (#54), (#82))
- allow regexp matching in urlPrefix ((15c150d1))
- future states may now have parent futurestate ((8e11a7c6), closes (#63))
- support $urlRouterProvider.otherwise() ((748f2f1f))
-
$previousState: Add support for default previous state/params ((1c08ed7c))
-
$stickyState: Added $stickyState.reset() function ((af427116), closes (#48))
-
$deepStateRedirect:
- add support for DSR only when params match. ((ed16ae4c))
- add service function to reset DSR ((c17e27f0), closes (#87))
- provide state dsr function with to and redirect info. ((c46fd283), closes (#91))
- use FutureState.name instead of FutureState.stateName to be consistent with UI-Router (backwards compat attempted, but not guaranteed)
- BREAKING CHANGE: use FutureState.url instead of FutureState.urlPrefix to be consistent with UI-Router (backwards compat attempted, but not guaranteed)
- FutureState.url is now processed using UI-Router's UrlMatcher code.
- FutureState.url is concat'd with the parent state's url to create the UrlMatcher/regexp.
- FutureState.url has a wildcard added to the end to match anything extra (.*)
- Changed example iframe factory to use .name and .url and .parent
- internalStates map now gets root internal state
Fixes #54 Closes #82 (PR) ((f1b0fe57))
- load in lazyLoadState ((32fcf169))
- $deepStateRedirect: provide state dsr function with to and redirect info. ((c46fd283), closes (#91))
-
$futureState:
- when concatting with parent url, use parent.navigable.url ((63ec61bf), closes (#69))
- fix top-level future states (root state is parent) ((e5847356), closes (#98))
- also register parent future states returned from factory fn ((48995fb3), closes (#99))
- ie: added ['finally'] method invocation on ((095e5675))
- allow regexp matching in urlPrefix ((15c150d1))
-
$deepStateRedirect:
- add service function to reset DSR ((c17e27f0), closes (#87))
- add support for DSR only when params match. ((ed16ae4c))
-
$futureState:
- future states may now have parent futurestate ((8e11a7c6), closes (#63))
- fix transition to future state using .relative sref ((e953de61), closes (#3))
- use UrlMatcher for future url ((f1b0fe57), closes (#54), (#82))
- support $urlRouterProvider.otherwise() ((748f2f1f))
- unregister lazyloaded future states closes #2 ((67ad0d47))
- allow state lookup by object reference, or by state name ((6ca316cd))
-
$stickyState:
- Added $stickyState.reset() function ((af427116), closes (#48))
- Make sticky state compatible with UI-Router 0.2.12 ((751db8e1), closes (#88))
- $previousState: Add support for default previous state/params ((1c08ed7c))
- use FutureState.name instead of FutureState.stateName to be consistent with UI-Router (backwards compat attempted, but not guaranteed)
- use FutureState.url instead of FutureState.urlPrefix to be consistent with UI-Router (backwards compat attempted, but not guaranteed)
- Proper filename casing for case-sensitive filesystems #47 from theomy ((9b5a62b2))
- $stickyState:
- Fix states not exiting when the state parent attribute is used ((a3f0f9db))
(instead of the fully qualified dotted notation)
- Fixed the decorated $state.transitionTo promise result. ((873e9a79))
When it should have been returning a rejected promise, it was instead returning a resolved promise with the error as the value. closes #42
- Made root.locals inherit from __inactives.locals. ((02c804c0))
Removed resolve and globals from __inactives. closes #37
- Sticky States needs access to the root state. ((f3cf772c))
It can now access it even if no user-defined states have been decorated. closes #36
- Proper filename casing for case-sensitive filesystems - renamed stickystate.js to stickyState.js
-
DSR:
- state.deepStateRedirect may now be a function. closes #44 ((d37442e))
-
$transition$ :- new injectable promise object
$transition$ ... docs pending
- new injectable promise object
- Add injection annotations so other people can minify correctly. closes #38 ((68105836))
- Reformatted code
- fix(build): Add versioned header to release files. closes #33
- fix($futureState) Fixed double resolve on initial app load. Closes #28 Closes #32
- fix($deepStateRedirect): DSR state is now remembered correctly when using { ignoreDsr: true } to transition directly to DSR state. Closes #31
- fix($previousState): Added options parameter to $previousState.go(). Closes #30
- chore($stickyState) Technical documentation of Sticky State internal implementation. closes #23
- Added an transitionTo option, { ignoreDsr: true } to transition directly to a DSR state. closes #25
- fix(stickyState) Allow transitionTo without options specified. fixes #21
- fix($stickyState): Fixed sticky-state triggers unnecessary re-resolves. closes #22
- fix($stickyState): Fixed state params inheritance not accounted for when processing the transitions causing sticky transitions to fail when parent state has a parameter. closes #24
- fix($deepStateRedirect): Added ignoreDsr option for $state.transitionTo. closes #25
- fix($futureState): Delay initial re-sync using $timeout. This stops the standard ui-router sync from superseding the futureStates resync. I think this fixes #28
- fix($deepStateRedirect): $q not defined (when a transition is aborted or fails). closes #27
- fix($stickyState): Fixed bug introduced in 0.0.7 refactor which caused sticky states to fail completely. Now, I made root.locals prototype inherit from __inactives.locals so views can be located by the ui-views. fixes #29
- Removed UI-Router 0.2.6 from the grunt test runner. See issue #26
- chore($stickyState) Refactored sticky state internals from inserting __inactives into each state's path to prepending __inactives as a parent to root ("")
- test($stickyState): Added unit test for controller not re-invoked on state reactivation. closes #24 again.
- test($stickyState): Added unit tests for root locals prototypally inheriting from __inactives.locals to test for the scenario in issue #29
- Added tests for $previousState. closes #13
- Compatible with UI-Router HEAD (will probably be released as UI-Router 0.2.11 or 0.3.0). Closes #17
- Removed last usage of UnderscoreJS. closes #8
- Cleaned up bower release files. closes #15
- Fixed minification bug. closes #18
- Added array notation to deepStateRedirect.js initialization. closes #18
- No longer setting a different state.self object on the surrogate states. closes #1 , closes #16
- Reorganized karma tests to run against multiple versions (0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.10, HEAD) of ui-router and minified ct-ui-router-extras. closes #19
- Fixed DSR Spec so its getStates function doesn't conflict with other spec function.
- Moved pathFrom() into testUtil.js
- Added uiRouterVersion() parser to testUtil.js
- Reorganized files.js layout (this needs a makeover, i do not like)
- Added state locals/view debugging output when $stickyStateProvider.enableDebug(true);
- Added Previous State service for returning to a workflows entry point issue #10
- Added karma runner for UI-Router versions 0.2.0, 0.2.8, 0.2.10, HEAD@2014-07-05 issue #12
- Removed runtime dependency on underscoreJS. issue #8
- Sticky transitions lose locals (cached views) when pivoting over root state issue #9
- Wrap release ct-ui-router-extras.js in IIFE (function(){})() issue #6
- Clean up grunt warnings issue #5
- Remove sticky state debugging output issue #4
- example state factories are now hidden inside the IIFE.
- Sticky states
- Deep State Redirect Future States