From 204505e4a251bd9826471a20edbe9f281915bc22 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Fri, 17 Jan 2025 15:57:42 +0100 Subject: [PATCH] Add Migration note for zoneless support for Angular --- MIGRATION.md | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index d955843ca681..9e11c8cfbb25 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -1,7 +1,7 @@

Migration

-- [From version 8.4.x to 8.5.x](#from-version-84x-to-85x) - - [Introducing features.developmentModeForBuild](#introducing-featuresdevelopmentmodeforbuild) +- [From version 8.5.x to 8.6.x](#from-version-85x-to-86x) + - [Angular: Support experimental zoneless support](#angular-support-experimental-zoneless-support) - [Added source code panel to docs](#added-source-code-panel-to-docs) - [Addon-a11y: Component test integration](#addon-a11y-component-test-integration) - [Addon-a11y: Changing the default element selector](#addon-a11y-changing-the-default-element-selector) @@ -427,6 +427,37 @@ - [Packages renaming](#packages-renaming) - [Deprecated embedded addons](#deprecated-embedded-addons) +## From version 8.5.x to 8.6.x + +### Angular: Support experimental zoneless support + +Storybook now supports [Angular's experimental zoneless mode](https://angular.dev/guide/experimental/zoneless). This mode is intended to improve performance by removing Angular's zone.js dependency. To enable zoneless mode in your Angular Storybook, set the `experimentalZoneless` config in your `angular.json` file: + +````diff +{ + "projects": { + "your-project": { + "architect": { + "storybook": { + ... + "options": { + ... ++ "experimentalZoneless": true + } + } + "build-storybook": { + ... + "options": { + ... ++ "experimentalZoneless": true + } + } + } + } + } +} +``` + ## From version 8.4.x to 8.5.x ### Introducing features.developmentModeForBuild @@ -442,7 +473,7 @@ export default { developmentModeForBuild: true, }, }; -``` +```` ### Added source code panel to docs