Search code examples
angularprimengprimeng-datatableprimeng-turbotable

Does primeNg upgrade need Angular upgrade?


I am planning to use primeng turbo table feature that is included in 5.x.

Right now, we are using version 4.3 in our project. When I upgraded primeng to latest version, I came across many issues. Many answers in google suggested to upgrade Angular version accordingly.

I want to confirm if the upgrade of primeNg needs an upgrade of Angular as well?


Solution

  • According to the newest primeng release notes:

    PrimeNG 6.0.0 is fully compatible with Angular 6 and RxJS 6, if you are using Angular 5 then you need to continue using PrimeNG 5.x instead.

    Also 5.0.0 version release is compatible accordingly:

    PrimeNG 5 fully support Angular 5, if your project is on Angular 4, the PrimeNG version to use would be 4.x as PrimeNG 5 does not work on Angular 4 due to AOT constraints.

    So try to always check release notes.