Skip to content

Bump apexcharts from 5.12.0 to 5.15.2#8300

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/apexcharts-5.15.2
Closed

Bump apexcharts from 5.12.0 to 5.15.2#8300
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/apexcharts-5.15.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor

Bumps apexcharts from 5.12.0 to 5.15.2.

Release notes

Sourced from apexcharts's releases.

💎 Version 5.15.2

Fixes

Draw-animation frame no longer touches a destroyed chart

An animated chart (e.g. an area chart) schedules a requestAnimationFrame during render() to run its mask-reveal / draw animation. If the chart was destroyed before that frame fired, the stale callback ran against already-cleared DOM and threw:

TypeError: Cannot read properties of null (reading 'node')   // in runMaskReveal

The classic trigger is React StrictMode, which mounts → unmounts → remounts a component in development: the first mount queues the animation frame, the unmount calls destroy() (which nulls w.dom.elDefs), and the queued frame then fires against the torn-down chart. Any sufficiently rapid unmount hit the same race.

The fix adds an internal isDestroyed flag, set by destroy() (but not by updates), that the deferred draw-animation callbacks - mask reveal, stroke draw, and bulk reveal - check and bail on before touching the DOM. The flag is cleared on the next render, so re-mounting re-arms animations normally.

This complements the detached-chart destroy() fix in 5.15.1; together they resolve the teardown crashes tracked in react-apexcharts#602.

💎 Version 5.15.1

A small patch release with a single stability fix: charts that are torn down before they ever mount no longer throw.


Fixes

destroy() no longer throws on an un-mounted / detached chart

Calling destroy() (or an internal clear()) on a chart that never finished rendering threw:

TypeError: Cannot read properties of undefined (reading 'node')

This happened when a chart was constructed against an element that wasn't connected to the DOM - so create() bailed out early before building the SVG, leaving w.dom.Paper undefined - and the chart was then destroyed. Common triggers:

  • A React useEffect cleanup (or a Vue unmounted hook) tearing the chart down before the element was ever attached.
  • A queued resize/update() firing after the host element had already been removed.

The teardown path now guards on the SVG actually having been created, cancels any pending resize redraw, and tolerates a missing Apex._chartInstances registry, so destroying a never-mounted chart is a safe no-op.

Fixes react-apexcharts#602 and vue-apexcharts#256.

💎 Version 5.15.0

New Features

Violin chart type

A new, tree-shakeable chart.type: 'violin' that renders a kernel-density curve for each category, with an optional overlay of the individual observations ("jitter") that produced it.

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 20, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/apexcharts-5.15.2 branch from f083b5e to dd5dda6 Compare June 20, 2026 00:49
@github-actions
github-actions Bot enabled auto-merge June 20, 2026 01:34
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/apexcharts-5.15.2 branch 24 times, most recently from 08d1ccb to 7c8ac3d Compare June 26, 2026 00:41
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/apexcharts-5.15.2 branch 23 times, most recently from 6d762c3 to 0f3b10c Compare July 3, 2026 04:09
Bumps [apexcharts](https://github.com/apexcharts/apexcharts.js) from 5.12.0 to 5.15.2.
- [Release notes](https://github.com/apexcharts/apexcharts.js/releases)
- [Commits](apexcharts/apexcharts.js@v5.12.0...v5.15.2)

---
updated-dependencies:
- dependency-name: apexcharts
  dependency-version: 5.15.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/apexcharts-5.15.2 branch from 0f3b10c to 1526687 Compare July 3, 2026 04:33
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@dependabot @github

dependabot Bot commented on behalf of github Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #8353.

@dependabot dependabot Bot closed this Jul 4, 2026
auto-merge was automatically disabled July 4, 2026 00:04

Pull request was closed

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/apexcharts-5.15.2 branch July 4, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants