# Changelog

All notable changes to this project are documented in this file.

## [6.13.5] - 2026-06-09

### Fixed
- Fixed IQ analyst panel positioning and dashboard sizing. The dashboard now fills its container (removing overflowing charts and the double scrollbar) and the analyst panel stays pinned to the visible viewport while scrolling.

## [6.13.4] - 2026-05-28

### Added
- Added the `dashboardContext` property on `<luzmo-iq-embed-chat>` to pass the current dashboard layout, metadata and runtime filters to the IQ chat for context-aware answers.

## [6.13.3] - 2026-05-27

### Changed
- Revert changes in `6.13.2`

## [6.13.2] - 2026-05-25

### Fixed
- Updated `@luzmo/shared-embed` to `5.12.1`, which reuses the host page's existing Module Federation runtime instead of creating a siloed private instance. Fixes NG0201 / NG0203 DI errors when a Luzmo remote (e.g. iq-app, dashboard-app) is loaded into a host that already has its own MF runtime.

## [6.13.1] - 2026-05-13

### Fixed
- Properly initialized dashboard webcomponent.

## [6.13.0] - 2026-03-30

### Changed
- Adapted library to work with Vite v8.

## [6.12.0] - 2026-03-25

### Changed
- Updated dependencies.

## [6.11.0] - 2026-03-18

### Changed
- Improved library's loading performance.

## [6.10.0] - 2026-03-04

### Changed
- Added `base64` as a supported format for `<luzmo-embed-viz-item>.export()`.
- Updated `<luzmo-embed-viz-item>.export()` to return `Promise<string | void>`.

## [6.9.0] - 2026-02-16

### Changed
- Updated dependencies and internal types.

## [6.8.0] - 2026-02-03

### Changed
- <luzmo-viz-item>: loosened type of `VizItemType` and `SlotName` to allow custom string values (for Custom Chart embedding support), while preserving autocomplete for known literals.
- <luzmo-viz-item>: updated the type of the `slots` input from `VizItemSlots` to `VizItemSlot[]` to make the slots array shape explicit.

## [6.7.3] - 2026-01-22

### Added
- Added the `authorizationExpired` event on `<luzmo-embed-viz-item>` to notify when the authorization token has expired and re-authentication is required.

## [6.7.2] - 2025-12-17

### Changed
- Remove extra NPM dependencies.

## [6.7.1] - 2025-11-12

### Changed
- Maintenance update with stability improvements.

## [6.7.0] - 2025-10-14

### Added
- Added the `sendExportEmail()` method on `<luzmo-embed-dashboard>` to trigger immediate or scheduled export emails with optional subject and message overrides.

## [6.6.1] - 2025-09-02

### Changed
- Updated dependencies to the latest compatible versions.

## [6.6.0] - 2025-07-14

### Changed
- Updated dependencies to the latest compatible versions.

## [6.5.0] - 2025-06-23

### Changed
- Updated dependencies and shipped stability improvements.

## [6.4.3] - 2025-04-28

### Added
- Introduced the `--luzmo-iq-state-loader-color-accent` CSS variable for Luzmo IQ loaders.

## [6.4.2] - 2025-04-14

### Changed
- Added the missing `absolute` and `percentageAllBars` values to the `bars.label` configuration for bar charts.

## [6.4.1] - 2025-03-28

### Changed
- Updated dependencies to the latest compatible versions.

## [6.4.0] - 2025-03-20

### Added
- Added the `editorLanguage` attribute to control the dashboard editor language.

## [6.3.7] - 2025-03-04

### Changed
- Renamed the `experimental` attribute to `embedMode` on `<luzmo-embed-dashboard>`.

## [6.3.6] - 2025-02-27

### Added
- Added the `availableDatasets` attribute to `<luzmo-iq-embed-chat>`.

## [6.3.5] - 2025-02-24

### Changed
- Updated dependencies to the latest compatible versions.

## [6.3.4] - 2025-02-21

### Changed
- Updated dependencies to the latest compatible versions.

## [6.3.3] - 2025-02-06

### Changed
- Updated dependencies to the latest compatible versions.

## [6.3.2] - 2025-01-31

### Added
- Extended `export()` on `<luzmo-embed-viz-item>` to support CSV, CSV raw, XLSX, and XLSX raw formats in addition to PNG.

## [6.3.1] - 2025-01-21

### Changed
- Updated dependencies to the latest compatible versions.

## [6.3.0] - 2025-01-16

### Changed
- Improved Luzmo Flex performance.

## [6.2.6] - 2025-01-13

### Changed
- Updated dependencies to the latest compatible versions.

## [6.2.5] - 2025-01-08

### Changed
- Updated dependencies to the latest compatible versions.

## [6.2.4] - 2024-12-19

### Added
- Added the project `LICENSE`.

## [6.2.3] - 2024-12-10

### Added
- Enabled custom chat widget button content via slots in `<luzmo-iq-embed-chat>`.

## [6.2.2] - 2024-12-09

### Fixed
- Applied minor fixes for EDE mode behaviour.

## [6.2.1] - 2024-11-22

### Changed
- Updated dependencies to the latest compatible versions.

## [6.2.0] - 2024-11-20

### Added
- Introduced [Luzmo IQ](https://developer.luzmo.com/guide/iq--introduction) components to embed AI-powered chat and answer experiences.

## [6.1.9] - 2024-11-14

### Changed
- Updated dependencies to the latest compatible versions.

## [6.1.8] - 2024-11-12

### Fixed
- Resolved issues affecting `getAccessibleDashboards()`.

## [6.1.7] - 2024-10-25

### Fixed
- Corrected width and height handling when setting inline styles on `<luzmo-embed-viz-item>`.

## [6.1.6] - 2024-10-22

### Fixed
- Fixed Flex search filter display issues.

## [6.1.5] - 2024-10-21

### Changed
- Updated dependencies to the latest compatible versions.

## [6.1.4] - 2024-10-14

### Changed
- Updated dependencies to the latest compatible versions.

## [6.1.3] - 2024-09-26

### Changed
- Updated public TypeScript definitions.

### Fixed
- Removed the requirement for `script-src 'unsafe-eval'` in runtime CSP settings.

## [6.1.2] - 2024-09-23

### Fixed
- Ensured the web component registers only once when libraries are included multiple times.

## [6.1.1] - 2024-09-09

### Changed
- Updated dependencies to the latest compatible versions.

## [6.1.0] - 2024-09-09

### Added
- Highlighted [Luzmo Flex](https://developer.luzmo.com/guide/flex--introduction) for building customizable visualizations entirely in code.

## [6.0.1] - 2024-07-11

### Fixed
- Corrected loader color handling when embedding dashboards as web components.

## [6.0.0] - 2024-07-11

### Changed
- Replaced the `LuzmoDashboard` type with `LuzmoEmbedDashboard`.

### Removed
- Removed the legacy `<luzmo-dashboard>` component in favour of `<luzmo-embed-dashboard>`.

### Fixed
- Corrected loader color handling when embedding dashboards as web components.

## [5.1.5] - 2024-05-03

### Fixed
- Addressed intermittent loading issues when `experimental=true`.

## [5.1.4] - 2024-05-02

### Fixed
- Resolved compatibility issues with CRA 5.0 and Webpack 5.0 builds.

## [5.1.3] - 2024-05-02

### Fixed
- Ensured the editor mode height respects a 100% parent height.

## [5.1.2] - 2024-04-29

### Fixed
- Set the minimum height in editor mode to 100vh.

## [5.1.1] - 2024-04-24

### Changed
- Surface detailed error messages from the Luzmo application.

## [5.1.0] - 2024-04-17

### Changed
- Deprecated `<luzmo-dashboard>` in favour of `<luzmo-embed-dashboard>` ahead of removal in `6.0.0`.

## [5.0.14] - 2024-03-28

### Fixed
- Pulled shared embed library fixes.

## [5.0.13] - 2024-03-26

### Added
- Added an ESM build entry point to `@luzmo/embed`.

## [5.0.12] - 2024-03-19

### Fixed
- Ensured `getAccessibleDashboards()` works correctly with embed tokens.

## [5.0.11] - 2024-03-18

### Changed
- Exposed the correct TypeScript typings from `@luzmo/embed`.

## [5.0.10] - 2024-03-11

### Fixed
- Set `<luzmo-dashboard>` to display as a block-level element.

## [5.0.9] - 2024-03-07

### Fixed
- Corrected EDE width and height behaviour to use 100% of the container.

## [5.0.8] - 2024-03-05

### Changed
- Improved typings in the shared library.

## [5.0.7] - 2024-02-28

### Fixed
- Addressed width and height issues for experimental mode.

## [5.0.6] - 2024-02-17

### Changed
- Added `"type": "module"` to `package.json`.
- Updated dependencies to the latest compatible versions.

## [5.0.5] - 2024-02-16

### Fixed
- Resolved a typing issue.

## [5.0.4] - 2024-02-08

### Changed
- Refreshed documentation and changelog content.

## [5.0.3] - 2024-02-01

### Added
- Added a parameter to help clients test upstream changes.

### Changed
- Delivered performance improvements.

## [5.0.2] - 2023-12-07

### Fixed
- Corrected an incorrect dependency version.

## [5.0.1] - 2023-12-06

### Fixed
- Prevented crashes caused by dimensions being calculated before dimension data was available.
