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, andegui-workbench-mol3dare published to crates.io at1.2.0, versioned with the library (they were unpublished0.1.0workspace members).chem-coreis the egui-free document model, selection bus, events, and background jobs;chem2dis the 2D structure editor with SMILES, molfile, SDF, RXN, and CDXML, properties, and SVG/PNG export;mol3dis 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, anddata::MAX_FILE_BYTES.- Extension modules may export
alloc(len) -> ptrto receive the command id. - A
cache-warm.ymlworkflow and aworkflow_dispatchrehearsal 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_filereads only regular files (a FIFO or device node no longer hangs it) and reads at mostout_cap + 1bytes. 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,apibounds must parse, and an emptyfilesystem:read:prefix is rejected. - Extension signatures. A manifest with
signatureis refused unless the application installs a verifier withExtensionManager::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_CONFIRMtoken no longer matches an emptyconfirmation, and tokens compare in constant time. Without an allow-list,run_commandonly 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 anhref. A PNG export is capped at 100 million pixels. - Root crate: parsers. The data query and
Whenexpression parsers stop at 64 levels of nesting instead of overflowing the stack.Localizer::loadaccepts only plain locale names, so../xcannot choose the file read, and{ $name }values are no longer expanded a second time by a later argument. A workspaceversionaboveu32::MAXis 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.xlsxare still expanded bycalaminebefore 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:
Bochad an O=O bond,OTshad no aryl ring (it was a mesylate),bpyandphencontained three-membered rings, andEDTAbonded 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.
dihedraland the 3DDihedralmeasurement 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, notHCl). Fused aromatic carbons (4.5 bond orders) no longer report a valence error, and carbocations, carbanions, andBH4-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_textno longer turns the bond inCH_3-CH_3into a subscript minus. - 2D editing.
add_chainspaced 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;relaxno 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_pointsto 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
IdPoolread 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_framegrows with the bytes received. - C ABI. An interior NUL in an error message no longer erases the message.
- File readers. A
.cubeheader 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 bareM CHGline 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 withthe image is too large. SVG rasterizing no longer follows anhrefto 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 of5. 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::tilewith a level of 64 or more panicked or reserved memory for the empty levels.Keybindings::import_vscodeimported VS Code's-commandremoval entries as bindings to a command that does not exist; they are skipped. Binding an empty key sequence is an error.show_choice_windowanswered 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.resizablewas never applied. RingBuffer::read_rangecopied the whole buffer for every page; it copies the page.egui-workbench --stdioexited with an error at a normal end of input.read_framenow returnsFrameError::Closedfor a clean close.Host::reload_if_changeddropped 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 as0.1234(5); CDXML rejected carbon nodes withoutElementand matchedB="insideLabelB=". - Molfile: atom number
0or a malformed number bonded atom 1, a truncated atom or bond block was accepted,M CHGlines held more than 8 entries, and V3000 wrote the charge in the atom-map field. V3000 now usesCHG=. - 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
-32601for an unknown method, andget_stateno longer drains pending events. - A panicking chem job reports
Failed("the job panicked: …")and wakes the UI. infer_bondsuses a spatial grid instead of comparing all atom pairs, and PDB/CIF loading no longer scans the atom list per atom.
Changed
FrameErrorhas a new variantClosed.ExtensionErrorhas a new variantSignature.- 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_eventsreads pending events without draining them.- A signed manifest no longer installs without a verifier.
- An MCP session without
--allowcan no longer run a command id the spec does not declare.
Upgrade notes
- macOS wheels. PyPI now receives one wheel per architecture (
macosx_arm64andmacosx_x86_64) instead of auniversal2wheel; 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
signatureis refused unless the application installs a verifier. Remove the field or addwith_signature_verifier. - MCP. Without
--allow,run_commandonly runs commands the spec declares. - Chains and patches.
add_chaindraws uniform 1.5 bonds at 120 degrees; a patch keeps the values the user entered in widgets it does not touch; a.cubeor supercell request beyond the documented limits is refused or clamped. - Charts. PNG export is capped at 100 million pixels, and
scalestays 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. SeeCONTRIBUTING.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.
- Ruler (
MeasurementConfiginPlotConfigcontrols the mode, the signed/absolute label, the snap radius, and whether labels draw. Builder methods aremeasurement_mode,measurement_area_style,measurement_snap_radius, andmeasurement_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.
PlotStateexposespin_toolbarandcollapse_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_requestedfor applications with their own dialog. The existing toolbar icons are unchanged. - Measurements live in
PlotStatein data coordinates, so they survive zoom, pan, fit, and serde round-trips.measurements,add_measurement,remove_measurement,pop_measurement, andclear_measurementsmanage the list. PlotMeasurement,DistanceSummary,CurveAreaSummary,Extremum,SeriesMeasurement,region_measurements, andcurve_area_summaryexpose 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_filecanonicalizes the requested path and everyfilesystem:readgrant, 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
entryaccepts only normal path components on every platform, rejectingC:\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 withRemoteServer::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-writesession now requiresEGUI_WORKBENCH_CONFIRMfor destructive commands; the confirmation token is no longer read from argv (X7, X8). - Every C ABI entry point catches Rust panics and returns
-1/NULLwith the panic inwb_last_error, and rejects invalid UTF-8 instead of substituting U+FFFD (Q3, Q4). - Replaced our direct use of unmaintained
chronoandserde_yamlwithjiffandserde_norway.chronoremains a transitive dependency ofarrow/parquetfor temporal arrays and stays named indeny.toml(X9).
Fixed
wb_host_version()reports the crate version instead of a hard-coded0.13.0(Q2).- The starter template and install guide use
version = "1", socargo generatebuilds against the current release instead of 0.4 (S1, S2, D6). ExtensionManager::enableno longer callsexpectafter a fallible rebuild (Q5).webcarries the workspace version and the old wasm.tgzfiles 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 checknow runs the template check, the docs examples, the C ABI client, and the Python, Go, and wasm conformance suites when their prerequisites are installed, pluscargo deny,cargo-semver-checks, and the 1.95 MSRV check (T2, T3, T4, D2, D5).- Added
cargo xtask budgetsand 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 ABIworkflow 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, PythonicWorkbenchand widgets, event handlers,app.post, asyncio, NumPy/pandas/Polars/PyArrow data, and headlessapp.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-hostcrate: 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
Plot3Dand 2D/3D headless GPU tests.
Migration
Additive; CPU remains the default renderer.
[0.9.0] - 2026-11-24
Added
- Optional
gpurenderer for line/scatter data layers throughegui_wgpu, withRenderer::Gpuandset_output_format. MinMaxPyramidfor lazy min/max tiles over paged sources.StreamingSerieswith live/frozen modes, rolling windows, and triggers.Scale::SymmetricLog,Scale::Time, andScale::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_boundsis gated behindplot, restoring the minimal feature builds.
[0.8.0] - 2026-11-24
Added
LinkHubselection bus with Highlight/Filter/Isolate modes, predicates, and revisions.- Dataset-bound plots (
Plot::from_dataset(...).x(...).y(...).color_by(...)), brush publishing, andDataGrid::link. PlotGridwith a shared state andViewHistoryback/forward zoom.examples/linkedand the Linked views guide.
Migration
0.8 is additive; the linked methods are opt-in.
[0.7.0] - 2026-11-24
Added
- Typed
Dataset/Columnmodel with validity, units, metadata, slices, statistics, andxy_pairs. - Paged
DataSourceand CSV, workbook, Arrow IPC, Parquet, SQLite, ring, and channel connectors behind features. - Safe query language with positioned errors and bound column indices.
DataGridwith sort, filter, search, hidden columns, selection, statistics, and TSV/Markdown/JSON copy.ViewerRegistryfor 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/LayoutNodeeditor-group tree, splits, tabs, pinned/preview tabs, and the closed-tab stack.LayoutActionkeyboard equivalents, named layouts, and layout persistence inWorkspace.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.Workspacepersistence, 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/sessionand 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
CommandRegistrywith 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/WhenContextwith 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, andsvg;calamineandresvg/usvgoptional. - 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]. PaletteStategainedrecent; the palette ranks and records choices.
Migration
- Add the features a
default-features = falsebuild uses; all are on by default. - Prefer
CommandRegistryoverKeymap; constructPaletteStatewith..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-checksin 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
Benchmarksworkflow uploads the samples. tests/ime_hidpi.rs,docs/PLATFORMS.md,docs/EGUI_UPGRADE.md, anddocs/BENCHMARKS.md.cargo generatesupport for the starter template, with an optional local-checkout path;cargo xtask newkeeps working for contributors.
Changed
- The starter depends on
egui-workbench0.3 from crates.io when no checkout path is given, and on the checkout whencargo xtask newcreates it.
0.3.1 - 2026-11-24
Fixed
Plot3Drejects 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 asPlot. Drag orbits, Shift-drag pans, the wheel zooms, and double-click fits the data.Series3D:line,scatter, 3Dbarsfrom a z base, regularsurfacegrids, andsurface_fnfor 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 inPlot3DConfig::series_style_mut.Plot3DStatekeeps the camera, hidden series, legend position, and hover state, withreset_view,camera, andset_camerafor 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 plot3dandcargo 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_animationandPlot::legend_hoverare the builder shorthands. The default is a strongBlinkwithAnimationEasing::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 areBlink,Fade,Throb,DashMarch,DashToggle,Glow,Sweep,Wiggle,Reveal,MarkerBounce,MarkerPulse,Twinkle, andWave; 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), andPlot::direction_points(n). It measures the last 5 samples by default (2–64) and draws with each line-like series' color;SeriesStyle::direction_arrowoverrides it per series. It is part of the scene, so exports include it. - New chart types on
Plot, with their layouts inPlotConfig:- 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.
- pie and donut (
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 theWorkbook,Sheet,Table,Cell,CellKind,TextFile, andViewerErrortypes are public. Workbook parsing usescalamine(MIT).- The starter's chart settings dialog has a Motion section for the legend animation and direction arrow, and a new
plot-typesdocumentation scene plus aviewerscene.
Changed
PlotConfiggainslegend_hover,direction,pie,radar,gauge,heatmap, andwaterfall;SeriesStylegainsdirection_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
PlotConfigorSeriesStylewith 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)(orSeriesStyle::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, andPlotState::set_y2_viewexpose 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, andSeriesStyle::smoothing. - Title and axis-title styling:
PlotConfig::title_color,title_align(TitleAlign), and per-axisAxisConfig::label_size,label_color, andtick_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_viewalso resets the right axis.
Migration
AxisConfig,PlotConfig,SeriesStyle, andPlotHoverhave new public fields: code that builds them with struct literals adds..Default::default()(or the newaxisfield forPlotHover).
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, theWorkbenchApp/Commandmodel, a compiling minimal app, the design rules, and the guide as Markdown. Installable as a Claude Code plugin marketplace, withnpx 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.zipand check that.claude-plugin/plugin.jsonmatches 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, andIconPreview, 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_infor 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), andThemeState::set_custom. style::WorkbenchStyle: density, corner radii, border width, and text scale for every component and the chrome text, withsharp()/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), andCloseGuard(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 (featurematerial-icons).
Tooling and documentation
cargo xtask newgenerates a complete starter application (settings persistence, command palette, shortcuts, charts gallery, unsaved-changes prompts);cargo xtask checkruns 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/).