Skip to content

23.0.0 (2026-01-15)

Latest

Choose a tag to compare

@tiberiuzuld tiberiuzuld released this 15 Jan 08:01
e74b2b0

Support Angular v21

Support zoneless apps, Demo app is now zoneless.

Breaking Changes

  • removed CgBusyModule use instead provider BUSY_OPTIONS for default options
// before
import { CgBusyModule } from 'angular-busy2';

@NgModule({
  imports: [
    CgBusyModule.forRoot({
      backdrop: true
    }) //import it with .forRoot in your root module. provide some optional Options.
  ]
})
// or
bootstrapApplication(AppComponent, {
  providers: [
    importProvidersFrom(CgBusyModule.forRoot())
    // ...
  ]
}).catch(err => console.log(err));

// after
import { BUSY_OPTIONS, CgBusyOptions } from 'angular-busy2';

export const appConfig: ApplicationConfig = {
  providers: [
    {
      provide: BUSY_OPTIONS,
      useValue: {
        minDuration: 100
      } as CgBusyOptions
    }
  ]
};
  • Migrate to signal inputs, it shouldn't break usages
  • rename components and service files to match angular styleguide, it shouldn't break usages