Resources

Changelog

Changes to the SDK, newest first.

0.14.2

  • Chart windows: a live chart in its own window (charts.openWindow) no longer skips frames or stalls its scrolling while the main window is also on screen.

0.14.1

  • Live charts keep up with the legend: every sample received is drawn as it arrives, the window still scrolls smoothly, and each message's samples come in continuously instead of all at once.
  • A sender that pauses (a sim's menu, a loading screen) no longer leaves live charts and gauges seconds behind afterwards.
  • Live camera video plays through a small buffer (at most 50 ms), so a frame the network holds back briefly no longer shows as a freeze and a jump.
  • A viewer that loses a working connection (a relay restart) reconnects at once instead of after 2 s.
  • The performance overlay (mount option debug) shows a live stream's data age and how far the chart is behind it.

0.14.0

  • Chart windows: charts.openWindow(id, options) takes left / top and, without a size or position, opens where chart.window was recorded; new windows open stepped and bring the open ones to the front. charts.recordWindows() stores where each chart's window is (chart.window, null when it has none; no undo step). New: ChartModel.window, the optional DashboardPanel.window (saved with the workbook) and the type WindowPlacement. See Engine API.
  • Recordings: BrowserRecorder takes seal (pass LivePublisher.seal) and then ends every chunk with an integrity checkpoint; camera recordings are checked as they play (RecordedVideoSource.integrity()).
  • Encryption: AES-GCM IVs are a random prefix per process and a counter, so a long-lived stream key never reaches the limit for random IVs. Nothing changes on the wire.

0.13.0

  • The Historian reader is gone (day-history ranges, history export, datasets.openHistoryRange / updateHistoryRange, view.setSegmentContext), and so are the v1 segment rules (RuleRunner): CycleSet and CycleRunner cut cycles and phases. live.setSegmentAxis takes a cycle rule only, with no live reference. EXPORT_TYPES has no Parquet. Workbooks no longer write segments. Full list: the SDK's CHANGELOG.md.

0.4.0 to 0.12.0

  • References: alignSegment, buildReference and compareToReference align runs, build a reference or an envelope and give deltas, a z-score ranking and deviations; encodeBand / decodeBand store a reference curve; datasets.addColumns takes bands to shade an envelope. See Cycles.
  • Clock-time X axis: multi-band charts whose X column is Unix seconds (unit s) read as date and time, in the zone set with setClockTimeZone (the viewer's zone by default).

0.3.0

  • Gauges: fill: 'zero' on a gauge item starts the filled part at zero (marked on the scale) instead of the scale's minimum, so a value of -300…300 fills either side of 0. See Chart kinds.
  • A gauge showing 'last' over a live stream shows the sample at or before the display time, never interpolated.

0.2.0

  • Live viewers and cloud recordings read wire v2 blocks, including a sender's buffered backlog; recordings order the backlog by time and skip exact duplicates.
  • The channels-per-chart limit applies to every chart kind, when a chart is added or imported and on charts.addSeries. chartChannelCount(settings) counts the channels a chart holds.
  • Live: a lap-distance X axis reads only the current lap; stream colours and the pop-out window fixed.

0.1.1

Published through npm trusted publishing. No API changes.

0.1.0

  • First release of @kymoscope/sdk, the Kymoscope engine.
  • createEngine(): datasets (files, folders, arrays, text, laps), worksheets, 27 chart kinds, math channels, local and end-to-end encrypted live streams, workspace import and export, limits and events.
  • Bare charts mounted with engine.charts.mount(), styled with CSS variables, reporting status, context-menu and zoom events.
  • React bindings in @kymoscope/sdk/react: KymoscopeProvider, useEngine, useEngineState, <Chart>.
  • Watch tickets for viewers without Kymoscope accounts, returning the stream descriptor.
  • Offline Ed25519 license keys with an attribution badge on unlicensed charts.
  • Proprietary license agreement (LICENSE.md) and copyright notice in both builds; the ESM build is minified.
  • ESM and standalone builds, TypeScript declarations.