Skip to content

Releases: leeluolee/stateman

v0.2.0 is released, Support Promise now

28 Sep 09:13
Compare
Choose a tag to compare
  • add askForPermission phase in Lifecyle. which is useful for control navigation.
  • support Promise in enterleave and canEnter, canLeave( introduced in v0.2.0) to help us implement some asynchronous navigation. #7
  • add namespace support for builtin emitter #16
  • remove [state.async], you can use option.async for asynchronous navigation. but I suggest you to use promise instead. The only change that isn't backward-compatible.
  • remove $notfound #11
  • coverage is almost 100% now .
  • take watch as the default task #13
  • unify the routing option.

v0.1.8 introduced

10 Feb 14:05
Compare
Choose a tag to compare

Changelog

  1. fix #4
  2. introduce config.title to change the document.title when navigating is over. see here
  3. introduce option.strict . see here. if strict is true, it will resulting only the leaf state can be directly visited.