-
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. |
For people interested with a dirty, temporary workaround, Angular 19 works with Primeng 18, if after installing dependencies you do:
Above could as well be added in "scripts": {
"postinstall": "find ./node_modules/primeng/fesm2022 -type f -name \"*.mjs\" -exec sed -i 's/, i0\\.ɵɵStandaloneFeature],/],/g' {} +"
}, |
MAC folks using @radarsu 's script 👀 "postinstall": "find ./node_modules/primeng/fesm2022 -type f -name \"*.mjs\" -exec sed -i '' 's/, i0\\.ɵɵStandaloneFeature],/],/g' {} +" |
Thanks for this. Have you noticed any side effects? |
@JakeAi |
I'm working on a new project using angular 18, but the new signal functionality is a must have. I feel by the time I'm "done," I'd have to refactor to v19. I haven't noticed anything yet either. |
@JakeAi yeah, the signals make whole codebase so much more managable. I'd recommend mastering them quickly and Angular 19 release is crazy good, so on new project you might want to consider upgrading quickly. I do a project with Angular 19 fully based on signals, primeng 18 and tailwind v4 beta. Figuring out perfect setup was tough, but those new releases solve so many problems I was struggling with in the past it's worth it (state management with signals feels so much better, management of primitive and semantic CSS values and components, theming and light/dark modes). I even uninstalled zone.js and did zoneless angular and everything is working great, I no longer have obscured stack traces. Feel free to contact me privately if you'd like to copy my setup. |
Hi @radarsu zoneless is working with primeng v18?, AFAIK zoneless is not supported by this lib yet. |
@imaksp |
@radarsu Hey, how did you manage to install Tailwind v4? I get a bunch of errors while attempting to install that in a clean Angular v19 project. |
@Odex64
{
"plugins": {
"@tailwindcss/postcss": {}
}
}
@import 'tailwindcss';
@theme {
--color-*: initial;
--font-*: initial;
/* ... */
--color-primary-500: var(--p-primary-500);
--color-error-500: var(--p-error-500);
}
@use './primeng.scss' as *;
@use './components.scss' as *;
@use './utilities.scss' as *;
@import './theme.css'; Major nuances I experienced were:
|
Im still getting also with the postinstall
|
@slawanextlevels make sure you have killed an angular app then cleaned angular cache directory, then run script and error should be gone. |
Hi everyone, Thank you so much for the PRs and feedback! PrimeNG 19 now works with Angular 19. Today, we plan to release PrimeNG 19-rc.1 so you can test it and share your thoughts. I’d also like to talk about what’s next for PrimeNG 20. In v18 and v19, our main focus was building the new theming engine, and now it’s complete. For PrimeNG 20, we want to improve the codebase completely. This includes using strict types, adding more tests, moving to a signal-based and zoneless structure, and updating all components with the latest best Angular practices. We have a lot of internal improvements planned and will share more details with you soon. |
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 = { |
Details; #16783
The text was updated successfully, but these errors were encountered: