Skip to content

Latest commit

 

History

History
71 lines (48 loc) · 2.43 KB

File metadata and controls

71 lines (48 loc) · 2.43 KB

Breaking changes

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.

v21.0.0

⚠️ 21.3.0 ⚠️

To account for vulnerabilities in Angular, starting version 21.3.0, ppwcode Angular SDK requires at least Angular 21.2.0.

Removal of deprecations

The following have been removed:

  • ppw-search-filter output events search and reset have been removed. Use performSearch and clear as events instead.

v20.0.0

⚠️ 20.6.0 ⚠️

To account for vulnerabilities in Angular, starting version 20.6.0, ppwcode Angular SDK requires at least Angular 20.3.15.

Peer dependency upgrades

Opinionated margins from expandable-card have been removed

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;
    }
}

v19.0.0

Additions to DEFAULT_HTTP_ERROR_CODES

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.

v18.0.0

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.