Skip to content

DataDeck v1.1.1 — Security Hardening & Bug-Hunt Release

Choose a tag to compare

@duhanguler duhanguler released this 22 Nov 01:04
· 1 commit to main since this 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, or manage_woocommerce), and executed scheduled campaigns under the scheduling user's original capability context.
  • Enforced entity-level read checks on /history and /history/{uuid} and prevented unauthorized rollback attempts from marking batches as rolled_back.
  • Enforced publish_posts, delete_post, and edit_others_posts checks in CorePostFieldProvider to prevent low-privilege draft publication or author reassignment.
  • Added entity read permission check to datadeck/preview-bulk-edit and editor/admin guard to datadeck/rollback-batch Abilities.

Critical & High Bug Fixes

  • MySQL 8 ONLY_FULL_GROUP_BY compatibility: Switched joined sorting in SmartQueryPlanner to GROUP 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, preserved OR filters across chunks in SmartQueryPlanner::stream_post_ids(), and preserved search/lens/filters in User and Comment streaming cursors.
  • AST Tokenizer: Excluded - from identifiers so expressions without spaces like regular_price-sale_price or regular_price-10 evaluate accurately as subtraction.
  • Colon-namespaced field sorting & history: Preserved : in sort_field, Saved View sortField, and cell-history field filters (acf:*, meta:*).
  • Right-click context menu filtering: Emitted canonical is / isnot operators across all field types.
  • Bulk engine & Grid UX: Fixed comma-separated taxonomy bulk transforms, skipped empty prices in math_percent/round_ending, caught duplicate-SKU WC_Data_Exception on product creation, unscheduled Action Scheduler actions on cancel, added PHP 8.4-safe fputcsv escape param, fixed Shift+Arrow range anchor drift, formatted Taxonomy/Media cleanly on Ctrl+C, protected Media cells on Ctrl+V, synced InspectorDrawer on record updates, and defined missing --rc-accent-soft / --rc-danger-soft CSS tokens.