RunMat Changelog
What's new across RunMat. See GitHub Releases for runtime release binaries.
v0.7.1 - November 2026
November 10, 2026
Runtime and Native Packaging
Fixed
- Fixed Windows standalone packaging to include Cargo-owned MSVC import archives and retain unversioned native imports.
- Fixed remote execution output ordering so original console records remain ordered with terminal observations. Fixed CRLF diagnostic excerpts to omit carriage returns.
- Bounded result replay reads by the caller's budget and the publication's closed object inventory.
Desktop, SDK, and Editor
Added
- Added an Outline tab with docked Properties, script sections and typed symbols, and a checked FEA study tree. Added command search, configurable keymaps, a shortcut command box, and shared command menus with unavailable-action explanations.
Changed
- Updated file, Outline, and Properties controls for compact rows, clearer selection, collapsible panels, and narrow editor layouts. Quantity fields retain typed expressions when their forms refresh.
- Expanded the example catalog with captured runs that can open directly on their saved results, including FEA studies and multi-drone SLAM playback.
- Added CAD canvas context menus, command forms populated from the current selection, and shared navigation controls with mouse presets, cursor-centered zoom, orbit, and pan.
- Added a Settings menu with theme switching and links to account, usage, members, agent, navigation, and runtime settings. The agent panel shows thread and turn credit usage, and warns when less than 20% of the weekly allowance remains.
- New agent threads open on the Guide tab. Available guides reflect the project's files; examples open their entry document, including assemblies, parts, and circuits.
- Editor tabs that do not fit move into an overflow menu. Context chips stay on one line, with additional chips grouped under a count.
- Project ▸ Export lists the open document's supported formats. Properties applies values on Enter or blur, reverts them on Escape, and preserves authored units.
- Circuit simulation results show measurement limits, plot tabs and saved figure titles. Selecting a measurement opens its plot; overflowing figure tabs use the editor's overflow menu.
Fixed
- Fixed test setup failures disappearing without an explanation; the Run menu now shows why tests did not start. Fixed browser test coverage reports reading zero when execution returned site coverage.
- Fixed notebook scrolling unexpectedly zooming figures and detached notebook anchors leaving plots blank. Past-run figure tabs retain their recorded titles.
- Fixed context menus accidentally executing the item under the mouse when the opening right-click was released.
- Fixed simulation-usage reporting and settlement abandoning transient network or server errors; retries are bounded by the lease and retry limit. Fixed native and browser execution admission, including native test-worker attribution.
- Fixed guide answers settling unrelated questions. Typed answers bind to the displayed card and revision, explanation requests leave the card open, and quantity questions derive their dimensions from the declared quantity kind. Rejected replies identify the field that needs correction.
- Fixed saving during file loading overwriting content with empty text. Shared-file saves use the loaded collaborative document, and design checks read current unsaved edits through the save path.
- Circuit recordings appear only when their source hashes match the current files. Signed-out runs request sign-in, and failed or refused runs clear earlier results.
Mechanical Design
Added
- Added text-based
.part,.assembly, and.drawingdocuments with unit-aware inputs, configurations, cross-file references, and regeneration through the OCCT geometry kernel. - Added part modeling, direct face edits, sheet-metal operations, assemblies with mates and patterns, and drawings with views, dimensions, notes, and parts lists. Supported design exports include STEP, meshes, and drawing sheets.
- Added design commands for mate connectors, reference curves, sheet-metal conversion, material and appearance changes, body promotion, file splitting, and component configurations.
- Added
sweep(..., follow_path)so pipe and cable profiles stay perpendicular to their path through turns. - Added a two-story house example with foundation, framing, envelope, interior, routed services, an electrical service one-line, and branch circuits.
Fixed
- Improved hidden-line processing for general-arrangement drawings of large assemblies. Drawing parts lists use the indented bill of materials, and balloons can identify subassemblies.
- Fixed radius and diameter arrows to end on the arc, and added a finding for notes placed outside the sheet. Mold Scale, Parting line, Undercut, and Scale body commands execute their modeling operations.
- Fixed the Sketch command on selected planes and faces so it creates the sketch feature for the editor to open.
Changed
- Drawing standards, several surface-analysis tools, direct
.feapart/assembly references, the MATLAB-language CAD API, and generalrunmat checksupport for mechanical design files remain pending. Threads created through the canvas are cosmetic.
Electronic Design
Added
- Added text-based
.circuitschematics and.circuit.layoutboards with hierarchical sheets, component variants, stackups, routing, copper pours, and electrical and design-rule checks. - Added reusable footprint, symbol, and part declarations in library
.circuitfiles, imported withuse. Standard package strings generate their land patterns; custom footprints can be declared once and referenced by name. - Added circuit simulation sections with analyses, waveform probes, and measures checked against declared limits. Supported analyses include operating point, DC, AC, transient, noise, temperature, and seeded Monte Carlo runs.
- Added fabrication exports including Gerber X2, Excellon drills, IPC-D-356A netlists, BOMs, pick-and-place files, IPC-2581C, and ODB++. Fabrication settings can be saved in the board.
- Added STEP export for board assemblies and their placed components.
- Added design inspection, rendering, checks, import/export, and staged source-edit tools for design documents, plus
runmat-designcommands for supported checks and exports.
Changed
- KiCad imports report content that does not carry over; the general KiCad round-trip qualification gate remains open. Board enclosure clearance checks, board-driven thermal/vibration studies, assembly-drawing polarity marks, and board-integrated field-solved impedance remain pending.
Fixed
- Fixed spurious transient current and voltage from floating-point cancellation when differentiating unchanged charge and flux histories.
- Reduced repeated via-contact searches during PCB stub and delay analysis by sharing one spatial index across each batch, while preserving exact contact checks across board layers.
Finite-Element Analysis
Added
- Added result snapshots with saved view descriptions, verification, section cuts, translucent context geometry, and light or dark presentation. Supported snapshots include transient instants and acoustic frequency responses.
- Added
pressure_dropoutputs between fluid face regions and acoustictransmission_lossoutputs between ports, with reference checks recorded in the simulation ledger. - Added residual vectors and static correction for supported modal-reduced response studies, and published a modal truncation measure.
- Added CPU lossless quasi-static cross-section studies for trace impedance, effective permittivity, propagation delay, per-length capacitance and inductance, and supported differential-pair parameters.
- Added step-progress reporting for fluid, fluid–structure, and electrothermal execution. Local workers can append logs to
RUNMAT_WORKER_LOG_FILEwhen no OpenTelemetry collector is configured.
Changed
- Unified study commands under
runmat check,runmat plan,runmat run, andrunmat snapshot; therunmat feacommand group has been removed. - Added a factor-free preconditioned LOBPCG modal solve path, budget-sized search subspaces, and inertia-based eigenvalue completeness checks. Modal resource planning accounts for the selected solver working set.
- Modal studies can select automatic, factorization, or iterative solving and choose their algebraic accuracy measure. Results publish normwise backward error alongside relative residuals, and eigenpair qualification uses the selected measure.
- Extended steady thermal conduction with a multigrid solve path and resource planning derived from the admitted run budget. Thermal placement limits remain separate from the authored study identity.
- Improved tetrahedral boundary recovery, geometry-tolerance handling, and local sizing around opposed faces and narrow gaps. Tet10 curved-node repair tracks the geometry that changes.
- Added saved histories for sampled study outputs, including acoustic frequency histories.
- Improved convergence for convection-dominated fluid solves and reused the preceding fluid solution during fluid–structure coupling iterations.
- Replaced fixed size limits on model-scaled numerical arrays and run data with limits derived from the admitted budget or platform. Memory-admission errors report required and available memory and scratch space.
- Fixed planned CPU and accelerator time overflowing during resource reconciliation for studies without a wall-time ceiling. Facet recovery polls cancellation between facets while retaining per-facet search limits.
- Improved snapshot cameras, legend readability, and millimeter-scale clipping. Saved views record their study output and, for modal and buckling views, their mode number.
- Linear-static structural solves currently require CPU execution. Authored frequency fan-out, cooperative partitioning, and resilience settings remain checked contracts where scheduler wiring and qualification are incomplete.
RunMat FEA, mechanical design, and electrical design are currently in beta. We will mark them as production-ready when development and validation are complete. Many capabilities are available; see the documentation for supported workflows and current limitations.
v0.7.0 - November 2026
November 9, 2026
Runtime
Added
- Added native Python interoperability through
py.*,pyrun, andpyrunfile, with Python objects, keyword arguments, supported array conversions, and RunMat callbacks. Projects can select an interpreter and choose in-process or separate-process execution. Compatible in-process NumPy arrays can share read-only host storage; conversions and process boundaries use copies where required. - Added native Java interoperability with object construction, method calls, classpaths, reflected overload selection, and callbacks. Declared JARs travel with the project, and Java exceptions retain their class and cause information in RunMat errors.
- Added C shared-library interfaces through
loadlibrary/calllibandclib.*, including header-based interface preparation, typed pointers and structures, and supported callbacks. Added source-compatible MEX extensions built with RunMat for C, C++, Fortran, and supported GPU gateways. Prepared manifests bind extensions to their exact libraries and target ABI. Declared wheels, JARs, interfaces, and extension artifacts can be packaged for standalone programs and remote jobs; execution requires the corresponding host capabilities.
Changed
- Expanded canonical builtin entries with calling forms, argument/output reference documentation, type/shape inference, and editor help. Static analysis uses these contracts to infer result classes and dimensions for supported calls; catalog-backed reference pages and contextual signature help draw from the same catalog descriptions.
- Expanded deep-learning execution with network planning for supported convolutional and recurrent layers, dimension-label handling, forward execution, and
trainNetwork/trainnetsupervised training. Automatic differentiation tracks executed network operations and supported GPU-resident values; gradient calculation, parameter-tree updates, and Adam updates can retain device storage where the provider supports the required operations. Supervised training publishes complete parameter updates to a new network object, and unsupported layer or device routes return explicit errors. - Extended cooperative execution and resource admission across numerical routines, foreign calls, native execution, and parallel work. Cancellation, suspended callbacks, output capture, and artifact publication retain the originating invocation's ownership and error cause. Managed-memory limits cover admitted RunMat allocations; graphics drivers, compiler internals, and documented plot-property temporaries remain outside that limit.
- Expanded numerical compatibility across sparse and dense linear algebra, ODE integration, optimization, strings, and array operations. Typed ODE options and continuous Runge–Kutta output support evaluating a solution between accepted steps. Optimization and shared numerical routines can yield to the host and respond to cancellation without restarting completed effects. Sparse factorization, solve, and reduction paths retain explicit input classes and output shapes across host and provider execution.
Fixed
- Fixed matrix parsing around signed imaginary values and dot operators adjacent to numeric literals, and preserved typed syntax errors inside nested constructs.
- Fixed empty triangular solves, GPU covariance edge cases, string addition, and missing-string handling.
- Fixed native continuation and statement-output handling so resumed execution preserves the selected program, requested outputs, and completed side effects. Fixed GPU shutdown ordering so device resources retire before process finalizers.
GPU Acceleration
Added
- Added portable binary64 shader math for eligible native Vulkan devices, including logarithmic, exponential, power, trigonometric, and hyperbolic operations. The shader path uses shared numerical helpers and controlled SPIR-V generation so supported double-precision operations can execute on the device. Admission requires native F64, INT64, SPIR-V support, and the required Vulkan floating-point controls on supported Linux or Windows hosts. This path is unavailable on WebGPU and does not add double-precision support to every GPU backend.
Changed
- Refined GPU execution and fallback around exact value representation, allocation ownership, and invocation settings. Disabling new GPU computation still permits explicit reads of existing device values through their original owner; forbidding automatic CPU fallback now preserves the provider's unsupported-operation error.
Desktop, SDK, and Editor
Added
- Added a dedicated Settings window with grouped application, project, runtime, and organization controls. Runtime settings expose effective values and their sources, support individual override resets, and keep user defaults separate from project policy. Execution, memory, acceleration, language, simulation storage, and foreign-runtime controls use the same typed configuration authority as the CLI and SDK; unsupported host options return capability errors.
- Added SDK APIs for runtime-setting resolution and editing, structured source checking, named script/function/study entrypoints, and cluster-program preparation. Hosts can inspect a named target's local and cluster availability before running it. Node hosts can initialize the packaged WASM runtime with supplied bytes and isolated in-memory application settings; reset preserves those session preferences until disposal.
- Added a Home screen with recent and shared projects, project filters, Git import, and examples organized by topic and the user's field. New-project selection includes example previews and a blank-project option; the native app also offers Open folder.
- Added a Run menu for named project entrypoints, the current and recently run files, selected or all tests, and local or available cluster targets. Added searchable quick actions for project and application tasks.
- Added guided FEA setup with editable study fields, named-region selection, readiness checks, scope review, and explicit confirmation before execution. Study previews and results show geometry, solver mesh, field colors, and supported deformation, with live run progress and logs.
- Added native coding-agent connection setup for installed Claude Code and Codex clients, with connection status and a browser sign-in handoff.
Changed
- Expanded shared editing with project presence, editor and figure pointers, draft recovery, and reconnect handling. Runs capture their input files before execution, and native cloud synchronization retries captured-run uploads after interruption.
- Improved file and folder import with destination previews, explicit conflict choices, cancellation, and per-file failure reporting. Native file-open handling routes supported files into their owning workspace.
- Changed the Command Window and output panes to keep their terminal mounted during output and semantic-highlighting updates, reducing transcript replay and preserving terminal selection and input handling.
Fixed
- Improved contextual signature help and compact builtin hovers, and bounded semantic tokens to UTF-16 physical lines. Fixed browser filesystem and artifact operations to retain their captured owners across asynchronous work and project changes.
- Fixed project changes and repeated startup so the runtime binds to the selected workspace. Fixed rejected study requests leaving the Agent panel busy, and saved Agent sessions in local and browser-backed projects as well as cloud projects. Session-storage failures now report the storage failure.
- Fixed newly created shared files failing to join collaborative editing while the server catches up, and made native event cleanup safe when called more than once.
- Fixed sign-in destinations, email-code modal resets, and account-profile recovery. Added email-code sign-in and durable first-party sessions.
- Fixed native FEA result redraws and deformation-toggle refreshes, reduced geometry-preview churn, and kept saved and embedded run figures interactive when their scene data is available.
- Fixed test-worker output without a test attribution being omitted from Desktop results.
Server and Remote Execution
Added
- Added script submission with
runmat analysis.m --cluster engineeringand machine registration withrunmat cluster join engineering, using an authorized login or API key. The CLI resolves the cluster name, verifies its signed execution identity, encrypts the workload, and returns captured console output when the run completes.
Changed
- Remote programs now carry authenticated project runtime policy without inheriting the submitter's or worker's personal settings, collector credentials, or ambient environment. Worker capabilities and scheduler assignments constrain execution; project preferences cannot enlarge resource allocations.
- Improved recovery and terminal reporting to preserve cancellation causes, original execution authority, output evidence, and process-retirement status across driver or worker replacement.
Settings and Observability
Added
- Added opt-in OpenTelemetry trace and log export to user-owned collectors, with bounded queues, correlated records, and collector-acknowledged connection tests. Native hosts support HTTP/protobuf and gRPC; browser hosts support HTTP/protobuf. Collector export and product-telemetry consent are separate controls. Collector failures do not fail numerical runs.
Finite-Element Analysis
Added
- Added native whole-study planning, local and cluster execution, recovery, and content-addressed result publication. Structural procedures include static, modal, transient, harmonic, spectrum, random-response, and buckling workflows. Each structural, electromagnetic, fluid, and coupled formulation has documented execution and validation limits.
- Added typed result, step, field, and mesh access with selective history reads and field rendering, connecting study execution to published outputs and their evidence.
Changed
- Replaced YAML
.feastudies with a typed study language supporting physical units, modules, imported.mfunctions, reusable geometry and model declarations, load cases, sweeps, observations, and reductions. Userunmat fea check,plan, andrunto inspect and execute a study, with explicit study or sweep selection when needed. - FEA has breaking APIs and formulation-specific validation limits. Browser SDK hosts can check studies and execute supported local study forms through exact-geometry and numerical workers. Browser preparation of FEA cluster jobs remains unavailable; use the native OCCT-enabled CLI for that route. Unsupported execution requests fail closed.
Licensing and Simulation Usage
Changed
- Changed RunMat's license to Business Source License 1.1 with the versioned free-use grant in
FREE-USE.mdand conversion to Apache 2.0 three years after each version's first public distribution. The grant covers specified individual, academic, open-source, and size-limited organizational production use, subject to its conditions and competing-offering exclusion. - Added authenticated simulation admission and exact reference-operation accounting for new FEA meshing and solving, including local execution. Allowances use quantities of work displayed in GFLOP or TFLOP. Viewing and reusing computed outputs are unmetered; the accounting specification states numerical-library and OCCT exclusions. Ordinary local
.mscripts and compiled programs remain offline and unmetered unless they execute FEA. - Eligible academic institutions may receive a simulation-usage charge waiver after RunMat verifies and approves eligibility. The free-use grant links to the eligibility-verification request; approval is required.
RunMat FEA, mechanical design, and electrical design are currently in beta. We will mark them as production-ready when development and validation are complete. Many capabilities are available; see the documentation for supported workflows and current limitations.
v0.6.3 - September 2026
September 4, 2026
Desktop
Changed
- Expanded the Free plan to include Desktop local-folder projects, unlimited cloud projects, private sharing, and real-time collaboration without a subscription.
- Free now includes 30 days of project-version and run history, 2 GB of shared cloud storage, and 50 personal Agent credits per active member each month.
- Additional Agent credits and cloud storage can be purchased without changing plans. Enterprise remains available for extended history, organizational controls, private deployments, and dedicated support.
- Improved history comparisons with clearer diff highlighting, collapsed unchanged sections, and an explicit message for identical versions.
Fixed
- Fixed Sandbox saving to preserve unsaved editor changes when converting a Sandbox into a saved project.
Runtime
No runtime changes or new runtime binaries in this release.
v0.6.2 - August 2026
August 26, 2026
Runtime
Added
- Added
runmat compilefor producing standalone host-native executables. RunMat now carries its matching AOT runtime in the main CLI, compiles through verified Native IR and relocatable objects, links only the required runtime surface, rejects incompatible targets and runtime catalogs, and supports explicit optimization, linker, temporary-file, replacement, and fallback policies. - Added deterministic whole-program reachability and link planning for native compilation, including
runmat compile --explain-linkand--link-plan-jsonoutput with the retained functions, runtime families, capabilities, targets, symbols, and reasons behind each link decision. - Added deterministic package composition for path, Git, RunMat Server snapshot, and public or encrypted private registry dependencies, with exact locks, frozen project handoffs, provenance, transactional native and browser caches, WASM-safe validation, read-only mounts, explicit update/offline/frozen behavior, and origin-scoped authentication.
- Added MATLAB-compatible testing across the CLI, Core, LSP, WASM/npm, browser Web Workers, and Desktop, including semantic script/function/class discovery, immutable test plans, process/worker isolation, cancellation, retries, reports, artifacts, plugins, and backend-independent interpreter/JIT/WASM coverage.
- Added encrypted remote jobs and distributed tests across local processes, browser workers, customer-managed nodes, and hosted nodes, with exact frozen package closure, portable scheduling, resource pools, quota and billing enforcement, recovery and retention controls, and workload-content-safe relay and observability.
- Added cluster enrollment and node-service operations to the main
runmatexecutable underrunmat cluster join, with stable JSON automation output, inventory and credential rotation, and install, status, update, and removal support for systemd, launchd, and native Windows services. - Added native storage and execution semantics for all eight MATLAB integer classes across scalars, dense and sparse arrays, complex values, containers, indexing, arithmetic, providers, serialization, distributed payloads, and WASM, preserving exact 64-bit values without a binary64 mirror and applying explicit compatibility gates at RunMat-only builtin boundaries.
- Added one shared static model for value, type, shape, callable, effect, capability, and requested-output facts across the compiler, LSP,
runmat check, JIT, AOT, placement, testing, packages, and browser products, with stable identities and conservative diagnostics at dynamic boundaries.
Changed
- Changed adaptive native execution to compile canonical MIR through verified Native IR with guarded specialization, exact on-stack replacement, dependency-aware invalidation, bounded code lifetime, transactional workspace publication, and shared runtime and placement semantics without replaying completed effects.
- Unified Desktop project and runtime configuration under the canonical Rust
runmat-configparser, validator, migration, and comment-preserving patch authority across CLI/runtime loading, Tauri, Server migration, and WASM/browser hosts; added nested artifact, run-history, script, notebook, acceleration, and figure-scene settings; made configured artifact roots authoritative throughout Desktop persistence; separated account, device, and project-local preferences; and removed the legacy TypeScript TOML parser/writer and obsolete prototype settings. - Changed automatic CPU/GPU placement and VM fusion to evaluate provider capability, value representation, residency, transfer and synchronization cost, preparation state, future consumers, memory pressure, queues, cancellation, and CPU budgets before execution. Placement decisions now use bounded graph planning, structured diagnostics, transactional fallback, exact invalidation, and privacy-bounded adaptive feedback.
Fixed
- Fixed
try/catchprotection across nested control flow and native execution, preserving exact catch bindings, nested-handler andrethrowbehavior, normal exits, and canonical exception identifiers without replaying completed work. - Fixed native
spawn/awaitexecution so spawned work no longer blocks the awaiting runtime thread, and native suspension resumes at the exact post-awaitsite without replaying completed effects. - Fixed Windows WGPU initialization to default to Direct3D 12 while preserving explicit backend overrides, allowing compute and native plot presentation to share the same provider-owned GPU device.
- Fixed native OpenCascade geometry builds on Windows by using portable CXX bridge include paths instead of relying on Unix-style generated-header symlink layouts.
Desktop
Added
- Students and instructors can now request complimentary RunMat Academic licenses directly from the product. Approved instructors can set up courses, add instructional staff, and invite students using their granted licenses.
- Connect RunMat projects to OpenAI ChatGPT and Codex, Anthropic Claude Code and Cowork, or any other MCP-compatible assistant. Connected assistants can synchronize project files, execute RunMat code, and return generated artifacts.
- Added a native Windows application frame with RunMat-styled drag, minimize, maximize/restore, and close controls, replacing duplicate Windows system chrome without affecting the browser, macOS, or Linux interfaces.
- Added interactive native Windows plot surfaces backed by the runtime's shared Direct3D 12/WGPU device, keeping presentation GPU-resident and avoiding CPU image readback and IPC transport for rendered frames.
Changed
- Changed organizations to use dedicated project pages with simpler switching and administration, configurable profiles and visibility, and readable organization and project URLs.
- Expanded file and folder workflows with renaming, duplication, version history, path copying, downloads, and deletion. Cloud and Temporary Sandbox projects can also be exported as ZIP archives, including generated artifacts.
Fixed
- Improved language-server startup, semantic-highlighting recovery, runtime loading, failure handling, and observability so projects recover more reliably when browser workers or background services restart.
- Fixed Windows native plots so they appear immediately, remain aligned through layout and DPI changes, and receive pointer, wheel, drag, and overlay interaction correctly.
v0.6.1 - August 2026
August 5, 2026
Runtime
Added
- Added consistent TTY-aware ANSI styling throughout human-facing CLI diagnostics, help, logs, headings, progress, and summaries, with per-stream detection,
--color=auto|always|never,NO_COLOR,CLICOLOR,CLICOLOR_FORCE,FORCE_COLOR, andTERM=dumbsupport while keeping structured, raw, and program-owned output plain.
Fixed
- Fixed
addpathandaddpath(genpath(...))so.mfunctions on the session search path are callable immediately and across later REPL inputs through direct calls,feval, function handles, and callbacks, withwhich, path precedence,rmpath, packages, and private functions using the same runtime resolution behavior.
v0.6.0 - July 2026
July 28, 2026
Desktop
Added
- Added restart + download RunMat Desktop options for if runtime is terminated due to memory pressure by Chrome / Safari / browser runtimes
Fixed
- Fixed logout / auth token refresh. Previously, when your authentication token expired (2h after log in), you'd need to log in again.
- Fixed browser runtime worker recovery so lost/failed workers are fully reinitialized before commands run, instead of permanently failing with “RunMat session has not been initialised yet”
- Fixed intermittent syntax highlighting: the web LSP no longer acknowledges document open/change before the WASM document entry exists, and now publishes revision-safe lexical/semantic tokens (including
%comments) as analysis runs
Agent
Added
- Agent now supports image attachments
- Agent now supports dragged files as context attachments from file sidebar
- Attached context items show up as chips above the prompt input box, and are clear what's attached, and when
- Added geometry / fea study setup tools (we'll share more details on this soon — for now this is hidden)
- Added RCA background agent, which does a quick, low cost (>$0.001), multi-step, read-only root cause analysis using gpt-5.6-luna on every error. While we test this, RCA background agent runs are free. You can turn the RCA background agent off in settings if you'd like
Fixed
- Fixed agent project-persistence race: the agent could bind a stale memory store before the workspace filesystem provider was ready, so project sessions failed with “storage unavailable” (often after idle / restart)
- Fixed bug where undo plan would be binary serialized into agent context, causing wasted use / binary blob in context
Runtime
Added
- Added argument-validation compatibility helpers, including
mustBe*predicates and supporting identifier/validation utilities. - Added table and timetable compatibility as a structured module instead of a single large file: constructors, conversions, indexing, selectors, predicates, IO, timetable handling, containers, metadata, registry, parsing, display, and object-backed table behavior.
- Added missing-value compatibility and filled out datetime/duration compatibility paths.
- Added broad numeric/array compatibility:
full,nchoosek,ndgrid,perms, sparse descriptors, grouping utilities, row/column predicates,blkdiag,toeplitz,ismembertol,issortedrows,setxor,bsxfun,erf,erfcinv,gammaln,realsqrt, numeric limit helpers,uint32,pol2cart,sinpi,cospi,lcm,primes,bounds, moving-window reductions, and top-k reductions. - Added linalg helpers including
decomposition,eigs,pagemtimes,pagetranspose,vecnorm, and diagonal/triangular structure predicates. - Added optimization/control builtins including
lsqnonlin,coneprog,lqr, andpzmap. - Added signal/order-selection compatibility including
cheb2ord, shared order-selection logic, and sample-rate/filter/resample improvements. - Added statistics and ML compatibility: descriptive stats, distribution helpers, random sampling, covariance/correlation helpers, outlier cleanup, ECDF, hypothesis tests, clustering, nearest-neighbor/distance helpers, regression/classification helpers,
fitlm,predict,ridge,lasso,lassoglm,mnrfit,fitdist,fitctree,fitclinear,cvpartition,crossvalind,bayesopt, and related option/encoding support. - Added deep-learning compatibility primitives:
dlarray,dlfeval,dlgradient,dlnetwork,dlupdate,adamupdate,crossentropy, layer descriptors, training options, supervised training helpers, sequence helpers, and ONNX export metadata. - Added text analytics compatibility: tokenized documents, bags of words/ngrams, stop words, normalization, text transforms, HTML/file text extraction, word embeddings, word encoding, sentiment scores, dependency/entity/lemma/POS/sentence/type detail helpers, token details, and pattern utilities.
- Added plotting/UI compatibility builtins and broadened existing plotting argument parsing: axes/groot/gobjects, tick labels/formats/angles, axis scales, colororder/colormaps,
line,plotyy,plotmatrix,animatedline,addpoints,copyobj,findobj,ancestor,linkaxes,daspect,datacursormode,dataTipTextRow,fcontour,fsurf,triplot,sphere,quiver3,polarhistogram,polarscatter,histogram2,ribbon,stackedplot,textscatter,wordcloud,waitbar, zoom/pan/openGL, figure persistence, and close/figure property fixes. - Added file/structured IO compatibility:
matfile, HDF5/H5 helpers, parquet info/read helpers, xlswrite, read/write lines, XML helpers, file datastore descriptors,uigetdir,open,opentoline,pcode, diary/display/evalc, HTTP/REPL filesystem helpers, and MAT-file load/save improvements. - Added graph/geometry compatibility: graph/digraph helpers, traversal/connectivity docs, and Delaunay triangulation support.
- Added finance helpers including Black-Scholes and MACD.
- Added object/introspection compatibility: dynamic properties, metaclass hierarchy, object save/load hooks,
onCleanup,memoize,numArgumentsFromSubscript,underlyingType, identifier queries, debugger/runtests/timer compatibility, and related runtime metadata helpers.
Changed
- Moved
runmat checkoff bytecode-only validation onto the shared static-analysis frontend (with the LSP), so it reports Rust-style / JSON diagnostics for unresolved and runtime-dependent calls instead of treating successful bytecode compilation asvalid - Removed the unused startup-snapshot system as a pre-1.0 breaking cleanup: the
runmat-snapshotcrate and CLI, session loading APIs,runtime.snapshot_path, TypeScript snapshot initialization options, and packagedstdlib.snapshotartifact no longer exist. Workspace replay and remote filesystem snapshots are unchanged.
Fixed
- Fixed
@Classfolder constructor resolution soReport(...)fromsrc/@Report/Report.mresolves correctly in manifest projects
Math on Geometry / FEA System
- Re-wrote the
runmat-meshingcrate and solid meshing path originally written as a placeholder during the construction of the balance of the FEA pipeline was built in the wrong order for engineering-grade CAD-solid FEA. It forms candidate volume tetrahedra too early and then tries to recover CAD/source topology, boundary provenance, and element quality after the fact. That is backwards for trimmed CAD solids, holes, thin features, protected edges, load/constraint faces, material regions, and adaptive refinement. The solid meshing has been rewritten topology-first:
- CAD topology is authoritative.
- Curve meshes recover vertices and source edges first.
- Surface meshes recover source faces and loops next.
- A watertight oriented PLC/shell is validated before volume meshing.
- Tetrahedron generation consumes that recovered PLC/shell.
- Boundary/source constraints are recovered before quality optimization.
- Sliver removal and smoothing run after constraints are present.
- Solver readiness gates FEA assembly.
- Mesh topology and quality is measurable and traceable
We are finishing wiring up the geometry loading, meshing, study preparation, execution and result visualization pieces of the system together. Stay tuned for more details on running math (specifically, solving physics ODEs) on meshed geometry in RunMat in the coming weeks!
v0.5.6 - June 2026
June 28, 2026
Desktop
Added
- Add a Command Window (REPL) for interactive RunMat execution, with terminal-style editing, command history, multiline input, selection/copy, LSP-backed syntax highlighting, persisted session transcripts, runtime variables, and figure integration
- Add richer default sandbox content from file-backed fixtures, including a CAD STEP file, vibration dataset, 2D and 3D examples, signal filtering, flow-field, thermal diffusion, and a markdown welcome document
- Add Mermaid diagram rendering and editing support in markdown documents alongside existing math and code rendering
Changed
- Improve runtime panel behavior so script and REPL runs keep variables, figures, and selected sessions aligned without unnecessary figure-output placeholder flicker
- Improve plot, terminal, variable-table, and inspector layouts across narrow panels, resized workspaces, Safari, and Tauri
- Load default sandbox files from a dedicated fixture directory instead of inlining them in code
Fixed
- Fix Monaco semantic-token timing so files receive highlighting on initial load
- Fix REPL workspace probes so inspecting variables after a script run does not clear or hide existing figures
- Fix markdown editor Mermaid blocks so diagrams render consistently with the markdown renderer
Runtime
Changed
- Preserve comments in detailed lexer and LSP token streams while filtering them from parser-facing tokenization, enabling comment-aware semantic highlighting without changing parser behavior
- Suppress final-expression output for command-form calls so commands such as
clcdo not emitans - Improve MIR read-before-assignment analysis through lowered temporary statements so diagnostics better reflect real initialization state
Fixed
- Fix
contour,contourf, andcontour3validation for MATLAB-style vector and meshgrid coordinate inputs - Fix CPU rendering and export of textured and image-mode surfaces so heatmap-like plots render through textured quads with correct colormap data
v0.5.5 - June 2026
June 26, 2026
Runtime
Added
- Add broader MATLAB compatibility across I/O, signal processing, optimization, symbolic math, plotting, control systems, and array construction, including
xlsread,writecell,textscan,importdata,uiputfile,unzip,imwrite,audioread,audioinfo,pwelch,periodogram,spectrogram,freqz,filtfilt,fir1,buttord,envelope,zplane,pskmod,lsqcurvefit,fminunc,quad,digits,vpa,int,nan,inf,zero,damp, andpolarplot - Add MAT-file save/load coverage, including append workflows, and expand spreadsheet/text import/export paths through provider-backed filesystems
- Add resident GPU execution paths for complex math, signal, communication, modulation, Hilbert, gradient, reshape, meshgrid, polynomial integration, gamma, sinc, sign, and trigonometric workflows
- Add generalized eigenvalue support through
eig(A, B) - Added geometry loading, meshing, and FEA solver support (early alpha). See PR #399 and FEA docs for details. We will share more details as this work matures.
Changed
- Expand GPU acceleration plumbing with dedicated WGPU shader modules for signal and communications workloads, complex tensor residency, and shared provider APIs
- Improve plotting and scene export behavior, including async replay/export handling, image export ownership, geometry renderer grid toggles, colormap command syntax, and portable rendering metadata
- Harden runtime filesystem and diagnostic-path behavior so source paths, CWD-sensitive workflows, remote writes, create-new semantics, and WASM provider paths stay consistent across native, browser, and Windows environments
Fixed
- Fix GC safety by replacing dereference-oriented pointer APIs with opaque handles, explicit root guards, guarded borrow access, thread-local rooting, and Miri-backed soundness coverage
- Fix Windows CI and runtime compatibility issues involving path handling, OpenBLAS/LAPACK linking, CWD behavior, file dialog tests, and release build tooling
- Fix GPU/runtime regressions in image normalization, lazy-transpose reshape, WGPU complex trigonometry overflow handling, communications modulation fallback, constellation portability, envelope input layout, and complex unary metadata handling
- Fix
clearinside active VM execution frames so hidden loop slots are preserved and browser/desktop workers do not trap or close response channels - Fix interactive
input()evaluation on native by removing nested executor blocking from the input hook path - Fix MAT-file load robustness for compressed Level-5 payloads, endian variants, broader numeric storage classes, UTF char encodings, sparse matrices, and clearer unsupported-format diagnostics
Agent
Added
- Added “Fix with RunMat Agent” to execution errors for easy agent-assisted fixes
Changed
- Improve browser Agent transport so turn submission, approvals, and resumes are scheduled work instead of long-running worker RPCs, allowing progress views and parallel/new Agent sessions to respond promptly
- Gate FEA/geometry Agent tools and model-visible guidance behind the same product feature flags as the desktop UI
Fixed
- Fix Agent prompt stickiness so only the active/current running turn is treated as sticky context
- Fix usage-cap and insufficient-credit flows so desktop shows upgrade interruptions instead of generic failures
Development
Changed
- Document OCCT/CMake build requirements, add no-OCCT build support, align Linux and Windows runner bootstrap scripts, and move runtime WASM helper scripts into the runtime script namespace
v0.5.3 - June 2026
June 17, 2026
Runtime
Added
- Add broader symbolic math coverage —
syms,sym, symbolic function declarations such assyms y(x), symbolic powers, and scalarlimitworkflows now execute through parser, HIR, runtime, VM, and WASM paths - Add signal, linear-algebra, and math builtins —
hilbert,unwrap,pulstran,rectpuls,tripuls,gauspuls,upsample,downsample,null, andheavisidenow cover common signal-processing, numeric, and symbolic scripts - Add spreadsheet and file-selection workflows —
spreadsheetImportOptions,uigetfile, expanded path commands, and provider-awarecdbehavior now work across local, sandboxed, remote, and WASM filesystem providers - Add root-locus plotting and output forms for transfer-function models
Changed
- Expand MATLAB command and call syntax support, including command-form path arguments,
grid minor,axis image, and name-value call arguments written asName=value - Improve plotting property compatibility for
figure,gca, axesFontSize, figureName,NumberTitle,Visible,Color,BackgroundColor, and get/set/dot-property access paths
Fixed
- Fix browser/WASM runtime traps in plotting and timing paths, including WebGPU plotting presentation, tic/toc handle encoding, and symptom-regression coverage for node and Chrome execution
- Fix zero-output semantic function statement calls so direct, nested, persisted, and dynamic-eval functions do not request an output when MATLAB statement semantics require none
- Fix
fzerooptional outputs so[x,fval],[x,fval,exitflag], and[x,fval,exitflag,output]return ordered MATLAB-compatible results - Fix byte-oriented
csvreadrange reads so non-UTF-8 or nonnumeric content outside the selected numeric rectangle does not fail selected CSV imports - Fix production name-resolution regressions for common builtins such as
rand,randn,tic,toc,gca,whos,tf, andnull
Sandbox
Changed
- Keep filesystem and path operations provider-aware across native, sandboxed, remote, and WASM backends while preserving native process-cwd behavior where appropriate
v0.5.2 - June 2026
June 13, 2026
Runtime
Added
- Add sparse matrix support —
sparsenow introduces a sparse runtime value with display, metadata,class,whos, indexing, element-wise arithmetic, reductions, transposes,find,nnz, JSON/string conversion, WASM wire previews, and GPU fallback/residency integration - Add optimization and linear-algebra builtins —
linprogandrrefnow execute through runtime, VM, docs metadata, and generated builtin registration paths - Add table and import workflows —
readtable, table objects, tableProperties, dot/paren/brace table access and assignment, variable renaming,height,width,groupsummary, table-awaresortrows, datetime import support, and spreadsheet/text import plumbing cover common MATLAB tabular scripts - Add image and signal builtins —
imhistandbutternow cover histogram and Butterworth-filter workflows with runtime, VM, docs metadata, and WebAssembly registry integration - Add SISO transfer-function control workflows —
tf('s'),tf('z', Ts), transfer-function algebra,feedback,dcgain,pole,isstable,stepinfo, and multi-systemstepplotting/output forms now cover common control scripts - Add MATLAB script execution support through
run, including script side effects, plotting hooks, warnings, console output, and workspace updates across runtime and VM paths
Changed
- Generate and validate the WASM builtin registry from source-backed metadata, preserving proc-macro metadata so browser/runtime builds fail early when builtin coverage drifts
- Refresh builtin documentation and reference metadata for the new sparse, optimization, table, image, signal, control, and script-execution builtins
- Improve runtime dispatch, workspace, callable identity, and name-resolution plumbing needed by newly added builtins and workspace-visible zero-argument builtin calls
Fixed
- Fix workspace-first bare builtin reads so unshadowed builtins resolve correctly while assigned or loaded workspace variables still shadow builtin names
- Harden sparse allocation and conversion paths, including extreme dimension checks, sparse triplet validation, sparse logical conversion, sparse preview truncation reporting, and sparse-to-dense guardrails before large tensors are materialized
- Bound WASM wire payload previews so large values cannot exceed preview limits
- Guard snapshot header bounds during snapshot loading
- Fix a Windows CSV release issue in bytecode compilation paths
v0.5.0 - June 2026
June 3, 2026
A major compiler and runtime revision. RunMat now resolves MATLAB language semantics through a staged, Rust-like compiler pipeline before bytecode is generated, and adds manifest-backed multi-file projects. See the 0.5 release post and the compiler pipeline deep dive.
Runtime
Added
- Add project composition —
runmat.tomlandrunmat.jsonmanifests declare the package, source roots, local dependencies, and named entrypoints runnable throughrunmat run <name>, with source-root, package-folder (+pkg), class-folder (@Class), and private-helper discovery - Add source
classdefobjects — class source now produces real runtime objects with constructors, properties, methods, inheritance, access rules, value vs handle behavior, static members, super calls, and custom indexing hooks (subsref/subsasgn) instead of a struct-like fallback - Expand function semantics — requested-output-aware calls observable through
nargin/nargout,varargin/varargout, local functions, nested functions that share parent scope, anonymous functions, captures, recursion, function handles,feval, and a supportedargumentsvalidation subset - Add explicit indexing context — reads, assignment targets, deletions,
end, comma-list reads, function-argument expansion, and overloaded object indexing are resolved as distinct operations before bytecode - Add typed builtin descriptors — signatures, output behavior, completion policy, documentation, and stable error identifiers are shared across runtime execution, the language server, and generated reference docs
- Add structured execution outcomes — workspace deltas, display events, streamed output, diagnostics, observed workspace/environment effects, figures touched, profiling data, suspension state, and fusion-plan metadata for REPLs, notebooks, Desktop, WebAssembly, and embedded hosts
- Add control-system builtins —
ssnow constructs state-space model objects from validatedA/B/C/Dmatrices with continuous and discrete sample-time support, andnyquistnow computes or plots SISOtffrequency responses with default or explicit frequency grids - Add communications builtins —
qammodnow maps integer symbols to QAM constellations with Gray, binary, and custom ordering plusUnitAveragePowerandOutputDataTypeoptions, andscatterplotnow visualizes complex samples with decimation, offset, marker styling, and target-axes forms - Add plotting and export builtins —
contour3now creates 3-D contour line plots with contour levels rendered at their scalar heights, andprintnow exports figures through MATLAB-style figure-handle, filename, device, and resolution arguments - Add optimization option support —
optimoptionsnow builds solver-specific option structs, validates name-value overrides, and copies or updates existing options structs for supported optimization solvers
Changed
- Migrate the compiler and runtime to a staged semantic pipeline —
source -> AST -> semantic HIR -> MIR -> MIR analysis -> VM layout + bytecode -> runtime/providers— so names, functions, classes, output counts, indexing context, and workspace layout are resolved once and shared by the interpreter, language server, JIT, and acceleration planner - Remove the legacy AST-to-bytecode execution paths in favor of the semantic pipeline
- Compile calls from typed callable identities and fallback policies — bound functions, builtins, dynamic names, external qualified names, methods, super calls, and
fevaltargets share one dispatch model, preserving function-handle identity - Make workspace-visible bindings explicit — script exports, function locals,
ans, and dynamic workspace operations route through VM workspace context - Drive acceleration and fusion planning from semantic facts — the compiler identifies fusion candidates, operation kinds, and effects, while the runtime and provider own GPU residency and concrete execution
- Split the WGPU provider out of a monolithic implementation into state, initialization, helper, trait, and operation modules
- Give the JIT a tagged value ABI boundary — semantic function identity, requested output counts, expanded arguments, and non-scalar runtime values now cross host calls, with the interpreter remaining the correctness fallback
Desktop
Added
- Add RunMat Desktop — a local, GPU-accelerated workspace for MATLAB-syntax code with an editor, plots, variables, notebooks, run history, local file access, optional cloud projects, and a project-aware Agent
Agent
Added
- Add runnable Agent code blocks — RunMat/MATLAB-style snippets in Agent answers now render with editor controls, can be copied, and can be sent directly to runtime execution
- Add project-scoped Agent persistence so projects can restore Agent state automatically
- Add local-to-cloud project conversion support for Agent and history flows that need a cloud project
Changed
- Make Agent activity easier to follow by grouping long activity runs and replacing “Thinking” labels with clearer “Working” language
- Improve Agent execution and project synchronization across Desktop, browser, local, and cloud runtimes
v0.4.9 - May 2026
May 22, 2026
Runtime
Added
- Add control-system response builtins —
stepandimpulsenow compute or plot SISOtfresponses, support automatic, scalar-final-time, and explicit time-vector sampling, return response/time column vectors, and validate unsupported model forms with clear diagnostics - Add polygon plotting builtins —
patchandfill3now create filled 2-D and 3-D polygon graphics handles withFaces/Vertices, coordinate, color, axes-handle, and common patch property support, backed by shared triangulation and GPU plotting render paths - Add numerical analysis builtins —
integralnow performs finite scalar adaptive quadrature for function handles, andfminbndnow performs bounded scalar minimization with Brent-style search,optimsetoptions, multi-output diagnostics, and shared Brent helpers withfzero - Add array, statistics, and signal-processing builtins —
repelem,mode,sinc,sawtooth, andsquarenow cover element replication, MATLAB-compatible modal reductions, normalized sinc evaluation, and periodic waveform generation - Add numeric helper builtins —
complex,sind,cosd,tand,db, andfgetlnow support complex construction, degree-based trigonometry, decibel conversion, and line-oriented text-file reads
Fixed
- Fix
errorbarparsing for line specs before name-value pairs, y-only calls, explicitx/y/error inputs, and trailing line specs - Fix MATLAB complex-constructor semantics, including unary complex storage, scalar expansion, and two-argument real-input validation
v0.4.8 - May 2026
May 15, 2026
Runtime
Added
- Add
tf— scalar-input scalar-output transfer-function objects now support numeric, logical, integer, complex, row-vector, and column-vector coefficient inputs, continuous and discrete sample-time defaults,Variable,Ts/SampleTime,Numerator,Denominator,InputDelay, andOutputDelayproperties, andclass(H) == "tf" - Add angle conversion builtins —
deg2radandrad2degnow operate element-wise on scalars, vectors, matrices, N-D tensors, complex values, integer/logical inputs, and GPU-resident inputs, with fusion support for compatible element-wise expressions - Add reference-line plotting —
xlineandylinenow draw vertical and horizontal reference lines with scalar or vector coordinates, line-style strings, labels,LineWidth,Color,LabelOrientation,Visible, returned graphics handles, andget/set/dot-property integration
Changed
- Track workspace assignments through the VM and Turbine JIT so interpreter fallback, compiled stores,
clear, andclearvarspublish only the variables assigned or removed by the current execution - Route browser-backed file handles through async open and flush paths so
fopen,fclose,fread,fwrite,feof,fgets,fprintf, andfrewindshare consistent registry and provider behavior across native and WASM hosts - Expand plotting metadata and property handling for reference-line handles, including reference-line render data, legend labels,
Value, style properties, and preservation of existing axis labels when reference lines are appended
Fixed
- Fix native session result handling for repeated multi-statement execution so final assignment values and workspace previews stay numeric after JIT compilation and fallback
- Fix parser diagnostic locations for malformed calls, expected identifiers, and member access after
., reporting the offending token instead of a stale source position - Fix WGPU fused-kernel preflight checks to reject storage-buffer, bind-group, and arithmetic binding-count overflows before creating invalid WebGPU layouts
- Fix browser/WASM file close behavior so async flush failures keep the file registered, concurrent
fclosecalls close a file only once, and dirty buffers are restored if async write-back fails - Fix
plot(x, y)compatibility for matching row-vector and column-vector pairs with the same number of elements - Fix
fftdefault-dimension output for row vectors so row orientation is preserved - Fix single-point
hann,hamming, andblackmanwindows by using the host path instead of provider paths that expect longer window lengths
Sandbox
Changed
- Move the browser filesystem provider to async JavaScript filesystem operations for open, read, write, metadata, directory, rename, removal, and permission updates
- Avoid unnecessary initial file reads for write-create-truncate opens while preserving
create_new, read, and append semantics
v0.4.6 - May 2026
May 8, 2026
Runtime
Added
- Add ODE solvers —
ode23,ode45, andode15snow solve scalar, vector, and matrix-valued initial-value problems with adaptive stepping, requestedtspanoutput points, andRelTol,AbsTol,InitialStep, andMaxStepoptions - Add random distribution builtins —
exprnd,normrnd, andunifrnd, including scalar and shaped outputs, deterministic host RNG behavior, parameter validation, and WGPU-backed generation when the active provider supports it - Add image color and class conversion builtins —
rgb2gray,gray2rgb,ind2rgb,im2double,im2uint8,im2uint16,rgb2hsv,hsv2rgb,rgb2lab, andlab2rgb - Add
heatmapplot support with matrix CData input, optional row and column labels, returned graphics handles, colorbar support, andget/set/dot-property integration - Add
clearvarswith explicit variable clearing and-exceptexclusions
Changed
- Split WGPU random distribution execution into dedicated provider code and add parameterized kernels for exponential, normal, and uniform distributions
- Reuse the shared value-to-string conversion path for graphics labels and property handling
v0.4.5 - May 2026
May 1, 2026
Runtime
Added
- Add image I/O and display support —
imreadreads raster images into MATLAB-compatible grayscale, truecolor, and alpha arrays, andimshowdisplays numeric, logical, truecolor, and file-backed images with MATLAB-style display ranges - Add interpolation builtins —
interp1,interp2,spline,pchip, andppval, including piecewise-polynomial structs and linear, nearest, spline, and shape-preserving cubic paths - Add optimization builtins —
fzero,fsolve, andoptimset, with bracket expansion, Brent refinement, finite-difference Levenberg-Marquardt solving, display/tolerance options, and output shape preservation - Add
format— session-persistent numeric display modes forshort,long,shortE,longE,shortG,longG,rat, andhex - Add
strsplitwith simple and regular-expression delimiters,CollapseDelimiters,DelimiterType, and optional delimiter-match output
Changed
- Extend tensor dtype metadata for
uint8anduint16soclass, WASM value previews, image operations,diag, reductions, andzeros/ones(..., "like", value)report and preserve integer image-style arrays correctly - Share common tensor dtype coercion and clamping helpers across image, reduction, and array creation builtins
- Route numeric-to-string conversion through the active
formatmode so display output, string conversion, and complex formatting stay consistent
Fixed
- Fix command-form parsing so bare newlines terminate commands, while
...continuations still work after multiple blank lines - Fix
whosand value metadata size reporting for tensors stored in the runtime's f64 backing representation
Sandbox
Changed
- Share the default browser filesystem provider and IndexedDB backing across session instances, with ref-counted cleanup and consistent flush behavior
- Reject incompatible IndexedDB backing options instead of silently mixing providers with different timing hooks or flush policies
v0.4.4 - April 2026
April 24, 2026
Runtime
Added
- Add
cross— MATLAB-compatible vector cross products across row vectors, column vectors, matrices, and higher-rank tensors, with GPU-resident execution for real-valued inputs when the active provider supports it - Add
gradient— numerical gradients with MATLAB-compatible matrix output ordering, scalar spacing support, complex host support, and WGPU-backed GPU residency for scalar-spacing gradients - Add
trapzandcumtrapz— trapezoidal and cumulative trapezoidal integration with scalar spacing, coordinate-vector spacing, explicit dimension selection, complex inputs, and GPU input fallback that re-uploads real-valued outputs for downstream GPU work - Add
sgtitle— figure-level titles for subplot layouts with text styling, explicit figure-handle targeting,get/setsupport, scene replay, and vector/native export support - Add CLI artifact capture for script runs —
--artifacts-dir,--artifacts-manifest,--capture-figures,--figure-size, and--max-figures
Changed
- Rename
runmat-ignitiontorunmat-vmand split the VM, compiler, interpreter dispatch, indexing, runtime state, and acceleration paths into smaller modules - Refactor the lexer, parser, HIR, core session, WASM runtime, and CLI layers for maintainability without changing their public behavior
- Expand TypeScript/WASM figure metadata to include
sgTitleandsgTitleStyle, matching the new figure-level title support
Fixed
- Fix WGPU provider cleanup for intermediate GPU tensor handles so error paths release temporary device resources correctly
- Fix
gradientshape handling for empty tensors and align WGPU gradient parameters for the backend layout - Fix SVG/vector-export text positioning so subplot titles and figure-level titles scale correctly with font size
- Fix
sgtitleserialization and child enumeration, and allow numeric values to be used as title text
Sandbox
Changed
- Reorganize the browser/WASM runtime into dedicated API, plotting, session, stream, filesystem, GPU, snapshot, state, and wire-format modules
- Improve replay smoke coverage and GPU gradient coverage for the WASM target
App
Changed
- Update remote-project CLI documentation around authentication, project selection, filesystem history, snapshots, git sync, retention policies, and
remote run
v0.4.1 - April 2026
April 15, 2026
Runtime
Added
- Expand
input()compatibility — numeric prompts now accept logical values, named constants (pi,inf,nan), and matrix/vector literals with MATLAB-compatible output types. Complex expressions such assqrt(2)andones(3)now evaluate through the full MATLAB pipeline when an eval hook is available - Add configurable CLI credential storage for
runmat login—auto,secure,file, andmemory
Changed
- Improve CLI auth persistence —
automode now prefers secure keyring storage and falls back to file-backed credentials with restricted permissions when secure storage is unavailable - Extract remote auth and public API client logic into a dedicated
runmat-server-clientcrate
Fixed
- Fix native
input()evaluation stack overflow by isolating nested prompt evaluation from the outer interpreter call stack - Fix GPU-backed selector indexing — GPU-resident index tensors now materialize correctly before linear and dimensional indexing
Sandbox
Fixed
- Fix workspace/variable display after
clear()— variables assigned later in the same execution block now reappear correctly in workspace snapshots - Fix browser
input()handling after session resets — reinitializing the WASM session now preserves the installed async input handler
App
Added
- Expand the public API with project git import, project import status, usage notices, upgrade requests, chunk upload targets, data manifest access, run indexes, storage summaries, storage-category deletion, telemetry ingest, and web intake submission endpoints
v0.4.0 - April 2026
April 13, 2026
Runtime
Added
New plot types:
- Add
stemwith GPU-accelerated rendering - Add
errorbarvisualization - Add
areafilled area plots - Add
contour/contourfwith GPU-resident path rendering - Add
plot33D line plots - Add
imagescscaled image display - Add
piecharts - Add
histogramplotting - Add
semilogx,semilogy,logloglog-scale axes - Add
plot(y)shorthand — single-argument plot
Plotting infrastructure:
- Add graphics handles and per-axes subplot state
- Add axes helpers:
xlim,ylim,zlim,caxis/clim - Add common signature forms:
bar(x,y),surf(Z),mesh(Z),surfc(Z),meshc(Z),stairs(y) - Add
get/setfor plot handles with shared property access - Add annotation and legend builtins:
title,xlabel,ylabel,zlabel,legend - Add 3D view controls:
view(az, el) - Add world-space text annotations
Numerical computing:
- Implement correct matrix division semantics —
\,/,.\,./now have distinct, correct semantics through parser, HIR, bytecode, VM, and GPU paths.mldivideandmrdividesupport triangular solves, dense square solves, tall least-squares, wide minimum-norm solves, transpose variants, and Cholesky-backed solves with GPU-resident F32 execution - Implement full FFT/IFFT family —
fft,ifft,fft2,ifft2,fftn,ifftnnow fully implemented with underlying RustFFT for CPU paths and high-performance staged GPU shaders supporting power-of-two, radix-3, radix-5, mixed compositions, and Bluestein fallback for non-smooth/prime lengths. Complex array indexing now works throughout (Y = fft(x); Y = Y(1:N/2)) - Add signal processing helpers —
hann,hamming,blackmanwindowing functions andnextpow2, all with GPU acceleration. Supportssymmetric/periodicmodes and output type selection
Other:
- Add
clear,clc,close all— session management commands now work in browser and native - Add
datetime— MATLAB-compatible construction, formatting, string conversion, and subtraction - Add
duration— display, arithmetic, and datetime interop - Add
peaksbuiltin — GPU-accelerated with mixed-residency tensor support and type inference
Changed
- Expand GPU fusion coverage —
sign,fix,hypot,pow2,asinh,acosh,atanh,mod,remnow fuse into single GPU kernels automatically
Fixed
- Fix struct field indexing —
s.arr(k)ands.arr(1:n)now work with MATLAB-compatible semantics - Fix implicit struct creation — assigning to
r.x = 10on an uninitialized variable now materializes a struct - Fix
fprintfcompatibility for literal dollar signs and casted numeric inputs - Fix
atan2stack underflow that crashed scripts callingatan2with compound expressions - Fix leading-dot floats —
.5parsed as0.5 - Fix GPU tensor to f64 conversion for iterative solve workflows
- Fix range-indexing type errors
- Fix GPU memory cleanup on QR and
mrdivideerrors - Fix
matmulparameter caching - Fix histogram and bar charts not displaying
- Fix right bar chart persisting after generating new charts
- Fix
contourfZ dimension mismatch - Fix
areaX/Y length mismatch - Fix
imagesurface data handling - Fix
stairs1-argument form - Fix Z-axis label styling
- Fix
plot3-argument overload - Fix stem shader offset when baseline is hidden
Sandbox
Added
- Add notebook editor infrastructure — markdown cells alongside code cells (not yet user-facing)
- Add RunMat Agent infrastructure — typed protocol, config, ops, and event model (not yet user-facing)
Fixed
- Fix artifact loading to return newest entry when an ID is reused
- Fix browser terminal
clear/clchandling - Fix runtime state leaking between notebook run sessions
Changed
- Improve path handling with safe segment escaping for dot components
- Improve auth flow — email verification now redirects directly to the sandbox with an auth modal
- Improve Auth0 email login flow
- Improve stdout deduplication and clear event handling
App
Added
- Add durable persistence and replay for run artifacts
v0.3.2 - March 2026
March 24, 2026
Deployment and infrastructure improvements for macOS, Windows, and Linux — no runtime or engine changes. Covers v0.3.1 through v0.3.2.
v0.3.0 - March 2026
March 24, 2026
Runtime
Added
- WebAssembly (WASM) compile target — RunMat now runs entirely in the browser with WebGPU acceleration, published as the
runmatnpm package - Add fused GPU rendering pipeline for 2D and 3D plots with zero-copy surface data path
- Add 3D depth camera with reversed-Z and dynamic clip planes
- Add type inference — context-aware shape resolvers track tensor shapes through the compiler
- Add builtins:
int32,uint16,isgpuarray,magic,empty,frewind,rand(m,n,p),uint8elementwise ops,isequal,logical,cellfunhandle support,fullfile,erase,atanh,tempname - Add full call stack in error diagnostics with stack depth limit and source location tracking
- Add MATLAB compatibility mode
Changed
- Migrate the entire VM, all builtins, and the GPU provider to async
- Change default error namespace to
RunMat(fromMATLAB)
Fixed
- Fix slice indexing shape preservation,
conv2kernel flip,cholmulti-output control flow,loadauto-assignment,dlmread/csvreadheader parsing,cummax/cumminalignment,fgetscharacter limit, native auto-init race condition, and GPU compute dispatch stack layout
Sandbox
Added
- Launch browser sandbox at runmat.com/sandbox
Fixed
- Fix save file behavior
- Fix figure state reset on re-run
- Fix variable inspector pagination — large vectors now paginate correctly
- Fix variable inspector caching — stale values no longer shown after re-runs
- Fix data file viewer error handling
Changed
- Show struct values before tensor values in the output panel
- Improve variable inspector layout
App
Added
v0.2.8 - December 2025
December 22, 2025
Added
- Add complex number support — complex arithmetic works throughout the runtime
- Add non-conjugate transpose (
.') — apostrophe handling now distinguishes from conjugate transpose - Add Homebrew installation —
brew install runmat(see CLI docs)
Changed
- Replace manual REPL input with
rustylinefor line editing, command history, and formatting - Persist
ansvariable across expressions - Display struct content in the REPL
- Improve multi-line formatting for
lsand matrices - Suppress output for assignments ending in
;
Fixed
- Fix
save()stack overflow bug
v0.2.7 - December 2025
December 2, 2025
Added
- Add anonymous telemetry to help improve RunMat. No code is ever captured — only internal error codes. See Telemetry for details
Fixed
- Fix CLI version display
v0.2.6 - November 2025
November 21 – 24, 2025
Covers v0.2.0 through v0.2.6.
Added
Accelerate (GPU backend):
- Add wgpu-based GPU backend — Metal (macOS), DirectX 12 (Windows), Vulkan (Linux)
- Add cost model — runtime profiling routes work to CPU or GPU based on data size and transfer cost
- Add f32/f64 compute shaders for a broad set of builtins —
ones,zeros,rand, reductions, and many more now dispatch to the GPU automatically
- Add computation graph pattern scanning — the runtime analyzes your code's computation graph, matches sequences against a library of fusible patterns, and replaces them with optimized GPU kernels automatically
- Add 5–6 initial fusion operations including elementwise math chains, where multiple operations collapse into a single GPU kernel eliminating intermediate memory traffic
v0.0.3 - August 2025
August 25, 2025
Added
- Add PowerShell installer for Windows
v0.0.2 - August 2025
August 19, 2025
Added
- Implement interpretation for the core MATLAB language grammar and semantic surface, across the parser, HIR, and VM. See Language Coverage for the full matrix of implemented coverage
v0.0.1 - August 2025
August 10, 2025
Added
- Initial release — lexer, architecture plan, project scaffolding
- Add release workflow with macOS signing, cross-compilation, crates.io publishing