# 404ops Data Tables changelog

The current release remains in `readme.txt` for the WordPress.org listing. This
file keeps the complete history recommended for plugins with a long changelog.

= 3.30.4 =
* Fixed: the front-end editing, saved-views, Ask, paging and child-row routes now check access in the route's own permission callback as well as inside the handler.
* Fixed: one email address can be sent at most three editing links an hour, whoever asks.
* Changed: the admin sub-screen page slugs are now `ops404-data-tables-*`; bookmarks to the old URLs stop working.

= 3.30.3 =
* Updated the licence client (0.3.5): Pro keeps working after a licence expires.

= 3.30.2 =
* Fixed: removed dead links from the External services section.

= 3.30.1 =
* Corrected the plugin name in the bundled changelog heading.

= 3.30.0 =
* Changed: the plugin is now 404ops Data Tables. Its folder, slug and text domain are `404ops-data-tables` (Pro: `404ops-data-tables-pro`). The `[data_table]` shortcode and the Data Table block are unchanged.

= 3.29.0 =
* Added: refresh rules. Name a key column and your local cell edits survive every refresh of a linked source (conflicts are listed, never overwritten), and apply simple clean-up steps such as trim, case, find and replace, number and date normalisation, split and join on each refresh.
* Added: multi-level column group headers (up to three header rows) and merged header cells; admins can merge and unmerge cells in the Data tab. Merged cells and hidden rows now survive a refresh.
* Added: repeating form fields import as a linked child table.
* Added: AI agent tools to delete or hide rows and change columns, reads past 5,000 rows, "Ask this table" for visitors (off by default, rate limited), Ask over large tables, and editing highlight rules by description.
* Added: signed outbound webhooks (off by default) that notify an address you choose when a table changes. See External services.
* Added (Pro): charts can be created from an Ask answer and by AI agents.
* Added (Pro): PDF and Word reports gain Legal, A3, A5 and Tabloid paper, margins, column alignment and widths, a logo, group headings with subtotals, a Word page footer, tagged PDF and a PDF/A profile, and Word template files.

= 3.28.0 =
* Added: choose the rows-per-page sizes visitors see, remember their choice, and map the page-length menu of TablePress and wpDataTables imports. The grid editor now also works on one page of a server-paged table.
* Added: saved AI cleaning recipes can be edited, marked for review only when a sync really changed the table, and run in explicit 100-row batches.
* Added: detail templates gain variants chosen by a column value, show-when sections, label placeholders, child counts and sums, a visual builder and a print stylesheet.
* Added: edit saved table templates in place, start from a template on every Add New form, apply one over the REST API, and carry the rows-per-page menu, fixed layout, date order, filter presets and saved views. Signed-in visitors can keep private saved views.
* Added: page-level sticky header, right-edge pinned columns and a pinned footer.
* Added: query builder aggregates, GROUP BY, HAVING and bounded subqueries; right, full, one-to-many, many-to-many, multi-column and nested joins; live site queries and virtual joins (these two are served by the Pro add-on).
* Added: WooCommerce customers gain first and last order dates and an opt-in merge of guest orders by billing email. Ninja Tables DataTables-engine tables and #colspan# cells import.
* Added (Pro): charts over calculated columns, JPEG and PDF chart downloads, and charts that follow the table's live filters.

= 3.27.1 =
* Fixed: a missing closing brace in the stylesheet left the details dialog, detail page, detail-template layouts, print view and merged-cell styles unstyled. They are styled again.

= 3.27.0 =
* Added: an optional "Rows per page" menu so visitors can choose how many rows a table shows (off by default; turn it on in the Display tab).
* Added: table folders. File tables into folders from the editor or with the tables list's "Move to folder" bulk action, then filter the list by folder.
* Added: star-rating display for number columns (out of 5 or 10). It is accessible and drawn with CSS only, and sorting, filtering, search and exports keep the raw number.
* Added: rich detail templates now work on tables without a linked child table, with the same "Show details" button, dialog and full-view page.
* Added: merged cells in uploaded .ods and legacy .xls spreadsheets are kept, the same way .xlsx merges are.
* Added: saved AI cleaning recipes. Save a column transform, re-run it on demand, and after a source refresh the recipes are queued for review. AI changes are never applied automatically.
* Added (Pro): PNG and SVG image downloads for published charts.
* Added (Pro): US Letter paper for Word and PDF reports, and an optional "Page n of N" PDF footer.
* Fixed: OpenDocument (.ods) imports no longer silently drop rows stored as print-repeat header rows or inside grouped (outlined) rows.
* Fixed: after an inline edit, a link, email or image cell no longer shows the old value beside the new one.
* Fixed: server-mode detail drawers keep their heading and template when they open.
* Changed (Pro): updated the bundled licence client to 0.3.4.

= 3.26.8 =
* Pro update packages now publish with maintenance information and one shared licence client version.

= 3.26.7 =
* Pro update packages now publish with maintenance information.

= 3.26.6 =
* Updated the licence client and refreshed wording.

= 3.26.5 =
* Admin menu labels and headings drop the 404ops prefix; Composer loader hardened for Plugin Check.

= 3.26.4 =
* Fixed (Pro): bundled licence-client 0.3.1 accepts the older add-on constructor calls when CSV Tables supplies the shared client.
* Added: suggested CSV Tables text in the native WordPress privacy-policy editor.
* Changed: the WordPress.org listing is concise, documents every optional external-service path and links to this complete history.

= 3.26.3 =
* Changed: bundled libraries updated; translatable strings now use this plugin's text domain.

= 3.26.2 =
* Changed: requires WordPress 7.0 or newer (it was 6.9); tested up to WordPress 7.1.

= 3.26.1 =
* Changed: the plugin now requires WordPress 6.9 or newer and is tested up to WordPress 7.1.

= 3.26.0 =
* New: Excel merged cells are kept when you upload a workbook. A merged range across columns stretches its first cell; a range down rows or a block shows as one merged cell, with every row it covers still holding its value so sorting, filtering and exports stay exact per row. The import report says how many merged ranges were kept and how many were not (header-row merges and ranges over blank rows are imported as before). Merges in .ods and .xls files are not kept yet.

= 3.25.0 =
* New: fixed header and pinned columns. In a table's Display tab, keep the header row in view while the table scrolls and pin up to three leading columns. The header is the table's own header, not a floating copy, so screen readers and keyboards meet each column and sort button once. The scroll box can be reached and scrolled with the keyboard, keeps focused cells clear of the pinned areas, fits short screens and 200% zoom, and a stacked (Collapse) table on a phone pins nothing.

= 3.24.0 =
* Fixed (Pro): the Pro zip now includes the chart block, which was missing from it.
* Fixed: the import screen no longer writes a debug.log line on every visit when probing for wpDataTables.
* Maintenance: the plugin now bundles its own prefixed copy of the 404ops UI kit, so its admin screens share one 404ops menu and stylesheet with the other 404ops plugins and each plugin can update its UI independently. AI features also use the updated private AI client (0.4).
* Maintenance (Pro): uses licence client 0.3, and every Pro add-on now registers its own copy of the licence client so the newest one wins when several are active. Update all 404ops Pro add-ons together.
* Readme: discloses the bring-your-own-key AI providers under External services.

= 3.23.1 =
* Maintenance: AI features now use a private, namespaced copy of the AI client and the shared AI connection settings, so each 404ops plugin can update its AI code independently. If you use AI features, re-enter your AI connection once on the AI Connection screen. No other change.

= 3.23.0 =
* New: **Data Tables tools for AI agents** (with Agent Gate) — agents can list tables, query rows with filters and sorting, and describe a column; and they can propose adding rows, editing a cell or refreshing a source, each shown to an administrator with the exact change before it happens. Agents only ever see what a visitor would see: hidden rows and columns are never returned, and tables built from personal data (orders, customers, form entries, private APIs) are refused.
* Edits are checked against each column's type at approval, refused on tables that mirror their source, and recorded in the write log as made by an agent.

= 3.22.0 =
* New: **Migrate from Visualizer** (#28) — an Import from Visualizer screen lists your Visualizer charts and tables (Visualizer can be deactivated), previews each one, then imports its data as a typed table; with Pro, line, area, column, bar, pie/donut, scatter, radar and polar charts are recreated with their title, axis titles, colours, legend and stacking. Settings that can't be carried over are listed. Visualizer's own data is only read, never changed.
* New: an optional `[visualizer id=N]` compatibility shortcode (off by default) keeps pages working after you switch — it only renders charts and tables you migrated, and stays off while Visualizer is active.
* Remote chart sources (URL or database) import their last stored data; nothing is fetched and database credentials are never read.

= 3.21.0 =
* New (Pro): **PDF export in any language** — PDFs now embed just the font glyphs a table uses, so Greek, Cyrillic, Vietnamese, Hebrew and Arabic print correctly (right-to-left text reordered, Arabic letters joined) and stay searchable and copyable. Fonts (Noto Sans, SIL Open Font License) ship with Pro; for Chinese, Japanese or Korean, upload a TrueType font once under Export → PDF fonts. Latin-only PDFs are unchanged.
* New: **TablePress merged blocks** — cells merged across both rows and columns in TablePress now import as one merged block instead of being flattened. Sorting, filtering or paging splits a block cleanly (each row keeps its value); exports stay a flat table.

= 3.20.0 =
* New: **WooCommerce customers, continued** (#21) — optionally include **guest customers** (buyers without an account), grouped by email with their order count, total spent and first/last order dates; **filter** customers by role, registration date, billing country, minimum orders and minimum total spent; and add up to five **custom user fields** (including ACF fields) as columns.
* Custom fields must be registered or on your own allow-list; password, token, key and internal fields are always refused. Tables built with earlier versions refresh exactly as before, and all of this still requires permission to manage WooCommerce, at import and at every refresh.

= 3.19.0 =
* New: **Visual query builder** (#19) — build a table from your own site's database without writing SQL: pick tables and columns, join them (with suggested joins for posts, meta, terms, users, comments and WooCommerce), add typed filters, sorting and a row limit, preview the first 25 rows, then create the table and refresh it later like any other source.
* Safe by construction: the browser never sends SQL; the server checks every table and column against your database, refuses passwords, activation keys, session tokens and similar secrets, and runs a read-only query with a time limit. Columns holding personal data (emails, IPs, names) are flagged and imported hidden, and the table stays private to visitors while any of them is shown.

= 3.18.0 =
* New: **Share table templates as files** (#17) — export any template as a small JSON file and import it on another site. Imported files are checked strictly: only what the template editor itself could build is kept, and the screen lists anything dropped or corrected.
* New: **Start an empty table from a template** — its columns, types and look, ready for rows.
* New: **Five starter templates** — Price list, Team directory, Product comparison, Event schedule and Budget tracker — added to your templates with one click.
* New: rename a template.

= 3.17.0 =
* New: **Migrate from Ninja Tables** (#23) — Data Tables now imports from all three market-leading table plugins (TablePress, wpDataTables, Ninja Tables). Each Ninja table gets a readiness verdict and a full preview (column mapping, row count, rows hidden from visitors, which settings carry over, and a named list of what does not) before anything is imported. Your Ninja Tables data is only ever read, never changed. Re-importing refreshes the same table, "Import all" continues past a table that fails and names why, and undo is a normal delete.
* A column keeps a number, date, image or URL type only if every value really is one; otherwise it imports as text and the preview says why. Rows Ninja kept from visitors (skip/limit settings) import as rows hidden from visitors. Tables whose rows live elsewhere (linked CSV or Google Sheet, forms, posts, WooCommerce) or that are too large are refused by name, with nothing written.

= 3.16.0 =
* New: **Joined tables** (#19) — build a new table from two of your tables by matching a key column (for example orders to customers by customer id). Pick the two tables, the key on each side, inner or left join, and which columns to keep; the result is an ordinary table you can filter, sort, chart and export. The lookup side's key must be unique, so a join can never multiply rows, and rows with blank keys never match. A join only ever copies what a visitor could already see: rows and columns hidden in either source are left out, and if a source later hides something the joined table goes dark until you rebuild it. Tables that hold personal data by design (WooCommerce orders and customers, form entries, private-API tables) cannot be joined. Rebuild refreshes it; live/automatic refresh is not part of this version.
* Note: 3.15.0's features (table templates, PDF export) were tagged but their release pipeline was blocked by a test defect fixed since; they ship in 3.16.0.

= 3.15.0 =
* New: **Table templates** (#17) — save a table's look as a template (display settings, headers/footers, column formatting and highlight rules — never its data), then apply it to another table or start an import from it. Columns are matched by label, an incompatible setting is skipped and reported instead of forced, and nothing in the target's data, keys or cell colours is touched. Applying shows a preview of the mapping first.
* New: **PDF export** (#20, Pro) — export a table as a PDF from the public export route and live tables, with the same report layout options as Word (title page, intro, footer, font, size), repeating header rows and page numbers. Uses only the authorized columns and visible rows, like every other format. Latin-script text only for now: other scripts print as a counted `?` (reported in a response header), and very wide tables (over about 14 columns) are refused rather than squeezed. Use your browser's Print / Save as PDF for other scripts.

= 3.14.0 =
* New: **Detail templates** (#8) — design what a row's detail view shows. On the Display tab, write a short layout with `{column}` placeholders (and `{children}` for the linked child table); click a column chip to insert it, and preview it against a real row before saving. Values are always escaped, links and images come only from URL/Image columns, and the layout HTML is limited to safe structural tags. The same layout is used by the inline drawer, the popup and the full-view page. Rows hidden from visitors still cannot be opened. With no template set, nothing changes.

= 3.13.0 =
* New: **Highlight with AI** (#9) — on the admin data grid, describe conditional formatting in plain language ("sales under 10 in red, over 100 in green") and the AI proposes ordinary highlight rules. You see each rule, and how many cells it would paint, before anything is saved; new rules are added after a column's existing ones and never replace them. Every proposed rule is checked by the same validation the Columns tab uses, so it can only be a rule you could have made by hand, and anything the AI got wrong is listed rather than saved. Only the description, column names, existing rules and a few sample values are sent to your provider — never columns or rows hidden from visitors, and never data from WooCommerce orders/customers, form entries or private-API tables. Needs an AI connection (bring your own key).

= 3.12.0 =
* New: **Ask about this table** (#9) — on the admin data grid, ask a question in plain language ("total sales by region", "which reps sold over 30?") and get rows, a number, a count or a ranked list. The AI only works out HOW to answer: it proposes a plan that is checked against your table's real columns and then computed from your data, so the numbers are never made up, and the panel says in plain words what it understood. Only the question, the column names and a handful of sample rows are sent to your provider — never columns or rows hidden from visitors. Tables that hold personal data by design (WooCommerce orders and customers, form entries, private-API mirrors) are never sent. Needs an AI connection (bring your own key); nothing is changed.

= 3.11.0 =
* New: **TablePress merged rows are preserved** (#23) — a `#rowspan#` cell now imports as a merged row cell instead of blank. The merged cell is drawn merged wherever its rows sit together; when a sort, filter or page break separates them, each row shows its own copy of the value, so sorting, searching and exports stay exact per row. Only `#span#` blocks (a merge across both rows and columns) still import blank, and the import note says how many cells that affected. Re-importing re-applies TablePress's merges.

= 3.10.0 =
* New: **TablePress merged columns are preserved** (#23) — a `#colspan#` cell now keeps its value and stretches over the cells beside it instead of importing blank. Sorting, searching, filtering and exports still treat each column separately (the covered cells are empty), and hiding a covered column narrows the merge. Merges that cross rows (`#rowspan#`, `#span#`) still import blank, and the import note says exactly how many cells that affected. Re-importing re-applies TablePress's merges.

= 3.9.0 =
* Fixed: **rows hidden in TablePress no longer import as visible** (#23) — they are kept as rows hidden from visitors. A hidden row stays in the table, the admin grid and the admin export, and is omitted from everything a visitor can read: the page markup, server-mode pages, search, filters, facet choices, footer sums, the row's own detail page and drawer, linked child tables, and the public editing surface. Re-importing re-applies TablePress's hidden rows.
* New: **Hide / Show selected from visitors** on the admin data grid, with a text marker on hidden rows.

= 3.8.0 =
* New: **WooCommerce customers source** (#21) — build a table from your shop's customer accounts: id, name, email, country, order count, total spent, registration date. Refresh re-runs the saved query. Customers are personal data: importing or refreshing requires a user who may manage the shop, and the import form says so up front. Guest checkouts (no account) are not rows in this version. Read through WooCommerce's own customer object; nothing queries SQL directly.

= 3.7.0 =
* New: **WooCommerce orders source** (#21) — build a table from your shop's orders: number, status, date, total, currency, payment method, customer email, item count. Refresh re-runs the saved query. Orders are customer data: importing or refreshing requires someone who may manage the shop's orders, and the form says so before the import. Refunds are not rows in this version.

= 3.6.0 =
* New: **Option panels for every chart family the wizard can honestly author** (#1) — the panel set grew from ten families to twenty-four: scatter/bubble axes and bounds, the angle families' start angle plus value axes, gauge range, treemap/funnel labels, and the financial axes. Every control maps 1:1 onto a compiler-validated field.
* New: **Registered map sources** (#1) — geo-map charts are authorable for real: upload a GeoJSON boundary set on the Charts tab (content-addressed, validated, bounded), author the chart through the wizard's map-source panel, and the preview and every embed render the exact boundaries the chart was authored against. A map a chart still pins cannot be deleted.

= 3.5.0 =
* New: **Authenticated automation API** (#6, P13) — external clients with an Application Password can create tables from inline CSV, reconfigure them through the revision CAS, trigger the exact refresh a screen runs (sync/refresh/resnapshot, bound to the table's own recorded source), and read diagnostics that carry state kinds and never data. Pro charts automate through the same CAS, licence-checked per request, no browser nonce. The REST inventory is now pinned to reality in both directions by a route-walking test.
* New: **Form-source refresh adopts appended fields** (#22, P11) — a field added at the END of a form is adopted on refresh as a new typed column (entries captured before it read blank); every other layout change still refuses, named. The honesty is re-proven inside the write's ownership window.
* New: **IvyForms source adapter** (#22, P11) — the fourth form-entries source, reading through IvyForms' own repository layer: published-only listings with real counts, parent fields keyed by numeric field ID, date/time values formatted the way IvyForms' own screens show them.
* New: **One edited-imported-row contract** (#18, P02) — a table whose source the plugin re-reads now refuses local row edits at both the admin grid and the public routes, naming what would replace them; tables with no fresher source stay fully editable, judged by the same oracle the Refresh link uses. The front end renders no dead edit buttons. See docs/editing.md.

= 3.4.0 =
* New: **Per-cell style overrides** (#17) — admins can paint individual cells from the fixed style palette (good/warn/bad/highlight, bold) right in the spreadsheet grid. Overrides outrank column rules and formatting, are keyed to the row so they survive sorting, and exports stay raw. Visitors can never author styles.
* Fixed: the Add New screen's source forms no longer swallow each other's submissions; the WordPress-content import form routes reliably.

= 3.3.0 =
* New: **Saved views** (#19) — save named filter/sort/column views per table and let visitors apply them from a selector. Views are admin-authored and re-validated on every request; a view whose column later disappears is flagged in the editor and skipped for visitors, never fatal. Free.
* New: **Child-row editing in parent details** (#8) — where permissions allow, the linked rows inside a parent's detail are editable in place: typed cells, create pre-linked to the parent, delete with confirm — all under the child table's own permission model.
* Fixed: the Add New screen's source forms no longer interfere with each other's submissions (each form routes on its own marker before proving its nonce).

= 3.2.0 =
* New: **Table structure: column groups, subheaders, footers, merged cells** (#17) — group columns under a spanning header, add a subtitle line and a footer with server-computed sums (exact decimal in client mode, generation-anchored over the filtered set in server mode), and merge identical adjacent cells in a designated column. Sorting, filtering and search keep working per-row; exports stay flat.
* New: **wpDataTables chart migration** (#23) — charts from an existing wpDataTables install migrate into the native chart system, preview-first: honest readiness per chart, mapped definitions validated through the chart compiler, per-chart rollback, and the source plugin never touched.

= 3.1.0 =
* New: **PostgreSQL connections** (#19) — the database connector gains a PostgreSQL driver: same least-privilege management, sealed credentials, typed snapshots, and (Pro) live tables that read the external database at view time. Labelled experimental; MySQL remains the default.
* New: **Scheduled auto-refresh** (#18) — file, XML, PHP-array, WordPress-content and Google Sheets sources can refresh themselves on a schedule (hourly, twice daily, or daily). One bounded cron job drives the same safe replace path the manual refresh uses; failures keep the previous data and are reported per table.

= 3.0.1 =
* New: **Page-builder embed matrix** (#21) — the embed contract is now proven by test inside Gutenberg, Elementor, WPBakery, Divi and classic widgets, with a documented builder-support table. (Landed minutes after 3.0.0; shipped separately rather than moving a protected release tag.)

= 3.0.0 =
* New: **Conditional formatting** (#17) — per-column rules (equals, contains, greater-than, is-empty and more) that color or bold matching cells, with the styles chosen from a fixed palette and the rules evaluated server-side so every render mode agrees. Exports and sorting stay exactly as they were.
* New: **Formidable Forms entries source** (#22) — import entries from Formidable Forms alongside Gravity Forms and the built-in capture store, with the same refresh honesty: source changed? It names what changed and touches nothing.
* New: **Page-builder embed proofs** (#21) — the embed contract is now proven by test inside Gutenberg, Elementor, WPBakery, Divi and classic widgets, with a documented builder-support table.

= 2.9.0 =
* New: **Detail destinations and templates** (#8) — row details can open inline (as today), in an accessible modal dialog, or on a dedicated page; a title template with validated {placeholders} names each view; and the disclosure toggle can be hidden for rows with nothing linked. Free.
* New: **Private Google Sheets source** (#18) — import from spreadsheets shared with a service account: paste the credentials once (sealed, write-only), test the connection, and the sheet's values import as a table you can refresh on demand.
* New: **Excel 97-2003 (.xls) and OpenDocument (.ods) imports** (#23) — both legacy formats read with the same fail-closed discipline as everything else; the .xls parser is cross-validated against an independent writer.
* New: **Live external MySQL tables (Pro)** (#19) — a connected database can power a table that reads its rows at view time: paged against the source, never copied, always current.

= 2.8.0 =
* New: **WordPress-content source** (#21) — import your own posts, pages and custom post types (title, date, author, excerpt, custom fields and ACF fields) as a table, with a refresh action that re-reads the current content. Visibility follows WordPress's own rules; drafts only ever enter tables an editor builds.
* New: **Form entries source** (#22) — a capture hook any form plugin can feed with one line of glue, a built-in entries store, and a Gravity Forms adapter (when GF is present). Field labels map to typed columns; refresh pulls new entries and names exactly what changed instead of guessing.
* New: **Word (.docx) export** (#20) — the whole-result export gains a real Word document: typed cells, title and provenance line, deterministic bytes. Scope and filters carry over from the other export formats.

= 2.7.0 =
* New: **XML and PHP-array sources** (#18) — two more native connectors with the same bounded, fail-closed discipline as the JSON importer (canonical-safe XML parsing, attribute and child-element mapping, namespace basics by local name; developer-registered PHP arrays). Every retained file source gains a **Refresh** action that re-reads the current file through the safe replace path and reports rows added, removed and changed — failures leave the previous data live.

= 2.6.0 =
* New: **External MySQL connector** (#19, first slice) — connect an external MySQL database (least-privilege guidance, sealed write-only credentials, connection test with classified failures), browse its tables, and import a typed snapshot you can refresh on demand. The connector can only ever send SELECT/SHOW — the guard is structural, and writable connections are out of scope by design.
* New: **Parent-child linked tables** (#8, first slice) — link a child table to a parent (child table + key-pair, validated both sides) and expanding a parent row shows its linked child rows in the row detail, rendered through the child's own visibility rules. Free, and stable across filtering and paging.

= 2.5.0 =
* New: **Editing on server-mode tables** (dt#17) — the spreadsheet's server-rendered cousin: visitors permitted to edit can now do so on paged, server-mode tables too. Each fetched page carries fresh revision tokens computed server-side; conflicts still show yours-versus-theirs.
* New: **"Migrate all eligible" for wpDataTables imports** (#23) — import every ready table in one pass with a per-table summary (imported / failed / skipped, with reasons); the source stays read-only and each import rolls back independently.
* New: **Visitor editing by verified email** (dt#5) — a verification form issues a single-use, 30-minute link; confirming it lets the visitor edit exactly the rows that are theirs for the browsing session. No enumeration: every reply is identical whether or not the address owns rows. Plus an admin control for which roles may edit any row.

= 2.4.0 =
* Performance: **Large-table builds are ~35× faster** (dt#2) — a 100,000-row table with formula columns now materializes in about a minute, down from roughly half an hour. The bottleneck was an integrity check whose query shape silently degraded at scale; the check's meaning is unchanged, and every corruption guard still passes.
* New: **Spreadsheet editing mode** (dt#17) — editors can toggle a grid view, edit every writable cell with keyboard navigation, paste a range from any spreadsheet, and undo before saving. Saves remain row-by-row, conflict-checked: if someone changed a row first, yours-versus-theirs is shown and nothing is overwritten.
* New: **Export scope and print** (dt#20) — exports can cover all matching rows or just the current page, and a print-optimized view turns the browser's Save-as-PDF into your PDF path, with the applied filters stated on the printout.
* New: **Chart authoring wizard** (dt#1, first slice) — pick a chart family from a gallery, answer a few questions about columns and aggregation, and a validated definition lands in the editor, ready to refine. The wizard cannot produce a definition the renderer rejects.

= 2.3.0 =
* New: **Move over from wpDataTables** (#23) — a migration importer that detects an existing wpDataTables install, shows every table with an honest readiness report (what maps, what transforms, what does not migrate — named per table), previews the whole import before anything happens, and imports through the same pipeline CSV imports use. Your wpDataTables data is never modified; every import can be rolled back; stored SQL queries run only after proving they are a single read-only SELECT, and anything the importer cannot represent exactly is named rather than approximated.

= 2.2.0 =
* New: **Chart data exports** (#1) — every published chart's data downloads as deterministic CSV or Excel from its public page, with error and empty states exported exactly as the chart shows them. The admin preview and the public chart now provably draw from one aggregation seam (byte-identical results, pinned by test).

= 2.1.0 =
* New: **JSON and Excel exports** (#20) — alongside CSV, the whole-result export now offers full-fidelity typed JSON (numbers exactly as stored, never through floating point) and a real Excel workbook with typed cells, streamed under the same size and time caps. Export bytes are deterministic: the same table exports to the same file, every time. Formats honor exactly the same visibility rules and filters as the CSV export.

= 2.0.0 =
* New: **Safe front-end editing** (dt#5, dt#17 — first slices) — tables can opt into editing with a full permission model: administrators configure which columns are editable and optionally an ownership column, and visitors edit only their own rows (identity is verified server-side and never taken from an editable cell). Edits are typed, keyboard-operable, and conflict-safe: if someone else changed a row first, yours-versus-theirs is shown and nothing is silently overwritten. Every write is revision-checked and audited (who and when, never the values). Editing is OFF by default — existing tables render exactly as before.

= 1.9.0 =
* New: **Server-side paging, filtering and search** (#7) — tables rendered in server mode now actually have a serving route: pages, the combined-conditions builder, fuzzy search and sorts run through one validated REST endpoint (visible-column whitelist, typed comparisons, bounded sizes), with the client and server proven to agree on a shared fixture. Rows come back through the same escaping and formatting path as the initial render.
* New: **Saved filter presets and shareable views** (#7) — admins define named condition sets per table (one-click chips for visitors, working in both render modes), and any visitor filter state can be carried in the URL and applied on load.

= 1.8.0 =
* New: **Fuzzy search and the combined-conditions filter builder** (#7) — two opt-in per-table settings. Fuzzy search makes the global box typo-tolerant (bounded subsequence fallback, deterministic ranking, exact matches always first). The filter builder adds an ALL/ANY condition panel over every visible column with typed comparisons for number, currency, date and time columns — both client-side enhancements, injected only when enabled; visitors without JavaScript see nothing new and existing tables are unchanged.
* Performance: query-plan lineage for large tables (gap-4) — search-driven, deep-page and count queries now pick their driving table deliberately, with forced primary-key probes on build verification. Re-measured at 100k rows: materialization, rebuild and concurrent-reader targets cleared (previously a 100k build could sit at a ~30-minute wall).

= 1.7.1 =
* Maintenance: Acquired-use licence maintenance wiring (licence-client#5): activation can enrol licences carrying an acquired-use policy; existing licences are untouched until they do.

= 1.7.1 =

= 1.7.0 =
* New in Pro: Formulas. Add a formula column to any table, computed and verified against the table's own columns for every row, and sort by it like any other column in the admin Query preview.
* New in Pro: Charts. Build a live chart preview over 25 chart types on a table's new Chart tab, then publish it as a `[data_table_chart id="…"]` shortcode or the "Data Table Chart" block; published charts render on the front end without cookies.
* Pro is now licensed GPLv3 or later (previously GPLv2 or later) because it bundles the Apache-2.0-licensed ECharts charting library, which GPLv3 can incorporate but GPLv2 cannot; the free plugin does not bundle ECharts and stays GPLv2 or later.

= 1.6.0 =
* New in Free: native JSON file/public HTTPS source import with nested field mapping, exact number parsing, first-page inspection and complete bounded preview.
* JSON file replacement and URL refresh preserve stable columns and the last published data on failure; URL scheduling retains existing Pro entitlement requirements.
* Refuses stale JSON publication/status writes across overlapping fetches, source edits, reentrant import hooks and repeatable-read transactions.
* Signed previews bind the complete projected dataset; expired Source pages provide an explicit reload and file-reselection action.
* Combines JSON sources with the indexed administrator preview and explicitly approved Pro public queries; public policy and copy protections remain intact.

= 1.5.0 =
* New in Pro: explicit public-column approval, whole-result search and filters, multi-sort, paginated choices and complete bounded CSV exports.
* Public embeds carry no row data; an uncached no-JavaScript page provides paginated access.
* Trusted incremental preparation recovers approved tables after updates; stale data and policy generations are refused.
* Indexed text retains complete values up to 16 KiB, including long-value sorting and choices.
* Keeps public approval disabled on copies and preserved through ordinary saves and Pro removal; formatting caches respect the authorized view.

= 1.4.0 =
* New: administrator Query preview with resumable index preparation, typed full-dataset filtering, stable sorting and bounded result pages.
* Refuses incomplete or stale query generations and unsupported indexed values instead of returning misleading results.
* Keeps the previous rows and column definitions when a refresh cannot publish completely, including overlapping query/import operations.
* Reports failed imports and refreshes as failures, preserving the previous published table.

= 1.3.1 =
* Updates the Pro licensing client to select updates for this plugin when several 404ops plugins share a site.
* Prevents overlapping scheduled and manual refreshes from mixing rows in a table.

= 1.3.0 =
* New: a read-only REST API. `GET /wp-json/ops404-data-tables/v1/tables`, `/tables/{id}`, and `/tables/{id}/rows` (paginated) return your tables and their data as JSON, for a script, another plugin, or a headless front end. Every route requires the same permission as this plugin's own admin screens -- see the FAQ.
* wp.org compliance pass: added an "External services" section disclosing exactly what the CSV-link sync feature sends and when (nothing else in this plugin makes an outbound request); corrected a FAQ answer that had drifted out of sync with that same feature; raised the minimum WordPress version to 5.9.
* No behaviour changed for any existing table, shortcode, block, or schedule.

= 1.2.0 =
* New: link a table to a CSV on the web instead of uploading a file, on the table's new Source tab. Sync now re-fetches it and swaps the rows in one step, so visitors never see a half-updated table. Refreshing on a schedule -- every hour or once a day -- is a Pro add-on feature; the linking and the manual refresh are free.
* If a fetch fails, the table keeps serving the data it already had, and the reason is written down where you can read it: the Source tab shows the last result and a history of recent runs.
* "Sync now" on the tables list runs the same job by hand, through exactly the code the schedule uses.
* A table imported from a file can be pointed at a link later without losing its id, its shortcode, its columns or any of its settings.
* Scheduled runs (Pro) use WordPress's own scheduler, which fires when someone visits your site -- so a sync can land a little after its hour on a quiet site. Every table stays on "Only when I click Sync now" until you change it, and nothing is ever fetched from anywhere you did not type in yourself.
* Fixed: adding a column during a sync could, if the database refused to advance the table's column numbering, have filed the new column under a key an existing column already owned -- replacing that column while every row kept the old values under it. It now stops and says so instead.

= 1.1.0 =
* New: an optional paid add-on, CSV Tables Pro, adds highlight rules and expandable row detail. See "Free vs Pro" above.
* Nothing was moved out of the free tier to make room for it. Every feature that worked in 1.0.0 still works, unlicensed, unchanged.
* Added the `ops404_data_tables_booted` action, which is how the add-on boots. Free installs fire it and nothing listens.
* The License screen now says which tier a site is on and gives a purchased add-on somewhere to put its activation form.

= 1.0.0 =
* Initial release: CSV and Excel import, a spreadsheet-style table editor,
  block and shortcode embedding, front-end sorting/filtering/search/pagination,
  visitor CSV export and copy, six style presets, and three responsive layouts.
* Import from TablePress: read-only, re-runnable, one table or all of them,
  with existing `[table]` shortcodes and blocks kept working automatically
  once TablePress is deactivated.
