chore: update to FusionAuth Angular SDK version 2.0.0#35
Conversation
chore: upgrade the Angular SDK to v2.0.0
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Updates the Angular client quickstart to use FusionAuth Angular SDK v2.0.0, alongside a broader modernization of the Angular workspace and FusionAuth kickstart message templates.
Changes:
- Upgraded
@fusionauth/angular-sdkto^2.0.0and updated the Angular/TypeScript toolchain configuration. - Migrated templates from
*ngIfto the new Angular control-flow syntax (@if). - Updated FusionAuth kickstart default messages (new keys, revised copy, and styling classes).
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| kickstart/templates/defaultMessages.txt | Updates seeded FusionAuth message keys/values for newer server/theme behavior. |
| complete-application/tsconfig.json | Updates TS compiler settings for newer Angular/TS versions. |
| complete-application/tsconfig.app.json | Aligns app tsconfig header URL with Angular docs. |
| complete-application/tsconfig.spec.json | Aligns spec tsconfig header URL with Angular docs. |
| complete-application/src/app/make-change-page/make-change-page.component.html | Replaces *ngIf with @if control-flow syntax. |
| complete-application/src/app/app.component.ts | Sets standalone: false for module-based root component. |
| complete-application/src/app/app.component.spec.ts | Adds a minimal AppComponent creation test. |
| complete-application/src/app/app.component.html | Replaces *ngIf blocks with @if/@else control-flow syntax. |
| complete-application/README.md | Removes the deprecated e2e section. |
| complete-application/package.json | Upgrades Angular deps + FusionAuth SDK version and related tooling versions. |
| complete-application/angular.json | Migrates builders to @angular/build:* and updates test configuration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…e file should exist.
|
@mrudatsprint I went to run through the quickstart and got this error: Could not resolve dependency: The pre reqs are listed as This app has been tested with Node v18 and Angular v16.2.0. This example should work with other compatible versions of Node and Angular Are you planning on updating the quickstart or is that something you are looking for DevSuccess to do? |
Let me take a look as my intentions were that it would build for you. Thanks for testing. |
@mark-robustelli Now I understand that it's the documentation that's out of date. It was a major change to Angular 22.x.x and I'm guessing that broke the documentation. |
|
@mark-robustelli I'll create a PR for the fusionauth-site. Upgrading to Angular 22.x.x had breaking changes and the reason for a FusionAuth Angular SDK 2.0.0 release. I'll update the site QuickStart example to match the changes I made in this QuickStart. |
Description: