Skip to content

Changelog ​

The repository's CHANGELOG.md is the source of truth; this page mirrors it.

All notable changes to this project are documented here. The format follows Keep a Changelog, and the crate follows Semantic Versioning: while it is 0.x, a minor release may change the API, and each entry says how to migrate.

Unreleased ​

[1.2.0] - 2026-11-26 ​

This release publishes the chemistry crates as plugins of the library and hardens the whole workspace. Upgrade notes are at the end of this section.

Added ​

  • Chemistry plugins. egui-workbench-chem-core, egui-workbench-chem2d, and egui-workbench-mol3d are published to crates.io at 1.2.0, versioned with the library (they were unpublished 0.1.0 workspace members). chem-core is the egui-free document model, selection bus, events, and background jobs; chem2d is the 2D structure editor with SMILES, molfile, SDF, RXN, and CDXML, properties, and SVG/PNG export; mol3d is the 3D molecular and crystal viewer with an offscreen renderer and an optional wgpu path. The library does not depend on them. See the new Chemistry plugins guide.
  • ExtensionManager::with_signature_verifier, ExtensionError::Signature, FrameError::Closed, Host::peek_events, data::read_limited, and data::MAX_FILE_BYTES.
  • Extension modules may export alloc(len) -> ptr to receive the command id.
  • A cache-warm.yml workflow and a workflow_dispatch rehearsal for the release workflow.

Security ​

  • Extensions. The runtime checks a module's memory range before allocating, so a module can no longer make the host reserve up to 2 GiB with one host_* call. host_read_file reads only regular files (a FIFO or device node no longer hangs it) and reads at most out_cap + 1 bytes. The checksum is verified on the same bytes that are loaded. Logs, denials, and contributions are bounded, and the module's instances, memories, and tables are limited. Ids are plain reverse-DNS names, api bounds must parse, and an empty filesystem:read: prefix is rejected.
  • Extension signatures. A manifest with signature is refused unless the application installs a verifier with ExtensionManager::with_signature_verifier. Before, the field was accepted and never checked.
  • Remote server. Handshake and write timeouts stop idle sockets from holding the 32 connection slots. Frame payloads grow with the bytes that arrive instead of reserving the announced length (up to 64 MiB per connection). Unmasked client frames and control frames over 125 bytes are rejected, as RFC 6455 requires.
  • MCP agent. An empty EGUI_WORKBENCH_CONFIRM token no longer matches an empty confirmation, and tokens compare in constant time. Without an allow-list, run_command only accepts commands the spec declares. The audit log keeps at most 240 characters per entry and 10,000 entries; successful calls used to store their whole result, including screenshots.
  • Root crate: data connectors. The SQLite connector opens the database read-only and refuses statements that write, so a query can no longer modify a file or create one at a mistyped path; a query stops at 5,000,000 rows. CSV, Arrow, Parquet, and the viewer refuse files over 512 MiB (read_limited, MAX_FILE_BYTES). The image viewer decodes with a 16,384-pixel and 512 MiB limit, and SVGs no longer load files named by an href. A PNG export is capped at 100 million pixels.
  • Root crate: parsers. The data query and When expression parsers stop at 64 levels of nesting instead of overflowing the stack. Localizer::load accepts only plain locale names, so ../x cannot choose the file read, and { $name } values are no longer expanded a second time by a later argument. A workspace version above u32::MAX is rejected instead of wrapping to a small number.
  • Root crate: session files. Workspace, stash, and journal writes go through a hidden, uniquely named temporary file created exclusively, flushed to disk, and renamed over the target. The old code removed the target first, so a crash between the two steps left no file, and its predictable temporary name followed symlinks.
  • Root crate: workbooks and plots. A workbook over 512 MiB, or a sheet over 50,000,000 cells, is refused. A plot tick label wider than the plot used to panic in clamp; it is now centred. Cells of a crafted .xlsx are still expanded by calamine before the cell limit can apply, so a hostile workbook can use a lot of memory; open untrusted workbooks in a separate process.
  • Chemistry crates. The 2D superatom library had four wrong structures: Boc had an O=O bond, OTs had no aryl ring (it was a mesylate), bpy and phen contained three-membered rings, and EDTA bonded its acetate arms to carbons instead of nitrogens. They are rebuilt (tolyl ring, 2,2'-bipyridine, 1,10-phenanthroline, and four CH2-COOH arms), and a test now checks every entry for valence, connectivity, and ring size.
  • Dihedral angles were 180 degrees off. dihedral and the 3D Dihedral measurement read an anti arrangement as 0 and a syn one as 180; they follow the IUPAC sign convention now (anti 180, syn 0, +90 for a clockwise quarter turn).
  • π–π stacking was never reported. The ring search discarded every ring it found. Contacts and hydrogen bonds also paired atoms within three bonds (every bond angle read as a clash); they are skipped. Both searches no longer scan all atom pairs or look atoms up by a linear scan, which was cubic on a protein.
  • 2D properties. The Hill formula puts carbon-free compounds in alphabetical order (ClH, not HCl). Fused aromatic carbons (4.5 bond orders) no longer report a valence error, and carbocations, carbanions, and BH4- get the hydrogens their group implies. The label and the formula share one hydrogen count. Alternating-bond rings of four or eight atoms are no longer aromatic, and Kekulé furan, pyrrole, and thiophene are. The pyrrole template is drawn in Kekulé form so its N-H shows. format_chemical_text no longer turns the bond in CH_3-CH_3 into a subscript minus.
  • 2D editing. add_chain spaced atoms unevenly (alternate bonds were 1.5 and 2.5 long); every bond is 1.5 now with a 120 degree angle. A command that fails halfway is rolled back. Deleting atoms prunes expanded superatom groups. Deltas reject non-finite or absurd coordinates and stop at 100,000 atoms; chains stop at 1,000 atoms; relax no longer freezes on a few hundred atoms; PNG export caps its size and dpi.
  • 3D limits. A supercell is limited to 32 copies per axis and 2,000,000 atoms, pore_points to 1,000,000 samples, a coordination polyhedron to its 16 nearest neighbours, an orbital grid to 160 points per edge, and a CPU render to 8192 pixels per edge and 36 megapixels. The surface grid is built per atom instead of per grid point and atom pair. A zero-size or oversized GPU offscreen target returns nothing instead of failing wgpu validation.
  • Chemistry core. Removing an atom freed its slot but not its bonds' slots; they stay free now. An IdPool read from a document with a dangling free slot no longer panics.
  • Host. A patch cannot nest the spec deeper than 128 levels. The pending event queue holds at most 10,000 events, and read_frame grows with the bytes received.
  • C ABI. An interior NUL in an error message no longer erases the message.
  • File readers. A .cube header cannot request a grid larger than the file. Fixed-width molfile and mol columns, short mmCIF rows, a CIF loop with only _fract_x, a zero cube dimension, and a bare M CHG line panicked; they now return an error or are skipped. A SMILES bracket atom accepts at most 8 explicit hydrogens.

Fixed ​

  • Charts. A plot tick label wider than the plot used to panic in clamp; it is centered. PNG export refuses more than 100 million pixels with the image is too large. SVG rasterizing no longer follows an href to a file, in plots and in the viewer.
  • CSV files with a byte-order mark kept it in the first column name, and a blank line became a row with a null value.
  • SQLite and workbook columns that mix types showed Int(5) instead of 5. A workbook's first sheet was the alphabetically first, not the workbook's first.
  • Arrow timestamps in seconds, milliseconds, or microseconds failed to load; they are converted to nanoseconds.
  • MinMaxPyramid::tile with a level of 64 or more panicked or reserved memory for the empty levels.
  • Keybindings::import_vscode imported VS Code's -command removal entries as bindings to a command that does not exist; they are skipped. Binding an empty key sequence is an error.
  • show_choice_window answered Esc even when the window was closed. The stepper control panicked on an inverted range, ellipsize_start(text, 0) underflowed, and Left on a collapsed leaf in a tree emitted a toggle.
  • Edge resizing started on a maximized or fullscreen window. A host spec's window.resizable was never applied.
  • RingBuffer::read_range copied the whole buffer for every page; it copies the page.
  • egui-workbench --stdio exited with an error at a normal end of input. read_frame now returns FrameError::Closed for a clean close.
  • Host::reload_if_changed dropped the shared action queue, registered custom widgets, and unpolled events. It keeps them.
  • Extension logs were reported again on every invoke.
  • A patch reset every input widget to its spec value. Widgets the patch does not touch keep the user's value.
  • mmCIF used the first loop_ instead of _atom_site; CIF rejected coordinates with an uncertainty such as 0.1234(5); CDXML rejected carbon nodes without Element and matched B=" inside LabelB=".
  • Molfile: atom number 0 or a malformed number bonded atom 1, a truncated atom or bond block was accepted, M CHG lines held more than 8 entries, and V3000 wrote the charge in the atom-map field. V3000 now uses CHG=.
  • SMILES [Fe++] gave +1 instead of +2.
  • Python: a NumPy buffer whose size is not a multiple of the dtype width lost its tail.
  • A host dialog's window close button emits <id>.cancel.
  • The MCP server returns -32601 for an unknown method, and get_state no longer drains pending events.
  • A panicking chem job reports Failed("the job panicked: …") and wakes the UI.
  • infer_bonds uses a spatial grid instead of comparing all atom pairs, and PDB/CIF loading no longer scans the atom list per atom.

Changed ​

  • FrameError has a new variant Closed.
  • ExtensionError has a new variant Signature.
  • Extension modules may export alloc(len) -> ptr; the host copies the command id there. Without it the id is written at offset 1024, which can overwrite module data.
  • Host::peek_events reads pending events without draining them.
  • A signed manifest no longer installs without a verifier.
  • An MCP session without --allow can no longer run a command id the spec does not declare.

Upgrade notes ​

  • macOS wheels. PyPI now receives one wheel per architecture (macosx_arm64 and macosx_x86_64) instead of a universal2 wheel; pip picks the right one. Linux aarch64 wheels are built natively.
  • Dihedral angles change sign convention. A dihedral you stored from 1.1 is 180 degrees off from the IUPAC value that 1.2 reports. Recompute stored values.
  • Signed extensions. A manifest with signature is refused unless the application installs a verifier. Remove the field or add with_signature_verifier.
  • MCP. Without --allow, run_command only runs commands the spec declares.
  • Chains and patches. add_chain draws uniform 1.5 bonds at 120 degrees; a patch keeps the values the user entered in widgets it does not touch; a .cube or supercell request beyond the documented limits is refused or clamped.
  • Charts. PNG export is capped at 100 million pixels, and scale stays within 0.25 to 8. Tick labels wider than the plot are centered instead of panicking.
  • Builds. The workspace profiles use debug = "line-tables-only" and strip release binaries; a full debug build is about 9 GB instead of more than 150 GB. See CONTRIBUTING.md.

[1.1.0] - 2026-11-25 ​

Added ​

  • Plot measurement tools. The toolbar now exposes a ruler and an area tool:
    • Ruler (PlotTool::MeasureDistance): drag between two points, snapping to the nearest visible point within 14 pt. Reports Δx, Δy, Euclidean distance, slope, and angle.
    • Area (PlotTool::MeasureArea) has two modes, selected in the chart settings:
      • Rectangle: drag a rectangle. Reports its area and, for every visible series, the minimum and maximum (with the slope at each extremum), the mean, the trapezoidal integral, and the endpoint slope.
      • Curve vs chord: drag between two points on the same curve. Reports the signed and absolute area between the curve and its chord, the arc length, the chord distance/slope/angle, and the largest deviation.
  • MeasurementConfig in PlotConfig controls the mode, the signed/absolute label, the snap radius, and whether labels draw. Builder methods are measurement_mode, measurement_area_style, measurement_snap_radius, and measurement_labels.
  • One analysis icon opens a menu with every filter and transform. Active items colour the icon, and the same toggles are available in the chart settings:
    • Filters: Savitzky–Golay, moving average, Gaussian, median, and exponential low-pass, with configurable windows, order, sigma, and alpha.
    • Transforms: FFT magnitude, inverse FFT, power spectral density, autocorrelation, cross-correlation of two series, Hilbert envelope, and cepstrum.
  • A clear (eraser) icon appears only when the chart has measurements, annotations, selection, or analysis; clicking it removes every painted overlay.
  • The tool ribbon is controlled by the pin at its right edge: hovering the pin unrolls the existing icons with a tape-measure animation, clicking the pin keeps the ribbon open, and dragging the pin moves the ribbon anywhere in the plot. PlotState exposes pin_toolbar and collapse_toolbar.
  • The settings gear opens a chart-settings dialog (not a dropdown) with the measurement mode, area style, snap radius, labels, filter toggles and parameters, and transform selection. It still emits settings_requested for applications with their own dialog. The existing toolbar icons are unchanged.
  • Measurements live in PlotState in data coordinates, so they survive zoom, pan, fit, and serde round-trips. measurements, add_measurement, remove_measurement, pop_measurement, and clear_measurements manage the list.
  • PlotMeasurement, DistanceSummary, CurveAreaSummary, Extremum, SeriesMeasurement, region_measurements, and curve_area_summary expose the same values the labels show.
  • examples/measurements: a QA workbench with a damped line, a cubic scatter, two sensor traces, and a 50,000-point stream, plus a live panel with the computed summaries and the chart settings.

Changed ​

  • Measurement drags start from the pointer press origin instead of the position where egui first reports the drag, so snapping still sees the point the user pressed.

Tests ​

  • 29 measurement tests across the plot unit and integration suites: distance components, horizontal/vertical/negative directions, area bounds, extrema and slopes at extrema, integral, mean, endpoint slope, reference filtering, unsorted input, rectangle and curve-vs-chord areas, snapping, toolbar tools, analysis icon, clear icon, pin hover unroll, pin drag, pinned settings panel, list helpers, zoom persistence, and serde round-trips.
  • 16 analysis tests: five filters, seven transforms (including FFT/IFFT round-trip and spectral peaks), and four pipeline toggles.

[1.0.4] - 2026-11-25 ​

Security ​

  • Extension sandbox: host_read_file canonicalizes the requested path and every filesystem:read grant, so .., sibling prefixes, and symlinks cannot escape the grant (X1). A file larger than the output cap is rejected from its metadata before it is read (X3).
  • Extensions run under a fuel budget and a 64 MiB linear-memory limit; loop {} traps instead of freezing the UI thread (X2).
  • Manifest entry accepts only normal path components on every platform, rejecting C:\x.wasm, \\server\share\x.wasm, a/../b.wasm, and /x.wasm (X4).
  • The remote WebSocket server accepts only a request with no Origin (native clients) or one explicitly allowed with RemoteServer::allow_origin; headers are capped at 8 KiB and 64 lines, and at most 32 connections are served at once (X5, X6).
  • An MCP --read-write session now requires EGUI_WORKBENCH_CONFIRM for destructive commands; the confirmation token is no longer read from argv (X7, X8).
  • Every C ABI entry point catches Rust panics and returns -1/NULL with the panic in wb_last_error, and rejects invalid UTF-8 instead of substituting U+FFFD (Q3, Q4).
  • Replaced our direct use of unmaintained chrono and serde_yaml with jiff and serde_norway. chrono remains a transitive dependency of arrow/parquet for temporal arrays and stays named in deny.toml (X9).

Fixed ​

  • wb_host_version() reports the crate version instead of a hard-coded 0.13.0 (Q2).
  • The starter template and install guide use version = "1", so cargo generate builds against the current release instead of 0.4 (S1, S2, D6).
  • ExtensionManager::enable no longer calls expect after a fallible rebuild (Q5).
  • web carries the workspace version and the old wasm .tgz files are gone (S4, S6).
  • The C ABI ships only as a GitHub release archive; it is not published on crates.io (S5).

Changed ​

  • cargo xtask check now runs the template check, the docs examples, the C ABI client, and the Python, Go, and wasm conformance suites when their prerequisites are installed, plus cargo deny, cargo-semver-checks, and the 1.95 MSRV check (T2, T3, T4, D2, D5).
  • Added cargo xtask budgets and documented the ignored frame budgets (T1).
  • The release gate runs clippy, validates the npm, PyPI, and C ABI versions, and no longer ignores npm or Pages publish failures (D7-D10).
  • Split the extension and host runtimes so every file stays under 500 lines; the line-limit guard now scans crates/ too (Q1, T5).
  • Documented the standalone wasm, web, and probe crates and recorded the decision that the egui-free core crate lands at 2.0 (S3, S7).
  • Added the manual C ABI workflow and the pre-push lint hook (D11, Q6).
  • Fuzz targets are committed and documented in CONTRIBUTING.md (T7).
  • Documentation no longer claims checks that CI does not run (D1-D5).

[1.0.2] - 2026-11-25 ​

Changed ​

  • Probe crate separated from dev-dependencies, hosted headless rendering, byte-for-byte pixel verification, three-runner groups, and the wgpu renderer feature.

[1.0.1] - 2026-11-25 ​

Fixed ​

  • Windows undecorated frame reassertion for pointer alignment.

Added ​

  • Manual platform pixel workflow and probe, plus the support boundary.

[1.0.0] - 2026-11-24 ​

Stable ​

SemVer promise, egui/MSRV policy, independent spec/protocol/extension versions, and the versioning/support guides.

[0.17.0] - 2026-11-24 ​

Changed ​

  • Feature freeze, deprecated radius removal, migration guide, security policy, and the single tag release flow.

Migration ​

The extension ABI and host spec remain compatible.

[0.16.0] - 2026-11-24 ​

Added ​

  • Theme Studio, VS Code import/export, high contrast, localization, fonts, and the accessibility report.
  • Theme Studio and global guide.

Migration ​

Additive.

[0.15.0] - 2026-11-24 ​

Added ​

  • Sandboxed WebAssembly extensions, versioned manifest, capabilities, manager view, hot reload, and C/Rust examples.
  • Extensions guide.

Migration ​

Additive; the extension runtime is feature-gated.

[0.14.0] - 2026-11-24 ​

Added ​

  • MCP server, permissions, accessibility tree, automation replay, agent panel, and the expanded DevTools.
  • Agent threat model and guide.

Migration ​

Additive; DevTools state gained defaults.

[0.13.0] - 2026-11-24 ​

Added ​

  • WebAssembly host and npm package with ESM and schema-generated TypeScript types.
  • Remote UI server over WebSocket with the 0.11 protocol.
  • C ABI, header, and Go/C conformance clients.
  • Browser and remote tests plus the web guide.

Migration ​

Additive; new crates and the npm package use the 0.13 spec.

[0.12.0] - 2026-11-24 ​

Added ​

  • pip install egui-workbench: PyO3/maturin abi3 wheels, Pythonic Workbench and widgets, event handlers, app.post, asyncio, NumPy/pandas/Polars/PyArrow data, and headless app.step.
  • Python guide and CI wheel workflow.

Migration ​

Additive; Python is a separate package on the same 0.12 host spec.

[0.11.0] - 2026-11-24 ​

Added ​

  • egui-workbench-host crate: versioned spec and schema, host runtime, patches, data buffers, protocol/frames, sidecar binary, custom widgets, and conformance fixtures.
  • Native hot reload and a headless render test.

Migration ​

Additive; the host is a separate crate published from the same tag.

[0.10.0] - 2026-11-24 ​

Added ​

  • Histogram/density, box, violin, hexbin, contour, polar, and Smith families.
  • Analysis tools, FFT/spectrum, fits with errors, and selection statistics.
  • Colormaps, colorbars, annotations/regions, math text, vector PDF, export presets.
  • GPU filled surfaces for Plot3D and 2D/3D headless GPU tests.

Migration ​

Additive; CPU remains the default renderer.

[0.9.0] - 2026-11-24 ​

Added ​

  • Optional gpu renderer for line/scatter data layers through egui_wgpu, with Renderer::Gpu and set_output_format.
  • MinMaxPyramid for lazy min/max tiles over paged sources.
  • StreamingSeries with live/frozen modes, rolling windows, and triggers.
  • Scale::SymmetricLog, Scale::Time, and Scale::Category.
  • The Plot engine guide.

Migration ​

0.9 is additive; the CPU renderer remains the default.

[0.8.1] - 2026-11-24 ​

Fixed ​

  • Dataset::rows_in_bounds is gated behind plot, restoring the minimal feature builds.

[0.8.0] - 2026-11-24 ​

Added ​

  • LinkHub selection bus with Highlight/Filter/Isolate modes, predicates, and revisions.
  • Dataset-bound plots (Plot::from_dataset(...).x(...).y(...).color_by(...)), brush publishing, and DataGrid::link.
  • PlotGrid with a shared state and ViewHistory back/forward zoom.
  • examples/linked and the Linked views guide.

Migration ​

0.8 is additive; the linked methods are opt-in.

[0.7.0] - 2026-11-24 ​

Added ​

  • Typed Dataset/Column model with validity, units, metadata, slices, statistics, and xy_pairs.
  • Paged DataSource and CSV, workbook, Arrow IPC, Parquet, SQLite, ring, and channel connectors behind features.
  • Safe query language with positioned errors and bound column indices.
  • DataGrid with sort, filter, search, hidden columns, selection, statistics, and TSV/Markdown/JSON copy.
  • ViewerRegistry for tables, JSON/YAML/TOML, PNG/JPEG, SVG, Markdown, logs, code, hex, and text.
  • The one-million-row CSV budget probe.

Migration ​

0.7 is additive. Enable viewer for the registry and the connector feature you use; arrow, parquet, and sqlite are opt-in.

[0.6.0] - 2026-11-24 ​

Added ​

  • Layout/LayoutNode editor-group tree, splits, tabs, pinned/preview tabs, and the closed-tab stack.
  • LayoutAction keyboard equivalents, named layouts, and layout persistence in Workspace.
  • ActivityBar, examples/workspace, and the Workspace guide.

Migration ​

No removed items. A 0.5 workspace loads with a single empty group.

[0.5.0] - 2026-11-24 ​

Added ​

  • History<S> undo tree with coalescing groups and the History panel.
  • CommandJournal, macros recorded from a journal range, and deterministic replay.
  • Workspace persistence, atomic writes, version migration, and plot views.
  • Stash, HotExit, and crash recovery with warnings for corrupt files.
  • DevTools F12: journal viewer and JSON state inspector.
  • examples/session and the starter's journal/DevTools integration.

Migration ​

0.5 is additive; existing 0.4 calls keep working. See History, journal, and sessions.

[0.4.0] - 2026-11-24 ​

Added ​

  • CommandRegistry with stable namespaced ids, titles, categories, icons, default shortcuts, enabled/checked state, an optional argument schema, and one source for menus, the palette, the title bar, the keyboard menu, and context menus.
  • When/WhenContext with the standard keys and !, &&, ||, parentheses.
  • Rebindable keys, conflict detection, chords, the versioned keybindings JSON file, VS Code import, and a keybindings editor built from the registry.
  • Palette v2 fuzzy ranking, recent commands, prefix modes, and background PaletteFeed.
  • Feature serde: stable event names and JSON round-trips for every built-in state.
  • Features plot, plot3d, viewer, and svg; calamine and resvg/usvg optional.
  • Registry views for menus, the keyboard menu, and the command palette.

Changed ​

  • The starter application's chrome reads one registry.
  • Public enums are #[non_exhaustive].
  • PaletteState gained recent; the palette ranks and records choices.

Migration ​

  • Add the features a default-features = false build uses; all are on by default.
  • Prefer CommandRegistry over Keymap; construct PaletteState with ..PaletteState::default(); add wildcard arms for non-exhaustive enums.

[0.3.2] - 2026-11-24 ​

Added ​

  • CI on three desktops: the full suite (including pixel snapshots) stays on Linux, and macOS and Windows run the unit and behavior tests, including tests/ime_hidpi.rs.
  • cargo-semver-checks in CI against the previous release tag.
  • A criterion baseline for plot decimation, a large tree, a one-million-row CSV, and palette filtering; the weekly Benchmarks workflow uploads the samples.
  • tests/ime_hidpi.rs, docs/PLATFORMS.md, docs/EGUI_UPGRADE.md, and docs/BENCHMARKS.md.
  • cargo generate support for the starter template, with an optional local-checkout path; cargo xtask new keeps working for contributors.

Changed ​

  • The starter depends on egui-workbench 0.3 from crates.io when no checkout path is given, and on the checkout when cargo xtask new creates it.

0.3.1 - 2026-11-24 ​

Fixed ​

  • Plot3D rejects projected points more than eight frames outside the data area. A point just in front of the camera's near plane no longer paints a line to the edge of the chart; it is treated as behind the camera, so the line breaks instead. This protects 3D lines, bars, and surfaces from near-plane projection spikes.

0.3.0 - 2026-11-23 ​

Added ​

  • components::plot::Plot3D: a native 3D chart with an orbit camera, perspective or orthographic projection, x/y/z axes with linear or log10 scales, back-wall grids, and the same themes, legend toggles, drag-and-drop legend, 13 hover animations, direction arrow, hover popup, and SVG/PNG export as Plot. Drag orbits, Shift-drag pans, the wheel zooms, and double-click fits the data.
  • Series3D: line, scatter, 3D bars from a z base, regular surface grids, and surface_fn for sampled functions. Bars and surface cells are depth-sorted; surface cells are filled as quad meshes so concave projections stay correct. Per-series overrides live in Plot3DConfig::series_style_mut.
  • Plot3DState keeps the camera, hidden series, legend position, and hover state, with reset_view, camera, and set_camera for programmatic control.
  • 3D bars draw their faces as quad meshes and cull near-edge-on faces, so no stray anti-aliasing lines appear in perspective or orthographic views.
  • examples/plot3d: a native gallery with a title bar, theme toggle, chart/projection selectors, the 13 legend animations, easing, wireframe, direction arrow, camera reset, and SVG/PNG export.
  • The documentation has a detailed 3D guide, four live demos (plot-3d, plot-3d-surface, plot-3d-bars, plot-3d-helix), and the runnable commands: cargo run --example plot3d and cargo run --example scenes -- scene=plot-3d.

0.2.3 - 2026-11-22 ​

Added ​

  • Hovering a legend row now draws that series above every other series without moving the legend rows. A hovered line covers overlapping bars, a pie slice sits on top of its neighbors, and a radar polygon covers the other polygons; the legend order and hidden state stay exactly where they were.
  • examples/viewer: a runnable native example of the data viewer with drag-and-drop, an optional command-line path, the embedded sample workbook, and a light/dark toggle.
  • The documentation now has a live gallery of every new chart family (pie/donut, candlesticks, heatmap, radar, gauges, and waterfall) instead of a single default chart.

0.2.2 - 2026-11-22 ​

Added ​

  • Legend hover animations: resting the pointer on a legend row can play an effect on that series. PlotConfig::legend_hover (LegendHoverConfig) has an on/off switch, the effect, easing, period, and a second color; Plot::legend_animation and Plot::legend_hover are the builder shorthands. The default is a strong Blink with AnimationEasing::Linear: in dark mode it pulses between white and the series color, and in light mode between black and the series color. The 13 effects are Blink, Fade, Throb, DashMarch, DashToggle, Glow, Sweep, Wiggle, Reveal, MarkerBounce, MarkerPulse, Twinkle, and Wave; they adapt to line, pie, radar, gauge, heatmap, candlestick, and waterfall series. Reduced motion disables them.
  • Direction arrow for streaming data: PlotConfig::direction (DirectionArrowConfig), Plot::direction_arrow(true), and Plot::direction_points(n). It measures the last 5 samples by default (2–64) and draws with each line-like series' color; SeriesStyle::direction_arrow overrides it per series. It is part of the scene, so exports include it.
  • New chart types on Plot, with their layouts in PlotConfig:
    • pie and donut (Series::pie, PieConfig);
    • candlesticks (Series::candles, [x, open, high, low, close]);
    • heatmaps (Series::heatmap, [x, y, value], HeatmapConfig);
    • radar polygons (Series::radar, RadarConfig::labels);
    • gauges (Series::gauge, 0.0..=100.0, GaugeConfig);
    • waterfalls (Series::waterfall, WaterfallConfig). Plot::chart_mode() reports the inferred family.
  • components::viewer::FileViewer: native Excel workbooks with one tab per sheet (.xlsx, .xlsm, .xls, .xlsb, .ods), CSV and TSV (RFC 4180 quoting), and UTF-8 plain text. The table and text views are virtualized, keep header and line-number toggles, and never do I/O while painting. FileViewer::{open, from_bytes, text} and the Workbook, Sheet, Table, Cell, CellKind, TextFile, and ViewerError types are public. Workbook parsing uses calamine (MIT).
  • The starter's chart settings dialog has a Motion section for the legend animation and direction arrow, and a new plot-types documentation scene plus a viewer scene.

Changed ​

  • PlotConfig gains legend_hover, direction, pie, radar, gauge, heatmap, and waterfall; SeriesStyle gains direction_arrow.
  • Legend rows are shaded in the plot scene instead of by the interaction pass, so the hovered row and the animated series are drawn in the same frame.

Migration ​

  • Code that builds PlotConfig or SeriesStyle with struct literals adds ..Default::default() (or the new fields).

0.2.1 - 2026-11-22 ​

Changed ​

  • Plots draw large unsorted series much faster. A hundred cyclic voltammograms (450 000 points) went from 165 ms to 13 ms per frame in a release build:
    • unsorted lines skip points within half a pixel of the last one drawn;
    • every line is simplified on screen (Ramer–Douglas–Peucker, 0.3 pt);
    • unsorted scatter draws one marker per screen cell (¾ of the radius), so retraced curves draw their markers once;
    • series extents for the automatic view are cached in PlotState;
    • hover on unsorted series searches the drawn points, refined to the exact one;
    • a frame's shapes reach egui in one batch, without copying the point lists.

0.2.0 - 2026-11-22 ​

Added ​

  • Plots get a second y axis on the right: Series::y_axis(YAxis::Right) (or SeriesStyle::y_axis) measures a series on it, with its own range, scale, ticks, grid, and title (PlotConfig::y2, Plot::y2_label, y2_scale, y2_limits). With two axes, Alt + wheel zooms the left axis over the left half of the frame and the right axis over the right half. PlotResponse::y2_view, screen_pos_on, PlotHover::axis, and PlotState::set_y2_view expose it.
  • The wheel over an axis's tick labels (outside the frame) zooms that axis alone.
  • The legend can be dragged anywhere inside the frame; the position lives in PlotState (legend_position, set_legend_position) and is used by exports.
  • Smooth lines: Series::smooth(Smoothing::Spline | Monotone), Series::spline, and SeriesStyle::smoothing.
  • Title and axis-title styling: PlotConfig::title_color, title_align (TitleAlign), and per-axis AxisConfig::label_size, label_color, and tick_color.
  • The starter's Charts gallery adds a two-axis climate chart, and its settings dialog a Titles section, the right axis, tick colors, and per-series smoothing and axis.

Changed ​

  • Plot cursors: a crosshair over the data area with every tool, a closed hand while pressing or dragging to pan, resize arrows over an axis, and the ordinary pointer over the legend (whose hovered row is shaded) and the toolbar.
  • PlotState::reset_view also resets the right axis.

Migration ​

  • AxisConfig, PlotConfig, SeriesStyle, and PlotHover have new public fields: code that builds them with struct literals adds ..Default::default() (or the new axis field for PlotHover).

0.1.1 - 2026-11-21 ​

Added ​

  • An agent skill, skills/egui-workbench, so AI coding agents (Claude, Codex, Cursor, Gemini, Copilot) build apps with the crate: setup, the WorkbenchApp/Command model, a compiling minimal app, the design rules, and the guide as Markdown. Installable as a Claude Code plugin marketplace, with npx skills add, or from the release zip.

Changed ​

  • The README (also the crates.io page) explains how to use the crate with AI agents.
  • Releases attach egui-workbench-skill.zip and check that .claude-plugin/plugin.json matches the tag; CI fails when the skill is out of date with the docs.
  • GitHub Actions moved to their Node 24 releases (checkout v7, setup-node v7, Pages v5/v6).

0.1.0 - 2026-11-21 ​

First release. egui-workbench builds on egui and eframe 0.37 from crates.io and needs Rust 1.95 or newer.

Shell ​

  • Undecorated window with a custom title bar: product mark, text menus, history and workbench toggles, an optional pill, drag region, double-click maximize, resize edges, and native-looking window controls (native_options, handle_window_edges).
  • Document tab strip with dirty and warning markers, close buttons, middle-click close, scrolling, and a controls area; explorer tree with keyboard navigation, context menus, and the active-document marker; status bar; split view; keyboard menu (F10/Alt).
  • show_workbench / WorkbenchApp: the fixed panel order (title bar, explorer, tabs, optional right inspector and bottom output panels, status bar, central content, overlays) with responsive minimum widths.

Components ​

  • A shadcn-style builder layer: Button, IconButton, TextField, TextArea, Switch, Checkbox, Select, Stepper, SegmentedControl, Badge, Banner, Card, Label, Separator, StatusBar, Menu/MenuItem/MenuToggle, TabStrip, Tree, CommandPalette, Dialog, ConfirmDialog, NameDialog, ProgressDialog, Popover, IconGrid, and IconPreview, with shared variants, sizes, and tones.
  • Toasts: sonner-style notifications (info, success, warning, error, loading updated in place), six positions, actions, hover-to-pause, and queueing.
  • Settings dialog scaffold (show_settings_dialog, rows, sections, switches).
  • Every interactive widget carries AccessKit roles and names; keyboard paths for every pointer action.

Plots ​

  • components::plot::Plot: lines, areas, steps, scatter, bars, error bars, functions, and reference lines; linear and log axes; zoom, pan, box zoom, area selection, hover popups, legend toggles, and a toolbar; live windows; per-pixel decimation for millions of points.
  • Least-squares fits (linear, polynomial, exponential, power, logarithmic) with R², and moving averages; points_in for selections.
  • PlotConfig: titles, font sizes, axis limits, ticks, grids, line weights, colors, and per-series styles; SVG and PNG export drawn from the same scene as the screen.

Theming and style ​

  • Nine themes (GitHub Light/Dark/Dark Dimmed, Dracula, Dracula Soft, Alucard, One Dark Pro/Darker/Light) with WCAG AA contrast tests, follow-system light/dark, and reduced motion.
  • Custom themes and brand colors: Theme::with_accent (contrast kept AA), Theme::accessibility_issues, ThemeState::set_accent (re-derived on every theme change), and ThemeState::set_custom.
  • style::WorkbenchStyle: density, corner radii, border width, and text scale for every component and the chrome text, with sharp()/rounded() presets. The default is pixel-identical to the reference shell.

Runtime and icons ​

  • ThemeState, Documents (tab order, active document, dirty query), Keymap (ordered shortcuts), and CloseGuard (unsaved-changes prompts).
  • Icon cache with tinted SVG textures rasterized for HiDPI: workbench UI glyphs, 2,410 Lucide icons (feature lucide-icons), and the VS Code Material file icons (feature material-icons).

Tooling and documentation ​

  • cargo xtask new generates a complete starter application (settings persistence, command palette, shortcuts, charts gallery, unsaved-changes prompts); cargo xtask check runs fmt, a style lint (no literal radii or font sizes), clippy, rustdoc, and the tests.
  • Over 200 tests, including pixel snapshots of the shell, components, plots, and every live documentation scene.
  • Guide with live demos: every visual page runs the real library in the browser through WebAssembly (https://jigonzalez930209.github.io/egui-workbench/).

Released under MIT OR Apache-2.0. Icons: Lucide (ISC) and Material Icon Theme (MIT).