Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down