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

Releases: christopherthielen/ui-router-extras

0.1.3

05 Oct 16:54
Compare
Choose a tag to compare

0.1.3 (2016-10-05)

Bug Fixes

  • 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)

Features

  • sticky: Improve view debugging output using console.table() (26058304)

Fixes broken 0.1.1 release

15 Mar 02:30
Compare
Choose a tag to compare

This is a re-release of 0.1.1 as 0.1.2.

The 0.1.1 releases folder had the 0.1.0 release in it.

0.1.1

15 Mar 02:17
Compare
Choose a tag to compare

0.1.1 (2016-03-14)

Bug Fixes

  • sticky:
    • Fix "Cannot read property 'globals' of null" The sticky provider was setting a r (e401776b, closes #258)
    • allow empty options parameter to transitionTo() (1d8b1b6e, closes #285)
    • Use inherited toParams for calculations. (83866b57, closes #288)
  • previous: Do not throw error if no previous state exists (a186505d, closes #281)

Features

  • $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)

0.1.0

13 Oct 13:47
Compare
Choose a tag to compare

0.1.0 (2015-10-13)

BREAKING CHANGE

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

Bug Fixes

  • sticky:
    • BC-BREAK always orphan inactive children of the toState (990e73ee, closes #212)
    • Exit all orphaned inactive states. (72a6ce51, closes #217)
    • Properly support Typed Parameters (object params) by using $$equals() (if ui-router 0.2.12+) to determine if params are equal (5d5ce6de, closes #239)
  • transition: mitigate angular-permissions causing exceptions. (5fbd478c)
  • package.json: remove engines declaration allowing any version of node (4a575e41)

https://github.com/christopherthielen/ui-router-extras/issues?q=milestone%3A0.1.0

Maintenance release 0.0.14

18 Jun 21:01
Compare
Choose a tag to compare

This release publishes some bugfixes and a few requested features.

Issues tagged to this milestone

0.0.14 (2015-06-18)

Bug Fixes

  • dsr: Use state.includes instead of state.name.indexOf to determine if a dsr state is (89565f4d, closes #208)
  • future:
    • commented out debug code (b53c1ef7, closes #156)
    • Fixed double-urlRouter.sync() because of future state retry (f22c5439, closes #138)
    • Allow future state to be child of url-less abstract state Manually merged in pul (3a2419a7)
  • previous: Allow previous state to track states without URLs. (9c4be9f3, closes #175)
  • sticky:
    • Fixed non-strict references to 'forEach' (710e1d77)
    • prevent error on reseting missing state PR #206 (44edae43)
    • Refactored logic to better calculate exit/enter/(in|re)activations (43be5d9d, closes #131)
  • extras: restore ie8 compatibility due to reserved words (c25346d1)
  • karma: fixes "lodash" reference (4cfc3bbd)

Features

  • 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)

Bug fix release fixes critical 0.0.12 bugs

02 Feb 18:24
Compare
Choose a tag to compare

0.0.13 (2015-02-02)

This release comes 2 days after 0.0.12 and fixes a couple of bugs

Issues tagged to this milestone

Bug Fixes

  • 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)

Modular build!

01 Feb 02:40
Compare
Choose a tag to compare

0.0.12 (2015-01-31)

Issues tagged to this milestone

Bug Fixes

  • $futureState:
    • Better logic for failed lazy load of future state chore($futureState): clean up (4f541906)
    • handle .otherwise() when the typed url matches a future state url + ".*" (2bdf864e, closes #124)
    • Fixed url.concat to use parentState.url, or parentState.navigable.url. (31ca73bd)
  • $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:
    • Future states URL is now optional (9233ea90, closes #129)
    • Previous state no longer tracks abstract from-states (e.g., root) (b0431d68, closes #123)
    • Previous state now tracked using $transition$ promise (1127ef62, closes #120)
  • sticky:
    • fixed reload: true for ui-router 0.2.8 (82783374)
    • Fixed unexpected exit/reload of inactive state. (c8eff13d, closes #131)
    • fix sticky state registration (d84311eb)

Features

  • $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)

0.0.11

21 Nov 19:03
Compare
Choose a tag to compare

Changelog: https://github.com/christopherthielen/ui-router-extras/blob/0.0.11/CHANGELOG.md

Issues tagged to this milestone

Future States!

This release focuses on improving the future states API.

  • Future States now use a url pattern, just like regular states
    • Your url can include parameter definitions
    • The UI-Router UrlMatcher code is used to recognize urls.
  • You can define future states which have children that are their own future states
  • A bunch of corner cases and bug fixes for Future States
  • Future States now plays nice with $urlRouterProvider.otherwise

Reset

  • You can now reset sticky states and DSR

DSR

  • DSR now supports parameters and is more flexible

0.0.10

27 Aug 16:02
Compare
Choose a tag to compare
0.0.10 Pre-release
Pre-release

0.0.10 (2014-08-27)

Issues tagged to this milestone

Bug Fixes

  • Proper filename casing for case-sensitive filesystems #47 from theomy ((9b5a62b))
  • $stickyState:
    • Fix states not exiting when the state parent attribute is used ((a3f0f9d))

(instead of the fully qualified dotted notation)

  • Fixed the decorated $state.transitionTo promise result. ((873e9a7))

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. ((02c804c))

Removed resolve and globals from __inactives. closes #37

  • Sticky States needs access to the root state. ((f3cf772))

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

Features

  • DSR:
    • state.deepStateRedirect may now be a function. closes #44 ((d37442e))
  • $transition$:
    • new injectable promise object $transition$ ... docs pending

Other

  • Add injection annotations so other people can minify correctly. closes #38 ((6810583))
  • Reformatted code

0.0.9

27 Jul 16:46
Compare
Choose a tag to compare
0.0.9 Pre-release
Pre-release

Issues tagged to this milestone

Features

  • fix(build): Add versioned header to release files. closes #33

Bug Fixes

  • 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