Skip to content

@uppy/angular: declare components as standalone & support 20.x #5843

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 1, 2025

Conversation

qxprakash
Copy link
Collaborator

@qxprakash qxprakash commented Jul 27, 2025

Closes #5759
Closes #5833.

This PR:

  • Introduces updates in @uppy/angular that improve developer experience (DX) and also address open issues

The @uppy/angular package underwent major updates in v0.80 (27492bc), where we dropped support for NgModules in favor of standalone components. This change aligns with the direction set by the Angular team — starting from Angular v17, and becoming default in v19, all components are standalone by default. This is now the recommended way to build UI components in Angular.

However, the docs and examples have not yet been updated to reflect this. That will be addressed in #5818.

Even though components are standalone by default starting from Angular 17+, it is still considered good practice to explicitly declare them as standalone. This is also validated by the Angular LSP, which raises an error when this declaration is missing.

image

Changes in this PR:

  • Explicitly mark all components as standalone
  • Fix demo components
  • Add support for Angular 20

Copy link

changeset-bot bot commented Jul 27, 2025

🦋 Changeset detected

Latest commit: bc191aa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@uppy/angular Minor
example-angular Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@qxprakash qxprakash added the safe to test Add this label on trustworthy PRs to spawn the e2e test suite label Jul 27, 2025
Copy link
Contributor

Diff output files
No diff

Copy link

socket-security bot commented Jul 27, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedreact@​19.1.11001008397100

View full report

Copy link
Member

@Murderlon Murderlon left a comment

Choose a reason for hiding this comment

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

I didn't test locally but LGTM. Can you add a changeset? Should mention 20x support and the fix.

@Murderlon Murderlon changed the title Fix: @uppy/angular @uppy/angular: explicitly declare components as standalone Jul 28, 2025
@Murderlon Murderlon changed the title @uppy/angular: explicitly declare components as standalone @uppy/angular: declare components as standalone & support 20.x Jul 28, 2025
@Meistercoach83
Copy link

when will this be merged?

@Murderlon Murderlon merged commit 8b8ab01 into transloadit:main Aug 1, 2025
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Add this label on trustworthy PRs to spawn the e2e test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Angular 20 support Module ‘”@uppy/angular”’ has no exported member ‘UppyAngularModule’
3 participants