Repository navigation
Releases
Releases · duhanguler/datadeck
DataDeck v1.1.2 — Round-2 Bug Hunt & Security Hardening
Security Hardening
- Enforced
delete_shop_orderscapability insideWooOrderEntityAdapter::delete_records(). - Enforced
publish_postsdowngrade and status whitelisting on post/product creation (PostEntityAdapter,WooProductEntityAdapter). - Scoped multi-author visibility in
SmartQueryPlannerso low-privilege contributors cannot view other authors' private posts or unpublished drafts. - Enforced object-level checks on
GET /history/record/{entity}/{id}andGET /records/{entity}/{id}, requiredmoderate_commentsfor the Comments grid, verifiedcan_read()on native list toggle pills, and enforcedpromote_user+get_editable_roles()on user role edits. - Added atomic
scheduled -> runningclaim lock inCampaignScheduler::run_campaign()to prevent duplicate execution under overlapping workers, refused capability bypass when the scheduling user was deleted, restrictedrevertAtin bulk mode to elevated roles, and blocked rolling back non-applied batches.
Bug Fixes & Data Integrity
- Fixed WooCommerce
sale_price/regular_pricefilters andwoo_margin_auditlens false positives caused bywc_product_meta_lookup.min_price/max_pricestoring effective_priceon simple products. - Included
wcl.skuin numeric searches (EAN/UPC barcodes), fixed MySQL numericisempty(0 = '') and empty-string postmeta decimal casts, added boolean meta filters +Yes/NoUI selector, preservedonbackorderwhen stock reaches 0 with backorders enabled, cleared unique_sku/sales stats on duplicated WooCommerce products, preventedsanitize_email()from wiping existing emails on invalid input, protected serialized PHP arrays from plain-text overwrites, fixed HPOS order matching in CSV import, and fixed Plain Permalink CSV/JSON export URLs. - Enforced compile-time function whitelist &
if()arity validation in ASTExpressionEngine, fixed empty-string+addition &false == 0equality, preserved pending auto-revert batches during daily pruning, prevented partial rollback lockout, and booted Abilities API on/wp-json/wp-abilities/requests. - Frontend UX: fixed locale currency parsing (
$1,250.00,1.250,99) across inline edit, paste, and live aggregations; fixed WordPress Media Modal cancel freezing keyboard navigation; added single-commit guard on Enter/Tab/Escape; added full-record hydration in Inspector Drawer; initializedcase_transform/round_endingbulk defaults; auto-refreshed visible computed columns after inline edits; and fixed multiline CSV analyze sampling.
DataDeck v1.1.1 — Security Hardening & Bug-Hunt Release
Security & Bug-Hunt Fixes in DataDeck v1.1.1
Security Hardening
- Restricted scheduled campaigns, global Saved Views, and global Computed Columns to elevated roles (
manage_options,edit_others_posts, ormanage_woocommerce), and executed scheduled campaigns under the scheduling user's original capability context. - Enforced entity-level read checks on
/historyand/history/{uuid}and prevented unauthorized rollback attempts from marking batches asrolled_back. - Enforced
publish_posts,delete_post, andedit_others_postschecks inCorePostFieldProviderto prevent low-privilege draft publication or author reassignment. - Added entity read permission check to
datadeck/preview-bulk-editand editor/admin guard todatadeck/rollback-batchAbilities.
Critical & High Bug Fixes
- MySQL 8
ONLY_FULL_GROUP_BYcompatibility: Switched joined sorting inSmartQueryPlannertoGROUP BY p.ID ORDER BY MAX/MIN(...)to prevent SQL error 3065 on strict MySQL 8 servers. - Streaming export & bulk cursors: Fixed
WooOrderEntityAdapter::stream_ids()truncation past 500 orders, preservedORfilters across chunks inSmartQueryPlanner::stream_post_ids(), and preserved search/lens/filters inUserandCommentstreaming cursors. - AST Tokenizer: Excluded
-from identifiers so expressions without spaces likeregular_price-sale_priceorregular_price-10evaluate accurately as subtraction. - Colon-namespaced field sorting & history: Preserved
:insort_field, Saved ViewsortField, and cell-historyfieldfilters (acf:*,meta:*). - Right-click context menu filtering: Emitted canonical
is/isnotoperators across all field types. - Bulk engine & Grid UX: Fixed comma-separated taxonomy bulk transforms, skipped empty prices in
math_percent/round_ending, caught duplicate-SKUWC_Data_Exceptionon product creation, unscheduled Action Scheduler actions on cancel, added PHP 8.4-safefputcsvescape param, fixedShift+Arrowrange anchor drift, formatted Taxonomy/Media cleanly onCtrl+C, protected Media cells onCtrl+V, syncedInspectorDraweron record updates, and defined missing--rc-accent-soft/--rc-danger-softCSS tokens.
DataDeck v1.1.0 — Smart CSV Import, Computed Formulas & Excel Grid
What's New in DataDeck v1.1.0
Smart CSV / JSON Import Wizard + Dry-Run Diff + One-Click Rollback
- Upload or paste CSV/JSON spreadsheets with automatic delimiter detection (comma, semicolon, tab) and UTF-8 BOM stripping.
- Auto-map headers to DataDeck fields and match existing records by ID, SKU, Slug, or Email in a single batch SQL query.
- Preview exact row-by-row
Before → Afterdiffs before applying in safe chunks—with full One-Click Rollback andwp datadeck importWP-CLI support.
Virtual Computed AST Formula Columns (fx)
- Built-in WooCommerce Discount % and Inventory Value virtual columns plus custom user-defined AST formula columns that evaluate live without writing to the database and auto-hydrate hidden dependencies.
Excel-Grade Grid Ergonomics
- Corner Fill Handle (
.rc-fill-handle) with smart series inference (SKU-001 → SKU-002, arithmetic progressions, repeat fill). - Right-Click Context Menu: Filter by this value (=), Exclude this value (!=), Copy cell value, Apply to selected rows, View cell audit history, Duplicate row, Open in Classic Editor.
- Sticky Aggregation Footer Bar: Real-time
SUM,AVG,MIN,MAX,COUNTwith zero extra SQL queries. - Drag-and-Drop Column Header Reordering directly on the grid.
Safety, Ecosystem & Quality Gates
- Optimistic Concurrency Guard (
_modifiedAtconflict detection with server vs. local diff resolution). - Cell-Level Audit History & Single-Cell Rollback directly in the Inspector drawer.
- WordPress Comments & WooCommerce Reviews entity adapter with inline moderation lenses.
- SEOPress & All in One SEO (AIOSEO) auto-detection alongside Yoast SEO and Rank Math.
- PHPStan Level 6 (0 errors) + Frontend Unit Tests enforced in GitHub Actions CI.
Quick Install: Download datadeck.zip below and upload via Plugins → Add New → Upload Plugin.
DataDeck v1.0.0 — Initial Public Release
DataDeck v1.0.0
100% Free & Open Source (GPLv2+). No Pro Version. No Paywalls. No Dashboard Ads.
Highlights
- Universal Entity Engine: Posts, Pages, Custom Post Types, Media Library, Users, WooCommerce Products (with inline expandable Variations), and HPOS Orders.
- Zero-Paywall Integrations: Core, Native Meta, ACF & Secure Custom Fields (SCF), Meta Box, WooCommerce CRUD, Yoast SEO, and Rank Math.
- Zero-Shift Spreadsheet Grid: Built on WordPress 7.0
--wpds-*design tokens with0pxlayout-shift inline cell editing, 3 density modes, Excel/Google SheetsCtrl+C/Ctrl+Vmatrix paste, Fill Down (⌘D), and⌘KCommand Palette. - Safe AST Bulk Formula Engine (Zero
eval()): Dry-Run Before/After diff previews, adaptive chunking, and Scheduled Auto-Reverting Campaigns. - Audit History & One-Click Rollback: Compact delta snapshots for every inline edit, paste, and bulk batch.
- Performance Verified:
0 Bfrontend footprint ·25.4 KBgzip initial bundle ·6–8 SQLqueries/page ·0official WordPress Plugin Check (PCP) errors &0trademark warnings.
Quick Install
Download datadeck.zip below and upload via WordPress Admin → Plugins → Add New → Upload Plugin, or try live in WordPress Playground.