Missing Documentation for Breaking Changes in PrimeNG 19 #3310
Replies: 9 comments 1 reply
-
Next thing, in v17,
in v19
Again, there is nothing in the migration guide about it. Is this the right place to post my question? Nobody has replied yet. I am disappointed, as these are really big breaking changes, and I have to spend a lot of time finding all the issues. |
Beta Was this translation helpful? Give feedback.
-
Next thing: severity warning was changed to warm v17 v19 |
Beta Was this translation helpful? Give feedback.
-
Next thing: Element p-confirmDialog was changed to p-confirmdialog v17:
v19: |
Beta Was this translation helpful? Give feedback.
-
needs to be replaced by
|
Beta Was this translation helpful? Give feedback.
-
needs to be replaced by
|
Beta Was this translation helpful? Give feedback.
-
Input Groups need to be changed from class-based |
Beta Was this translation helpful? Give feedback.
-
Although the renames of components such as |
Beta Was this translation helpful? Give feedback.
-
I will add my findings in addition to the ones already mentioned above (most of which also tripped me up). Must say I'm disappointed by the number of breaking/undocumented changes and secretly removed functionality in v18/19. I appreciate your hard work though.
|
Beta Was this translation helpful? Give feedback.
-
Generally, template works a little differently. Like (the old syntax still works in many but not all cases) |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thank you for the new version; it looks great. However, I found several undocumented changes—or perhaps they are documented, but I couldn’t find the relevant information. For example, in the Table component, in version 17, I used the following code:
Where:
p-datatable-sm
was for the small size of the table.p-datatable-gridlines
was for grid lines.p-datatable-striped
was for striped rows.None of these work in the new version. After reviewing the documentation for PrimeNG 19, I discovered that:
size="small"
should now be used instead ofp-datatable-sm
.showGridlines
should replacep-datatable-gridlines
.stripedRows
should replacep-datatable-striped
.Next things what I found:
Checkbox Issue
In version 17, the following code worked:
However, in version 19, this no longer works and must be replaced with:
Radio Button Issue
In version 17, the following code worked:
However, in version 19, this no longer works and must be replaced with:
I couldn’t find any mention of these breaking changes in the migration guide: [PrimeNG Migration Guide](https://primeng.org/guides/migration). These changes are significant and breaking, yet they seem undocumented.
If these changes are documented, it would make updating the code much easier. Unfortunately, I now have to manually identify what doesn’t work across all projects and spend time comparing the documentation for versions 17 and 19 to figure out the differences.
Could you please provide a link or point me to where these significant breaking changes are documented?
Beta Was this translation helpful? Give feedback.
All reactions