Compare @uirouter/react-hybrid
versions 1.0.4 and 1.0.5
Changelog for @uirouter/react
:
Compare @uirouter/react
versions 1.0.6 and 1.0.7
Compare @uirouter/react-hybrid
versions 1.0.3 and 1.0.4
Compare @uirouter/react-hybrid
versions 1.0.2 and 1.0.3
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 6.0.5 and 6.0.7
- array: Fix decoding of array-type query parameters (44ebfae)
- params: Bi-directionally en/decode path and search params. (#618) (89e99cd)
Changelog for @uirouter/react
:
Compare @uirouter/react
versions 1.0.3 and 1.0.6
- sref: do not handle clicks if the dom element has a 'target' attribute (#799) (a13b3cd), closes #786
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.26 and 1.0.29
- should not transition states when alt-clicked (8080adb)
- make augmented StateRegistry.register overload better match the signature in core (db4e63f)
Compare @uirouter/react-hybrid
versions 1.0.1 and 1.0.2
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 6.0.4 and 6.0.5
- TargetState: make isDef check more thorough (e657cfe)
- urlRuleFactory: Add support for StateDeclarations in UrlRuleFactory.fromState() (539d33a)
Changelog for @uirouter/react
:
Compare @uirouter/react
versions 1.0.2 and 1.0.3
- examples: update animating-transitions example (3520596)
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.25 and 1.0.26
Compare @uirouter/react-hybrid
versions 1.0.0 and 1.0.1
Changelog for @uirouter/react
:
Compare @uirouter/react
versions 1.0.1 and 1.0.2
- Only run initialization effect on first render (7788a98)
Compare @uirouter/react-hybrid
versions 0.3.12 and 1.0.0
- Migrate to uirouter/react 1.x hooks (05549af)
- Requires uirouter/react 1.0.0 or higher
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 6.0.1 and 6.0.4
- 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)
- stateService: add transition option 'supercede' so transition can be ignored if one is pending (6e5a56f)
Changelog for @uirouter/react
:
Compare @uirouter/react
versions 0.8.10 and 1.0.1
- : 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)
- 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)
- UIRouterConsumer now is of type
import { UIRouter } from '@uirouter/core'
instead ofimport { UIRouterReact } from '@uirouter/react'
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.23 and 1.0.25
Compare @uirouter/react-hybrid
versions 0.3.11 and 0.3.12
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 5.0.23 and 6.0.1
- resolve: remove unnecessary generics from CustomAsyncPolicy (#452) (61f4ee9)
- travis: use service: xvfb instead of launching it manually (1271fcd)
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (ac1ef4b)
- resolve: Remove RXWAIT async policy in favour of allowing user defined async policy function (#366) (0ad87f6)
- resolve: RXWAIT async policy has been removed, but it never worked in the first place
Changelog for @uirouter/react
:
Compare @uirouter/react
versions 0.8.9 and 0.8.10
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (07e6fb6)
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.22 and 1.0.23
- stateFilters: Export each function individually (978b882)
- travis: Fix travis build (dc0f58a)
- types: Remove @types/jquery from devDependencies, upgrade @types/angular (b12bc84)
- viewDirective: add check for componentProvider, avoid extra trigger for $onInit (fixing #3735) (#3779) (c3e87ad)
Compare @uirouter/react-hybrid
versions 0.3.10 and 0.3.11
- 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)
Compare @uirouter/react-hybrid
versions 0.3.9 and 0.3.10
Compare @uirouter/core
versions 5.0.21 and 5.0.23
- 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
Compare @uirouter/react
versions 0.8.7 and 0.8.9
Compare @uirouter/angularjs
versions 1.0.20 and 1.0.22
Compare @uirouter/react-hybrid
versions 0.3.8 and 0.3.9
- UIVieMonkeyPatch: Remove erroneously added (c189c99)
Compare @uirouter/react-hybrid
versions 0.3.7 and 0.3.8
- Portal: Support creating portals for multiple nested UIViews (ab4edcb)
Compare @uirouter/react-hybrid
versions 0.3.6 and 0.3.7
- ReactUIViewAdapter: Turn off debug statement (whops) (cb8b64d)
Compare @uirouter/react-hybrid
versions 0.3.5 and 0.3.6
- UIView: Use React Portals: Allows React Context to propagate through UIViews. All UIViews now render using the same React instance. (5f76b16ff670a3e325909440cf33b3e56829880d) #138
Compare @uirouter/react-hybrid
versions 0.3.4 and 0.3.5
Big thanks to @jutaz!
- Do not re-render a component that has been unmounted (2c41f98d0589541067fd8b38f0d4e0c603d15984) #134
- Use JQLite to remove an element for IE11 compat (2f1c6bc9731a2287569a865107563cead9f6bf27) #92
- Use JQLite to remove an element for IE11 compat (2f1c6bc9731a2287569a865107563cead9f6bf27) #92
Compare @uirouter/react-hybrid
versions 0.3.3 and 0.3.4
Compare @uirouter/core
versions 5.0.20 and 5.0.21
- dynamic: Use 'find' from common.ts instead of Array.prototype.find (66a3244), closes #215
- url: When using html5Mode and no tag is present, default to '/' (23742e3), closes #223
Compare @uirouter/react
versions 0.8.5 and 0.8.7
Compare @uirouter/angularjs
versions 1.0.19 and 1.0.20
Compare @uirouter/react-hybrid
versions 0.3.2 and 0.3.3
Compare @uirouter/react
versions 0.8.4 and 0.8.5
Compare @uirouter/react-hybrid
versions 0.3.1 and 0.3.2
Compare @uirouter/react
versions 0.8.3 and 0.8.4
- uiview: Fix uiCanExit when routing to a React.forwardRef() (cf5c668)
Compare @uirouter/react-hybrid
versions 0.3.0 and 0.3.1
Compare @uirouter/core
versions 5.0.19 and 5.0.20
- params: When creating an array parameter from a custom type, copy the
raw
property (b6dd738), closes #178
- dynamic: Support dynamic flag on a state declaration (3cd5a2a)
- transition: Added transition.paramsChanged() to get added/deleted/changed parameter values for a transition (10b7fde)
- view: Add _pluginapi._registeredUIView() to get a ui-view by id (6533b51)
Compare @uirouter/react
versions 0.8.2 and 0.8.3
Compare @uirouter/angularjs
versions 1.0.18 and 1.0.19
- npm: Publish to the old angular-ui-router npm package too (8fc3bb2)
- resolve: Detect and honor strictDi in angularjs versions 1.3 and 1.4 (1368c18), closes #3678
- state: When creating absolute hrefs in hashbang mode, include the location.pathname (cd426e5), closes #3710
- uiview: Allow uiOnParamsChanged to work with states that have a componentProvider (fe91bd3), closes #3707
Compare @uirouter/react-hybrid
versions 0.2.0 and 0.3.0
- Support UI-Router 0.8.2 and switch to React 16.3 context API (09af7b6)
- This version of react-hybrid requires
@uirouter/react
version 0.8.2 or higher and requires React 16.3.x or higher.
Compare @uirouter/core
versions 5.0.18 and 5.0.19
- enums: Workaround angular compiler export issue angular/angular#23759 (38d25fa)
Compare @uirouter/react
versions 0.7.0 and 0.8.2
- enzyme: fix enzyme patch leaving a file called '-' (4c2157c)
- UISref/UISrefActive: make proptypes non-required: parentUIView, addStateInfoToParentActive (c7aa299), closes #173
- internal: Change UIView from arrow to Component Class (ce2bc1e)
- internal: exposed the internal View component for use by @uirouter/react-hybrid (9c07226)
- UIView: force component re-mount on reload() (d01162a), closes #172
- UIView: when a state is entered/exited the State Component is remounted, re-running its lifecycle methods.
Compare @uirouter/angularjs
versions 1.0.16 and 1.0.18
- bundles: Do not run prettier against release/* bundles when publishing to bower (9b420fa)
Compare @uirouter/react-hybrid
versions 0.1.0 and 0.2.0
Compare @uirouter/core
versions 5.0.17 and 5.0.18
- angular: A hack to force the Angular compiler to import from module index (d56a2be)
- StateRegistry: Notify listeners of added states when there are orphans in the state queue (5a9bac9)
- transition: Fix typing of Transition.params() (ebea30e)
- transition: Normalize
error()
to always returnRejection
(9bcc5db)
Compare @uirouter/react
versions 0.6.2 and 0.7.0
- package: update prop-types to version 15.6.1 (1d0ee26)
- use new React 16.3 context API (580700f), closes #54
- react: update minimum react version supported (4acb7a7)
- react: from version
0.7.0
@uirouter/react
only supports react from version16.3.x
because of the new Context API. If you need to use it with previous versions of React you should check the0.6.x
, but bear in mind that it’s no longer supported and it’s advised to update React instead. @uirouter/react
now uses the new React 16.3 Context API. If you were accessing the router instance via the legacy context api (which was never explecitly supported) you need to update your code accordingly:
before:
class SomeComponent extends React.Component {
static contextTypes = {
router: PropTypes.object
}
render () {
// access context via this.context
const router = this.context.router;
// do whatever needed with the router
}
}
after:
class SomeComponent extends React.Component {
render () {
// access router via props
const router = this.props.router;
// do whatever needed with the router
}
}
// when rendering the component wrap it with the `<UIRouterConsumer>` component
<UIRouterConsumer>
{router => <SomeComponent router={router} />}
</UIRouterConsumer>
Compare @uirouter/angularjs
versions 1.0.15 and 1.0.16
Compare @uirouter/react-hybrid
versions 0.1.0 and 0.1.1
Compare @uirouter/core
versions 5.0.17 and 5.0.18
- angular: A hack to force the Angular compiler to import from module index (d56a2be)
- StateRegistry: Notify listeners of added states when there are orphans in the state queue (5a9bac9)
- transition: Fix typing of Transition.params() (ebea30e)
- transition: Normalize
error()
to always returnRejection
(9bcc5db)
Compare @uirouter/react
versions 0.6.2 and 0.7.0
- package: update prop-types to version 15.6.1 (1d0ee26)
- use new React 16.3 context API (580700f), closes #54
- react: update minimum react version supported (4acb7a7)
- react: from version
0.7.0
@uirouter/react
only supports react from version16.3.x
because of the new Context API. If you need to use it with previous versions of React you should check the0.6.x
, but bear in mind that it’s no longer supported and it’s advised to update React instead. @uirouter/react
now uses the new React 16.3 Context API. If you were accessing the router instance via the legacy context api (which was never explecitly supported) you need to update your code accordingly:
before:
class SomeComponent extends React.Component {
static contextTypes = {
router: PropTypes.object
}
render () {
// access context via this.context
const router = this.context.router;
// do whatever needed with the router
}
}
after:
class SomeComponent extends React.Component {
render () {
// access router via props
const router = this.props.router;
// do whatever needed with the router
}
}
// when rendering the component wrap it with the `<UIRouterConsumer>` component
<UIRouterConsumer>
{router => <SomeComponent router={router} />}
</UIRouterConsumer>
Compare @uirouter/angularjs
versions 1.0.15 and 1.0.16
Compare @uirouter/react-hybrid
versions 0.0.16 and 0.1.0
- react-hybrid: Fix errors surfaced by react 16 (f61e241)
Compare @uirouter/react-hybrid
versions 0.0.15 and 0.0.16
Compare @uirouter/core
versions 5.0.16 and 5.0.17
- core: Fix leak of old transitions by mutating pathnode*.resolvables*.data (0a1f518)
Compare @uirouter/react
versions 0.6.1 and 0.6.2
- package: update @uirouter/core to version 5.0.17 (b0109ee)
- UIView: Do not reload view if the new viewConfig is identical to the old one (07a03bf)
- UIView: Pass style prop through even if no className is specified (cc3d80d)
- UIView: Provide only resolve props that should be accessible to each view (a4ee9e9)
Compare @uirouter/angularjs
versions 1.0.14 and 1.0.15
Compare @uirouter/react-hybrid
versions 0.0.14 and 0.0.15
Compare @uirouter/core
versions 5.0.11 and 5.0.16
- browserLocation: Use location.pathname (not href) or '/' when no base tag found (db461d6)
- browserLocationConfig: If no base href found, use location.href (not empty string) (0251424)
- common: Fix signature of for objects (make target optional) (61d0afc)
- core: Fix memory leak of resolve data from ALL transitions ever (7f2aed1)
- pathNode: add backwards compat for PathNode.clone(). Add retainedWithToParams to treeChanges interface. (4833a32)
- pushStateLocation: Fix URLs: add slash between base and path when necessary (bfa5755)
- pushStateLocation: When url is "" or "/", use baseHref for pushState (042a950)
- resolve: Add onFinish hook to resolve any dynamicly added resolvables (7d1ca54)
- trace: Fix null reference in uiview name sort function (59cb067)
- treeChanges: apply toParams to 'retained' path (#72) (cf63d11)
- urlRouter: Update query params when resetting url via .update() (7664cd0)
- common: Add map-in-place support to map() (12bc7d8)
- common: Add onEvict() callback registry for queues with max length (c19d007)
- view: Add onSync callback API to plugin API (9544ae5)
Compare @uirouter/react
versions 0.5.4 and 0.6.1
- package: update @uirouter/core to version 5.0.14 (ee5e672)
- package: update @uirouter/core to version 5.0.15 (ef2b171)
- reactViews: use new map function signature (6b2aa53)
- UIView: apply exit hook only on class components (660e317), closes #71
- move prop-types from peerDependencies to dependecies (5c6b2dd), closes #70
- UIRouterReact: throw if
start
is called more than once (d48c9fb), closes #65 - UIView:
resolve
s are now injected as root props (ff67239) - UIView: warn user when using
transition
as resolve token (10b247b)
- UIView: Previously
resolve
s were accessible as properties of aresolves
props injected in the routed component. They are now each injected as a prop. This way components don't need to be aware of the router and can be more reusable.
before:
render () {
const { foo } = this.props.resolves;
return <div>{foo}</div>;
}
after:
render () {
const { foo } = this.props;
return <div>{foo}</div>
}
Compare @uirouter/angularjs
versions 1.0.9 and 1.0.14
- artifactory: Add trailing newline to package.json to work around artifactory issue (#3551) (d09a345), closes #3550
- location: allow empty string param: Ng1LocationServices.url('') (01bbaf0)
- onEnter: Do not inject child-state data into ng1 onEnter hooks (cdec6a0)
- package: update @uirouter/core to version 5.0.13 (6c63f2d)
- travis: regenerate and encrypt secret (c718ce5)
- uiSrefActive: don't match fuzzy on lazy loaded future states (01430ee)
- uiView: Fix cfg.getTemplate is undefined (f4d99b0)
- uiSrefActive: Support arrays of globs for ng-class style (b215343)
Compare @uirouter/react-hybrid
versions 0.0.13 and 0.0.14
Compare @uirouter/core
versions 5.0.10 and 5.0.11
Compare @uirouter/react
versions 0.5.3 and 0.5.4
Compare @uirouter/angularjs
versions 1.0.8 and 1.0.9
Compare @uirouter/react-hybrid
versions 0.0.12 and 0.0.13
0.0.12 (2017-07-14)
Fix botched 0.0.11 release
0.0.11 (2017-07-14)
- className: Pass
<UIView className="foo">
to<ui-view class="foo">
(4bfcfac)
- feat(uiView): Render angular ui-view manually, not using angular2react dependencyj (ada97c8)
- chore(build): Add missing rollup config (f686175)
- fix(build): Import uirouter/react and uirouter/angularjs libs from index.js for webpack, etc (a936996)
- docs(README): Remove limitation from docs because the limitation is no more! (3684428)
- fix(uiView): Fix nested UIView lifecycle by waiting for
ref
before rendering a component (cdac3b7)
- fix(yarn): Publish uirouter/react and uirouter/angularjs to npm, not github tags (c8569fe)
- feat(uiView): Allow routing either angularjs or react components to all ui-views (3dff2df)
- feat(view): Auto-detect react component (21e9d98)
- fix(typescript): Apply updates for typescript 2.4. Update to new snapshots of @uirouter/angularjs+re (c836579)
- fix(UIRouterContext): Fix UIRouterContext decorator (4a83102)
- feat(adapter): Enable AngularJS ui-sref and ui-sref-active for angular2react children of react UIVie (ae11777)