# Changelog

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

## [5.12.2] - 2026-05-27

### Changed
- Revert changes in `5.12.1`

## [5.12.1] - 2026-05-25

### Fixed
- Reuse the host page's existing Module Federation runtime (via `getInstance()`) when one is already initialized, instead of always creating a private `luzmo-embed-runtime` instance. Each MF instance owns its own `shareScopeMap`, so creating a private instance siloed Luzmo remotes' shared modules (notably `@angular/core`) away from the host's copy and broke the `singleton` contract — producing NG0201 / NG0203 the moment any DI lookup crossed the MF boundary.

## [5.12.0] - 2026-03-30

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

## [5.11.0] - 2026-03-25

### Changed
- Updated dependencies.

## [5.10.0] - 2026-03-18

### Changed
- Added preconnection of the `remoteEntry`.
- Updated `@luzmo/dashboard-contents-types` to `1.0.30`.

## [5.9.0] - 2026-03-04

### Changed
- Updated shared viz-item exported event typings to include the new `base64` export type.

## [5.8.1] - 2026-02-16

### Changed
- Updated internal types.

## [5.8.0] - 2026-02-16

### Changed
- Updated internal types.
- Aligned module federation solution to follow modern approach.

## [5.7.0] - 2026-02-03

### Changed
- Updated `@luzmo/dashboard-contents-types` to `1.0.23`.
- Updated the type of the `slots` input from `VizItemSlots` to `VizItemSlot[]` to make the slots array shape explicit.

## [5.6.3] - 2026-01-22

### Added
- Added the `VizItemPostMessageAuthorizationExpiredEvent` type for handling authorization expiration in viz items.

## [5.6.2] - 2025-12-17

### Changed
- Remove extra NPM dependencies.

## [5.6.1] - 2025-11-12

### Changed
- Maintenance update with stability improvements.

## [5.6.0] - 2025-10-14

### Added
- Added shared `sendExportEmail` helper utilities and types to enable immediate or scheduled dashboard export emails.

## [5.5.1] - 2025-09-02

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

## [5.5.0] - 2025-07-14

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

## [5.4.0] - 2025-06-23

### Changed
- Updated dependencies to the latest compatible versions.
- Delivered stability improvements across the shared utilities.

## [5.3.8] - 2025-04-14

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

## [5.3.7] - 2025-03-28

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

## [5.3.6] - 2025-03-20

### Added
- Added a default value for the `editorLanguage` input to control the dashboard editor language.

## [5.3.5] - 2025-03-04

### Added
- Added new dashboard types for downstream packages.

## [5.3.4] - 2025-02-24

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

## [5.3.3] - 2025-02-21

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

## [5.3.2] - 2025-02-06

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

## [5.3.1] - 2025-01-31

### Changed
- Reused the central `ExportType` definition from `@luzmo/dashboard-contents-types`.

## [5.3.0] - 2025-01-16

### Changed
- Improved Luzmo Flex performance within the shared utilities.

## [5.2.4] - 2025-01-13

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

## [5.2.3] - 2025-01-08

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

## [5.2.2] - 2024-12-19

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

## [5.2.1] - 2024-11-22

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

## [5.2.0] - 2024-11-20

### Added
- Added shared support for [Luzmo IQ](https://developer.luzmo.com/guide/iq--introduction) components.

## [5.1.7] - 2024-11-14

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

## [5.1.6] - 2024-11-12

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

## [5.1.5] - 2024-10-22

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

## [5.1.4] - 2024-10-21

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

## [5.1.3] - 2024-10-14

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

## [5.1.2] - 2024-09-26

### Changed
- Updated public TypeScript definitions.

## [5.1.1] - 2024-09-09

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

## [5.1.0] - 2024-09-09

### Added
- Added Flex typings and helper utilities.

## [5.0.9] - 2024-05-02

### Fixed
- Cleaned the published `package.json`, removing the `"type": "module"` flag that caused Webpack 5 issues.

## [5.0.8] - 2024-04-24

### Changed
- Downgraded logging from errors to warnings for non-critical scenarios.

## [5.0.7] - 2024-03-28

### Fixed
- Ensured `getAccessibleDashboards()` works in `experimental=true` mode by normalising URLs.

## [5.0.6] - 2024-03-19

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

### Changed
- Updated typings to include new parameters in `LuzmoDashboard`.

## [5.0.5] - 2024-03-05

### Fixed
- Corrected expressions in `dropdown-filter.model.ts`.

## [5.0.4] - 2024-02-29

### Changed
- Refactored function names for clarity.
