# Change Log
## 1.4.16
*(2026-11-10)*

#### Improvements
* New permission **Advanced Dashboard > Create and edit widgets** in **System > Permissions > User Roles**. Adding, editing, duplicating and deleting boards and widgets, and sharing a board, now need it; a role with **Advanced Dashboard** alone views its boards. Roles with full access are not affected; if a custom role edits dashboards, grant it the new permission after the upgrade

#### Fixed
* Security fixes
* The remote access links of all dashboards are replaced once during the upgrade, and links shared earlier stop working. To share a dashboard again, open **Share** on the board and send the new link

---

## 1.4.15
*(2026-11-10)*

#### Fixed
* Fixed embedded content disappearing from HTML dashboard blocks after the 1.4.14 security update. An embedded frame (for example a video, a map or an external report) is shown again when its address starts with `https://`. For safety it is always displayed in a restricted (sandboxed) frame and keeps only its address, size, title and styling; frames with an `http://` or other non-secure address are still removed.

---


## 1.4.14
*(2026-11-04)*

#### Fixed
* Security fixes
* HTML dashboard blocks now show text formatting, headings, lists, tables and links only; images and embedded content in an HTML block are no longer displayed

---

## 1.4.13
*(2026-11-02)*

#### Fixed
* Fixed dashboard permissions: admin users without the "Advanced Dashboard" permission could still load dashboard widget data through the dashboard's background requests. Loading widget data now requires that permission; a dashboard opened through its mobile access link keeps working without an admin login, as before.
* Fixed public dashboard access on the storefront: widget data could be requested from the storefront for any dashboard, including ones not shared there. Now only a dashboard with mobile access enabled and shared on the storefront answers there; any other request gets a translated "Access denied." message instead of a redirect to the admin login page, so the admin address is no longer revealed.
* Fixed database error details being shown when a dashboard widget failed to load or a dashboard failed to save or delete — the message could include the full SQL query, including on a dashboard shared publicly on the storefront. A short, translated message is shown instead, and the full error is written to the exception log.

---


## 1.4.12
*(2026-09-21)*

#### Improvements
* ⚠️ This version needs Mirasvit Reports 1.4.76 or newer. Composer installs it for you; if you update modules by hand, update Reports at the same time. Older versions of Reports break dashboard blocks inside scheduled email reports.

#### Fixed
* Fixed dashboards created in older versions opening empty. Their saved widget layouts were stored in a format the extension no longer reads, so the board came up blank — and the next save wrote that blank board back over it, losing the layout permanently. Upgrading now converts those saved dashboards automatically during `setup:upgrade`, and your widgets are shown again.
* A dashboard the extension still cannot read is now written to the system log with its ID, instead of silently showing an empty board. The conversion also leaves any dashboard it cannot convert with complete confidence exactly as it was, so nothing is damaged in the process.

---


## 1.4.11
*(2026-08-25)*

#### Fixed
* Fixed duplicating a dashboard: every copy of the same dashboard was given the identical web address and mobile access link, so opening the second copy took you back to the first one. Each duplicate now gets its own unique address and mobile link, and you can copy the same dashboard as many times as you need.
* Fixed dashboard permissions: admin users without the Dashboard permission could still save, overwrite, or delete dashboards through the interface's background requests. Saving and deleting a dashboard now requires the Dashboard permission, like the rest of the extension.

---


## 1.4.10
*(2026-06-18)*

#### Features
* **"Lower is better" goals** — a widget's goal gauge can now track metrics where a smaller number is the win (cost, bounce rate, refunds, etc.). A new goal direction ("higher" to reach a target, "lower" to drive the value down) and an adjustable baseline (the gauge's 0% end) are saved and served with the dashboard, so the gauge fills correctly for both kinds of metric.
* **Duplicate widgets and goal charts** — quickly copy an existing widget, including its goal chart configuration, instead of rebuilding it from scratch.

---


## 1.4.9
*(2026-06-15)*

#### Fixed
* Fixed mobile dashboards occasionally not loading when opened via their mobile access link — boards are now matched reliably by their mobile token.
* A mobile dashboard widget with no data now shows a clear "No data available for this block." message instead of failing with an empty or broken response.

---


## 1.4.8
*(2026-06-09)*

#### Features
* Added block configuration support for **single-value goal tracking** — a widget's goal target, goal type (fixed value or comparison period), and display style (ring gauge, half gauge, or progress bar) are now stored and served with the dashboard.
* Added block configuration support for the **chart type** (line, area, bar, stacked) and a per-widget **icon**, backing the new chart-type selector and widget icons.

---


## 1.4.7
*(2026-05-04)*

#### Fixed
* Fixed PHP 7.3 compatibility — fatal error from incompatible `self` return type declarations in block configuration setter methods

---


## 1.4.6
*(2026-04-21)*

#### Improvements
* Added i18n support for 15 core locales (ar_SA, cs_CZ, de_DE, es_ES, fr_FR, it_IT, ja_JP, nl_NL, pl_PL, pt_BR, pt_PT, sv_SE, tr_TR, uk_UA, zh_Hans_CN)

---


## 1.4.5
*(2026-03-30)*

#### Fixed
* Fixed the issue with allowing creation of incompletely configured block via REST API which leads to problems with opening related dashboard

---


## 1.4.4
*(2026-03-26)*

#### Improvements
* Reduced the possibility of date filter errors for REST API calls

---



## 1.4.3
*(2026-03-12)*

#### Fixed
* Fixed sort order not working in table-type blocks when data comes as `SortOrderInterface` objects (e.g., via REST API)

---

## 1.4.2
*(2026-03-06)*

#### Features
* **Block-level REST API endpoints** — add, update, or delete individual blocks on a board without rewriting the entire board configuration

#### Improvements
* Added admin controller to redirect directly to a specific board by ID

---

## 1.4.1
*(2026-03-03)*

#### Improvements
* ⚠️ Renamed REST API field `date_range` to `time_range` for consistency with other report modules (old accessors still work but are deprecated)

---

## 1.4.0
*(2026-02-26)*

#### Features
* **REST API for dashboards** — full CRUD for boards and blocks via REST endpoints (`/V1/dashboard/boards`, `/V1/dashboard/board/:boardId`, `/V1/dashboard/board/:boardId/block/:blockIdentifier/execute`)
* ⚠️ Block config classes (`Block/Chart.php`, `Block/Single.php`, `Block/Table.php`) removed — logic consolidated into `Block/Config.php` implementing `BlockConfigInterface`

#### Fixed
* Fixed boards being duplicated when admin URL secret key is enabled

---

## 1.3.22
*(2026-01-08)*

#### Features
* **Configurable board ordering** — set sort order per board and choose global sort field (title or creation date) and direction in system config under Dashboard settings

---

## 1.3.21
*(2025-12-10)*

#### Fixed
* Fixed single-value blocks showing incorrect values for lifetime date range when temporary/CTE tables are used

---

## 1.3.20
*(2025-07-29)*

#### Improvements
* Improved built-in widget templates with correct base tables and product dimension references

---

## 1.3.19
*(2025-06-16)*

#### Improvements
* Added translation/i18n support for frontend-shared dashboards

---

## 1.3.18
*(2024-12-23)*

#### Features
* **Share dashboards on the storefront** — boards can now be displayed on the Magento frontend, not just in the admin panel
* ⚠️ New `is_mobile_frontend` column added to the `mst_dashboard_board` table

---

## 1.3.17
*(2024-10-08)*

#### Fixed
* Removed Mirasvit Bookmarker bar from mobile dashboard view

---

## 1.3.16
*(2024-07-04)*

#### Fixed
* Fixed PHP 8.x error "hash(): Argument #2 must be of type string, int given" when generating block and board identifiers

---

## 1.3.15
*(2024-07-04)*

#### Fixed
* Fixed error when attempting to duplicate a dashboard that has not been saved yet

---

## 1.3.14
*(2024-04-25)*

#### Fixed
* Fixed comparison data using the wrong config after changing a block's renderer type (e.g., from single value to chart)

---

## 1.3.13
*(2024-04-15)*

#### Fixed
* Fixed shared and mobile dashboards breaking when "Add Secret Key to URLs" is enabled in admin settings

---

## 1.3.12
*(2024-03-29)*

#### Features
* **Configurable base table for table blocks** — select which database table a table-type block queries, enabling better date filtering for cross-entity reports

---

## 1.3.11
*(2024-03-15)*

#### Features
* **Save date range per board** — each dashboard remembers its own selected time range
* ⚠️ New `date_range` column added to the `mst_dashboard_board` table

#### Improvements
* Duplicated dashboard is now automatically displayed after creation

---

## 1.3.10
*(2024-03-04)*

#### Features
* **Duplicate dashboard** — clone an existing board with all its blocks in one click

---

## 1.3.9
*(2024-01-05)*

#### Features
* **HTML widget type** — add custom HTML content blocks to dashboards

---

## 1.3.8
*(2023-04-14)*

#### Fixed
* Fixed date interval formatting in dashboard blocks sent via email notifications

---

## 1.3.7
*(2023-04-04)*

#### Fixed
* Fixed filters not being applied to dashboard widgets whose base table does not have a date column — previously all filters were skipped instead of just the date filter

---

## 1.3.6
*(2023-03-15)*

#### Fixed
* Fixed PHP 8.2 compatibility (dynamic property deprecation in API request controller)

---

## 1.3.5
*(2023-02-06)*

#### Fixed
* Fixed dashboard failing to save due to board lookup issue in repository

---

## 1.3.4
*(2023-01-23)*

#### Improvements
* ⚠️ Magento 2.4.6 compatibility — replaced deprecated `Zend_Json` and `Zend_Date` usage (requires `mirasvit/module-core` >= 1.4.10)

---

## 1.3.3
*(2022-12-29)*

#### Fixed
* Fixed PHP 8.1 compatibility — `rand()` type requirement in block identifier generation

---

## 1.3.2
*(2022-06-20)*

#### Improvements
* Removed `db_schema_whitelist.json` (no longer needed with declarative schema)

---

## 1.3.1
*(2022-05-10)*

#### Improvements
* Added `db_schema_whitelist.json` for declarative schema support

---

## 1.3.0
*(2022-05-10)*

#### Improvements
* ⚠️ Migrated from legacy Install/Upgrade schema scripts to Magento declarative schema (`db_schema.xml`) and data patches

---

## 1.2.49
*(2021-05-13)*

#### Fixed
* Fixed "toArray on null" error when changing a widget type to "table" in the block settings

---

## 1.2.48
*(2021-04-15)*

#### Features
* **Predefined widget library** — new blocks can be created from a set of built-in widget templates (orders, revenue, customers, products)

---

## 1.2.46
*(2020-09-07)*

#### Fixed
* Added error notification when saving board changes is not allowed for the current admin user
* Fixed dashboard not displaying due to premature JavaScript initialization

---

## 1.2.44
*(2020-08-13)*

#### Fixed
* Fixed mobile dashboard overlay blocking interaction

---

## 1.2.43
*(2020-07-29)*

#### Improvements
* Magento 2.4 compatibility

#### Fixed
* Fixed info display for boards with private type

---

## 1.2.42
*(2020-02-04)*

#### Improvements
* Added time range labels to dashboard widgets sent via email notifications

---

## 1.2.41
*(2019-08-08)*

#### Improvements
* Code quality improvements for Magento Extension Quality Program compliance

---

## 1.2.40
*(2019-03-25)*

#### Fixed
* Fixed error during `setup:upgrade` when updating to a new version

---

## 1.2.39
*(2019-03-06)*

#### Fixed
* Fixed "last year" comparison returning incorrect data

---

## 1.2.38
*(2019-02-25)*

#### Fixed
* Fixed date range override not being applied correctly to blocks

---

## 1.2.37
*(2019-01-31)*

#### Improvements
* Added comparison percentage values to email report notifications

---

## 1.2.36
*(2019-01-30)*

#### Improvements
* Added comparison values to email report notifications

---

## 1.2.35
*(2018-12-27)*

#### Fixed
* Fixed metrics comparison returning incorrect values

---

## 1.2.34
*(2018-12-18)*

#### Fixed
* Fixed email notifications failing to send dashboard reports

---

## 1.2.33
*(2018-12-17)*

#### Features
* **Chart block type** — display dashboard data as charts

---

## 1.2.32
*(2018-12-11)*

#### Fixed
* Fixed filters not being applied in email report notifications

---

## 1.2.31
*(2018-12-06)*

#### Fixed
* Fixed wrong dashboard being selected for mobile view

---

## 1.2.30
*(2018-12-04)*

#### Features
* **Date range comparison** — compare current period data with a previous period directly on the dashboard

#### Fixed
* Fixed date range override not saving correctly

---

## 1.2.29
*(2018-11-30)*

#### Fixed
* Fixed API request handling for dashboard block data

---

## 1.2.28
*(2018-11-29)*

#### Improvements
* ⚠️ **Major UI rewrite** — replaced the old UI component system with a new API-based interface. All old `Ui/`, `DataSource/`, and `Renderer/` PHP classes removed and replaced with a streamlined controller-based API
* Magento 2.3 compatibility

#### Fixed
* Fixed admin URL secret key breaking API requests
* Fixed table block filtering not working correctly

---

## 1.2.25
*(2018-10-12)*

#### Fixed
* Fixed widget settings not being applied after saving

---

## 1.2.24
*(2018-10-10)*

#### Improvements
* Added "like" and "not like" filter conditions to widget settings

---

## 1.2.23
*(2018-10-02)*

#### Fixed
* Fixed dashboard not visible on mobile devices

---

## 1.2.22
*(2018-09-11)*

#### Fixed
* Fixed resetting recent changes not working correctly

---

## 1.2.21
*(2018-09-10)*

#### Improvements
* Improved widget positioning logic for better layout control

---

## 1.2.20
*(2018-08-15)*

#### Fixed
* Fixed inability to remove a single dashboard

---

## 1.2.19
*(2018-07-26)*

#### Fixed
* Fixed metrics showing incorrect values for today/yesterday date ranges

---

## 1.2.18
*(2018-07-25)*

#### Features
* **Table renderer in email reports** — dashboard blocks using the table renderer are now included in email notifications

---

## 1.2.17
*(2018-07-24)*

#### Fixed
* Fixed records being filtered by wrong date column
* Fixed "Is not one of" filter operator using incorrect condition name

---

## 1.2.16
*(2018-06-22)*

#### Fixed
* Fixed "Area code is not defined" error during installation

---

## 1.2.15
*(2018-06-19)*

#### Improvements
* Table blocks now display only active report columns instead of all available columns

---

## 1.2.14
*(2018-06-15)*

#### Fixed
* Fixed empty metric data when editing older widgets created before the block config migration

---

## 1.2.13
*(2018-06-14)*

#### Fixed
* Fixed block settings panel not appearing due to missing component type specification

---

## 1.2.12
*(2018-06-14)*

#### Features
* **Block-level filters and grid settings** — configure filters and column visibility per block
* **Block-level date comparison** — each block can have its own comparison period independent of the dashboard
* **Renderer-specific data** — blocks return different data depending on the selected renderer type (single, table, chart)

#### Improvements
* Added second sparkline for comparison data visualization
* Time icon indicator for blocks with overridden date ranges
* Previously selected report columns are now remembered per block

---

## 1.2.11
*(2018-05-02)*

#### Improvements
* Dashboard blocks now auto-refresh every 2 minutes

#### Fixed
* Fixed inability to create new dashboard blocks

---

## 1.2.10
*(2018-04-17)*

#### Fixed
* Fixed error when opening dashboard

---

## 1.2.9
*(2018-04-16)*

#### Fixed
* Fixed compatibility with Magento 2.1

---

## 1.2.8
*(2018-04-10)*

#### Fixed
* Fixed "false" being displayed instead of table name in the Data field dropdown

---

## 1.2.7
*(2018-04-04)*

#### Fixed
* Fixed error when viewing dashboard due to null `created_at` and `updated_at` fields

---

## 1.2.6
*(2018-03-30)*

#### Fixed
* Fixed table-type dashboard blocks not displaying
* Fixed mobile dashboard requiring admin login when accessed via QR code

---

## 1.2.5
*(2018-03-20)*

#### Fixed
* Fixed dashboard showing no data when a single-day date range is selected

---

## 1.2.4
*(2018-03-16)*

#### Fixed
* Fixed date interval picker on dashboard toolbar not working correctly

---

## 1.2.3
*(2018-03-07)*

#### Fixed
* Fixed date handling in dashboard block queries

---

## 1.2.2
*(2018-03-05)*

#### Fixed
* Fixed error when attempting to create or modify a dashboard

---

## 1.2.1
*(2018-02-13)*

#### Fixed
* Fixed "toArray on null" error in data processing

---

## 1.2.0
*(2018-02-05)*

#### Features
* ⚠️ **Complete architecture rewrite** — replaced the old Widget system (Metric/Report widgets) with a new Block/DataSource/Renderer architecture. New drag-and-drop UI, new admin interface, new data providers. All old Widget classes removed

---

## 1.0.21
*(2017-12-20)*

#### Improvements
* Magento 2.0 compatibility

---

## 1.0.20
*(2017-12-14)*

#### Fixed
* Fixed `di:compile` error caused by missing class reference

---

## 1.0.19
*(2017-12-10)*

#### Fixed
* Fixed mobile dashboard requiring admin login when accessed via QR code

---

## 1.0.18
*(2017-12-06)*

#### Fixed
* Fixed error in dashboard controller preventing page from loading

---

## 1.0.17
*(2017-11-07)*

#### Features
* **Store view filter for widgets** — create metric widgets filtered to individual store views

#### Fixed
* Fixed "Process Orders" configuration option not being applied to metric widgets

---

## 1.0.16
*(2017-10-03)*

#### Improvements
* Magento 2.1.9 compatibility

---

## 1.0.15
*(2017-08-22)*

#### Features
* **Abandoned cart metrics** — added abandoned cart data to metric widget options

---

## 1.0.14
*(2017-08-07)*

#### Features
* **Cart Reports widgets** — added support for Cart Reports data in dashboard widgets

---

## 1.0.13
*(2017-07-27)*

#### Features
* **Customer group filter for metrics** — create metric widgets filtered to specific customer groups

#### Fixed
* Fixed price values not being formatted correctly in report widgets

---

## 1.0.11
*(2017-06-07)*

#### Fixed
* Fixed widget edit form not loading correctly

---

## 1.0.10
*(2017-06-07)*

#### Features
* **Order status filter for metrics** — added individual order status filter to metric widgets

---

## 1.0.8
*(2017-06-06)*

#### Improvements
* "Process Orders" configuration is now applied to metric widgets

#### Fixed
* Fixed product names not displaying in dashboard widgets
* Fixed order status filter not working for report widgets

---

## 1.0.7
*(2017-05-12)*

#### Fixed
* Fixed attribute ID being displayed instead of the attribute label in report widgets

---

## 1.0.6
*(2017-04-18)*

#### Fixed
* Fixed blank widgets in email notifications

---

## 1.0.5
*(2017-04-13)*

#### Fixed
* Fixed duplicate rows appearing in report widgets

---

## 1.0.4
*(2017-04-05)*

#### Fixed
* Fixed "No such widget" error when opening dashboard

---

## 1.0.3
*(2017-04-05)*

#### Features
* **Ordered columns in report widget config** — columns in the report widget configuration are now sorted alphabetically

#### Improvements
* Added loading spinner during dashboard initialization

---

## 1.0.2
*(2017-03-31)*

#### Features
* **Mobile dashboard** — view dashboards on mobile devices via QR code

#### Fixed
* Fixed error after removing a widget

---

## 1.0.1
*(2017-02-20)*

#### Improvements
* Improved metrics dropdown with better organization and labels
* Added email notifications with dashboard block data
* Added dashboard title display on widgets

#### Fixed
* Fixed widget type selection not appearing in widget form
* Fixed widget saving issues

---

## 1.0.0
*(2017-01-31)*

#### Features
* Initial release — customizable admin dashboards with metric and report widgets, drag-and-drop layout, mobile view, and email notifications
