diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 68b976f5..0f32d658 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -55,14 +55,13 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} branch: ${{ github.ref_name }} prefix: '' - majorList: '' minorList: feat patchList: fix, perf noVersionBumpBehavior: silent noNewCommitBehavior: silent skipInvalidTags: true - - name: Resolve version (override + pre-1.0 guard) + - name: Resolve version (override) id: version run: | set -euo pipefail @@ -75,26 +74,14 @@ jobs: fi NEXT="${{ steps.semver.outputs.nextStrict }}" - CURRENT="${{ steps.semver.outputs.current }}" - BUMP="${{ steps.semver.outputs.bump }}" # No releasable commits -> nothing to do. - if [ -z "$NEXT" ] || [ "$BUMP" = "none" ]; then + if [ -z "$NEXT" ]; then echo "No releasable changes since the last tag. Nothing to release." echo "version=" >> "$GITHUB_OUTPUT" exit 0 fi - # Pre-1.0 guard: a breaking change yields 1.0.0 from semver-action, but while on 0.x - # the API is not stable (SemVer sec.4), so a breaking change bumps the minor instead. - CUR_MAJOR="${CURRENT%%.*}" - if [ "$BUMP" = "major" ] && [ "$CUR_MAJOR" = "0" ]; then - REST="${CURRENT#*.}" - CUR_MINOR="${REST%%.*}" - NEXT="0.$((CUR_MINOR + 1)).0" - echo "Pre-1.0 guard: downgrading major bump to minor -> $NEXT" - fi - echo "version=$NEXT" >> "$GITHUB_OUTPUT" - name: Stop if nothing to release diff --git a/CHANGELOG.md b/CHANGELOG.md index 623b3e9c..23c627c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,10 +14,12 @@ and [releases](https://github.com/openmfp/webcomponents/releases) for details. ## [0.20.0] - 2026-08-28 ### Features -- Add keyboard controls for drag and resize (#282)- *(dashboard)* Show a busy indicator while the cards load (#277)- Address dashboard design changes (#273)- Empty state (#271)- Baseline accessibility (#266)- Theming support (#255)- Add Angular 22 support and reduce dev vulnerabilities (#252) + +- Add keyboard controls for drag and resize (#282)- _(dashboard)_ Show a busy indicator while the cards load (#277)- Address dashboard design changes (#273)- Empty state (#271)- Baseline accessibility (#266)- Theming support (#255)- Add Angular 22 support and reduce dev vulnerabilities (#252) ### Bug Fixes -- *(deps)* Update dependency gridstack to v13.2.0 (#278)- *(table)* Add loading, failure and retry states (#267)- @openmfp/ngx packaging (#265)- Cover web component boundary (#264)- Prevent prototype pollution in setPropertyByPath (#262)- *(deps)* Update dependency gridstack to v13.1.2 (#261) + +- _(deps)_ Update dependency gridstack to v13.2.0 (#278)- _(table)_ Add loading, failure and retry states (#267)- @openmfp/ngx packaging (#265)- Cover web component boundary (#264)- Prevent prototype pollution in setPropertyByPath (#262)- _(deps)_ Update dependency gridstack to v13.1.2 (#261) ## [0.19.0] - 2026-08-12 diff --git a/cliff.toml b/cliff.toml index b417b90e..4f235633 100644 --- a/cliff.toml +++ b/cliff.toml @@ -17,7 +17,7 @@ body = """ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | striptags | trim | upper_first }} {% for commit in commits %}\ - - {% if commit.scope %}*({{ commit.scope }})* {% endif %}\ + - {% if commit.scope %}_({{ commit.scope }})_ {% endif %}\ {% if commit.breaking %}[**breaking**] {% endif %}\ {{ commit.message | upper_first }}\ {% endfor %}