Skip to content

feat(angular): update to angular version 22#2054

Draft
spliffone wants to merge 3 commits into
mainfrom
feat/angular-22-update
Draft

feat(angular): update to angular version 22#2054
spliffone wants to merge 3 commits into
mainfrom
feat/angular-22-update

Conversation

@spliffone

@spliffone spliffone commented May 13, 2026

Copy link
Copy Markdown
Member

@spliffone spliffone requested review from a team as code owners May 13, 2026 10:55
@spliffone spliffone marked this pull request as draft May 13, 2026 10:55

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the project and its sub-libraries to Angular 22 (next) and TypeScript 6.0, alongside adding deprecation ignores in TypeScript configurations. Feedback includes addressing inconsistent Angular versions in specific package files, using version ranges for peer dependencies instead of pinned pre-release versions, and moving ESLint packages from overrides to development dependencies. Additionally, a breaking change in the SiLivePreviewConfig interface was identified, which requires a specific commit message footer according to the repository's style guide.

Comment thread projects/live-preview/assets/angular/package.json Outdated
Comment thread projects/charts-ng/package.json Outdated
Comment thread package.json Outdated
Comment thread projects/live-preview/interfaces/live-preview-config.ts Outdated
@spliffone spliffone force-pushed the feat/angular-22-update branch 13 times, most recently from 97dc183 to 5704d83 Compare June 16, 2026 18:43
@spliffone spliffone force-pushed the feat/angular-22-update branch from 5704d83 to f9f027a Compare June 18, 2026 09:29
@spliffone spliffone added this to the 51.0.0 milestone Jun 18, 2026
@spliffone spliffone added the breaking-changes Marks issues and PRs that are breaking the API label Jun 18, 2026
@spliffone spliffone force-pushed the feat/angular-22-update branch from f9f027a to f92f256 Compare June 18, 2026 16:07
@spliffone spliffone force-pushed the feat/angular-22-update branch 2 times, most recently from c49dca9 to 76adcd8 Compare June 25, 2026 19:16
Comment thread package.json Outdated
"dashboards:test": "ng test dashboards-ng",
"dashboards:build": "ng build dashboards-ng && cpy LICENSE.md \"./dist/@siemens/dashboards-ng/\"",
"dashboards-demo:build-all:esm": "ng run dashboards-demo:build-esm:production && npm run dashboards-demo:build:webcomponents && ng build dashboards-demo-mfe --configuration production,bridge --output-hashing none && ng run dashboards-demo-mfe:build-esm:production",
"dashboards-demo:build-all:esm": "cross-env NG_BUILD_OPTIMIZE_CHUNKS=false ng run dashboards-demo:build-esm:production && npm run dashboards-demo:build:webcomponents && ng build dashboards-demo-mfe --configuration production,bridge --output-hashing none && cross-env NG_BUILD_OPTIMIZE_CHUNKS=false ng run dashboards-demo-mfe:build-esm:production",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we can now drop the explicit flag by bumping native-federation to v22.0.3
https://github.com/native-federation/angular-adapter/releases/tag/v22.0.3

@chintankavathia chintankavathia force-pushed the feat/angular-22-update branch 2 times, most recently from c9a8980 to 40d3673 Compare July 1, 2026 09:47
spliffone and others added 3 commits July 1, 2026 15:53
BREAKING CHANGE: endpoint `@siemens/element-ng/translate` no longer re-export `@siemens/element-translate-ng/translate`.

Use `@siemens/element-translate-ng/translate` instead.

Before:

```ts
import { ... } from '@siemens/element-ng/translate';
````

After:

```ts
import { ... } from '@siemens/element-translate-ng/translate';
```
@chintankavathia chintankavathia force-pushed the feat/angular-22-update branch from 40d3673 to b244df0 Compare July 1, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking-changes Marks issues and PRs that are breaking the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants