Compare @uirouter/angular-hybrid
versions 17.1.0 and 18.0.0
Compare @uirouter/angular-hybrid
versions 16.0.0 and 17.1.0
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 12.0.0 and 13.0.0
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.30 and 1.1.0
Compare @uirouter/angular-hybrid
versions 15.0.2 and v16.0.0
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 11.0.0 and 12.0.0
Compare @uirouter/angular-hybrid
versions 13.0.0 and 15.0.0
- support angular 15 (ec4aa12)
Compare @uirouter/angular-hybrid
versions 13.0.0 and 14.0.0
- support angular 14 and update to uirouter/angular 10
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 9.1.0 and 10.0.0
Compare @uirouter/angular-hybrid
versions 12.0.0 and 13.0.0
- update to angular 13 and uirouter/angular 9.1.0 (56539f6)
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 6.0.7 and 6.0.8
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 8.0.0 and 9.1.0
- support angular 12 and 13
- build package with Angular 13. (500f2f7)
- bump @uirouter/core and @uirouter/rx deps (257ee61)
- location: do not add hash to URL twice (#847) (3794b25)
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.29 and 1.0.30
Compare @uirouter/angular-hybrid
versions 11.0.2 and 12.0.0
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 6.0.6 and 6.0.7
- array: Fix decoding of array-type query parameters (44ebfae)
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 7.0.0 and 8.0.0
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.27 and 1.0.29
- should not transition states when alt-clicked (8080adb)
Compare @uirouter/angular-hybrid
versions 11.0.1 and 11.0.2
Compare @uirouter/angular-hybrid
versions 11.0.0 and 11.0.1
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 6.0.5 and 6.0.6
Changelog for @uirouter/angularjs
:
Compare @uirouter/angularjs
versions 1.0.26 and 1.0.27
- make augmented StateRegistry.register overload better match the signature in core (db4e63f)
Compare @uirouter/angular-hybrid
versions 10.0.1 and 11.0.0
This release supports Angular 9 and 10
Changelog for @uirouter/core
:
Compare @uirouter/core
versions 6.0.1 and 6.0.5
- 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)
- TargetState: make isDef check more thorough (e657cfe)
- stateService: add transition option 'supercede' so transition can be ignored if one is pending (6e5a56f)
- urlRuleFactory: Add support for StateDeclarations in UrlRuleFactory.fromState() (539d33a)
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 6.0.1 and 7.0.0
- LocationServices: Apply the hash correctly when a query string is present (0192877), closes #747
- tokens: Export injection tokens (#810) (b9c338d), closes #805
- uiSref: Render empty 'href' for states that have no urls (5020c79), closes #721
- uiSrefActive: Fix nested UISrefActive where UISref components are added/removed dynamically (#811) (8d35dc1), closes #760
- create OnUiParamsChanged, OnUiExit interfaces (#800) (ea4574d), closes #788
- Support Angular 9-10 (56bd176)
- update_dependencies: Add a repository_dispatch trigger (d7a9777)
- Drop support for Angular v8 and support for Angular v10
Compare @uirouter/angular-hybrid
versions 10.0.0 and 10.0.1
Compare @uirouter/angular-hybrid
versions 9.0.0 and 10.0.0
- example: update to angular v8 (c5b365b)
- package: update uirouter angular dependency to support angular 9 and bundle with ng-packagr (#379) (384e428)
- package: This package drops support for Angular versions 7 and below. You must now upgrade to Angular 8 or higher to use this package.
- package: UIRouter dependencies have been moved to peerDependencies. You must now install peer dependencies manually using
npx check-peer-dependencies --install
. - angular:
@uirouter/angular
has additional breaking changes, see below.
Changelog for @uirouter/angular
:
Compare @uirouter/angular
versions 5.0.0 and 6.0.1
- ivy: Inject host UISref separately to account for behavior change in @ContentChildren (ebd2e40), closes /github.com/angular/angular/issues/8277#issuecomment-323678013
- fix(angular8): Add static: true to ViewChild
- fix(lazyLoad): Remove dependency on angular/router in favor of using ivy. Ivy supports lazy loading of modules without depending on the ROUTES token from angular/router.
- lazyLoad: Remove NgModuleToLoad type (string based lazy module loading) (2f1506c)
- feat(package): Drop support for Angular version 7 and lower
-
UIRouter for Angular v6.0.0 now requires Angular 8 or higher
-
lazyLoad: Removed string based lazy module loading via loadChildren
Previously, we supported loadChildren: './lazymodule/lazy.module.ts#LazyModule'
This lazy load mechanism is deprecated in Angular 8 in favor of:
loadChildren: import('./lazymodule/lazy.module).then(x => x.LazyModule)
Migrate your loadChildren
(s) to the import()
style.
- UIRouter core and rx packages are now
peerDependencies
. You will need to explicitly install the correct versions of@uirouter/core
and@uirouter/rx
into your project.
before:
dependencies: {
"@uirouter/angular": "4.0.0"
}
after (example -- versions will vary):
dependencies: {
"@uirouter/angular": "5.0.0"
"@uirouter/core": "6.0.1",
"@uirouter/rx": "0.6.0",
}
Or, use this command to automatically install peerDependencies:
npx check-peer-dependencies --install
Compare @uirouter/angular-hybrid
versions 8.0.0 and 9.0.0
- travis: remove explicit call to xvfb (3b124cc)
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (e85f678)
- update ui-router/angular dependency that supports angular 8 (b97af69)
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. 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
Compare @uirouter/angular
versions 3.0.0 and 5.0.0
- travis: use service: xvfb instead of launching it manually. install libgconf debian package (309fc9b)
- package: update @uirouter/core and @uirouter/rx to enable support for observables in resolves (#646) (4661bab)
- uirouter: Add support for Angular 8 (c141d95)
- package: Removed RXWAIT async policy (which was broken) in favor of supporting custom resolve policies. Added a custom RXWAIT policy to uirouter/rx which is included in uirouter/angular
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/angular-hybrid
versions 7.0.0 and 8.0.0
- support Angular v8 (e8a8419)
Compare @uirouter/angular-hybrid
versions 6.0.3 and 7.0.0
- angularjs: Get AngularJS reference using 'getAngularJSGlobal()' (d53d134), closes #240
- upgrade: Fix "no provider" error while injecting a falsy ng1 provider (1a06a9a)
- angularjs: If 'angular' variable is not on the window, you must provide it using 'setAngularJSGlobal(angular);'. https://github.com/ui-router/angular-hybrid/wiki/AngularJS-not-found-on-window
Compare @uirouter/angular
versions 2.0.4 and 3.0.0
- angular: Updates for Angular 7 (7f3132a)
Compare @uirouter/angular-hybrid
versions 6.0.2 and 6.0.3
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/angular
versions 2.0.2 and 2.0.4
Compare @uirouter/angularjs
versions 1.0.20 and 1.0.22
Compare @uirouter/angular-hybrid
versions 6.0.1 and 6.0.2
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/angular
versions 2.0.1 and 2.0.2
Compare @uirouter/angularjs
versions 1.0.19 and 1.0.20
Compare @uirouter/angular-hybrid
versions 6.0.0 and 6.0.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/angular
versions 2.0.0 and 2.0.1
Compare @uirouter/angularjs
versions 1.0.17 and 1.0.19
- bundles: Do not run prettier against release/* bundles when publishing to bower (9b420fa)
- 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/angular-hybrid
versions 5.0.0 and 6.0.0
- prettier: Use es5 compatible trailing comma setting (6421bf9)
- typings: Allow stateRegistry.register() and stateProvider.state() to take either Ng1 or Ng2StateDeclaration (c0e55ad), closes #147 #148
- upgrade: Fix "Trying to get the AngularJS injector before it being set" in child and lazy modules (f4bb925), closes #93
- upgrade: In 5.0.0, we recommended
UIRouterUpgradeModule.forChild()
everywhere. However, this could cause an error "Trying to get the AngularJS injector before it being set".
Now:
- Use
UIRouterUpgradeModule.forRoot()
in the root Angular module. - Use
UIRouterUpgradeModule.forChild()
for Angular feature modules and lazy loaded modules.
Compare @uirouter/angular-hybrid
versions 4.0.1 and 5.0.0
- angular: Drop Angular v4 support, add Angular v6 support (0fc6d72)
- angular: RxJS v6 and Angular v5 or higher is now required to use this package.
If using Angular v5, you should update to "rxjs": "^6.0.0"
and also add "rxjs-compat": "^6.0.0"
.
Compare @uirouter/core
versions 5.0.18 and 5.0.19
- enums: Workaround angular compiler export issue angular/angular#23759 (38d25fa)
Compare @uirouter/angular
versions 1.1.0 and 2.0.0
- angular: Drop Angular v4 support, add Angular v6 support (cdf0273), closes #301
- core: Update core to 5.0.19, rx to 0.5.0 (be6de0d)
- angular: RxJS v6 and Angular v5 or higher is now required to use this package.
If using Angular v5, you should update to "rxjs": "^6.0.0"
and also add "rxjs-compat": "^6.0.0"
.
Compare @uirouter/angularjs
versions 1.0.16 and 1.0.17
Compare @uirouter/angular-hybrid
versions 4.0.0 and 4.0.1
- README: Update bootstrap directions to avoid 'digest already in progress' errors (9df20f0)
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/angular
versions 1.0.1 and 1.1.0
- uiSref: Ignore clicks if destination state is falsey (b599e72)
- uiView: Always inject and/or bind NOWAIT resolve as a Promise object. (42d739d)
- uiView: Add uiOnParamsChanged support for routed components (45aa2aa)
Compare @uirouter/angularjs
versions 1.0.15 and 1.0.16
Compare @uirouter/angular-hybrid
versions 3.1.10 and 4.0.0
- package: Move types/* dependencies to devDependencies (9c87ae6)
- NgModule: Add UIRouterUpgradeModule.forChild() (a867ffb)
- typings: add types for hybrid state declaration (f5a6c73)
- NgModule: - Remove standalone import of
UIRouterUpgradeModule
.
- Use
UIRouterUpgradeModule.forChild()
instead ofUIRouterModule.forChild()
. - Cast states as
NgHybridStateDeclaration
.
The angular-hybrid
library processes state's onEnter
/onExit
/onRetain
as AngularJS style injected functions. However, the typescript typings when using UIRouterModule.forChild()
were not compatible with AngularJS style injected callbacks. This release adds typings supporting AngularJS style callbacks on state declarations.
export const mystate: NgHybridStateDeclaration = { // cast
name: 'mystate',
url: '/mystate',
component: MyAngularComponent,
onEnter: myStateOnEnter,
};
myStateOnEnter.$inject = ['$state'];
export function myStateOnEnter($state) {
console.log('$state was injected', $state);
}
@NgModule({
imports: [
BrowserModule,
UpgradeModule,
// remove this: UIRouterUpgradeModule,
// remove this: UIRouterModule.forChild( ... ),
UIRouterUpgradeModule.forChild({ states: [mystate] }), // replace with this
]
})
Compare @uirouter/angular-hybrid
versions 3.1.9 and 3.1.10
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/angular
versions 1.0.0 and 1.0.1
- package: update @uirouter/core to version 5.0.17 (f018f35)
- uiSrefActive: Support multiple active classes (e086700)
Compare @uirouter/angularjs
versions 1.0.14 and 1.0.15
Compare @uirouter/angular-hybrid
versions 3.1.8 and 3.1.9
- greenkeeper: pin angular dev deps to 4.x, update ui-router deps, update rollup config (c157551)
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/angular
versions 1.0.0-rc.1 and 1.0.0
- hooks: Use an APP_INITIALIZER to sync/listen to the URL (f1d390f)
- package: Bump dependency on uirouter/publish-scripts to fix npm install (1a026d2)
- package: update @uirouter/core to version 5.0.13 (90aa1d4)
Compare @uirouter/angularjs
versions 1.0.11 and 1.0.14
- 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)
- uiSrefActive: Support arrays of globs for ng-class style (b215343)
Compare @uirouter/angular-hybrid
versions 3.1.7 and 3.1.8
- types: Add types/angular and types/jquery as top level dependency. (f00d5cf), closes #58
- uiView: Use useFactory instead of useValue when to prevent object re-use within PARENT_INJECT for different UIViews (3087be9)
- angular-hybrid: Fix peer dependencies. Update package deps. (d09949d)
Compare @uirouter/angular
versions 1.0.0-beta.9 and 1.0.0-rc.1
- package: Rebuild uirouter/angular using angular 4.4.6 (a39aed8)
- package.json: npm shrinkwarp with angular 5 (477d0f7)
- uiView: Fix animations :enter trigger by using markForCheck (3d7ce44)
- directives: Export directives using
exportAs:
for use as template variables (3d532b6) - lazyLoad: Allow loadChildren for non-future states. (ac3cdef)
- uiView: add getter for state which is filling the uiview (e7cb5f1)
Compare @uirouter/angularjs
versions 1.0.9 and 1.0.11
- artifactory: Add trailing newline to package.json to work around artifactory issue (#3551) (d09a345), closes #3550
- uiView: Fix cfg.getTemplate is undefined (f4d99b0)
Compare @uirouter/angular-hybrid
versions 3.1.5 and 3.1.7
Compare @uirouter/core
versions 5.0.10 and 5.0.11
Compare @uirouter/angular
versions 1.0.0-beta.8 and 1.0.0-beta.9
- UIRouterModule: Add
initial
property toforRoot
to specify the initial route. (b7b5e4f)
Compare @uirouter/angularjs
versions 1.0.8 and 1.0.9
Compare @uirouter/angular-hybrid
versions 3.1.4 and 3.1.5
Updates:
@uirouter/angularjs
to 1.0.8@uirouter/angular
to 1.0.0-beta.8@uirouter/core
to 5.0.10
- hybrid: Do not import angular/upgrade (eb83724)
- typings: Fix typing error in
uiRouterUpgradeFactory
(f361d7a)
- fix(package): Fix manifest -- location of es6 modules is lib/index not lib-esm/index (040722c)
- fix(build): Depend on NPM packages instead of git tags (b9261af)
- Create README.md (d59d2f9)
- chore(): update changelog (e4d29d4)
- chore(example): Added minimal example (a8ee08f)
Rebuilt with newer snapshots of @uirouter/angular and @uirouter/angularjs
- chore(example): Added minimal example (425815d)
Fix missing dev dependency from 3.1.0 release
- chore(deps): Add @angular/compiler-cli (7a893ba)
This version of @uirouter/angular-upgrade supports ahead of time compilation, and lazy loading of Angular future states via @ngtools/webpack
- fix(AoT): Make angular-hybrid.ts compatible with ngc (dcf10a2)
- fix(AoT): Make hybrid adapter AoT compatible (e79866a)
- Correct package name in example (877953f)
- Update README.md (6c75e4b)
- doc(*): update README (18ec03f)
- feat(Ng1ToNg2Module): Rename Ng1ToNg2Module to UIRouterUpgradeModule (fcac2f9)
- Rename Ng1ToNg2Module to UIRouterUpgradeModule (This was supposed to land in version 3.0.0)
- chore(*): Fix botched merge and re-add ng2LazyLoadBuilder (8596e2a)
- chore(*): fix some code comments (83bc525)
- chore(build): remove old release script (7128857)
- chore(build): tweak npm ignore (788b5ed)
- chore(build): update .npmignore (5a18fe2)
- chore(README): Update README (76aa21a)
- chore(README): Update README with info about migration to @angular/upgrade/static (215160a)
- feat(ngUpgrade): Add support for @angular/upgrade/static (4b7fce0)
- feat(upgrade): Version 3.x uses @angular/upgrade/static (1d60e5b)
- refactor(static): Clean up imports and switch let to const (4a0dcaf)
- fix(ngModule): Revert breaking change of module name (7a37c4a)
- fix(static): Remove setup call and get the ng2 injector from ng1 (27fa6dc)
- Specify inputs for downgraded uiViewNgUpgrade (a47445d)
- Update README.md (48bad58)
- use
@angular/upgrade/static
Version 3.0.0 and higher no longer supports@angular/upgrade
. We now support only@angular/upgrade/static
Your bootstrap process will change. For details, please see the sample app to see how to migrate your bootstrap to the new style.
Angular no longer actively supports the old UpgradeAdapter
.
The currently supported mechanism is UpgradeModule
from @angular/upgrade/static
- chore(*): bump deps to artifact tags (550d2ea)
- chore(*): bumping version to 2.0.0 (f8003d8)
- chore(build): Add rollup build file (8955496)
- chore(build): Add scripts dir (29b2824)
- chore(build): Add UMD module name mappings (b0c7eed)
- chore(build): bump dependencies (943ac95)
- chore(build): Remove incorrect rollup config (a3c0fb9)
- chore(travis): Build package with travis (3948ae2)
- fix(*): Update for split repositories. Update to ui-router-ng2 1.0.0-beta.4, angular-ui-router 1.0.0 (4e1050e)
- fix(angular4): Update hybrid adapter with new DI token for angular injector (8a85fc0)
- fix(build): Switch tsconfig back to module: commonjs (1b20157)
- fix(ng1-to-ng2): Add ui-router-rx plugin and ng2 loadChildren decorator (dc58311)
- fix(package): Add prepublish build step allowing installs from git (c7c693c)
- feat(hybrid): rename npm package to @uirouter/angular-hybrid. Update project to use latest @uirouter (6b06e86)
- Add artifact tagging script (abfbe9e)
- Typo, should be Angular 1 to Angular 2 (c466cae)
- Update CHANGELOG.md (14be8a9)
- bug(*): fix State renamed to StateObject (50677d1)
- Project name switched from
ui-router-ng1-to-ng2
to@uirouter/angular-hybrid
bundle moved to _bundles/ui-router-angular-hybrid.js