Repository navigation
Releases: rioaxyz/sonrchart
Release list
v0.9.0
Added
- Halt status from the data source:
DataSourcegains an optionalsubscribeHalt(symbol, onChange), and having the method is what turns the feature on. When present, the halt badge (#78) follows it with no host wiring. CallonChange(true)or pass aHaltBadgewhile the symbol is halted, andonChange(false)when trading resumes. The subscription renews per symbol, and one ticker's halt never carries over to the next. An explicithaltedprop still takes precedence.SonrChartShellalso gains ahaltedpassthrough, since previously its charts could not show the badge at all.
Changed
- Volume is no longer on by default.
indicatorsnow defaults to[]on bothSonrChartandSonrChartShell(was["VOL"]), so the chart opens with no studies. To keep the old behavior, passindicators={["VOL"]}. - Candle type, sessions, and price-scale labels persist across remounts.
persistenceKeynow also carries these display settings, so a host that remounts the chart on a symbol change (key={symbol}, asSonrChartShelltiles commonly do) keeps the user's choices on every new ticker and interval. They already persisted while the chart stayed mounted. Likeindicators, thecandleStyle/sessions/priceLabelsprops now seed only the first mount for a key, though a later change to one still applies.savePersistedDisplay,loadPersistedDisplay, andclearPersistedDisplayare exported.
Fixed
- An inline object prop (
sessions={{ … }},priceLabels={{ … }},watermark={{ … }}) no longer resets the user's setting on every host re-render, such as a symbol switch. Props are now compared by value rather than identity, and only a real change is adopted. - The indicators menu now reflects studies the chart seeds from the
indicatorsprop. That seed lands after the asyncresolveSymbol, which runs after the menu's one-shot mount read, so the menu showed VOL as unchecked while it was on the chart. The chart now firessubscribeIndicatorsonce the seed lands, andIndicatorMenure-reads on every indicator change. The data window picks up the same notification.
0.8.0
Added: scroll-back history pagination — an optional getBarsBefore(symbol, interval, count, before) on DataSource; panning to the left edge pages older bars in (anchor preserved) until true exhaustion, with seam-guarded dedupe, single-flight, stale-page discard, and error cooldown; datasources without the method behave exactly as before (#109, spec in docs/scrollback-pagination-spec.md). barCount passthrough on SonrChartShell (#107). The interim 0.7.1 bump was never published; its content ships here. Published 2026-10-15. See the changelog.
0.7.0
Added: per-tool drawing styles — color, solid/dashed, width per tool or for all tools, in Settings → Drawing (#103). Changed: drawing tools are sticky — stay armed across placements until toggled off (stickyDrawings={false} opts out) (#102); volume-trend default lookback is 2 bars (#101). Published 2026-10-14. See the changelog.
0.6.0
Added: per-symbol drawing persistence — each ticker keeps its own drawing set, carried across interval/scale/Heikin-Ashi switches (#97); Volume Surge pressure side — surges classify as buying/selling/neutral from Close Location Value, colored green/red/amber (#99). (An interim 0.5.1 bump (#98) was never published; its content ships here.) Published 2026-10-13.
0.5.0
Added: persistenceKey prop on SonrChart/SonrChartShell — the user's indicator set survives full unmounts of the chart (hosts that remount on symbol changes), on top of in-instance persistence across symbol/interval/scale switches (#94). Plus the changelog, release tags, and README Releases section (#92, #93, #95). Published 2026-10-10.
0.4.0
0.3.1
Fixed: user indicators persist across symbol/interval/scale switches (#86, #87); canvas legends start below an overlaid ChartHeader (#88). Changed: Indicators menu alphabetized (#85). Note: the published tarball was built after the Volume Surge merge (#90), so VSURGE ships in this version despite the patch label. Published 2026-10-09.
0.3.0
Added: the volume-trend header row toggles from the Indicators menu (VOLTREND), with its on/off state on the chart handle (#83). Published 2026-10-08.
0.2.0
0.1.0
First public scoped release (@rioaxyz/sonrchart, #77): candlestick charting on KLineChart 10 — themes, drawing tools with undo/redo and templates, indicators + study templates, session tinting, pattern markers, watermark, compare series, trade-review overlay, price/order lines, symbol search/metadata, snapshots, save/load, and the ChartHeader/ChartToolbar/SonrChartShell chrome. Published 2026-10-01.