Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
3c20f70 to
7ef4ba3
Compare
7ef4ba3 to
03dbc6e
Compare
03dbc6e to
b823757
Compare
b823757 to
684a93f
Compare
684a93f to
c64da9b
Compare
c64da9b to
71127b3
Compare
71127b3 to
fe7af9a
Compare
fe7af9a to
2c58123
Compare
2c58123 to
cc05f10
Compare
cc05f10 to
e03bd81
Compare
e03bd81 to
dcde8f5
Compare
dcde8f5 to
52a260a
Compare
52a260a to
9a4e797
Compare
9a4e797 to
88548e5
Compare
fd08913 to
840ff23
Compare
840ff23 to
5b6fecc
Compare
5b6fecc to
c197800
Compare
c197800 to
9c759ab
Compare
9c759ab to
3237c4d
Compare
3237c4d to
486693f
Compare
486693f to
6e9ec01
Compare
6e9ec01 to
c3f98e9
Compare
c3f98e9 to
3fae5d1
Compare
3fae5d1 to
d6263ed
Compare
d6263ed to
455ed1a
Compare
455ed1a to
638a1c0
Compare
638a1c0 to
9d3aba5
Compare
9d3aba5 to
d6bc03b
Compare
d6bc03b to
b3ca74b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.41.0→5.10.3Release Notes
apexcharts/apexcharts.js (apexcharts)
v5.10.3: 💎 Version 5.10.3Compare Source
Bug Fixes
SSR: Bar/column charts rendered duplicate elements in
renderToString()(1b4bcb1f)SSRElement.appendChildandinsertBeforewere unconditionally pushing thechild onto the children array without checking whether the child already had a
parent. Because
Bar.jscreateselDataLabelsWrap,elGoalsMarkers, andelBarShadowsonce per series but callselSeries.add()on every data-pointiteration, the SSR virtual DOM accumulated N×N bar paths and datalabel groups
instead of N. The fix mirrors standard browser DOM move semantics: if a node
already has a parent it is detached from that parent before being appended.
This affects both
appendChildandinsertBefore.v5.10.2: 💎 Version 5.10.2Compare Source
Bug Fixes
Tree-shaking: ESM entry points were incorrectly eliminated by bundlers
dist/*.esm.jsanddist/features/*.esm.jswere missing from thesideEffectsfield inpackage.json. Bundlers such as Webpack and Rolluptreat files not listed as having side effects as safe to drop when they are
not explicitly imported, which caused chart type and feature registrations to
be silently tree-shaken away in production builds. Adding both glob patterns
ensures the self-registering ESM bundles are always retained.
v5.10.1: 💎 Version 5.10.1Compare Source
Bug Fixes
Chart Registry Survives Duplicate Module Instances
Problem: When a bundler (Vite, webpack, etc.) accidentally creates two separate copies of the ApexCharts module - for example when mixing CJS and ESM imports, or when
optimizeDepsis not configured -ApexCharts.use()would write to one module's registry while the chart renderer read from another. The chart type was effectively never registered, causing a runtime error.Fix: The chart type registry is now stored on
globalThis.__apexcharts_registry__instead of a module-local variable. All module instances share a single registry on the global object, so registration is never silently lost regardless of how many module copies the bundler created.v5.10.0: 💎 Version 5.10.0Compare Source
New Features
Per-Type Modular Entry Points
Every public chart type now has its own dedicated entry point matching the
chart.typestring you already use in config. Previously, users needed to know the internal grouping (e.g.apexcharts/heatmapfor treemap charts); now you import by the exact type name.New entry points:
apexcharts/linelineapexcharts/areaareaapexcharts/scatterscatterapexcharts/bubblebubbleapexcharts/rangeArearangeAreaapexcharts/barbarapexcharts/columnbar(column mode)apexcharts/rangeBarrangeBarapexcharts/candlestickcandlestickapexcharts/boxPlotboxPlotapexcharts/piepieapexcharts/donutdonutapexcharts/polarAreapolarAreaapexcharts/radialBarradialBarapexcharts/radarradarapexcharts/heatmapheatmapapexcharts/treemaptreemap(new standalone entry)Example:
The old grouped entry points (
apexcharts/pie,apexcharts/heatmap,apexcharts/radial, etc.) continue to work and register all their previous types — no breaking changes.Improvements
Better Error Message for Unregistered Chart Types
When a chart type is not registered (common with tree-shaken builds), the error message now includes a specific hint about Vite's module deduplication as the most likely root cause, and how to fix it via
optimizeDeps.includeinvite.config.dist/ File Structure
v5.9.0: 💎 Version 5.9.0Compare Source
New Features
Color-Blind Accessibility Mode (
theme.accessibility.colorBlindMode)A new
theme.accessibilityconfig object provides built-in support for color vision deficiencies.deuteranopiaprotanopiatritanopiahighContrastapexcharts-high-contrastCSS class on wrapper''(default)colorBlindModetakes full priority overtheme.paletteandtheme.monochrome— no conflict resolution needed.ApexTheme.accessibilitytype added toapexcharts.d.ts.highContrastmode adds theapexcharts-high-contrastCSS class to the chart wrapper for custom CSS targeting; it does not mutate any config options.Tree-Shaking: Sub-Entry Bundle Deduplication
Previously, each chart-type sub-entry (
bar.esm.js,line.esm.js, etc.) and feature sub-entry (features/legend.esm.js, etc.) bundled its own private copy of all shared ApexCharts utilities (Core, Fill, Graphics, Theme, etc.), resulting in significant duplication when multiple sub-entries were loaded together.v5.9.0 fixes this:
vite.config.mjs: acoreExternalPluginexternalizes ~60 shared modules from sub-entry builds — they are resolved fromapexcharts/coreat runtime instead of being re-bundled.src/entries/core.js: all shared utilities are re-exported under internal__apex_*names, making them available to sub-entries without additional network requests or parse overhead.src/modules/Core.js: removed a directLegendimport that was pulling the entire legend module into the core chunk unnecessarily; uses the already-initializedctx.legendinstance instead.Impact: When using the tree-shaking API with multiple chart types or features, total JS parse/execute size is significantly reduced. The
apexcharts/corebundle is loaded once; all sub-entries share it.Bug Fixes
Core.jsno longer constructs a throwawayLegendinstance just to measure legend dimensions — it reads from the already-initializedctx.legendinstance, avoiding a redundant import in the core chunk.dist/ File Structure
v5.8.1Compare Source
v5.8.0: 💎 Version 5.8.0Compare Source
Bug Fixes
dist/coreanddist/features/*build artifacts introduced in v5.7.0 (#5177)src/ssr/index.js(v5.7.1 patch)SVG is not a functioncrash inrenderToHTML/renderToString—global.SVGwas not registered in the Node.js SSR path (v5.7.1 patch)v5.7.1Compare Source
v5.7.0: 💎 Version 5.7.0Compare Source
Features
Feature-level tree-shaking
ApexCharts now ships modular entry points so you can import only the chart types
and features your application actually uses. This can cut bundle size substantially
for apps that don't need the full chart catalogue.
Chart-type entry points
apexcharts/lineapexcharts/barapexcharts/pieapexcharts/radialapexcharts/candlestickapexcharts/heatmapapexcharts/treemapapexcharts/rangeareaapexcharts/boxplotapexcharts/funnelapexcharts/radarFeature entry points
apexcharts/features/legendapexcharts/features/toolbarapexcharts/features/exportsapexcharts/features/annotationsapexcharts/features/keyboardThe standard
import ApexCharts from 'apexcharts'import continues to workunchanged — all chart types and features are included by default.
Keyboard navigation
Charts are now keyboard-accessible. After focusing a chart (tab or click), users
can navigate between data points using the arrow keys. The tooltip and active
marker update as focus moves between points. This meets WCAG 2.1 AA keyboard
interaction requirements.
Enable via the optional feature entry point:
Keyboard navigation is included automatically in the full bundle.
Server-side rendering (SSR)
SSRRenderer.renderToString(config)andSSRRenderer.renderToHTML(config)nowwork in Node.js without a browser DOM. Useful for generating static SVG images,
pre-rendering chart HTML for emails, or server-driven PDF pipelines.
Internal / Architecture
These changes are transparent to users but lay the groundwork for future
performance and bundle-size improvements.
ctx) pattern —required to make tree-shaking work correctly at the module level.
window/document/navigatoraccesses throughout thesource; all browser API calls now go through SSR-safe wrappers.
v5.6.0: 💎 Version 5.6.0Compare Source
Bug Fixes
Critical Fix: Tooltip and Chart Interactions Restored (#5168)
<foreignObject>element, which contains the legend wrapper, was incorrectly positioned as the last child in the SVG DOM, causing it to overlay and block all mouse events on the chart<foreignObject>is always the first child element (at the back of the z-order), allowing chart interactions to work properlyComprehensive DOM Ordering Tests
If you experienced tooltip or interaction issues in v5.5.0/v5.5.1, this release fully resolves those problems. Simply upgrade to v5.6.0 - no code changes required on your end.
v5.5.1Compare Source
v5.5.0: 💎 Version 5.5.0Compare Source
Major Features
Server-Side Rendering (SSR) Support
ApexCharts now fully supports SSR for Next.js, Nuxt, SvelteKit, Astro, and other modern meta-frameworks! This has been one of the most requested features. (#4288)
Server-side rendering:
Client-side hydration:
Package exports:
import ApexCharts from 'apexcharts'(orapexcharts/client)import ApexCharts from 'apexcharts/ssr'Accessibility Support
Added comprehensive accessibility features to make charts usable for everyone:
📦 Bundle Sizes
Browser bundles:
apexcharts.esm.js: 878 KB (unminified)apexcharts.common.js: 462 KB (minified CommonJS)apexcharts.min.js: 462 KB (minified UMD)SSR bundles (new!):
apexcharts.ssr.esm.js: 891 KB (unminified ESM for Node.js)apexcharts.ssr.common.js: 467 KB (minified CommonJS for Node.js)Breaking Changes
None! This release is fully backward compatible with v5.4.0.
v5.4.0: 💎 Version 5.4.0Compare Source
🚀 Major Changes
Build System Modernization
Performance Improvements
🐛 Bug Fixes
Refactoring & Code Quality
Testing Improvements
💝 Contributors
Thank you to all contributors:
v5.3.6: 💎 Version 5.3.6Compare Source
What's Changed
New Contributors
Full Changelog: apexcharts/apexcharts.js@v5.3.3...v5.3.6
v5.3.5Compare Source
v5.3.4Compare Source
v5.3.3: 💎 Version 5.3.3Compare Source
What's Changed
New Contributors
Full Changelog: apexcharts/apexcharts.js@v5.3.0...v5.3.3
v5.3.2Compare Source
v5.3.1Compare Source
v5.3.0: 💎 Version 5.3.0Compare Source
What's changed
ApexCharts now supports direct parsing and mapping of raw data objects, eliminating the need for manual data transformation. Complete documentation for this feature - https://apexcharts.com/docs/parsing-data/
These chart types now support XY series formats making it consistent with the rest of the chart types. Read the documentation for this change - https://apexcharts.com/docs/series/
v5.2.0Compare Source
v5.1.0Compare Source
v5.0.0Compare Source
v4.7.0: 💎 Version 4.7.0Compare Source
What's Changed
Cleaned up misplaced resolve() call in updateOptions()
v4.6.0: 💎 Version 4.6.0Compare Source
What's Changed
New Contributors
Full Changelog: apexcharts/apexcharts.js@v4.5.0...v4.6.0
v4.5.0: 💎 Version 4.5.0Compare Source
What's Changed
Full Changelog: apexcharts/apexcharts.js@v4.4.0...v4.5.0
v4.4.0: 💎 Version 4.4.0Compare Source
What's Changed
New Contributors
Full Changelog: apexcharts/apexcharts.js@v4.3.0...v4.4.0
v4.3.0: 💎 Version 4.3.0Compare Source
What's Changed
ApexChartsclass by @SmithKy3 in #4884New Contributors
Full Changelog: apexcharts/apexcharts.js@v4.2.0...v4.3.0
v4.2.0: 💎 Version 4.2.0Compare Source
What's Changed
Documentation update
New Contributors
Full Changelog: apexcharts/apexcharts.js@v4.1.0...v4.2.0
v4.1.0: 💎 Version 4.1.0Compare Source
What's Changed
Negative line color feature added - sample; references #596

fix #4735; Zoom with the mouse scroll button always activate when "selection" is enabled
Fix isolated point in line chart not closing path by @bautisflow in #4782
update goals type by @rahulr-96 in #4788
#4763 bugfix Display error Date when set xaxis frist label close to next day. by @cuobiezi in #4798
fix:#4801 The return type of the dataLabels formatter has been redefine by @daiboom in #4802
fix #2270; improved checks for element existence before doing any calculations
fix #4828; append legend marker to window.SVG which was a problem when using multiple charts on same page
fix #4829; x-position misalignment in numeric bar charts when x is 0
fix #4794; jumping tooltp over bars in shadow DOM
fixes #4811 by @rahulr-96 in #4812
Fix dutch locale by @cmeelker in #4822
Allow pan and zoom on mobile devices by @andre-ehlert in #4823
New Contributors
Full Changelog: apexcharts/apexcharts.js@v4.0.0...v4.1.0
v4.0.0: 💎 Version 4.0.0Compare Source
What's Changed
Upgrade to Svgjs 3.2.
Svg.js, the main engine behind ApexCharts’ drawing mechanism, was long overdue for an upgrade. With apexcharts@4.0.0, both Svg.js and all related plugins have been upgraded to their latest versions. This ensures that ApexCharts stays up-to-date with its dependencies.
Other fixes
New Contributors
Full Changelog: apexcharts/apexcharts.js@v3.54.1...v4.0.0
v3.54.1: 💎 Version 3.54.1Compare Source
What's Changed
Full Changelog: apexcharts/apexcharts.js@v3.54.0...v3.54.1
v3.54.0: 💎 Version 3.54.0Compare Source
What's Changed
New Contributors
Full Changelog: apexcharts/apexcharts.js@v3.53.0...v3.54.0
v3.53.0: 💎 Version 3.53.0Compare Source
What's new
New Property
series.hiddento hide certain series on initial render A short guide on how to use itNew method
Enhancements
Bugfixes
Announcements
New Contributors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.