npm single-spa-angular 4.6.0
v4.6.0

latest releases: 9.2.0, 9.1.2, 9.1.1...
4 years ago

Migrating to 4.6.0

4.6.0 has an important bug fix for infinite loops. In order for the bug fix to work, you need to add the NavigationStart option when calling single-spa-angular.

import { NavigationStart, Router } from '@angular/router';

const lifecycles = singleSpaAngular({
  bootstrapFunction: () =>
    platformBrowserDynamic(getSingleSpaExtraProviders()).bootstrapModule(AppModule),
  template: '<navbar-root />',
  NgZone,
  Router,
  // This option is new, and without it the infinite loop fix won't take effect.
  NavigationStart,
});

Features

  • feat: enable devtoolNamespace to prevent source maps collisions (#297)

Fixes

  • fix: skip location change for non-imperative navigations. This fixes the issue with infinite redirects (#235)

Maintenance

  • Add project status (#289)
  • feat: support Nrwl Nx workspace (#293)
  • docs: update CONTRIBUTING.md (#294)

Don't miss a new single-spa-angular release

NewReleases is sending notifications on new releases.