-
Notifications
You must be signed in to change notification settings - Fork 2.1k
@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
Conversation
🦋 Changeset detectedLatest commit: bc191aa The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
Diff output filesNo diff |
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
There was a problem hiding this 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.
when will this be merged? |
Closes #5759
Closes #5833.
This PR:
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.
Changes in this PR: