Skip to content

Update dependency lightweight-charts to v5.2.1 - #35

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/lightweight-charts-5.x-lockfile
Open

Update dependency lightweight-charts to v5.2.1#35
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/lightweight-charts-5.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Oct 1, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
lightweight-charts (source) 5.0.85.2.1 age confidence

Release Notes

tradingview/lightweight-charts (lightweight-charts)

v5.2.1

Compare Source

Enhancements

  • Added an Agent Skill to the repository, which teaches AI coding assistants how to work with Lightweight Charts™. The skill covers v5 API conventions, mental models, and common foot-guns related to time, scales, markers, plugins, and wrappers. See AI coding assistants for more details. (PR #​2088)
  • Added "hovered area line lift" when hoveredSeriesOnTop is enabled. Hovering an Area or Baseline series now renders its stroke, point markers, and price lines on a top layer while the fill stays at its natural z-order. This keeps the line visible above overlapping series fills. (PR #​2090)

Performance Improvements

  • Improved crosshair and hover performance on charts which combine series markers with large datasets. The series markers pane view no longer clones the entire series dataset on every mouse move; the per-move cost is no longer proportional to the total number of data points. (PR #​2105)

Bug Fixes

  • Fixed autoscaleInfoProvider not being reset when explicitly set back to undefined via applyOptions, which caused autoscaling to permanently stop working once a custom provider had been used. (PR #​2098, contributed by @​0007aadil)
  • Fixed arrow marker tips drifting away from the anchor price when the marker size is greater than 1. The resolved marker size is no longer re-clamped to a 30px maximum within the renderer, so the drawn shape scales with size and remains aligned with the anchor price. This also fixes large circle and square markers being capped at 30px. Markers using the default size render identically to the previous version. (PR #​2100)
  • Fixed a Value is null error which could be thrown when replacing the data of multiple series with shorter datasets while the crosshair was hovering over data. Affected series pane views are now invalidated before time scale changes are applied, so any synchronous recalculation rebuilds its items against the current row indices. (PR #​2110, fixes #​2044, contributed by @​anAirdrop)
  • Fixed documentation examples (tutorials) which used priceScale() on the chart instance without specifying a price scale id. The id is required when calling priceScale() on the chart instance, unlike when calling it on ISeriesApi. (PR #​2102)

Plugin & Indicator Examples

  • Added a drop-in Accessibility plugin which packages the keyboard navigation, ARIA markup, and screen-reader announcements covered in the accessibility tutorial into a single chart-level helper. (PR #​2095)

Contributors

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

Changes since the last published version.

v5.2.0

Compare Source

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

Compare Source

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)

Enhancements

  • Added doNotSnapToHiddenSeriesIndices option to CrosshairOptions. When enabled, the crosshair will snap to the nearest visible series data point instead of snapping to hidden series indices. (PR #​1995)

Bug Fixes

  • Fixed price axis label positioning when using plugin views that don't implement the optional fixedCoordinate() method. Previously, labels were incorrectly treated as positioned at coordinate 0, causing false overlap detection. (PR #​1993), fixes #​1986), contributed by @​tpunt)

  • Fixed time scale fitContent method to properly respect the rightOffset option when rightOffsetPixels is not set. This addresses a regression introduced in version 5.0.9. (PR #​1989, fixes #​1988)

Contributors

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

Changes since the last published version.

v5.0.9

Compare Source

Enhancements

  • Added rightOffsetPixels option to HorzScaleOptions, allowing margin space from the right side of the chart to be set in pixels. This option takes precedence over rightOffset and ensures consistent pixel offset when using fitContent on charts with different amounts of data. The pixel-based offset remains consistent during zoom operations. (PR #​1957)
  • Added pop method to series API that removes a specified number of data points from the end of the series and returns the removed data. (PR #​1949, fixes #​1518, contributed by @​tpunt)
  • Enhanced takeScreenshot method with two new optional parameters:
    • addTopLayer - includes top layer primitives in the screenshot (default: false)
    • includeCrosshair - includes the crosshair when addTopLayer is enabled (default: false)
      (PR #​1977)
  • Added autoScale option to SeriesMarkersOptions, allowing control over whether markers are included in the auto-scaling calculation of the price scale. When enabled (default: true), the chart will adjust its scale to ensure markers are fully visible. (PR #​1940, contributed by @​zbinlin)
  • Added base option to price format configuration as an alternative to minMove. This helps avoid floating-point precision limitations when dealing with extremely small price movements. (PR #​1952)
  • Enhanced plugin API with additional functionality:
    • Added lastValueData() method to the public series API
    • Exposed setLineStyle drawing utility through a new DrawingUtils interface
      (PR #​1956, contributed by @​tpunt)

Bug Fixes

  • Fixed price scale visible range calculation when in logarithmic scale mode by properly converting the range from log space and handling precision issues with rounding. (PR #​1965, contributed by @​tpunt)

Plugin & Indicator Examples

  • Added Dual Range Histogram Series custom plugin example that visualizes paired positive and negative value ranges for each time point using a column-based display. (PR #​1934)
  • Added Pretty Histogram plugin example demonstrating non-standard histogram rendering. (PR #​1930)
  • Added examples demonstrating how to implement indicators (studies) within Lightweight Charts. See the Analysis Indicators tutorial for more information. (PR #​1915)

Contributors

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

Changes since the last published version.


Configuration

📅 Schedule: (UTC)

  • 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 becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Oct 1, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
itzik-co Error Error Aug 12, 2026 11:49am

@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 699d453 to 5200373 Compare October 21, 2025 18:09
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 5200373 to dfd91ee Compare November 11, 2025 02:08
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from dfd91ee to ebf8f6f Compare November 18, 2025 13:59
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from ebf8f6f to fb00c1e Compare December 3, 2025 17:14
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from fb00c1e to 74c5aed Compare December 5, 2025 09:39
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 74c5aed to ca2d4d9 Compare December 16, 2025 14:00
@renovate renovate Bot changed the title Update dependency lightweight-charts to v5.0.9 Update dependency lightweight-charts to v5.1.0 Dec 16, 2025
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from ca2d4d9 to 83d9de9 Compare December 31, 2025 14:01
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 83d9de9 to eed103a Compare January 8, 2026 18:40
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from eed103a to db46586 Compare January 19, 2026 18:38
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from db46586 to a707488 Compare January 23, 2026 11:26
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from a707488 to 5af6c4f Compare January 23, 2026 20:39
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 5af6c4f to 61dc098 Compare February 2, 2026 17:49
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 61dc098 to 73bfda9 Compare February 12, 2026 17:35
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 73bfda9 to f434b72 Compare February 17, 2026 15:37
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 29154ca to 78339af Compare March 27, 2026 13:26
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 78339af to af43072 Compare April 1, 2026 20:47
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from af43072 to c58b0b9 Compare April 8, 2026 18:40
@renovate renovate Bot changed the title Update dependency lightweight-charts to v5.1.0 Update dependency lightweight-charts to v5.2.0 Apr 24, 2026
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from c58b0b9 to 67b5603 Compare April 24, 2026 19:46
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 67b5603 to 464dab2 Compare April 29, 2026 16:32
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 464dab2 to dc6b956 Compare May 12, 2026 11:31
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from dc6b956 to b570aec Compare May 18, 2026 12:48
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from b570aec to 7f2e187 Compare May 28, 2026 18:54
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 7f2e187 to 73c64f4 Compare June 1, 2026 20:44
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 73c64f4 to 05db0f0 Compare June 11, 2026 17:57
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 05db0f0 to 9f377d0 Compare July 12, 2026 18:39
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 9f377d0 to 3040268 Compare July 21, 2026 02:44
@renovate
renovate Bot force-pushed the renovate/lightweight-charts-5.x-lockfile branch from 3040268 to df292e2 Compare August 12, 2026 11:49
@renovate renovate Bot changed the title Update dependency lightweight-charts to v5.2.0 Update dependency lightweight-charts to v5.2.1 Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants