Skip to content

chore: update to FusionAuth Angular SDK version 2.0.0#35

Open
mrudatsprint wants to merge 7 commits into
mainfrom
miker/angular-sdk-v2.0.0
Open

chore: update to FusionAuth Angular SDK version 2.0.0#35
mrudatsprint wants to merge 7 commits into
mainfrom
miker/angular-sdk-v2.0.0

Conversation

@mrudatsprint

@mrudatsprint mrudatsprint commented Jun 24, 2026

Copy link
Copy Markdown

Description:

  • Update the FusionAuth Angular SDK to v2.0.0
  • Update the entire Angular toolchain (Angular 18 → 22, switches builders to @angular/build:*, updates TypeScript to 6.0, etc.).

chore: upgrade the Angular SDK to v2.0.0
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fusionauth-quickstart-javascript-angular-web Ready Ready Preview, Comment Jul 2, 2026 9:47pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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-sdk to ^2.0.0 and updated the Angular/TypeScript toolchain configuration.
  • Migrated templates from *ngIf to 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.

Comment thread kickstart/templates/defaultMessages.txt
Comment thread complete-application/angular.json
Comment thread complete-application/package.json
Comment thread complete-application/package.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Comment thread complete-application/package.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Comment thread kickstart/templates/defaultMessages.txt

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Comment thread complete-application/package.json Outdated
@mrudatsprint mrudatsprint marked this pull request as ready for review July 2, 2026 21:47
@mark-robustelli

Copy link
Copy Markdown
Contributor

@mrudatsprint I went to run through the quickstart and got this error:
Found: @angular/common@21.2.17

Could not resolve dependency:
peer @angular/common@">=22.0.0" from @fusionauth/angular-sdk@2.0.0

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?

@mrudatsprint

Copy link
Copy Markdown
Author

@mrudatsprint I went to run through the quickstart and got this error: Found: @angular/common@21.2.17

Could not resolve dependency: peer @angular/common@">=22.0.0" from @fusionauth/angular-sdk@2.0.0

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.

@mrudatsprint

Copy link
Copy Markdown
Author

@mrudatsprint I went to run through the quickstart and got this error: Found: @angular/common@21.2.17

Could not resolve dependency: peer @angular/common@">=22.0.0" from @fusionauth/angular-sdk@2.0.0

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?

@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.

@mrudatsprint

Copy link
Copy Markdown
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants