# Changelog

All notable changes to TableCrafter will be documented in this file.

## [2.2.0] - 2026-01-04
### Added
- **Docs:** Expanded the FAQ section with more common technical questions.
- **Docs:** Converted contact email to a mailto link.
- **Core:** Updated `tablecrafter-core` to v1.3.0.

## [2.1.9] - 2026-01-04
### Added
- **Docs:** Added contact information for custom plugin customization requests.

## [2.1.8] - 2026-01-04
### Fixed
- **Deployment:** Forced SVN refresh and updated Stable Tag to resolve WordPress.org display issues.
- **Core:** Updated `tablecrafter-core` to v1.2.7.

## [2.1.7] - 2026-01-04
### Fixed
- **Deployment:** Updated Stable Tag to ensure changelog and updates are visible on WordPress.org.
- **Core:** Updated `tablecrafter-core` to v1.2.6.

## [2.1.6] - 2026-01-04
### Fixed
- **Hotfix:** Resolved a ReferenceError (container is not defined) in the multiselect filter logic.
- **Core:** Updated `tablecrafter-core` to v1.2.5.

## [2.1.5] - 2026-01-04
### Fixed
- **Hotfix:** Fixed a critical RangeError (Maximum call stack size exceeded) during multiselect initialization.
- **Core:** Updated `tablecrafter-core` to v1.2.4.

## [2.1.4] - 2026-01-04
### Changed
- **Demo Data:** Updated Sales Metrics year to 2026 for a better filtering experience.

## [2.1.3] - 2026-01-04
### Fixed
- **UI:** Nuked legacy multiselect container styles that were causing inconsistent shadows and borders.
- **Core:** Updated `tablecrafter-core` to v1.2.3.

## [2.1.2] - 2026-01-04
### Fixed
- **UI:** Removed unnecessary container from Multiselect dropdowns for perfect DOM consistency.
- **Core:** Updated `tablecrafter-core` to v1.2.2.

## [2.1.1] - 2026-01-04
### Fixed
- **UI:** Perfected filter alignment and shadow behavior across all types.
- **Consistency:** Unified height, padding, and focus effects for all inputs.
- **Core:** Updated `tablecrafter-core` to v1.2.1.

## [2.1.0] - 2026-01-04
### Fixed
- **UI:** Refined dropdown filter styling to perfectly match standard text inputs.
- **Core:** Updated `tablecrafter-core` to v1.2.0.

## [2.0.9] - 2026-01-04
### Fixed
- **Logic:** Improved Date detection heuristic to prevent SKUs/IDs from being identified as Dates.
- **Core:** Updated `tablecrafter-core` to v1.1.9.

## [2.0.8] - 2026-01-04
### Fixed
- **UI:** Balanced 50/50 split for Range Filters.
- **Core:** Updated `tablecrafter-core` to v1.1.8.

## [2.0.7] - 2026-01-04
### Fixed
- **UI:** Compact horizontal layout for Range Filters.
- **Core:** Updated `tablecrafter-core` to v1.1.7.

## [2.0.6] - 2026-01-04
### Fixed
- **Logic:** Resolved dropdown clipping issue via Fixed Positioning.
- **Core:** Updated `tablecrafter-core` to v1.1.6.

## [2.0.5] - 2026-01-04
### Fixed
- **Logic:** Enhanced filter type detection to prevent false positives on small datasets.
- **Core:** Updated `tablecrafter-core` to v1.1.5.

## [2.0.4] - 2026-01-04
### Fixed
- **Logic:** Numeric IDs no longer incorrectly treated as dates.
- **Core:** Updated `tablecrafter-core` to v1.1.4.

## [2.0.3] - 2026-01-03
### Fixed
- **CRITICAL:** Fixed missing CSS deployment and "Invisible Table" bug.
- **Core:** Updated `tablecrafter-core` to v1.1.3.

## [2.0.2] - 2026-01-03
### Fixed
- **Bug:** Resolved "Invisible Table" issue via column auto-discovery.
- **Core:** Updated `tablecrafter-core` to v1.1.2.

## [2.0.1] - 2026-01-03
### Fixed
- **Bug:** Resolved "Loading..." issue for remote sources.
- **Admin:** Updated Admin Preview API initialization.
- **Core:** Updated `tablecrafter-core` to v1.1.1.

## [2.0.0] - 2026-01-03
### Added
- **Engine Upgrade:** Unified with `tablecrafter-core` 1.1.0.
- **Hydration:** Added Smart Hydration for SSR tables.

## [1.9.2] - 2026-01-02
### Changed
- **Performance:** Added intelligent debouncing (300ms) to Live Search. Prevents UI freezing when typing rapidly in large datasets.

## [1.9.1] - 2026-01-01
### Fixed
- Fixed API caching issue where the renderer ignored pre-warmed data. Now uses read-through caching for instant loads.
### Added
- Added documentation for premium Gravity Tables addon.

## [1.9.0] - 2026-01-01
### Added
- **Smart Nested Data Rendering:** Automatically handles Arrays and Objects. Nested items are now rendered as elegant tags or badges instead of `[object Object]`.
- **Plugin Rebranding:** Officially renamed to "TableCrafter – WordPress Data Tables & Dynamic Content Plugin" for better alignment with feature scope.

## [1.8.0] - 2026-01-01
### Added
- **Custom Column Aliasing:** Rename headers directly in the shortcode using `include="key:My Label"` syntax.
- **Smart Export:** CSV exports now respect your custom column aliases.
- **Mobile Reflow:** Mobile card view now uses professional aliases for labels.

## [1.7.0] - 2025-12-31
### Added
- **Smart Data Formatting:** Automatically detects and formats **Dates** (to locale string), **Booleans** (Yes/No badges), and **Emails** (mailto links).
- **UI Polish:** Added professional styles for Boolean badges and links.

## [1.6.0] - 2025-12-29
### Added
- **Data Export:** Added toolbar with "Export to CSV" and "Copy to Clipboard" buttons.
- **Context-Aware:** Export features respect current search filters and column settings.
- **Settings:** New `export="true"` attribute for shortcode and Gutenberg block toggle.

## [1.5.1] - 2025-12-25
### Added
- **Mobile-First Reflow:** Tables now intelligently transform into a "Card View" on small screens.
- **Semantic Accessibility:** Added `data-tc-label` attributes for mobile views.

## [1.5.0] - 2025-12-20
### Added
- **Interactive Sorting:** Click column headers to sort numerically or alphabetically.
- **Smart Type Detection:** Automatic handling of string and number sorting.
- **Visual Sorters:** Arrows added to headers.

## [1.4.1] - 2025-12-15
### Fixed
- **Security Hardening:** SSRF (Server-Side Request Forgery) protection for data proxy.
- **Authorization:** Standardized `current_user_can` checks.

## [1.4.0] - 2025-12-10
### Added
- **Pagination Engine:** Client-side pagination for large datasets.
- **Control UI:** Previous/Next footer controls.

## [1.3.1] - 2025-12-05
### Added
- **Live Search:** Real-time filtering search bar.

## [1.3.0] - 2025-12-01
### Added
- **Gutenberg Support:** Native WordPress Block with visual sidebar.
- **Live Preview:** Instant rendering in the Block Editor.

## [1.2.2] - 2025-11-25
### Added
- **Root Path Selection:** Support for nested JSON data arrays via `root` attribute.

## [1.2.1] - 2025-11-20
### Added
- **SWR Caching:** Stale-While-Revalidate caching for faster TTFB.

## [1.2.0] - 2025-11-15
### Added
- **SSR Engine:** Server-Side Rendering for SEO and elimination of loading flicker.

## [1.1.2] - 2025-11-10
### Added
- Expanded shortcode documentation and examples.

## [1.1.1] - 2025-11-05
### Added
- **Column Filtering:** Support for `include` and `exclude` attributes.
- **Visual Rendering:** Auto-detection for images and links.

## [1.1.0] - 2025-11-01
### Added
- **Data Proxy:** Bypasses CORS restrictions.
- **WP-CLI Support:** Cache management via command line.
- **Automated Refresh:** Background cache warming (WP-Cron).

## [1.0.1] - 2025-10-25
### Fixed
- Refactored script handling for WP.org compliance.

## [1.0.0] - 2025-10-20
### Added
- Initial release.
- Live admin previewer.
- Smart column detection.
