core#1407: Fitting: Fixed the loss table built from an untyped empty array when no extrema are found
Export: The Excel report renders all charts at once and captures each as soon as it is drawn instead of after a fixed 1 s delay, several times faster; fixed charts being squashed vertically
Custom function view: The view no longer opens a run from the page link; the editor hosting it does, as for RFV (breaking for views opened without Compute2's editor)
Custom function view: exports, a list of named exports that each return a DG.FileInfo, replaces exportConfig (breaking); the Export icon runs the first one and exportEnabled turns them off
Custom function view: A new call starts with the function's default input values
RTD: A workflow custom export can be preferred, which lists it first in the Export menu
RTD: A step's viewers hook from its script that can't be made no longer fails the workflow config; loadViewersHook makes a function's hook, or warns and returns none
Export: Fixed the Excel report failing with "0 is out of bounds" on a table with no columns; its sheet is left empty
RTD: Added loadSavedTree, which loads a saved workflow run without UI as the editor opens it
RTD: A saved workflow run records whether every step's outputs were current (RUN_COMPLETED option, read with readRunCompleted)
RTD: A workflow custom export handler and ExportUtils.runFuncCallCustomExport return the exported file (DG.FileInfo); like a meta.customExports function, a handler gets startDownload, always false
RTD: ExportUtils reports return a DG.FileInfo named after the run in place of the Blob: reportStateExcel returns [file, Zippable, summary], reportFuncCallExcel and reportSummaryExcel return [file, Workbook] (breaking: reportStateExcel no longer returns the file name, so the summary is the 3rd element); getFuncCallCustomExports lists the exports with a function, in menu order, and the reportStateExcel callback is typed (input) => Promise<void>, which an async callback compiles against; ExportUtils.reportFuncCallExcel is renamed reportStepExcel (breaking), and CustomExportArgs types the args a meta.customExports function gets
RTD: Fixed the workflow disableDefaultExport option being ignored: it never reached the workflow state, so the default export stayed in the Export menu and in a compact view's step
Dependencies: Pinned uuid to ^11.1.1 through overrides, so the uuid 8.3.2 that exceljs 4.4.0 brings is no longer resolved (GHSA-w5hq-g745-h8pq)
Export: Fixed a failing Excel report rejecting with "Format is not supported" instead of its own error
Removed the unused root exports getFuncCallDefaultFilename, delay, formatNumber, scalarsToSheet and getInputsHidden
Export: Float inputs without a format export with the input form's default (G7), whether or not a form for the function was shown
RTD: Requires platform 1.28.0 or later: annotation validators, evaluated choices, computed defaults and GrokScript expressions no longer check for the platform API
History utils: saveRun takes a run name, description and tags (saved as friendlyName; a description or tags left out stay as they are) and a target space with the runs it replaces; added listMyRuns, listSpace, listSpaceRuns, findNameConflict, isNamedSpaceItem, isRunOf, linkRun, unlinkRun, canEditRunDetails, getRunMetadata and getRunName; a save with options fires RUN_SAVED_EVENT on the platform's event bus
History utils: Saves record the run's author and save time in options.createdById and options.createdAt; Edit details and delete keep them, and My runs lists runs by that author; workflow saves mark their step runs with options.nestedEntity (saveRun's nested option), and My runs leaves them out
RTD: ItemMetadata saves the title as the run name and takes a save target; isFavorite was removed from it and from MetaCallInfo, and the driver no longer reads or writes the old favorites
Custom function view: runStorage gives the view the Save and Open dialogs and replaces the history panel (showHistory and historyRoot were removed); without it the view has no History and Save buttons; a host's customView is saved on the run as options.customView, and listMyRuns lists such runs under that function too
Old history dialogs, grid helpers and history column constants moved to old-components, along with historyUtils.pullRuns and historyUtils.pullRunsByName, which are now the root exports pullRuns and pullRunsByName; historyUtils.loadChildRuns was removed (only the old pipeline view used it)
RTD: Fixed steps running before their validators or data links finished: a link counts as running, and locks tree mutations, from the moment its inputs change until its handler finishes, including the debounce wait, the batch and an async handler; while the tree is locked (init, runs, mutations, headless runs), validators skip their debounce
RTD: Added headless runs: runWorkflow (by provider) and runWorkflowConfig create a workflow from an instance config and, unless a step ready to run has validation errors, run every step that can run; the result state is an instance config tree with each step's values, status, run error, validations and consistency and each workflow's validations, plus a summary; saveWorkflowRun and saveWorkflowConfig save a result state as a new run, the way Duplicate builds a copy
RTD: runSequence takes a mock run function in mock mode
RTD: The export summary moved to run-summary (getRunSummary, statesToStatus); ExportSummaryItem extends RunSummaryItem, which adds the node uuid
RTD: Fixed a step read as running right after its run finished
RTD: Loading a saved run whose step function changed or was removed fails with an error naming the step and the missing inputs and outputs instead of a TypeError; a missing step function or provider is named in the error
Shared utils: Added getInputToggles for the inputToggles and inputsHidden function meta
Shared utils: Malformed JSON in the features, dockSpawnConfig, customExports and mainParams meta or the viewer annotation logs a warning and falls back to the default instead of throwing
RTD: A loaded nested pipeline records the run it came from in sourceRunId, which is saved and kept on duplicate
RTD: loadDynamicItem also loads a saved run into a step, editable or read-only, and records it in sourceRunId; the step's view state gets the source run title (sourceRunTitle, shallow-loaded on every load, not saved, empty if the run was deleted)
RTD: Fixed duplicate turning read-only subtrees into editable ones; loading into a read-only pipeline now fails
RTD: Added the count link query selector: count() or count(a|b) at the end of a from query reads the number of matching child steps, and the link runs again when that number changes
RTD: Added setActionVisible to node meta links: an actions query addresses the actions, a later link overrides an earlier one like meta, and Driver.hiddenActions$ publishes the hidden ones; showWhen/hideWhen hide an action the same way and withdraw when they stop matching; removed ViewAction.visible and the validator controller's isActionVisible (which actions a validation result offers is up to the validator)
RTD: Fixed validator actions going stale after adding or moving steps: getValidationAction returned a removed action and isActionVisible an outdated visibility until the validator was recreated; links now resolve actions when matched, and a changed action recreates and reruns them
RTD: Added Driver.inspectLinks and Driver.inspectConfig for debugging: resolved links and actions, including the links generated from annotations with their kind (rule, check, required), with the link, rule or check as written, their empty aliases, the targets $linked dropped and action visibility, and the config as written with resolved step io
RTD: Added state snapshots: snapshotState copies the view state of a workflow or step with its calls, run statuses and restrictions, loadStateSnapshot loads a saved run with its step runs into the same shape, and saveStateSnapshot saves a snapshot like the driver saves a tree
RTD: Removed Driver.currentConfig$
RTD: Removed the unused approversGroup config key
RTD: Fixed setPipelineState failing with "SelfRef ... not found" when the replaced workflow's step types reference an outer workflow
RTD: Added the duplicateDynamicItem command; in a PipelineInstanceConfig, workflow entries take initialValues (workflow states) and skipOnInit, and output values in a script step's initialValues mark the step as run
RTD: Data links copy a dataframe once instead of twice when it only becomes a consistency snapshot (target already run or read-only) or no snapshot is kept (restriction none); reset to consistent and Update give the input dataframe its own id
RTD: Exported the PipelineState, PipelineOutline, ValidationItem, Advice, RestrictionType, ConsistencyInfo, IRuntimeReturnController, ReturnHandler, CustomExport and ViewersHook types and the isFuncCallState, isStaticPipelineState and isDynamicPipelineState guards, which now also narrow a PipelineOutline; removed the internal isPipelineActionConfig from the public index
RTD: Added consistencyTolerance and consistencyRelTolerance annotations on double and dataframe inputs that set the consistency tolerance of floats; a dataframe input takes a number for all float columns or a JSON object per column with a * wildcard; relative wins when both apply; ints compare exactly (default stays absolute 0.0001)
RTD: Fixed pipeline actions changing read-only workflows (added or replaced steps came out writable); read-only targets are now skipped, and read-only steps no longer run through runStep or a run sequence
RTD: Added ExportSummaryItem, ExportSummaryRollup and StepStatus export types, status in ExportCbInput, getExportSummary and reportSummaryExcel in ExportUtils, and the summary in the reportStateExcel result
RTD: Added declarative rule links: conditions, effects and sources written as formula strings ('gt(m, 0)', 'set(t, m)') or JSON Logic and effect objects, with per-effect when; hide/show/items/meta, error/warning/notification/verdicts and set/clear/assign effects; workflow-level targets: describe for titles, descriptions, tags and body, hideAction/showAction on actions aliases, and error/warning/notification on (node) aliases as pipeline validation; (template) queries; validators, choices, js, func, query, file and table sources; the literal, columns, columnsMissing, columnIs, nulls, column, row, len, regex, script and scriptVerdict operations; array messages; driver-added names use a $ prefix, as in $all.<alias> and $position
RTD: Added check links (typed by the exported PipelineCheckConfiguration) and annotation checks sharing one expansion (nullable/optional, min/max, regex and GrokScript validator, visible (also read from enabled, which hides the input), validators, column type/semType/allowNulls, and static choices and column table in check links only, since a choices annotation just fills the dropdown and a table annotation just binds the column picker); nullable: true annotations now make an input optional; GrokScript checks and annotation validators need platform 1.28+ and are skipped on older clients
RTD: Added annotation-derived rules for choices the platform evaluates: the items, with no check of the value, and the propagateChoice: all lookup (the first such key of a step; cells converted to the input types)
RTD: Added $nonscalar and $linked exclusions to the inputs()/outputs() io wildcards
RTD: Added params/getParam controller support, and isClientAtLeast in utils
RTD: Fixed computed annotation defaults (= 2 + 2, = Pkg:f()) being written as text, which failed step creation for numeric inputs; new steps evaluate defaults through the platform
RTD: Fixed instance configs (startWorkflow, setPipelineState) building an empty workflow for an entry without steps; it now gets the config defaults (static steps, dynamic initialSteps), and steps: [] stays empty; the root id is optional, so startWorkflow(nqName, version, {}) type-checks
RTD: Fixed a workflow whose initialSteps include itself hanging the tab; it now fails with an Initial config cycle error
RTD: Fixed inputs hidden via meta blocking the run with validation errors the user could not see; their validation is now suppressed
RTD: Fixed the annotation checks of a step whose position changed (moved, or shifted by adding, duplicating or removing an earlier step) no longer checking it; they are now built at config time as the step's links, marked with their annotation kind
Excel export: Added graphics outputs as images on their own sheets (raster at native size, SVG fitted to the chart box)
historyUtils.saveRun: Added the newId option to save a run under a fresh id
Old views: Removed testFunctionView/testPipeline and the Test runner ribbon group; their module-level import of the view classes formed a cycle that threw Cannot access 'FunctionView' before initialization in consumers
RTD: Added getMatchedPositions/getBasePosition controller methods exposing matched node positions to link handlers
HistoricalRunsDelete.awaitDelete: dialog helper resolving null on dismissal (mirrors awaitMetadata)
Excel export detaches the render viewer (and its cloned dataframe) after the screenshot
RTD: Fixed a link handler error leaving the link permanently running and deadlocking all tree mutations
RTD: Closing a state tree now destroys its links and actions, releasing their FuncCall and DataFrame subscriptions
RTD: Link running state uses run sequence numbers instead of wall-clock timestamps (same-ms runs reported as finished)
RTD: Queued driver commands sample the state tree at execution time instead of enqueue time
RTD: Fixed loadPipeline dropping the loaded run's metadata when an explicit config is passed
RTD: Fixed link IO ordering (compareAddresses NaN on prefix addresses, inverted getFirstMatch reduce). Behavior change: getMatchedInputs()/getMatchedOutputs() now iterate in tree order instead of declaration order
RTD: Fixed dataframe equality throwing instead of returning false when column names differ
RTD: Config processing rejects multi-id final io segments without the (template) flag instead of silently using the first id
RTD: DriverLogger keeps at most 5000 entries (log and errors) instead of growing unbounded
RTD: Fixed config path resolution silently accepting one extra segment past a leaf step
RTD: Config processing rejects tag-ending and zero-segment io targets in io-consuming from/to instead of failing at match time
RTD: Driver.sendCommand returns a promise resolved on command completion (per-command acks on commandAcks$)
RTD: Fixed a synchronous command error killing the driver command queue
RTD: initPipeline command accepts an inline processed config
Model catalog: add a roleOnlyFilter config option and a getModelFilter helper to filter models by the model role only (faster); the legacy tag-or-role filter stays the default
Fitting/Sensitivity Analysis/Optimization: fix the lookup (scenario) input being duplicated when the model function declares an input with the same name as the lookup
Fitting/Sensitivity Analysis/Optimization: add disableLookupDefault option to omit the synthetic "Default" choice when the lookup table already provides its own default row
Fitting: gate the "Apply fitted parameters" icon on available results — grey/disabled until a fitting exists, green afterwards, with an explanatory tooltip; switch the glyph to check-double
Fitting: charge worker-replacement reprime budget only to the session that killed the slot, so a misbehaving fit no longer drains a concurrent fit's budget
Hold the tree-mutation lock for the whole mutation by OR-ing treeMutationsLocked with globalROLocked, fixing a flickering "Locked..." overlay and isTreeReady signal
Expose pipeline-validator results as a live per-node stream (currentPipelineValidations$) instead of only in the serialized snapshot
Fitting: worker executor defaults to auto, gated on //meta.workerSafe; async script bodies supported; async-to-sync codegen for the NM optimizer mirror