# What’s new

What changed in each JSheets release, newest first.

## 0.6.7

*4 December 2026*

This pre-release upgrades the engine to DuckDB 2.0.1 for faster opening and recalculation, signs the Windows build, adds drag-and-drop file opening, and starts new workbooks with an agent setup prompt ready to copy. Workbooks saved by 0.6.7 cannot be opened by 0.6.6 or earlier.

### What's new

- **DuckDB 2.0.1 engine:** Upgrades from DuckDB 1.5.6 to 2.0.1. Workbooks saved in 0.6.7 use DuckDB 2.0's format and cannot be opened by 0.6.6 or earlier; 0.6.7 opens workbooks from every earlier release. Against 0.6.6 on the same machine:

  | | 0.6.6 | 0.6.7 |
  |---|---:|---:|
  | Open 40 real Excel workbooks | 3.38 s | 2.82 s |
  | Recalculate those 40 workbooks | 825 ms | 779 ms |
  | Edit a cell in a slow-recalculating model | 738 ms | 399 ms |
  | Fill a formula down in that model | 440 ms | 277 ms |
  | Edit a COUNTIF input in that model | 115 ms | 63 ms |
  | Open a native workbook | 28 ms | 21 ms |
  | Fill 2,000 spilled arrays | 42 ms | 28 ms |

- **Drag and drop to open or import:** Drop a `.jsheets` or `.xlsx` file onto the window to open it. Drop a CSV, TSV, JSON, NDJSON, or Parquet file to preview and import it into the open workbook or a new workbook from the start page. Not yet on native Wayland.
- **Faster agent setup on new workbooks:** A new workbook opens the Agent panel with a ready-to-copy setup prompt for Claude Code, Codex CLI, or Gemini CLI, and a blank sheet suggests asking your agent.
- **Excel-style sheet tabs:** Arrows scroll tabs when they overflow, right-click › Unhide restores hidden sheets, and hiding or unhiding sheets records in Changes.
- **Scrollbars match the used range:** Scrollbars track the used range up to Ctrl+End, with a quiet grey thumb that darkens under the pointer.
- **Faster `RAND` and `RANDBETWEEN`:** Volatile random functions recalculate faster, speeding up Monte Carlo models.
- **Charts scale with zoom:** Chart text, lines, and hit targets scale with sheet zoom, and long titles wrap or shorten cleanly instead of overflowing.
- **Wide sheets:** Sheets with thousands of columns open, recalculate, and edit without running out of memory.
- **Cleaner XLSX chart export:** Exported charts keep JSheets' styling, link series names to their cells, and preserve frozen headers.

### Fixed

- Wide value-axis labels no longer spill outside small charts.
- The agent time limit and **Take over** now cancel all running agent work.
- Volatile formulas no longer record a full copy of their values in Changes on every step.
- On macOS, Help shows Control-Option-R for Changes, and menu shortcut symbols render cleanly in the bundled fonts.

### For agents (MCP)

- Chart tools link a series name to a cell reference when provided.
- Server instructions point to the docs at jsheets.app.

## 0.6.6

*3 December 2026*

This pre-release keeps Explain, trace, the Model map, and Changes responsive on large workbooks so they stay out of your way while you edit and navigate.

### What's new

- **Faster conditional formatting:** Heavily formatted sheets draw much faster—in one heavily formatted workbook, each screen region dropped from about 100 ms to under 11 ms.
- **Non-blocking Model map:** Building the Map no longer pauses edits, Explain, or scrolling. Zooming, freezing panes, formatting, and value edits no longer trigger a full rebuild; value edits only refresh numbers and error counts.
- **Explain, trace, and Changes keep up as you move:** Moving to another cell cancels pending updates for the previous cell right away. Trace levels, sheet chips, Changes history, Map chains, error cards, and Print preview all stay responsive as you navigate.
- **Open tools keep their place during edits:** Editing a value or layout no longer resets trace levels or your current Evaluate Formula step, and Map-only edits leave trace and Evaluate Formula untouched.
- Closing the Map or clearing the Watch window stops background updates.

### Fixed

- The anchor chip labels a cell the same way Explain does.
- Explain and the Model map settle reliably after a large paste, fill, or recalculation instead of refreshing indefinitely.
- The Map's Explain sidebar opens right away instead of waiting for the grid to finish drawing.

### For agents (MCP)

- No tool or schema changes.

## 0.6.5

*2 December 2026*

This pre-release unites Trace, Explain, Evaluate Formula, the Model map, and Changes around one shared anchor and grid language, and makes scrolling, saving, filling, pasting, recalculation, and tracing faster on large workbooks.

### What's new

- **One shared anchor:** Trace precedents, Trace dependents, Explain, the Model map, and Changes share a single yellow anchor cell. Moving the selection never moves the anchor; clear it with **Remove arrows** or the anchor chip's ×.
- **Grid marks and cross-sheet chips:** Precedents get a red ring and a fine line to the anchor; dependents get an arrowhead. Referenced ranges get a single outline and ring. Links on other sheets appear as clickable chips above the sheet tabs, led by the anchor chip, showing each cell's label and value (`Board › Inflation 21,125.57`). Off-screen related cells show a tick on their row or column header.
- **Tree view in Explain:** Each line shows one formula cell with its referenced inputs and values beneath it, down to typed inputs. Hovering a reference shows its label and outlines it on the grid. `SUMIF`, `SUMIFS`, and `COUNTIFS` ranges expand to their matching rows (`Buyer = Fund A · 9 of 60`), four at a time with `+N more`.
- **Evaluate Formula inside Explain:** Choose **Formulas › Evaluate formula**, or press Enter on a formula line, to step through a formula in place. Press Enter to step forward, Shift+Enter to step back, → to step into a referenced formula, and ← to step out. The active step is underlined, values appear as reached, and untaken branches of `IF`, `IFERROR`, `IFS`, `CHOOSE`, `SWITCH`, or `XLOOKUP` are dotted and skipped. While stepping, grid marks and sheet chips show only what the current step reads. The separate Evaluate window and full-screen view are retired.
- **Synchronized Model map and Changes:** Both follow the anchor cell. The Map highlights its links and lets you click any block, link, or chip; Changes displays the anchor's history on a timeline, newest first.
- **Faster on large workbooks:**
  - Scrolling, saving, deleting rows or columns, and drawing heavily formatted sheets are faster.
  - Filling wide or tall ranges with Ctrl+R or the fill handle, and pasting large blocks, keep the grid responsive.
  - Recalculating thousands of single-cell formulas, filled-down `OFFSET` and `INDIRECT` formulas, and `=UNIQUE(A:A)` over mixed values runs faster.
  - Trace, Explain, and the Model map open faster without rereading every formula in the workbook.

### Fixed

- Labels for cells below a long table no longer pick up a heading far above (`Stats!B8` reads "Replacement z", not "Mean · Replacement z").
- The Model map no longer lists text such as "Order #123" as an error.
- Changes no longer closes the app if a cell's history is still loading.

### For agents (MCP)

- Multi-step `apply_transaction` calls with notes, charts, PivotTables, or slicers run faster.
- Running `dry_run` or `evaluate` no longer slows down the next edit.
- Paging through `read_range` stays fast on later pages.
- No tool or schema changes.

## 0.6.4

*27 November 2026*

This pre-release opens more Excel PivotTables with calculated items live using Excel's totals, calculates more array formulas filled over 100,000 rows, and fixes chart-paste and redo bugs.

### What's new

- **PivotTable calculated items:** Calculated items evaluate at the detail cells and roll up into totals just as Excel does. Excel PivotTables with calculated items on numeric fields (such as years) or inner fields now open live. Values can summarize by Sum, Count, Count Numbers, Max, Min, or Product, and display as % of grand, row, or column total.
- **Array-formula fills over 100,000 rows:** More forms now calculate instead of being refused:
  - `TEXTSPLIT` or `SEQUENCE` combined with a range up to 32 rows tall, such as `SUM(--TEXTSPLIT($A1,",")*B1:D1)`;
  - `SUMPRODUCT` over multiple arrays where one is a `TEXTSPLIT` or `SEQUENCE`;
  - `INDEX`, `XMATCH`, and `TAKE` of a `TEXTSPLIT` with a row delimiter returning a single value.

### Fixed

- **PivotTable totals with calculated items:** Non-additive formulas now match Excel's totals; for example, `East*West` gives 8,700 instead of 20,400.
- **Empty cells in `% of` totals:** % of grand, row, or column total shows 0 where a row item and column item have no data together, matching Excel instead of showing a blank.
- **`SUMPRODUCT` shape mismatches:** Combining a `TEXTSPLIT` with a differently shaped range returns `#VALUE!`, matching Excel instead of a number.
- **Chart paste reliability:** Pasting a chart while sheets are loading now completes instead of being ignored, and a click made right after pasting is no longer overridden when the chart appears.
- **Ctrl+Y after undo:** Pressing Ctrl+Y right after an undo now redoes instead of repeating the last command.

### For agents (MCP)

- No tool or schema changes.

## 0.6.3

*26 November 2026*

This pre-release makes exported PivotTables open cleanly in Excel, opens more Excel PivotTables live, and completes legacy array formulas. It also adds `FORECAST.ETS` functions, speeds up data tables and long formula chains, and lets Evaluate Formula page through matching criteria rows.

### What's new

- **PivotTables exported to Excel:** Workbooks with PivotTables exported from JSheets now open cleanly in Excel. PivotTables keep JSheets' compact layout, multiple value fields no longer add a Values row, Rank **Show Values As** works, date groups stay dates, single-item report filters show their item name, and slicers survive.
- **More Excel PivotTables open live:** PivotTables with custom header captions, manual groups, calculated items, and **% Of**, **Difference From**, or **% Difference From** a named item now open live instead of with their saved values.
- **Legacy array formulas:** Press Ctrl+Shift+Enter to enter an array formula over the selection, matching Excel. Changing part of an array, or inserting or deleting rows or columns through it, is refused with Excel's message. `FORMULATEXT` and `ISFORMULA` work in every cell of the array.
- **`FORECAST.ETS` functions:** Adds `FORECAST.ETS`, `FORECAST.ETS.CONFINT`, `FORECAST.ETS.SEASONALITY`, and `FORECAST.ETS.STAT`. They follow Excel's method, though smoothing parameters can occasionally differ (see Known gaps).
- **Criteria paging in Evaluate Formula:** For `COUNTIFS`-style criteria over large ranges, Evaluate Formula shows how many rows each criterion leaves and pages through matching rows highlighted on the grid.
- **Independent scales on repeated chart panels:** Each panel gets its own value scale. An XLSX export, which cannot store separate scales, uses one shared scale and notes it in the export report.
- **Faster recalculation:**
  - Data tables calculate much faster: a 10 by 10 table over a 40-year model dropped from 13 s to 1.1 s.
  - Editing a cell inside whole-column totals such as `SUM(A:A)` updates without rereading the column.
  - Formula chains that read a row or two ahead dropped from 136 s to 57 ms on a 6,000-row chain.
- **Array-formula fills over 100,000 rows:** More single-value array formulas filled past 100,000 rows now calculate instead of being refused, including aggregates over array constants, `TEXTSPLIT` and `SEQUENCE`, and `TEXTJOIN`, `XMATCH`, and `TAKE` of a `TEXTSPLIT`.

### Fixed

- **`COUNTIF`, `SUMIF`, and related functions:** Match Excel on blanks and numbers written as text: `"<>x"` counts empty cells, `"="` matches only empty cells, and `"5"` matches text that reads as 5.
- **`LAMBDA` calls in XLSX:** Exported `LAMBDA` calls no longer show `@` in Excel.
- **Undoing column deletes through spills:** Undoing a column delete through a spilled array restores it instead of failing.
- **Closing with a connected agent:** Closing a workbook with an agent still connected no longer waits more than a few seconds.

### For agents (MCP)

- **More reliable sessions:** Long agent requests no longer drop their session partway through. All tools work as before.
- **Faster reviews:** `finish_task` and `review_task` run faster by reading recorded step values instead of recalculating earlier workbook states.
- **New sheets and spills:** Creating a sheet and writing a spilling formula on it now works in one transaction.

## 0.6.2

*25 November 2026*

This pre-release fixes Save As on Windows, resolves macOS shortcut conflicts, completes opening `.jsheets` files from Finder, and aligns legacy array formulas with Excel. Agents get faster, shorter tool outputs and fewer refused writes.

### Fixed

- **Save As on Windows:** No longer fails with "Couldn't save — file in use".
- **Keyboard shortcuts:**
  - On macOS, ⌘- no longer zooms out while deleting a row. Shortcuts do one thing and act on the sheet only when the sheet has focus.
  - ⌘= recalculates, matching Excel for Mac, instead of zooming.
  - Mac grid zoom uses ⌘⌥1, ⌘⌥2, and ⌘⌥3 so ⌘⌥- and ⌘⌥0 stay free for Excel's border shortcuts. Windows keeps Ctrl+Alt+= and Ctrl+Alt+-.
  - Physical Control works alongside ⌘ wherever Excel for Mac accepts either.
- **Opening from Finder:** Double-clicking a `.jsheets` file on macOS now opens the workbook instead of showing "cannot open files in the 'JSheets workbook' format".
- **Array formulas:**
  - Legacy (Ctrl+Shift+Enter) array formulas from Excel fill their range as Excel does: single-row or single-column results repeat, extra cells show `#N/A`, and larger results clip to the range. They export as array formulas.
  - `COUNTIF` with an array of criteria over a small range calculates many times faster.
  - `INDEX`, `COUNTA`, `ROWS`, and `COLUMNS` of a single-row `TEXTSPLIT` filled down more than 100,000 rows now calculate instead of being refused.
  - `TEXTSPLIT` of empty text returns `#VALUE!`, matching Excel.
- **Faster wide sheets:** Imported sheets with formatting on empty far-right columns use less memory, and whole-row formulas such as `SUMIF($F$2:$XFD$2, …)` calculate in a fraction of the time.

### For agents (MCP)

- **Live MCP discovery:** Running JSheets instances write their endpoint to `<config>/mcp/<pid>.json`. The Agent panel displays the live URL with a Copy button, and JSheets reclaims port 47110 when it becomes free.
- **New tools:** `list_names` reads defined names (also listed in `workbook_overview`), and `revert_to` restores an earlier step of the agent's own work with Ctrl+Z support.
- **Hard time limits:** Work that runs past the time limit stops immediately instead of continuing after refusal, and large dry runs no longer block the workbook for minutes.
- **Fewer refused writes:** Single-cell operations accept `"Sheet1!J2"` or a one-cell range, `set_formula` over a range fills it, `fill_formula` across several columns or without a formula behaves like Excel's Fill, and near-miss shapes are accepted or answered with the shape to send.
- **Shorter `read_range` output:** States a filled formula once per run and a column's shared format once (note: this changes `read_range` output).
- **Fewer turns:** Committed `apply_transaction` calls return written values, `workbook_overview` previews the top of the first sheets, `finish_task` accepts `export: "name.xlsx"`, unknown task IDs use the open session task, and agents can replace files they exported themselves.
- **Faster tools:** Task reviews and small workbook exports run faster, cutting tool time on the SpreadsheetBench sample by about a quarter.

## 0.6.1

*24 November 2026*

This pre-release fixes issues from 0.6.0: saved files are smaller, resized rows and columns keep their size, Excel for Mac's narrow fonts no longer show `####`, and `.jsheets` files get their own icon and open directly from Finder and your file manager.

### Fixed

- **Smaller saved files:** Workbooks with a long edit history save much smaller. One 8 MB file saved without history now drops to about 1.2 MB.
- **Resized columns and rows stick:** Column widths and row heights keep their new size when you switch sheets and return, even right after dragging.
- **Narrow workbook fonts:** Cells in Aptos Narrow (Excel for Mac's default), Arial Narrow, and other Narrow or Condensed fonts render with bundled Archivo Narrow. Dates that fit in Excel no longer show `####`, and AutoFit, text overflow, and PivotTable column widths match.
- **Formulas:**
  - `MATCH`, `XMATCH`, `SMALL`, and `LARGE` work on arrays computed inside a formula (such as a `LET` variable) and when `k` comes from a cell.
  - `ASC` leaves text unchanged, matching Excel with English as the editing language.
  - Calculation results match across Linux, macOS, and Windows.
- **Reliable Ctrl+S:** Pressing Ctrl+S while a cell is still loading is no longer dropped.
- **Explain Flow clicks:** Clicking in the Flow list no longer lands on a different row if an update arrives mid-click.
- **Clean cancellation:** Cancelling a long write rolls back cleanly and leaves the workbook ready for your next edit.

### What's new

- **`.jsheets` file icon and double-click open:** `.jsheets` workbooks have their own icon on Linux, Windows, and macOS and open in JSheets on double-click (from Finder on macOS, or the registered file type on Linux and Windows). On macOS, Excel files also list JSheets under **Open With**.

### For agents (MCP)

- When a formula passes an array argument that a function cannot accept, the error names the function and the argument.
- `render_range` renders narrow workbook fonts the same way as the grid.

## 0.6.0

*23 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu), macOS on Apple Silicon, and Windows x64. It introduces Excel-style saving with crash recovery, refreshable database tables inside sheets, faster edits in large models, files about four times smaller, and safer agent tools.

### What's new

- **Import refreshable database tables into sheets:** Choose **Data › Import data…** to load from DuckDB, MotherDuck, Parquet, CSV, or JSON as an Excel table, either **As values** or **Refreshable**. A refreshable table remembers its source:
  - Press Alt+F5 to refresh the active table, or Ctrl+Alt+F5 to refresh all tables followed by all PivotTables.
  - Each refresh is one undoable step. It preserves calculated columns, refuses to overwrite cells outside the table, and keeps existing rows if the source fails.
  - A tag to the right of the formula bar shows the table's source and last refresh time.
  - Workbooks open offline and export to Excel as standard tables.
- **Table Total row:** Add a Total row with `SUBTOTAL(109,…)` from the table context menu, or press Ctrl+Shift+T on Windows and Linux.
- **Cross-platform MotherDuck sign-in:** Stores your token in the OS keychain on Linux, macOS, and Windows.
- **Table editor retired:** Replaced by importing tables directly onto sheets.
- **Copy chart as picture:** Copies any chart to the clipboard as an image for slides, documents, and chat.
- **Excel-style saving and crash recovery:** Changes stay unsaved until you save:
  - Closing prompts to save; **Don't save** leaves your file untouched.
  - After a crash, unsaved work appears under **Recovery** on the start page as "<name> (Recovered)", and Save prompts for a location.
  - Unwritable files open as **Read-only**, and Save opens Save As.
  - **File › Save a copy without history…** writes a copy without undo history.
- **Files about four times smaller:** A typical model saves under 1 MB. Older files open as before and shrink on the next save.
- **Faster edits in large models:** Editing an input recalculates only affected cells—80 ms instead of most of a minute on a 25,000-formula model. Defining names, filtering, and hiding rows no longer recalculate the whole workbook.
- **Excel-matching scrolling and selection:**
  - PageUp and PageDown move one screen at a time.
  - Mouse wheel moves three rows per notch; Ctrl+wheel zooms.
  - Header drags and Shift+click on headers select whole rows and columns.
  - Dragging past the edge scrolls horizontally.
  - Double-clicking the selection border jumps like Ctrl+Arrow.
  - Dragging the selection border moves cells; Ctrl+drag copies them.
  - Ctrl+\ and Ctrl+Shift+| select row and column differences.
- **Windows printing and finance functions:** Printing now works on Windows, and `EFFECT` and `NOMINAL` match Excel exactly.
- **Full numeric precision in formulas:** High-precision numbers such as `0.9999999999999999` keep every digit when typed into a formula.

### For agents (MCP)

- **Always-on workbook access control:** Each workbook has an access setting (**Edit**, **Read only**, or **None**). Agent tasks lock editing only while running, and you can take over at any time.
- **Safer writes:**
  - Writes over non-empty cells are refused unless `overwrite` is set, and the refusal lists what is already there.
  - `expected_revision` rejects a write if the workbook changed since the agent last read it.
  - Dry runs return `would_write`.
- **Clearer reads:**
  - Ranges are 1-based (object or A1 string) and results label each cell in A1 notation.
  - `read_range` returns a more compact shape.
  - `find_errors` can list only errors introduced since a revision.
  - `read_map` pages long results.
- **New tools and operations:** Added `evaluate` (test a formula without writing it), `compare_formulas`, `render_range` (PNG of the grid), deeper `cell_detail`, `table_sources`, and `help` for long schemas, plus `load_table`, `refresh_table`, `unlink_table`, and `table_totals`.
- **Concise task reviews:** `review_task` returns a short verdict first, with detail pages on request.

## 0.5.8

*20 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu), macOS on Apple Silicon, and Windows x64. It aligns more shortcuts with Excel, fixes `SUMIF` and formula export, and makes agent runs on large models more reliable.

### Fixed

- **Shortcuts matching Excel:**
  - Undo and redo reselect the cells they changed on their sheet.
  - Ctrl+Shift+\* makes the top-left cell of the current region active.
  - Ctrl+\[ merges adjacent precedents into one area, such as `A1:A2` for `=A1+A2`.
- **`SUMIF` and `AVERAGEIF`:** Automatically resize a sum range shaped differently from the criteria range, matching Excel instead of returning `#VALUE!`.
- **Exact formula export:** Unedited formulas export to XLSX exactly as imported, including parentheses and array formulas.
- **Excel data tables:** Named in import notes, and their result cells refuse direct edits just as in Excel.
- **Faster bulk formula entry:** Pasting, filling, or writing many formulas at once—such as a row across a year of months—is much faster.

### For agents (MCP)

- **Time limit covers recalculation:** Slow recalculations triggered by a transaction now respect the agent time limit. Timed-out work rolls back cleanly, and other calls answer right away with what the workbook is busy with.
- **Full-workbook `find_errors`:** Checks a whole sheet or workbook with no cell limit, returning error counts by sheet and error type with paged cell results.
- **Sheet name suggestions:** Passing an unknown sheet name suggests the closest matches in quotes so leading and trailing spaces are visible.
- **Circular reference reporting:** `workbook_overview`, `recalc_status`, and `cell_detail` report circular references and whether iterative calculation is on.
- `fill_formula` and `fill_from_column` accept `row` to fill a single row.

## 0.5.7

*19 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu), macOS on Apple Silicon, and—for the first time—Windows x64. It combines the Model map, Place, and Chain into one Map you can drill into, and aligns the fill handle with Excel.

### New

- **One unified Map:** Model map, Place, and Chain merge into a single Map. Choose **View › Map** (F6) to open it below the grid at the current cell. A clickable breadcrumb (such as Workbook › Board › Position › B5) shows where you are, and switching to full window changes only the size, not your view.
- **Pane switching with F6:** F6 moves between the grid and the Map, matching Excel, and Shift+F6 moves back. In the Map, ↑ and ↓ select, → or Enter drills in, ← or Backspace moves up, and Esc returns to the grid. Ctrl+Alt+M, P, and C are retired.
- **Cell cards:** At cell level, the Map shows inputs as cards with their values and formulas, then the cell itself, then the cells that read it. Upstream inputs appear beside each card, and dependents sharing a formula along a row or column group into one card (such as "$ value ×120"). Explanations come strictly from cell notes (where agents write them) and are never invented.
- **Left-to-right workbook flow:** Sheets arrange from inputs to outputs with fewer crossing lines, linking from one sheet to the next instead of across unrelated sheets.
- **Time lens:** Use the clock menu in the Map header to compare the workbook against the start of a recent agent task, the last save, or when the workbook opened. The layout stays fixed while changed sheets and blocks display counts and the header shows the total. Clear it with × or Esc.
- **Cell timeline:** With the time lens active, a cell shows its history beside its inputs: when it changed, who changed it, and old and new values. Agent edits are marked, and changed inputs show a dot.
- **Consistent full-window Map:** Shares the docked Map header. Review items live under **To check** in Explain, and review step chips stay in Changes.
- **Windows support:** First pre-release build for Windows x64.

### Fixed

- The fill handle matches Excel:
  - Dragging a single number copies it; Ctrl+drag counts up.
  - Text ending in a number increments ("Item 1", "Item 2").
  - Day and month names continue the series.
  - Dragging up or left fills those cells.
  - Double-clicking the handle fills down to the end of the neighbouring column's data.

## 0.5.6

*18 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu) and macOS on Apple Silicon. It adds Excel theme colours and fixes formula, tracing, and map issues found on SpreadsheetBench 2.

### New

- **Excel theme colours:** Font colour and fill menus show the workbook's theme with its five tint rows, Excel's ten standard colours, and a Recent row once you pick a custom hex colour. Hovering a swatch names it (such as "Accent 6, Lighter 40%"). Navigate with arrow keys, apply with Enter, and close with Esc.
- **Theme colours stay linked in XLSX:** Colours picked from the theme stay theme colours when saved to Excel instead of converting to fixed RGB values.

### Fixed

- Edits no longer fail on large `OFFSET`-based models, such as monthly models rolled up by quarter.
- Tracing a cell's precedents or dependents on a 74,000-formula model with defined names dropped from 43 s to under a tenth of a second, both in the app and for agents.
- Single-cell `OFFSET` formulas such as `=OFFSET(N41,$D$41,0)` no longer export to Excel as array formulas (`{=OFFSET(…)}`).
- Map sheet names, active cell labels, and block counts no longer overlap, and the current sheet's name always stays visible.
- Chain's folded settings line no longer runs off the pane on cells with many settings.
- The Agent panel no longer shows a client from an earlier session as connected when no agent is connected.

## 0.5.5

*18 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu) and macOS on Apple Silicon. It rebuilds the Chain and Place views around each cell's actual calculation and makes the Model map open immediately on large workbooks.

### New

- **Chain shows how a cell is calculated:** Lists the selected cell's direct inputs labeled from their row and column headers, with values and addresses:
  - lookups show the matched cell and lookup key;
  - `IF` and `IFERROR` show which branch was taken and why;
  - sum terms get bars sized by each term's share;
  - settings fold into one quiet line;
  - typed inputs show where they are used.
- **Step through a calculation:** Click an input to drill into it, and use the trail at the top (‹ and ›) to step back. In the pane, Up and Down pick an input, Right steps in, Left steps back, and Enter or double-click jumps to the cell. Arrow keys on the grid update Chain right away; Esc clears the trail, then closes.
- **Navigable Place view:** Opens on the active sheet and shows the full workbook when it fits. Drill from sheet to region to cells, step back along the trail, and expand without losing your place. Regions list their formulas in Excel syntax and the regions they read from with cell counts. A block's › selects its cells while keeping Place open.

### Fixed

- On a 300-player auction model, opening a map level (previously about 1 s) and Chain (previously 4–5 s per cell) now open immediately.
- Chain now follows the inputs that actually produce a cell's value instead of the deepest predecessor or an agent route.
- Ctrl+Alt+C now opens Chain.
- Terrain labels no longer overflow their islands or repeat count glyphs.
- If an agent writes without starting a task and disconnects, the workbook unlocks after 30 s with no calls instead of staying locked until you press Stop.

## 0.5.4

*17 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu) and macOS on Apple Silicon. It previews the Model map, adds PivotTables over Excel tables and calculated fields, and solves linear Solver models.

### New

- **Model map preview:** Open the Place lens (Ctrl+Alt+P, or Place at the right of the formula bar) to dock a map under the grid, or press Ctrl+Alt+M (or click expand) to view it full screen. The map has three views:
  - Terrain shows sheets as islands shaped by how far each block sits from raw inputs, with the main path drawn as one river and up to 12 labels.
  - Blocks shows sheets as boxes in lanes from inputs to outputs.
  - Chain (Ctrl+Alt+C) traces the selected cell back to its inputs.
- **Agent map annotations:** Two new MCP tools let agents describe the map:
  - `apply_map` names regions, landmarks, and routes in one undoable step, verifying every claim against the workbook's formulas first.
  - `read_map` returns what each view shows.

  JSheets detects blocks, repeated bands, gaps in filled columns, parallel columns, and formula depth automatically. The map is stored in `.jsheets` only and omitted when saving as XLSX.
- **PivotTables over tables:** A PivotTable can use an Excel table as its source and automatically follow new rows. Edit the source inline; table sources are preserved in XLSX and MCP.
- **Calculated fields:** Add and edit PivotTable calculated fields that calculate as in Excel, preserved in XLSX and MCP.
- **Linear Solver models:** Solve linear models using the simplex method.
- **MCP time limit:** Agent calls time out after 60 s by default and change nothing. Change or turn off the limit in Preferences.

### Fixed

- Large models with formulas reading the row below (tested on a 30,000-row model) and small fixed lookups now recalculate much faster.
- Row-referencing formula chains that previously showed `#UNSUPPORTED` now calculate.
- Explaining a formula over many cells no longer fails on large ranges; it displays their values directly.
- Editing a workbook with many `INDIRECT` formulas recalculates only affected cells, and multi-step edits recalculate once.

## 0.5.2

*14 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu) and macOS on Apple Silicon. It gives PivotTables a clearer layout and fixes scrolling, frozen-pane, and Solver bugs from 0.5.0 and 0.5.1.

### Changed

- PivotTables are easier to scan: header rows and grand totals sit on shaded bands ruled off from the body, subtotal rows have top rules, the grand total column has its own border, and nested items indent per level with the expand glyph before the label.

### Fixed

- Clicking a row or column header, or dragging its border to resize, no longer scrolls the sheet back to the top. The view stays put and the active cell becomes the first visible cell in that row or column, matching Excel.
- Selections, highlights, copy outlines, and spilled ranges scrolled under frozen panes now stay behind the frozen rows and columns instead of drawing over them.
- The MCP `solve` tool no longer rejects requests with "sheet must be a string"; it now exposes a full schema and also accepts a JSON-string request.

## 0.5.1

*14 November 2026*

This pre-release for macOS on Apple Silicon brings the Mac build up to 0.5.0, adding Excel-compatible PivotTables, slicers, and pivot charts. Linux users can stay on [0.5.0](https://github.com/matsonj/jsheets-releases/releases/tag/v0.5.0).

### From 0.5.0: PivotTables

- **PivotTable layouts:** Supports compact, outline, and tabular layouts, with subtotals at the top or bottom, repeated labels, row and column grand totals, and values on rows or columns. Collapse and expand items with the glyphs, a double-click, or the cell menu.
- **Filters and sorting:** Report filters above the PivotTable with one or several items. Any field supports item checklists, label filters, value filters, Top 10 (items, percent, or sum), and sorting by label or value.
- **Grouping:** Group dates by years, quarters, months, and days (from a start to an end date or by a number of days), and group numbers into ranges.
- **Value display:** Supports **Show Values As**, custom value names and number formats, and custom text for empty or error cells.
- **Slicers:** Connect a field's slicer buttons to one or more PivotTables, with multi-select (Alt+S), clear (Alt+C), and dimmed items without data.
- **Pivot charts:** Follow a PivotTable's visible layout and include field buttons.
- **`GETPIVOTDATA` and Show Details:** `GETPIVOTDATA` formulas update as the PivotTable changes. Double-click a value to see its source rows on a new sheet with **Show Details**.
- **Clearer refresh summary:** Refreshing reports fields removed from the source along with dropped filters (with Undo on the card) and rows added below the source.
- **XLSX round-tripping:** PivotTables, slicers, and pivot charts save to Excel as live objects and open live from Excel, including PivotTables that share a data source. Unchanged Excel PivotTables save back verbatim. Unsupported features (such as calculated fields) open as values, and the import report says why.
- **For agents:** MCP tools add, change, refresh, move, and delete PivotTables, slicers, and pivot charts in one transaction; inspect layouts, items, totals, and underlying source rows; and read the import report from `workbook_overview`.
- **Excel shortcuts:** Alt+Down opens a field's menu (with Space, Enter, and Esc support), and Ctrl+− hides the selected item.

### Changed

- Opening an Excel file applies its default column width so columns match Excel.
- Editing a PivotTable's source with a column of `GETPIVOTDATA` formulas now recalculates in a fraction of a second.

### Fixed

- Columns of `GETPIVOTDATA` formulas no longer show `#UNSUPPORTED`.

## 0.5.0

*14 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu). It adds Excel-compatible PivotTable layouts, filters, grouping, slicers, and pivot charts, all saved to and opened from Excel files.

### New

- **PivotTable layouts:** Supports compact, outline, and tabular layouts, with subtotals at the top or bottom, repeated labels, row and column grand totals, and values on rows or columns. Collapse and expand items with the glyphs, a double-click, or the cell menu.
- **Filters and sorting:** Report filters above the PivotTable with one or several items. Any field supports item checklists, label filters, value filters, Top 10 (items, percent, or sum), and sorting by label or value.
- **Grouping:** Group dates by years, quarters, months, and days (from a start to an end date or by a number of days), and group numbers into ranges.
- **Value display:** Supports **Show Values As**, custom value names and number formats, and custom text for empty or error cells.
- **Slicers:** Connect a field's slicer buttons to one or more PivotTables, with multi-select (Alt+S), clear (Alt+C), and dimmed items without data.
- **Pivot charts:** Follow a PivotTable's visible layout and include field buttons.
- **`GETPIVOTDATA` and Show Details:** `GETPIVOTDATA` formulas update as the PivotTable changes. Double-click a value to see its source rows on a new sheet with **Show Details**.
- **Clearer refresh summary:** Refreshing reports fields removed from the source along with dropped filters (with Undo on the card) and rows added below the source.
- **XLSX round-tripping:** PivotTables, slicers, and pivot charts save to Excel as live objects and open live from Excel, including PivotTables that share a data source. Unchanged Excel PivotTables save back verbatim. Unsupported features (such as calculated fields) open as values, and the import report says why.
- **For agents:** MCP tools add, change, refresh, move, and delete PivotTables, slicers, and pivot charts in one transaction; inspect layouts, items, totals, and underlying source rows; and read the import report from `workbook_overview`.
- **Excel shortcuts:** Alt+Down opens a field's menu (with Space, Enter, and Esc support), and Ctrl+− hides the selected item.

### Changed

- Opening an Excel file applies its default column width so columns match Excel.
- Editing a PivotTable's source with a column of `GETPIVOTDATA` formulas now recalculates in a fraction of a second.

### Fixed

- Columns of `GETPIVOTDATA` formulas no longer show `#UNSUPPORTED`.

## 0.4.7

*12 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu). It introduces Explain and Changes so you can trace why a cell holds its value and see how it got there, adds panel charts and finance formatting, and expands XLSX PivotTable support.

### New

- **Explain:** Choose right-click ▸ Explain to see why a cell holds its value. **Formula** works through the calculation with the cell's inputs, and **Flow** lists precedents and dependents with optional grid arrows. Explain follows your selection and opens alongside the Model map on the same cell.
- **Changes:** Choose right-click ▸ History (or Ctrl+Alt+R) to review workbook edits as a timeline. Edits by one person on one sheet within ten minutes group into one point, and each agent task is one point. Open a point to see what it wrote and what changed as a result, marked on the grid, or choose **History** on a cell to list only the points that moved it. You can view earlier points, compare two points, or restore an earlier state with Ctrl+Z support.
- **Panel charts:** A combo chart can split series into two stacked panels, such as A/E lines above and exposure columns below, with a reference line. It saves to Excel as a matching combo chart and reopens in JSheets as panels.
- **Formatting for finance:** The format bar sits above the formula bar with custom number formats and a live preview, decimal buttons, and swatch colour pickers with plain names. Custom cell colours stay unchanged in dark mode.
- **Sample model:** A working FY27 club budget on the start page for trying Explain, Changes, and charts.
- **PivotTables in XLSX:** Pivots with several row, column, and value fields save to Excel as live PivotTables, and compatible Excel PivotTables open live. Others open as values, and the import report explains why.

### Changed

- **Consistent controls:** Panels and cards close with × and Esc. Full views (Model map, Evaluate full screen, Print preview) have ‹ Back to grid at top left. Task cards (Sort, Validation, Goal Seek, Find, Seeds, Calculation) confirm with Enter and cancel with Esc.
- **Grid indicators:** Saffron marks the selection, current item, and focus. Edited cells show a blue-grey bar, notes show a grey corner, and filtered row numbers turn blue as in Excel.
- **Window title and row height:** The window title shows JSheets with the file name once and its status (Saved, Edited, or Not saved). Rows default to Comfortable (32 px), with Compact (21 px) in Preferences.
- **Cleaner menus:** Help is filled in, inactive items are gone, the cell menu covers Excel's basics, and every command is searchable.
- **Dark mode and high contrast:** Cover every surface, and toggling View no longer overrides a System theme.

### Fixed

- Combo charts created by external tools (such as openpyxl) draw secondary-axis series on their own axis.
- Finished agent tasks report as finished and unlock editing.
- Error cards point to the true source of an error instead of opening on every error cell.
- Closing the app prompts before discarding unsaved table edits.
- The import report no longer flags supported features as unsupported and names any dropped defined names.
- Stopped Solver runs report as stopped with **Keep** as the primary action.
- Full-screen Evaluate Formula steps properly when opened from the Model map, and Step In keeps the view on screen.
- MotherDuck views that read another database now open, and MotherDuck sign-in on Linux matches the Mac fixes in 0.4.5.

## 0.4.6

*11 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu). It adds thousands scaling in number formats, fixes chart display issues found while building dashboards, and updates the table chooser.

### Fixed

- **Thousands scaling in number formats:** Trailing commas divide by 1,000 as in Excel: `$#,##0,"k"` displays 464220 as `$464k`, and `0.0,,"m"` displays 2500000 as `2.5m`. Works in cells, `TEXT`, chart axes, and data labels.
- **Legend colours:** Series legends match custom series fill and line colours.
- **Bar chart category labels:** Multi-level category labels draw every level with the outer level on the left, matching Excel.
- **Chart panel type controls:** **Chart type** shows the current type and offers all seven supported types (line, column, bar, pie, doughnut, scatter, and bubble). **Subtype** sets clustered, stacked, or 100% stacked on bar, column, and line charts.
- **For agents:** `read_chart` now reports a bar chart's value axis scale under `horizontal`.

### Changed

- **Table chooser:** **Data ▸ Open table…** matches the JSheets design, displays shortcuts for your keyboard profile (⌘ O on macOS), and gives a clear starting point when no tables have been opened yet.

## 0.4.5

*11 November 2026*

This pre-release for macOS on Apple Silicon brings the Mac build up to 0.4.4, adding the table editor and 3D references. Linux users can stay on [0.4.4](https://github.com/matsonj/jsheets-releases/releases/tag/v0.4.4).

### On the Mac

- **Dock and Cmd+Tab icon:** Shows the JSheets icon instead of a generic one.
- **Delete key:** Clears the whole selection, matching Excel for Mac.
- MotherDuck tokens are stored in the macOS Keychain.

### From 0.4.4: the table editor

**Data ▸ Open table…** (or **File ▸ Open table…** on the start page) opens a table in its own window so you can scroll and edit it directly.

- **Sources:** DuckDB databases, MotherDuck (`md:`), and Parquet, CSV, and JSON files. Your MotherDuck token is stored in the system keychain.
- **Handles millions of rows:** Tables of any size scroll immediately, jump to the end with Ctrl+End, and go to any row with Ctrl+G.
- **Excel-style editing:** Type to replace a value, press F2 to edit, Delete to clear, Ctrl++ and Ctrl+− to add and delete rows, and Ctrl+Z to undo.
- **Formula columns:** Type `=` after the last column to add a calculated column such as `=IF([@notional]>1000000,"Large","Small")`, or rewrite a column with `=TRIM(PROPER([@counterparty]))`. Formulas use Excel table syntax and sheet functions across the full table; saving writes the values.
- **Safe saves:** Edits wait until you save, then commit all at once. If the database refuses a save (for example, on a duplicate key), nothing changes and you see its message. Rows changed by someone else since you opened the table are never overwritten. Saves affecting over 10,000 cells or changing a column's type ask first.
- **For agents:** MCP tools read tables, make edits, apply formulas, and save, limited to sources you have opened yourself.

### Also from 0.4.4

- **3D references:** Formulas such as `SUM(Jan:Mar!B2)` calculate and stay intact when you move or delete sheets.
- **Faster recalculation after edits:** Edits that feed many single-cell formulas recalculate much faster; a table of 132 `SUMPRODUCT` formulas dropped from about 1.7 s to a fraction of a second.
- **Fewer `#UNSUPPORTED` results:** Very long formulas, such as multi-column `SUMPRODUCT` comparisons and long `COUNTIF` chains, now calculate. Where an unsupported formula remains, Evaluate Formula says why.
- **Dropdown lists:** Filter as you type and scroll with the mouse wheel.
- **For agents:** Rejected `apply_transaction` calls report which operation failed and why, `dry_run: true` checks a batch without writing, and calls outside a task no longer close an open task.
- Partial-column formatting is preserved when saving to XLSX.

## 0.4.4

*10 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu). It adds the table editor, 3D references, and faster recalculation. The Mac build follows as 0.4.5.

### New: the table editor

**Data ▸ Open table…** (or **File ▸ Open table…** on the start page) opens a table in its own window so you can scroll and edit it directly.

- **Sources:** DuckDB databases, MotherDuck (`md:`), and Parquet, CSV, and JSON files. Your MotherDuck token is stored in the system keychain.
- **Handles millions of rows:** Tables of any size scroll immediately, jump to the end with Ctrl+End, and go to any row with Ctrl+G.
- **Excel-style editing:** Type to replace a value, press F2 to edit, Delete to clear, Ctrl++ and Ctrl+− to add and delete rows, and Ctrl+Z to undo.
- **Formula columns:** Type `=` after the last column to add a calculated column such as `=IF([@notional]>1000000,"Large","Small")`, or rewrite a column with `=TRIM(PROPER([@counterparty]))`. Formulas use Excel table syntax and sheet functions across the full table; saving writes the values.
- **Safe saves:** Edits wait until you save, then commit all at once. If the database refuses a save (for example, on a duplicate key), nothing changes and you see its message. Rows changed by someone else since you opened the table are never overwritten. Saves affecting over 10,000 cells or changing a column's type ask first.
- **For agents:** MCP tools read tables, make edits, apply formulas, and save, limited to sources you have opened yourself.

### Also new

- **3D references:** Formulas such as `SUM(Jan:Mar!B2)` calculate and stay intact when you move or delete sheets.
- **Faster recalculation after edits:** Edits that feed many single-cell formulas recalculate much faster; a table of 132 `SUMPRODUCT` formulas dropped from about 1.7 s to a fraction of a second.
- **Fewer `#UNSUPPORTED` results:** Very long formulas, such as multi-column `SUMPRODUCT` comparisons and long `COUNTIF` chains, now calculate. Where an unsupported formula remains, Evaluate Formula says why.
- **Dropdown lists:** Filter as you type and scroll with the mouse wheel.
- **Mac keyboard Delete:** Clears the whole selection, matching Excel for Mac.
- **For agents:** Rejected `apply_transaction` calls report which operation failed and why, `dry_run: true` checks a batch without writing, and calls outside a task no longer close an open task.
- Partial-column formatting is preserved when saving to XLSX.

## 0.4.1

*10 November 2026*

This pre-release for macOS on Apple Silicon brings the Mac build up to 0.4.0, adding charts along with the 0.3.0 and 0.3.1 updates. Linux users can stay on [0.4.0](https://github.com/matsonj/jsheets-releases/releases/tag/v0.4.0).

### From 0.4.0: charts

- **Seven chart types:** Line, column, bar, pie, doughnut, scatter, and bubble charts, including clustered, stacked, and 100% stacked columns and bars, plus combinations such as columns with a line on a secondary axis.
- **Clean defaults, Excel fidelity:** New charts use the JSheets palette and type. Charts from Excel files keep their own colours and settings.
- **Excel-style formatting panel:** Select a chart or any element to open its options in the chart panel, matching Excel's Format pane.
- **Live cell links:** Series update when you insert rows, rename sheets, or undo. The formula bar shows a series as `=SERIES(...)`.
- **XLSX round-tripping:** Charts open from and save to XLSX. Unchanged Excel charts save back exactly as Excel wrote them.
- **For agents:** MCP tools add, change, read, and delete charts, and `render_chart` returns a PNG or SVG so an agent can inspect what it drew.
- **Evaluate Formula:** Redesigned as a flow beside the cell, with a full-screen view for long formulas.

### From 0.3.0 and 0.3.1

- **Evaluate Formula:** Open from the Formulas menu to step through a formula and drill into referenced cells. The `evaluate_formula` MCP tool returns the same trace to agents.
- **What-if data tables:** `{=TABLE(...)}` data tables calculate and save back to XLSX.
- **Iterative calculation:** Circular references iterate when iteration is enabled for the workbook.
- **Faster large models:** Workbooks with thousands of `INDIRECT` formulas now open, and a 134,000-formula monthly model recalculates in about 2 minutes instead of 12.
- **Fewer `#UNSUPPORTED` results:** Includes `OFFSET` sized by a header cell, `SUMIF` with a range of criteria, `XLOOKUP` match and search modes, and locale-tagged time formats such as `[$-409]h:mm AM/PM`.
- **Legacy array formulas:** Calculate across their full range.
- **MCP improvements:** Listens on loopback at a stable default port with no token required, and answers requests while a workbook recalculates.

## 0.4.0

*10 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu). It adds Excel-compatible charts and redesigns Evaluate Formula.

### New: charts

- **Seven chart types:** Line, column, bar, pie, doughnut, scatter, and bubble charts, including clustered, stacked, and 100% stacked columns and bars, plus combinations such as columns with a line on a secondary axis.
- **Clean defaults, Excel fidelity:** New charts use the JSheets palette and type. Charts from Excel files keep their own colours and settings.
- **Excel-style formatting panel:** Select a chart or any element to open its options in the chart panel. Sections cover the chart, series, single points, data labels, title, legend, both axes, trendlines, slices, scatter and bubble settings, and chart options, matching Excel's Format pane.
- **Live cell links:** Series update when you insert rows, rename sheets, or undo. Data labels can take their text from cells, and the formula bar shows a series as `=SERIES(...)`.
- **XLSX round-tripping:** Charts open from and save to XLSX. Unchanged Excel charts save back exactly as Excel wrote them.
- **For agents:** MCP tools add, change, move, read, and delete charts, and `render_chart` returns a PNG or SVG so an agent can inspect what it drew.
- **SVG export:** Copy a chart as SVG or save it as an SVG file.

### Also new

- **Evaluate Formula:** Redesigned as a flow beside the cell in the Model map style, with a full-screen view for long formulas.

### Fixed

- Time formats with a locale tag, such as `[$-409]h:mm AM/PM`, now display as in Excel across cells, `TEXT`, and chart labels instead of showing `#UNSUPPORTED`.
- A save that finished while you were editing is no longer reported as lost.
- One-cell legacy array formulas keep their formula text as written.

## 0.3.1

*8 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu) and fixes three bugs from 0.3.0.

### Fixed

- **Typed edits stay open on error:** If committing a cell entry fails, the editor stays open with what you typed and displays the error.
- **History return step:** Trying to edit while viewing an earlier step in history now names the right step to return to instead of saying "Return to step 0 to edit".
- **Safe table selection during import:** Choosing a table in the import panel while an import is running no longer cancels the running import or starts a second one alongside it.

## 0.3.0

*8 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu). It adds Evaluate Formula, what-if data tables, iterative circular references, and faster recalculation, along with fixes from SpreadsheetBench 2's financial modeling, debugging, and template tasks.

### New

- **Evaluate Formula:** Open **Evaluate Formula** from the Formulas menu to step through a formula as in Excel. Drill into referenced formula cells and step back along your path.
- **What-if data tables:** `{=TABLE(...)}` data tables calculate and save back to XLSX as live data tables. Like Excel's "Automatic except for data tables" mode, they calculate on open and with F9, and hold their values while you edit.
- **Formula traces for agents:** The `evaluate_formula` MCP tool returns a cell's full calculation trace across the cells it reads.
- **Iterative calculation:** Circular references iterate as in Excel when iteration is enabled for the workbook.
- **Simpler MCP setup:** The MCP server listens on loopback at a stable default port with no token required.

### Faster

- **Workbooks with thousands of `INDIRECT` formulas:** A model with 18,900 one-cell `INDIRECT` formulas and 510 defined names now opens in about 80 seconds instead of stalling.
- **Large horizontal models:** A 134,000-formula monthly model recalculates in about 2 minutes instead of 12, and a single edit drops from 18 minutes to about a second.
- **Responsive editing with `OFFSET`:** Editing in a workbook that uses `OFFSET` recalculates only affected cells.
- **Non-blocking MCP:** The MCP server responds to requests even while the workbook is recalculating.

### Fixed

- **Formulas that showed `#UNSUPPORTED`:** Now calculates:
  - `OFFSET` sized by a header cell across a wide row;
  - `SUM`, `MIN`, `MAX`, `AVERAGE`, and `PRODUCT` over several separate cells;
  - formulas that read cells below themselves in the same column;
  - `INDIRECT` and `OFFSET` with large target ranges.
- **Legacy array formulas:** Ctrl+Shift+Enter array formulas calculate across their full range and save back as one array formula.
- **Array criteria in conditional aggregates:** `SUMIF`, `SUMIFS`, `AVERAGEIF`, and `AVERAGEIFS` with a range of criteria return one result per criterion, matching `COUNTIF`.
- **`XLOOKUP` match and search modes:** Finds the next smaller (-1) or next larger (1) item and searches last to first (-1).
- **Formula spacing:** Kept across every cell of a filled formula, not only the first.
- **Newer functions without `_xlfn.`:** Show `#NAME?` as in Excel and keep their spelling when saved.
- **Sheet names and undo:** Workbooks with unusual sheet names now open, and undoing a change restores all calculation settings, including iteration.
- **Smaller UI fixes:** Paste Special highlights its first choice on open; Enter in a menu runs only the highlighted command; Find stays put after a refused replace; closing waits for an agent's task to finish; and the unsaved marker always matches the workbook.

## 0.2.5

*5 November 2026*

This pre-release for macOS on Apple Silicon brings the Mac build up to 0.2.4 and adds a native menu bar and window layout. Linux users can stay on [0.2.4](https://github.com/matsonj/jsheets-releases/releases/tag/v0.2.4).

### New on macOS

- **Native macOS menu bar:** File, Edit, View, Insert, Format, Formulas, Data, Agent, and Help sit in the Mac menu bar with Mac shortcuts. The JSheets menu holds Settings (⌘,), Hide, and Quit, and the Window menu holds Minimize and Zoom. In-sheet shortcuts still match Excel for Mac.
- **Mac window controls:** The red, yellow, and green buttons sit on the top left in a slim title bar showing the workbook name.
- **macOS app icon:** Redrawn for the macOS icon shape at each size, so macOS 26 displays it at full size instead of inside a grey box.

### From 0.2.4, new on the Mac

- **Faster workbook opening:** A 2.4-million-cell workbook (Microsoft's AdventureWorks sample) opens in 6 seconds instead of 49, using less memory. Workbooks with hundreds of defined names now open in a few seconds instead of over 90 (tested on one with 848 names).
- **Merge and unmerge cells:** Merge and unmerge ranges with undo, or via the `merge_cells` and `unmerge_cells` MCP operations.
- **Deleting many columns:** Deleting 415 single columns on a 1,600-column sheet no longer runs out of memory. It finishes in a few seconds and undoes in one step.
- **`INDEX(range, 0)` on a single row or column:** Passing `0` now returns the full row or column inside another function, so formulas such as `MATCH(TRUE, INDEX(B2:AK2<0, 0), 0)` work.
- **Rounding at exact halves:** Exact halves match Excel on every platform. An average of 90.05% displays as 90.1%, and `TEXT(2.675, "0.00")` returns 2.68.

## 0.2.4

*5 November 2026*

This pre-release is for Linux x86-64 (including WSL Ubuntu). It opens large workbooks faster, adds cell merging, and fixes bulk column deletes and half-way rounding.

### New

- **Faster workbook opening:** A 2.4-million-cell workbook (Microsoft's AdventureWorks sample) opens in 6 seconds instead of 49, using less memory. Workbooks with hundreds of defined names now open in a few seconds instead of over 90 (tested on one with 848 names).
- **Merge and unmerge cells:** Merge and unmerge ranges with undo, or via the `merge_cells` and `unmerge_cells` MCP operations.
- **Desktop integration:** The JSheets icon appears in alt-tab, docks, and launchers. On first launch, JSheets adds `jsheets.desktop` and its icon under `~/.local/share`.

### Fixed

- **Deleting many columns:** Deleting 415 single columns on a 1,600-column sheet no longer runs out of memory. It finishes in a few seconds and undoes in one step.
- **`INDEX(range, 0)` on a single row or column:** Passing `0` now returns the full row or column inside another function, so formulas such as `MATCH(TRUE, INDEX(B2:AK2<0, 0), 0)` work.
- **Rounding at exact halves:** Exact halves now match Excel. An average of 90.05% displays as 90.1%, and `TEXT(2.675, "0.00")` returns 2.68.

## 0.2.3

*5 November 2026*

This is the first pre-release for macOS on Apple Silicon. It matches 0.2.2 on Linux, so Linux users can stay on [0.2.2](https://github.com/matsonj/jsheets-releases/releases/tag/v0.2.2).

### New on macOS

- **Mac app:** Packaged in a disk image with its own icon.
- **Mac shortcuts:** Shortcuts use ⌘ where Excel for Mac does, such as ⌘C, ⌘S, and ⌘D for Fill Down, and menus show Mac keys. Switch to Windows shortcuts in Preferences.
- **Consistent engineering functions:** `BESSELI`, `BESSELJ`, `BESSELK`, `BESSELY`, and `IMSQRT` match the Linux results.

## 0.2.2

*5 November 2026*

This is the first public pre-release, for Linux x86-64 (including WSL Ubuntu). In a benchmark run just before release, Claude Opus 5.5 solved 355 of the 400 SpreadsheetBench Verified tasks (88.8%) using only JSheets MCP tools; this release also fixes the JSheets bugs found in that run.

### New since 0.2.0

- **Ranges built from `INDEX` and `OFFSET`:** Formulas such as `A1:INDEX(A:A,n)`, `INDEX(r,i):INDEX(r,j)`, and `A2:OFFSET(A2,2,0)` now calculate.
- **Excel tables:** Structured references such as `Sales[Amount]` calculate, tables import from and export to Excel, and references update when you insert or delete rows and columns.
- **External workbook links:** Formulas that reference another workbook calculate from its saved values and export unchanged. Agents can update links from the linked file over MCP.
- **Text dates:** Dates typed as text, such as `3/4/2026`, are read using the workbook's day and month order. New workbooks follow your system locale, imported files infer their order, and agents can change it with undo.
- **Broader formula compatibility:** Lookups with computed `INDEX` arguments, `MATCH`, `SUMIF`, and `COUNTIF` over arrays, and omitted trailing arguments now match Excel. Of the 157 benchmark workbooks with formulas, 145 now match Excel's saved values, up from 110.

### Fixed

- **Deleting columns:** Deleting columns after earlier cell edits in the same operation no longer fails, and deleting many columns on a wide sheet uses far less memory.
- **Exporting after deleting rows:** Exporting a sheet with whole-column formatting after deleting rows now takes about a second instead of over 10 minutes.
