Skip to content

Latest commit

 

History

History
153 lines (97 loc) · 11.2 KB

File metadata and controls

153 lines (97 loc) · 11.2 KB

3.0.0 (2026-08-07)

Features

  • types: all option types (ApexChart, ApexPlotOptions, ApexOptions, and the rest) are re-exported directly from the installed apexcharts package instead of a hand-maintained copy, so they always match the actual ApexCharts API. Fixes missing v6 typings such as plotOptions.pie.dataLabels.external (#504)

BREAKING CHANGES

  • the apexcharts peer dependency is now ^6.0.0. ApexCharts 5.x exports no types at module scope, so it cannot supply the re-exported types. Projects that must stay on ApexCharts 5.x should remain on ng-apexcharts 2.5.x.
  • option types now match the installed ApexCharts exactly. Configs that only compiled because the old vendored types were out of date may surface new type errors; the errors point at real API mismatches.

Migration

  1. npm install apexcharts@^6.0.0 ng-apexcharts@^3.0.0
  2. Fix any new type errors; they reflect the real ApexCharts 6 option shapes documented at https://apexcharts.com/docs/options/
  3. No runtime or template changes are required. All 31 exported type names remain importable from ng-apexcharts.

2.5.0 (2026-08-07)

Features

  • chart: replace ngOnChanges with signal-based reactive change handling. Series-only changes take the animated updateSeries() fast path, structural changes rebuild exactly once even when combined with a series change, and a chart with no bound inputs stays inert
  • schematics: ng add installs apexcharts ^6.7.0

Bug Fixes

  • schematics: ng add failed to load on Angular 22 (imported a TypeScript re-export removed in v22)
  • schematics: ng add pinned apexcharts 4.0.0, incompatible with the supported ^5.10.3 || ^6.0.0 peer range
  • schematics: standalone applications received a no-op importProvidersFrom(NgApexchartsModule); they now get guidance to import the standalone components directly
  • schematics: the redundant ~940 KB apexcharts.min.js global script is no longer added to angular.json and is removed if a previous version left it behind
  • build: the published schematics were emitted as CommonJS inside a "type": "module" package and failed to load; a nested {"type":"commonjs"} marker fixes ng add for the package built by ng-packagr 22
  • build: npm run package built the library and schematics concurrently while ng-packagr wiped the output directory, so packages could ship without schematics; the pipeline is now sequential and verified
  • build: the npm package shipped a stale bundled README; the root README is now the single source and the package build fails if they differ
  • lib: SSR components use inject() instead of constructor parameter injection

Notes for subclass authors

  • ChartComponent no longer implements OnChanges. Code that overrode ngOnChanges or invoked component.ngOnChanges(...) manually (for example in tests) should set inputs instead; change handling is fully reactive now.

2.1.0 (2026-02-22)

Bug Fixes

  • resolve TS2686 ApexCharts UMD global error with TypeScript 5.9 (23b383b)

Features

2.0.3 (2025-10-06)

Bug Fixes

  • @angular/platform-server version revert to 20.0.2 (a72c6ce)

2.0.2 (2025-10-06)

2.0.1 (2025-08-21)

Bug Fixes

  • updateSeries and appendSeries type compatibility (748e2b4)
  • use ApexParsing for ApexAxisChartSeries (484afea)

2.0.0 (2025-07-29)

1.17.1 (2025-07-29)

Bug Fixes

  • new config for semantic-release (f15a9a7)

1.0.1 (2025-07-29)

Bug Fixes

  • update semantic-release to use conventionalcommits preset (d7c2556)
  • use @semantic-release/commit-analyzer (6f445a5)
  • use angular-preset for semantic-release (a17e146)

1.0.0 (2025-07-29)

Bug Fixes

  • apexcharts version set to 5.3.2 (bdd599f)
  • demo-app: add #ng-chart-example id to chart corresponding to README.md (38f64d3)
  • fix Property 'controls' does not exist on type 'AbstractControl'. (85e2974)
  • git repository url (25141a9)
  • improve semantic-release configuration to detect breaking changes (9e4caaa)
  • make SSR compatible (f724dbd)
  • point to correct version of apexcharts in root (bdc3bd3)
  • semantic release config (ae236bc)
  • set apexcharts peerdependency as v5.3.2 (07947de)

Features

  • add automated publishing workflow (fdd0ff3)
  • Add console log of change detection (a15e115)
  • add ng-add schematic support (29d91c0)
  • Added support for type 'string' (1b15d71)
  • bump angular 17 (4124001)
  • bump angular from 15.0.0 to 16.1.5 (0e11e20)
  • bump angular v18 (4dca065)
  • bump angular v19 (7a24a05)
  • bump schematics angular to v19 and apexcharts to v4 (ce14257)
  • lazy-loading: fully lazy-load apexcharts (9d3a44b)
  • Run all methods outside of ngZone (6c8d78d)
  • support zoneless change detection (31979a4)

1.0.1 (2025-07-29)

Bug Fixes

1.0.0 (2025-07-29)

Bug Fixes

  • apexcharts version set to 5.3.2 (bdd599f)
  • demo-app: add #ng-chart-example id to chart corresponding to README.md (38f64d3)
  • fix Property 'controls' does not exist on type 'AbstractControl'. (85e2974)
  • make SSR compatible (f724dbd)
  • point to correct version of apexcharts in root (bdc3bd3)
  • semantic release config (ae236bc)
  • set apexcharts peerdependency as v5.3.2 (07947de)

Features

  • add automated publishing workflow (fdd0ff3)
  • Add console log of change detection (a15e115)
  • add ng-add schematic support (29d91c0)
  • Added support for type 'string' (1b15d71)
  • bump angular 17 (4124001)
  • bump angular from 15.0.0 to 16.1.5 (0e11e20)
  • bump angular v18 (4dca065)
  • bump angular v19 (7a24a05)
  • bump schematics angular to v19 and apexcharts to v4 (ce14257)
  • lazy-loading: fully lazy-load apexcharts (9d3a44b)
  • Run all methods outside of ngZone (6c8d78d)
  • support zoneless change detection (31979a4)