Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions docs/home/migration/6_0_0/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
sidebar_position: 0
sidebar_title: Upgrade to V6
title: Upgrade to V6
doc-type: banner
description: Learn about the optional peer dependency migration when upgrading from Siemens Industrial Experience design system V5 to V6.
---

# Upgrade to V6.0.0

:::info Recommended upgrade path
We strongly recommend upgrading version by version and not skipping major versions. If your project is still on an older major release, complete each intermediate migration first before moving to Version 6.
:::

## Optional peer dependencies

In `@siemens/ix` V6, the following packages are declared as optional `peerDependencies`. This is an intentional breaking contract change in V6.

| Package | Supported version |
| :--- | :--- |
| `@floating-ui/dom` | `^1.6.13` |
| `animejs` | `^4.1.2` |
| `luxon` | `^3.4.4` |
| `@stencil/core` | `^4.43.5` |

### Normal consumers

Standard/root distribution, the custom-elements entry point `@siemens/ix/components`, loader, hydrate, and Angular/React/Vue wrappers remain self-contained because these runtime libraries are bundled. Users of these normal entry points do not need to install these peers solely for Siemens Industrial Experience.

### Stencil collection consumers

The published Stencil collection output, using the `collection` / `collection:main` package entries and `dist/collection`, retains bare imports for these runtime libraries. Consumers relying on this Stencil collection must explicitly install **all four packages** listed above. These packages are not optional for collection users.

## Installation

If you rely on the Stencil collection, install all four packages with your preferred package manager:

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Medium — installation commands omit a required peer dependency\n\nThe page says collection consumers must install all required packages, but this command (and the npm/Yarn equivalents below) omits the still-required @siemens/ix-icons peer dependency. Copying these commands—particularly with Yarn or peer auto-installation disabled—can leave collection consumers with an unresolved peer dependency and an incomplete installation. Please add @siemens/ix-icons to all three commands, or explicitly state that it remains a required existing dependency.

```bash
pnpm add @floating-ui/dom animejs luxon @stencil/core
```

```bash
npm install @floating-ui/dom animejs luxon @stencil/core
```

```bash
yarn add @floating-ui/dom animejs luxon @stencil/core
```
1 change: 1 addition & 0 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const sidebars: SidebarsConfig = {
className: 'doc-sidebar-item-bold',
label: 'Migration and upgrade',
items: [
'home/migration/6_0_0/index',
'home/migration/5_0_0/index',
'home/migration/4_0_0/index',
'home/migration/3_0_0/index',
Expand Down
Loading