Skip to content

chore: release 2025.9.2#6192

Merged
jdx merged 1 commit intomainfrom
release
Sep 5, 2025
Merged

chore: release 2025.9.2#6192
jdx merged 1 commit intomainfrom
release

Conversation

@mise-en-dev
Copy link
Collaborator

@mise-en-dev mise-en-dev commented Sep 5, 2025

🐛 Bug Fixes

  • (ci) set required environment variables for npm publishing by @jdx in #6189
  • (release) clean up extra newlines in release notes formatting by @jdx in #6190
  • (release) add proper newline after New Contributors section in cliff template by @jdx in #6194
  • (release) fix changelog formatting to remove extra blank lines by @jdx in #6195
  • (release) restore proper newline after New Contributors section by @jdx in #6196

🚜 Refactor

  • (ci) split release workflow into separate specialized workflows by @jdx in #6193

Chore

  • (release) require GitHub Actions environment for release-plz script by @jdx in #6191

@mise-en-dev mise-en-dev force-pushed the release branch 2 times, most recently from db5f3b0 to 2f95b72 Compare September 5, 2025 15:14
jdx added a commit that referenced this pull request Sep 5, 2025
…iff template (#6194)

## Summary
- Fixes the changelog formatting issue where the New Contributors
section was running into the next version header
- Adds a blank line after the contributor list to ensure proper
separation

## Problem
The previous fix (PR #6190) to remove extra blank lines inadvertently
caused a new issue. The `{% endfor -%}` directive was stripping the
trailing newline after the contributor list, causing the next version
header to appear on the same line as the last contributor.

Example of the issue in PR #6192:
https://github.com/jdx/mise/pull/6192/files

The formatting looked like:
```
- @elvismacak made their first contribution in [#6124]## [2025.9.0]...
```

## Solution
Changed the template from:
```jinja
{% endfor -%}
{% endif -%}
```

To:
```jinja
{% endfor %}

{% endif -%}
```

This adds a blank line after the contributor list while still stripping
the trailing newline after the endif block to avoid extra spacing after
the section.

## Test plan
- [ ] Generate changelog with `git cliff` and verify New Contributors
sections have proper spacing
- [ ] Verify no extra blank lines between commits within sections
- [ ] Check that version headers are properly separated from previous
sections

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Sep 5, 2025

Hyperfine Performance

mise x -- echo

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.1 x -- echo 18.8 ± 6.0 17.9 151.6 1.00 ± 0.32
mise x -- echo 18.8 ± 0.3 18.1 20.1 1.00

mise env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.1 env 17.9 ± 0.2 17.5 19.6 1.00
mise env 18.1 ± 0.6 17.6 26.1 1.01 ± 0.04

mise hook-env

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.1 hook-env 17.6 ± 0.3 17.2 20.6 1.00
mise hook-env 17.7 ± 0.2 17.2 18.5 1.00 ± 0.02

mise ls

Command Mean [ms] Min [ms] Max [ms] Relative
mise-2025.9.1 ls 16.0 ± 0.2 15.5 16.8 1.00
mise ls 16.0 ± 0.2 15.6 17.3 1.00 ± 0.02

xtasks/test/perf

Command mise-2025.9.1 mise Variance
install (cached) 162ms ✅ 101ms +60%
ls (cached) 61ms 61ms +0%
bin-paths (cached) 64ms 65ms -1%
task-ls (cached) 464ms 463ms +0%

✅ Performance improvement: install cached is 60%

@mise-en-dev mise-en-dev force-pushed the release branch 2 times, most recently from 9ad5fcf to 6b8c64d Compare September 5, 2025 15:53
jdx added a commit that referenced this pull request Sep 5, 2025
The previous fix removed too much whitespace. The New Contributors
section needs a blank line after it to properly separate from the next
version header.

Changes:
- Changed line 51 from `{% endif -%}` to `{% endif %}`
- This preserves the newline after the New Contributors section

This fixes the issue seen in PR #6192 where the New Contributors line
runs directly into the next version header.

Test with: `git cliff --strip all --tag v2025.9.1 v2025.9.0..v2025.9.1`

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
jdx added a commit that referenced this pull request Sep 5, 2025
…6196)

## Summary
- Fixes the missing newline after the New Contributors section
- Includes regenerated CHANGELOG.md to verify the fix works correctly

## Problem
The previous fix (#6195) removed too much whitespace. While it correctly
fixed the extra blank line between commits and the New Contributors
section, it also removed the newline after the New Contributors section,
causing it to run directly into the next version header.

In PR #6192, you can see the problem where the New Contributors line
runs directly into the next version:
```
- @elvismacak made their first contribution## [2025.9.0]...
```

## Solution
Changed line 51 in cliff.toml from `{% endif -%}` to `{% endif %}` to
preserve the newline after the New Contributors section.

## Verification
The CHANGELOG.md has been regenerated and included in this PR to verify
the formatting is correct:
- ✅ No extra blank lines between commits within sections
- ✅ No extra blank lines before New Contributors heading
- ✅ Proper blank line preserved after New Contributors section

You can see in the included CHANGELOG.md that the formatting is now
clean and consistent throughout.

## Test plan
- [x] Generated CHANGELOG.md with `git cliff -o CHANGELOG.md`
- [x] Verified New Contributors sections have proper spacing
- [x] Checked that version headers are properly separated
- [ ] Verify the next release generates properly formatted release notes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
@jdx jdx merged commit 60d0fb2 into main Sep 5, 2025
10 of 11 checks passed
@jdx jdx deleted the release branch September 5, 2025 16:22

### New Contributors

- @jdx made their first contribution in [#6196](https://github.com/jdx/mise/pull/6196)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Changelog Misidentifies Maintainer as New Contributor

The changelog incorrectly lists @jdx in the 'New Contributors' section. Since @jdx is the project's main maintainer with numerous prior contributions, this points to an issue in the changelog generation logic, creating a misleading entry.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants