Skip to content

Releases: ui-router/react-hybrid

1.0.5

28 Feb 23:25
Compare
Choose a tag to compare

1.0.5 (2022-02-28)

Compare @uirouter/react-hybrid versions 1.0.4 and 1.0.5


Updated @uirouter/react from 1.0.6 to 1.0.7

Changelog for @uirouter/react:

Compare @uirouter/react versions 1.0.6 and 1.0.7

Bug Fixes

  • update classnames library which has default export type (#939) (c771405)

1.0.4

02 May 20:47
Compare
Choose a tag to compare

1.0.4 (2021-05-02)

Compare @uirouter/react-hybrid versions 1.0.3 and 1.0.4

Bug Fixes

  • UIRouterContextComponent: Handle array of length 1 (#526) (925f816)

1.0.3

23 Dec 02:26
Compare
Choose a tag to compare

1.0.3 (2020-12-23)

Compare @uirouter/react-hybrid versions 1.0.2 and 1.0.3


Updated @uirouter/core from 6.0.5 to 6.0.7

Changelog for @uirouter/core:

Compare @uirouter/core versions 6.0.5 and 6.0.7

Bug Fixes

  • array: Fix decoding of array-type query parameters (44ebfae)
  • params: Bi-directionally en/decode path and search params. (#618) (89e99cd)

Updated @uirouter/react from 1.0.3 to 1.0.6

Changelog for @uirouter/react:

Compare @uirouter/react versions 1.0.3 and 1.0.6

Bug Fixes

  • sref: do not handle clicks if the dom element has a 'target' attribute (#799) (a13b3cd), closes #786

Updated @uirouter/angularjs from 1.0.26 to 1.0.29

Changelog for @uirouter/angularjs:

Compare @uirouter/angularjs versions 1.0.26 and 1.0.29

Bug Fixes

  • should not transition states when alt-clicked (8080adb)
  • make augmented StateRegistry.register overload better match the signature in core (db4e63f)

1.0.2

29 Apr 20:12
Compare
Choose a tag to compare

1.0.2 (2020-04-29)

Compare @uirouter/react-hybrid versions 1.0.1 and 1.0.2


Updated @uirouter/core from 6.0.4 to 6.0.5

Changelog for @uirouter/core:

Compare @uirouter/core versions 6.0.4 and 6.0.5

Bug Fixes

  • TargetState: make isDef check more thorough (e657cfe)

Features

  • urlRuleFactory: Add support for StateDeclarations in UrlRuleFactory.fromState() (539d33a)

Updated @uirouter/react from 1.0.2 to 1.0.3

Changelog for @uirouter/react:

Compare @uirouter/react versions 1.0.2 and 1.0.3

Bug Fixes

  • examples: update animating-transitions example (3520596)

Features


Updated @uirouter/angularjs from 1.0.25 to 1.0.26

Changelog for @uirouter/angularjs:

Compare @uirouter/angularjs versions 1.0.25 and 1.0.26

1.0.1

24 Feb 00:12
Compare
Choose a tag to compare

1.0.1 (2020-02-24)

Compare @uirouter/react-hybrid versions 1.0.0 and 1.0.1


Updated @uirouter/react from 1.0.1 to 1.0.2

Changelog for @uirouter/react:

Compare @uirouter/react versions 1.0.1 and 1.0.2

Bug Fixes

  • Only run initialization effect on first render (7788a98)

1.0.0

04 Feb 22:26
Compare
Choose a tag to compare

1.0.0 (2020-02-04)

Compare @uirouter/react-hybrid versions 0.3.12 and 1.0.0

Code Refactoring

  • Migrate to uirouter/react 1.x hooks (05549af)

BREAKING CHANGES

  • Requires uirouter/react 1.0.0 or higher

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)

Updated @uirouter/react from 0.8.10 to 1.0.1

Changelog for @uirouter/react:

Compare @uirouter/react versions 0.8.10 and 1.0.1

Bug Fixes

  • : Fix router initialization when a router prop is present (dbce860)
  • errors: Always throw a new Error() so stacktraces are usable (26f6989)
  • typescript: Type onClick as MouseEventHandler. (7512f14)
  • uiCanExit: fix uiCanExit logic and use refs so hook de/registration happens outside any render (e73daa7)
  • UISrefActive: Avoid reusing the same array reference during setState() call (b9064cd)
  • useCurrentStateAndParams: deregister transition hook when unmounted (ba397a6)
  • useIsActive: Support relative state names (311f1f3)
  • useIsActive: Update isActive if the params have changed (b3efe35)
  • useSref: Call go() with the actual user provided state string (fba5321)
  • useSref: Recompute the targeted state (and hrefs) whenever states are added or removed from the state registry (4c6b0f0)
  • useSref: Update href if the stateName or params have changed (be8e07f)
  • useSref: Use optionsMemo and paramsMemo instead of the function arguments (81ae788)
  • useSrefActive: Export useSrefActive and useSrefActiveExact (d317790)
  • useStableCallback: update ref.current and fix test (ec4ce5d)
  • useTransitionHook: update hook when options or criteria changes. Use a stable callback reference. (57e593e)
  • Refactor UIView for compatibility with @uirouter/react-hybrid. (55d4c98)
  • Restore UIRouterConsumer and UIViewConsumer context consumer components. (3ed8ce1)
  • useUiSref: Throw if 'to' isnt a string (65f10e5)

Features

  • hooks: Add hooks: useTransitionHook, useOnStateChanged, useCurrentStateAndParams (00e6545)
  • hooks: Add useCanExit hook to block transitions from exiting a state (29d080c)
  • hooks: Add useDeepObjectDiff hook to detect changes to params or config objects in other hooks (07f3182)
  • hooks: Add useSrefActive and useSrefActiveExact hooks (2b5826f)
  • hooks: add useUIRouter and useCurrentState hooks (bce6539)
  • hooks: export useParentView for use in uirouter/react-hybrid (b5a2e80)
  • ReactHooks: introduce hooks useUISref and useUISrefActive (b9a763c)

BREAKING CHANGES

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

Updated @uirouter/angularjs from 1.0.23 to 1.0.25

Changelog for @uirouter/angularjs:

Compare @uirouter/angularjs versions 1.0.23 and 1.0.25

0.3.12

26 Oct 20:01
Compare
Choose a tag to compare

0.3.12 (2019-10-26)

Compare @uirouter/react-hybrid versions 0.3.11 and 0.3.12

Features


Updated @uirouter/core from 5.0.23 to 6.0.1

Changelog for @uirouter/core:

Compare @uirouter/core versions 5.0.23 and 6.0.1

Bug Fixes

  • resolve: remove unnecessary generics from CustomAsyncPolicy (#452) (61f4ee9)

Features

  • resolve: Remove RXWAIT async policy in favour of allowing user defined async policy function (#366) (0ad87f6)

BREAKING CHANGES

  • resolve: RXWAIT async policy has been removed, but it never worked in the first place

Updated @uirouter/react from 0.8.9 to 0.8.10

Changelog for @uirouter/react:

Compare @uirouter/react versions 0.8.9 and 0.8.10

Features

  • package: fixes to support React.StrictMode (#512) (cd8777a)

Updated @uirouter/angularjs from 1.0.22 to 1.0.23

Changelog for @uirouter/angularjs:

Compare @uirouter/angularjs versions 1.0.22 and 1.0.23

Bug Fixes

  • stateFilters: Export each function individually (978b882)
  • types: Remove @types/jquery from devDependencies, upgrade @types/angular (b12bc84)
  • viewDirective: add check for componentProvider, avoid extra trigger for $onInit (fixing #3735) (#3779) (c3e87ad)

0.3.11

08 Oct 03:35
Compare
Choose a tag to compare

0.3.11 (2019-10-08)

Compare @uirouter/react-hybrid versions 0.3.10 and 0.3.11

Bug Fixes

  • example: move react-scripts to devDependencies (84da7cc)
  • package: Change peerDependency on react from '^15.0.0' to '>=15.0.0' (8a3551a)
  • travis: use service: xvfb instead of launching it manually. install libgconf debian package to fix cypress (49ae46b)

0.3.10

03 Feb 22:14
Compare
Choose a tag to compare

0.3.10 (2019-02-03)

Compare @uirouter/react-hybrid versions 0.3.9 and 0.3.10

Updated @uirouter/core from 5.0.21 to 5.0.23

Compare @uirouter/core versions 5.0.21 and 5.0.23

Bug Fixes

  • lazyLoad: StateBuilder should not mutate the state declaration (1478a3c), closes /github.com/ui-router/core/commit/3cd5a2a#r31260154
  • state: Update URL in response to ignored transition due to redirect (c64c252)
  • test_downstream_projects: don't double build core while testing downstreams (148b16b)
  • typescript: Fix typing of onChange callback in UrlService (961ed0f), closes #229
  • typescript: Mark params as optional in StateService.href (614bfb4), closes #287
  • vanilla: Fix baseHref parsing with chrome-extension:// urls (f11be4d), closes #304

Features

  • TransitionHook: Pass in transition to HookMatchCriteria (#255) (926705e)

Updated @uirouter/react from 0.8.7 to 0.8.9

Compare @uirouter/react versions 0.8.7 and 0.8.9

Updated @uirouter/angularjs from 1.0.20 to 1.0.22

Compare @uirouter/angularjs versions 1.0.20 and 1.0.22

0.3.9

15 Nov 23:38
Compare
Choose a tag to compare

0.3.9 (2018-11-15)

Compare @uirouter/react-hybrid versions 0.3.8 and 0.3.9

Bug Fixes

  • UIVieMonkeyPatch: Remove erroneously added