Skip to content

1.0.1

Compare
Choose a tag to compare
@christopherthielen christopherthielen released this 04 Feb 21:58
· 248 commits to master since this release

1.0.1 (2020-02-04)

Compare @uirouter/react versions 1.0.0 and 1.0.1

Bug Fixes

  • Refactor UIView for compatibility with @uirouter/react-hybrid. (55d4c98)
  • Restore UIRouterConsumer and UIViewConsumer context consumer components. (3ed8ce1)
  • uiCanExit: fix uiCanExit logic and use refs so hook de/registration happens outside any render (e73daa7)

Features

  • hooks: Add useCanExit hook to block transitions from exiting a state (29d080c)
  • hooks: export useParentView for use in uirouter/react-hybrid (b5a2e80)

BREAKING CHANGES

  • UIRouterConsumer now is of type import { UIRouter } from '@uirouter/core' instead of import { UIRouterReact } from '@uirouter/react'

Updated @uirouter/core from 6.0.1 to 6.0.4

Changelog for @uirouter/core:

Compare @uirouter/core versions 6.0.1 and 6.0.4

Bug Fixes

  • hof: Rewrite curry from scratch (fc324c6), closes #350
  • IE9: Add safeConsole so IE9 doesn't break (9c8579d)
  • safeConsole: check if document is defined to avoid issues in node environments (da29d88)

Features

  • stateService: add transition option 'supercede' so transition can be ignored if one is pending (6e5a56f)