primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Feature Request: Support to Angular 20

Open Kaitenjo opened this issue 7 months ago • 5 comments

Describe the bug

Hello Any plans for support Angular 20 yet?

Pull Request Link

No response

Reason for not contributing a PR

  • [ ] Lack of time
  • [ ] Unsure how to implement the fix/feature
  • [ ] Difficulty understanding the codebase
  • [ ] Other

Other Reason

No response

Reproducer

Empty

Environment

Empty

Angular version

19.2.14

PrimeNG version

v19

Node version

19.1.3

Browser(s)

No response

Steps to reproduce the behavior

Empty

Expected behavior

Empty

Kaitenjo avatar May 29 '25 10:05 Kaitenjo

Just wanted to check in on this — is Angular 20 support on the roadmap? I'm currently working on a project using Angular 20, and I'd love to continue using this library without compatibility issues.

sujeetjaiswara avatar May 29 '25 12:05 sujeetjaiswara

Q2: Release of v20 after Angular v20 release featuring primeuix migration.

https://primeng.org/roadmap

And as milestone: https://github.com/primefaces/primeng/milestone/334

jase88 avatar May 29 '25 16:05 jase88

It seems to work normally for me when I force the migration ng update @angular/cli @angular/core @angular/cdk --force.

I also did a package.json override:

  "overrides": {
    "primeng": {
      "@angular/cdk": "*"
    }
  },

Which should be removed when the primeng library is updated.

Just keep in mind that support isn't official yet and that your mileage may vary. But normally it shouldn't matter, as with the changes to V20 there isn't anything that PrimeNG touches that changed.

Martinspire avatar Jun 03 '25 10:06 Martinspire

Dynamic dialogs are broken with Angular 20, so you cannot just override your way if you use them.

klafbang avatar Jun 10 '25 10:06 klafbang

Dynamic dialogs are broken with Angular 20, so you cannot just override your way if you use them.

What is broken about them? It seems my dialogs are still working fine?

Martinspire avatar Jun 14 '25 22:06 Martinspire

I can see that when you generate new angular then "skipLibCheck: true" is added on tsconfig.json by default, which allows to build successfully as InjectFlags is just optional param. This workaround to use angular 20 on our existing projects until primeng team bump up to v20.

junan-trustarc avatar Jun 16 '25 21:06 junan-trustarc

There seems to be progress: https://github.com/primefaces/primeng/issues/18463#issuecomment-3008842460

jase88 avatar Jul 01 '25 07:07 jase88