# Changelog

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

## [8.7.0] - 2026-03-30

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

## [8.6.0] - 2026-03-25

### Changed
- Updated dependencies.

## [8.5.0] - 2026-03-18

### Changed
- Improved library's loading performance.
- Angular `>= 19` is required now. 

## [8.4.0] - 2026-03-04

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

## [8.3.0] - 2026-02-16

### Changed
- Updated dependencies and internal types.
- Migrated to Angular 21 in the embed library.

## [8.2.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.

## [8.1.3] - 2026-01-22

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

## [8.1.2] - 2025-12-17

### Changed
- Remove extra NPM dependencies.
- Declare support for Angular 21 projects.

## [8.1.1] - 2025-11-12

### Changed
- Maintenance update with stability improvements.

## [8.1.0] - 2025-10-14

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

## [8.0.2] - 2025-10-02

### Fixed
- Corrected handling of the `exported` event when exporting dashboards or viz items.

## [8.0.1] - 2025-09-02

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

## [8.0.0] - 2025-07-14

### Changed
- Migrated the Angular package to Angular 20 to align with the latest framework release.
- Updated documentation to reflect Angular 20 usage and compatibility.

### Removed
- Removed the deprecated `NgxLuzmoDashboardModule.forRoot()` method.

## [7.0.0] - 2025-06-23

### Changed
- Migrated internal tooling and components to Angular 19.
- Updated documentation to reflect Angular 19 support.

## [6.7.0] - 2025-06-06

### Added
- Declared support for Angular 20 projects.

## [6.6.3] - 2025-04-28

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

## [6.6.2] - 2025-04-14

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

## [6.6.1] - 2025-03-28

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

## [6.6.0] - 2025-03-20

### Added
- Added the `editorLanguage` input to configure the dashboard editor language.

## [6.5.8] - 2025-03-11

### Fixed
- Prevented the `availableDatasets` input from being forwarded incorrectly to `<luzmo-iq-chat>`.

## [6.5.7] - 2025-03-04

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

## [6.5.6] - 2025-02-27

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

## [6.5.5] - 2025-02-24

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

## [6.5.4] - 2025-02-21

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

## [6.5.3] - 2025-02-06

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

## [6.5.2] - 2025-01-31

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

## [6.5.1] - 2025-01-21

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

## [6.5.0] - 2025-01-16

### Changed
- Improved Luzmo Flex performance within the Angular integration.

## [6.4.7] - 2025-01-13

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

## [6.4.6] - 2025-01-08

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

## [6.4.5] - 2025-01-07

### Added
- Declared compatibility with Angular 19.

## [6.4.4] - 2024-12-19

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

## [6.4.3] - 2024-12-10

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

## [6.4.2] - 2024-12-09

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

## [6.4.1] - 2024-11-22

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

## [6.4.0] - 2024-11-20

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

## [6.3.9] - 2024-11-14

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

## [6.3.8] - 2024-11-12

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

## [6.3.7] - 2024-10-22

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

## [6.3.6] - 2024-10-21

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

## [6.3.5] - 2024-10-14

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

## [6.3.4] - 2024-09-26

### Changed
- Updated public TypeScript definitions.

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

## [6.3.3] - 2024-09-23

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

## [6.3.2] - 2024-09-09

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

## [6.3.1] - 2024-09-09

### Fixed
- Corrected a dependency typo.

## [6.3.0] - 2024-09-09

### Added
- Highlighted [Luzmo Flex](https://developer.luzmo.com/guide/flex--introduction) for code-first visualization development.

## [6.2.1] - 2024-07-11

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

### Changed
- Refactored internal code to improve maintainability.

## [6.2.0] - 2024-05-28

### Added
- Declared compatibility with Angular 18.

## [6.1.9] - 2024-05-03

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

## [6.1.8] - 2024-05-02

### Fixed
- Ensured edit mode uses 100% of the parent height.

## [6.1.7] - 2024-04-29

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

## [6.1.6] - 2024-04-24

### Changed
- Surfaced Luzmo application error messages directly in the Angular components.

## [6.1.5] - 2024-04-17

### Deprecated
- Announced the removal of `forRoot()` in version 7.0.0.

## [6.1.4] - 2024-03-28

### Fixed
- Pulled shared embed library fixes.

## [6.1.3] - 2024-03-26

### Fixed
- Restored compatibility with Angular 16.

## [6.1.2] - 2024-03-19

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

## [6.1.1] - 2024-03-18

### Changed
- Exposed correct typings from `@luzmo/ngx-embed` and adjusted dependency locations.

## [6.1.0] - 2024-03-14

### Changed
- Rebuilt the Angular package as a wrapper around `@luzmo/embed` to stay feature aligned.

### Fixed
- Moved `@luzmo/shared-embed` and `@luzmo/embed` from peer dependencies to dependencies to avoid missing package errors.

## [6.0.9] - 2024-03-11

### Fixed
- Rendered `<luzmo-dashboard>` as a block-level element.

## [6.0.8] - 2024-03-07

### Fixed
- Corrected EDE width and height behaviour.

## [6.0.7] - 2024-03-05

### Changed
- Improved shared typing definitions.

## [6.0.6] - 2024-02-28

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

## [6.0.5] - 2024-02-26

### Changed
- Updated dependencies and aligned the project with Angular 17.

## [6.0.4] - 2024-02-02

### Added
- Declared compatibility with Angular 17.
- Added `@luzmo/shared-embed` as a direct dependency.

## [6.0.3] - 2024-02-01

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

### Changed
- Delivered performance improvements.

## [6.0.2] - 2024-01-29

### Changed
- Updated the library for Angular 17 compatibility.

## [6.0.1] - 2023-12-06

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