Angular Svg Round Progressbar Versions Save

Angular module that uses SVG to create a circular progressbar

5.0.0

3 years ago

This release is missing some files on npm due to a build issue. Please use version 5.0.1 or above.

4.0.0

3 years ago
  • Updates the required Angular version to 8.0.0 and fixes the breaking changes.
  • Fixes some internal build issues.

3.0.1

5 years ago

Fixes an error with the RoundProgressService provider when using ahead-of-time compilation.

3.0.0

5 years ago
  • Updates the required Angular version to 8.0.0 and fixes the breaking changes.
  • Switches to OnPush change detection.
  • Does some internal cleanup.

Breaking changes

This release does some long overdue internal cleanup inside the component in order to generate less ES5 code. The changes will only be breaking if you were extending the RoundProgressComponent or were accessing some of its private APIs.

  • The _renderer constructor parameter was removed.
  • _diameter getter was converted into a method called _getDiameter.
  • _elementHeight getter was converted into a method called _getElementHeight.
  • _viewBox getter was converted into a method called _getViewBox.
  • _paddingBottom getter was converted into a method called _getPaddingBottom.

2.0.0

6 years ago
  • Bumps the required Angular version to 6.0.
  • Switches the Angular dependencies to peerDependencies.
  • Uses the proper Angular conventions for providing default values.

BREAKING CHANGES

In order to align the project with the conventions set by the Angular community, the RoundProgressConfig provider has been removed in favor of providing the default values via the ROUND_PROGRESS_DEFAULTS injection token.

Before

import {NgModule} from '@angular/core';
import {RoundProgressModule, RoundProgressConfig} from 'angular-svg-round-progressbar';

@NgModule({
  imports: [RoundProgressModule]
})
export class YourModule {
  constructor(private _config: RoundProgressConfig) {
    _config.setDefaults({
      color: '#f00',
      background: '#0f0'
    });
  }
};

After

import {NgModule} from '@angular/core';
import {
  RoundProgressModule,
  ROUND_PROGRESS_DEFAULTS
} from 'angular-svg-round-progressbar';

@NgModule({
  imports: [RoundProgressModule],
  providers: [{
    provide: ROUND_PROGRESS_DEFAULTS,
    useValue: {
      color: '#f00',
      background: '#0f0'
    }
  }]
})
export class YourModule {};

1.2.1

6 years ago

Fixes an issue with the published files on NPM due to a TypeScript version mismatch.

1.2.0

6 years ago

Bumps the minimum required Angular version to 5.0.0.

1.1.1

6 years ago

Fixes an SVG error that was being logged when the max is set to 0.

1.1.0

7 years ago

Bumps the minimum required Angular version to 4.0.0.

1.0.7

7 years ago
  • Fixes some easing functions throwing an error.
  • Updates to TypeScript 2.2.
  • Fixes a minor build issue when running the local dev task on a clean repo.