Skip to content

chore(deps): bump lightweight-charts from 4.2.0 to 5.2.0#11

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/lightweight-charts-5.2.0
Open

chore(deps): bump lightweight-charts from 4.2.0 to 5.2.0#11
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/lightweight-charts-5.2.0

Conversation

@dependabot

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

Copy link
Copy Markdown

Bumps lightweight-charts from 4.2.0 to 5.2.0.

Release notes

Sourced from lightweight-charts's releases.

v5.2.0

Enhancements

  • Added hoveredSeriesOnTop option (default: true) that renders the currently hovered series above other series in the same pane. (PR #2076)
  • Added series hit testing for built-in and custom series. Mouse event payloads now include hoveredItem and hoveredTarget, exposing the hovered series and associated object metadata. Built-in line-like, range-like, and composite renderers all support hit testing, while custom series can opt in via an optional ICustomSeriesPaneRenderer.hitTest() hook (a geometry-based fallback is used when the hook isn't provided). (PR #2076)
  • Added defaultVisiblePriceScaleId chart option to control which visible price scale ('left' or 'right') is preferred as the default when both are available. Defaults to 'right'. (PR #2079)
  • Added tickMarkDensity option to price scale options, providing control over tick mark label density. A higher value results in more spacing between tick marks and fewer tick marks; a lower value results in less spacing and more tick marks. Defaults to 2.5. (PR #2050)
  • Improved dashed and dotted line rendering so that the dash phase remains continuous when a series changes stroke color per data item. Previously, dash patterns would restart at each color boundary, producing visual discontinuities. (PR #2067)

Bug Fixes

  • Fixed line series point markers not being drawn correctly when per-point colors change. (PR #2064, fixes #2017)
  • Fixed a visual bug where a pane's DOM element could persist on screen after removing the last series from that pane via removeSeries() when the series contained large values. (PR #2063)
  • Fixed visual jitter that occurred when charts with autoSize enabled were resized within dynamic containers. Resize behaviour triggered by ResizeObserver now paints synchronously, avoiding the timing mismatch with container resize. (PR #2055, contributed by @​DarrenHaba)
  • Fixed the description of the timeToIndex() method. (PR #2072)

Development

  • Added continuous preview releases from the master branch via pkg.pr.new. Each push to master now publishes a compact preview package, making it easier to test unreleased changes. See the README for installation instructions. (PR #2053)

Contributors

We'd like to thank our external contributors for their valuable contributions to this release:

Changes since the last published version.

v5.1.0

Version 5.1.0 introduces data conflation, a powerful performance optimization feature designed for charts with very large datasets. For most use cases with typical dataset sizes, this feature will operate transparently in the background. However, if you're working with datasets containing tens of thousands of data points or more, conflation can dramatically improve rendering performance when users zoom out.

Major Updates in 5.1

Data Conflation

Data conflation is an automatic performance optimization that merges data points when zoomed out, significantly improving rendering performance for large datasets. When bar spacing falls below a threshold where multiple data points would be rendered in less than 0.5 pixels of screen space, the library intelligently combines them into single points.

Key features:

  • Opt-in activation: Conflation is disabled by default and can be enabled via the enableConflation option.
  • Configurable options: Control conflation behavior through new time scale and series options:
    • enableConflation - Enable or disable the feature (default: false).
    • conflationThresholdFactor - Adjust the zoom level threshold for activation and create smoothing effects. Higher values (2.0, 4.0, 8.0+) result in smoother-looking charts, particularly useful for sparklines and small charts where smooth appearance is prioritized over showing every data point.
    • precomputeConflationOnInit - Pre-calculate conflated data on initialization for improved zoom performance at the cost of initial load time and memory usage (default: false).
    • precomputeConflationPriority - Control background computation priority when using the Prioritized Task Scheduling API (default: 'background').
  • Custom series support: Plugin developers can implement custom aggregation logic through the new CustomConflationReducer interface.

This feature is particularly beneficial for applications displaying historical data spanning years or real-time feeds that accumulate large amounts of data over time. For typical use cases with moderate dataset sizes, conflation can remain disabled without any impact.

(PR #1945)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [lightweight-charts](https://github.com/tradingview/lightweight-charts) from 4.2.0 to 5.2.0.
- [Release notes](https://github.com/tradingview/lightweight-charts/releases)
- [Commits](tradingview/lightweight-charts@v4.2.0...v5.2.0)

---
updated-dependencies:
- dependency-name: lightweight-charts
  dependency-version: 5.2.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 19, 2026
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