-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Angular 19
Support
#16827
Comments
If it helps, here's a list of files that needed to be updated in my testing. The Docs still have a lot of work though. AStoker@a1bad87 |
Can this be back-ported to a 17.x release once this is ready? |
Today, we had a detailed meeting about Angular 19 and decided to support it with PrimeNG 19. We are very close to the PrimeNG 18.Final. After releasing it, we plan to release PrimeNG 19.rc.1 within 1 to 2 weeks. Thanks a lot for your understanding! |
Unfortunately, we do not plan to port it to version 17. Primeng versions will be released following the Angular versions. Otherwise, there will be many breakages in frameworks and libraries that are under such active development. I think this is the most logical thing. |
When is the planned final release of v19? |
Unless there are any major issues, we plan to release PrimeNG v19.Final the next week. |
I got master...v19 running. Thank you |
PrimeNG 19.0.0-rc.1 Released; https://www.npmjs.com/package/primeng/v/19.0.0-rc.1 |
Confirmed that 19.0.0-rc.1 fixed the |
PrimeNG 19.0.0-rc.1 working fine with angular 19 |
Confirmed, PrimeNG 19rc works with Angular 19 |
I have an issue with 19rc, how are the styles configured now?
|
@lalo-mx RTFM, migration guide is published https://primeng.org/guides/migration |
no need to import the css files. Configuration API import { ApplicationConfig } from '@angular/core'; export const appConfig: ApplicationConfig = { |
@radarsu I do the same, I have a PrimeNG 17.18.15 application with Angular 19.0.5 and it is completely zoneless with Zoneless with signals everywhere already worked before I upgraded to Angular 19 with Angular 18.2.0 and PrimeNG 17.18.9, no issues have been reported by any user so far and Zoneless with this setup has been in production since May 2024.
|
Hi @Delagen It's not clear whether Primeng 19+ supports non-standalone configuration. In the "Getting started" guide(https://primeng.org/installation) there's a following configuration which can be applied for standalone components only:
|
@sergey-morenets It's common configuration whenever use standalone or not. It's just new syntax and provider functions. Just read docs. |
This is confirmed? |
For me it's not working with the following versions: |
Are there versions that are working? |
@jex-novatec Same for me. not working. below are my dependencies.
|
The error results from primeng-icons-baseicon.mjs:
The value
Why is |
I found it: Restricting Angular to 19.1.6 should remove the issue temporarily. |
still not working for me. PS: i do the postInstall
|
You need to remove the ^ from the version numbers, which means that in the background minor patches like 19.1.7 are installed. But then you need to increase the versions manually. |
still not working... any tip? |
This should do it: "dependencies": {
"@angular/animations": "<=19.1.6",
"@angular/common": "<=19.1.6",
"@angular/compiler": "<=19.1.6",
"@angular/core": "<=19.1.6",
"@angular/forms": "<=19.1.6",
"@angular/platform-browser": "<=19.1.6",
"@angular/platform-browser-dynamic": "<=19.1.6",
"@angular/router": "<=19.1.6",
"@primeng/themes": "^19.0.6",
"primeng": "^19.0.6",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "<=19.1.5",
"@angular/cli": "<=19.1.6",
"@angular/compiler-cli": "<=19.1.6",
"@types/jasmine": "~5.1.0",
"jasmine-core": "~5.5.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.1.0",
"typescript": "~5.7.2"
} |
See my comment before. Version 19.1.7 is broken. Replace it by <= 19.1.6. |
It didn't work either. Can you publish a newly created project on GitHub with only the button from the tutorial working? In theory, PrimeNG should work just by doing the standard installation, without this postinstall or version adjustment. I hope they fix this ASAP. |
There is already an issue for that: |
Thanks a lot ! workaround works like a charm |
Details; #16783
The text was updated successfully, but these errors were encountered: