This file describes the steps to take when a breaking change is introduced in the codebase. We intend to not include breaking changes in minor releases.
Breaking changes are grouped by their major version number.
⚠️ 21.3.0⚠️ To account for vulnerabilities in Angular, starting version 21.3.0, ppwcode Angular SDK requires at least Angular 21.2.0.
The following have been removed:
ppw-search-filteroutput eventssearchandresethave been removed. UseperformSearchandclearas events instead.
⚠️ 20.6.0⚠️ To account for vulnerabilities in Angular, starting version 20.6.0, ppwcode Angular SDK requires at least Angular 20.3.15.
- ngx-translate should now be at least v17.
ppw-expandable-card and by extension ppw-search-filter used to have opinionated margins.
These have been removed to allow for more flexibility in styling. If you were relying on these margins, you will need to add them back in your own styles or use the new CSS variables.
// src/styles.scss
body {
--ppw-dashboard-wrapper-container-vertical-margin: 32px;
--ppw-dashboard-items-card-margin: 8px;
}
ppw-search-filter {
mat-card {
margin: 8px;
}
}
mat-expansion-panel.ppw-expandable-panel {
margin: 8px;
&.mat-expansion-panel-spacing:first-child {
margin-top: 8px !important;
}
&.mat-expansion-panel-spacing:last-child {
margin-bottom: 8px !important;
}
}Extra codes have been added to DEFAULT_HTTP_ERROR_CODES: PreconditionFailed and Conflict. This might cause change in behavior if you are using the DEFAULT_HTTP_ERROR_CODES in your code. If you are using this constant, you should check if the new codes are relevant to your use case.
No breaking changes. The major version now aligns with the major Angular version to mark compatibility.
If you are using a version lower than 18.0.0 (0.x.x), breaking changes are not documented since the ppwcode Angular SDK was not marked as stable.