// Guidelines for preparing changelog entries for nextest releases following Keep a Changelog format
| name | prepare-changelog |
| description | Guidelines for preparing changelog entries for nextest releases following Keep a Changelog format |
This document describes the format and conventions used in site/src/changelog.md.
The changelog follows the Keep a Changelog format with nextest-specific conventions.
## [X.Y.Z] - YYYY-MM-DD
Sections should appear in this order (only include sections that are relevant):
### for section headers (e.g., ### Added)-Good:
- Nextest can now update itself! Once this version is installed, simply run `cargo nextest self update` to update to the latest version.
Good (with note to distributors):
- Nextest now sets `NEXTEST_LD_*` and `NEXTEST_DYLD_*` environment variables to work around macOS System Integrity Protection sanitization.
> Note to distributors: ...
Good (with forward-looking context):
- A new `threads-required` configuration that can be specified as a per-test override. This can be used to limit concurrency for heavier tests, to avoid overwhelming CPU or running out of memory.
([#2618])[#2618]: https://github.com/nextest-rs/nextest/pull/2618/pull/ URL/issues/ URL[text](URL)[GHSA-xxxx](https://github.com/advisories/GHSA-xxxx), [CVE-xxxx](https://nvd.nist.gov/vuln/detail/CVE-xxxx)Always thank first-time contributors using this format (use GitHub username only, not full name):
Thanks [username](https://github.com/username) for your first contribution!
Place the attribution:
Examples:
- New feature that does something. Thanks [alice](https://github.com/alice) for your first contribution!
### Added
- Feature A
- Feature B
Thanks [bob](https://github.com/bob) for your first contribution!
For contributors who have contributed before, you can optionally thank them but don't say "first contribution":
Thanks [charlie](https://github.com/charlie) for your contribution!
Or simply:
Thanks [charlie](https://github.com/charlie)!
When multiple people contributed to a feature:
Thanks [alice](https://github.com/alice) and [bob](https://github.com/bob) for your contributions!
Use blockquotes for notes to distributors or package maintainers:
> Note to distributors: you can disable self-update by building cargo-nextest with `--no-default-features`.
For warning about future behavior changes:
### Upcoming behavior changes
If no tests are run, nextest will start exiting with the advisory code **4** in versions released after 2024-11-18. See [discussion #1646](https://github.com/nextest-rs/nextest/discussions/1646) for more.
Clearly mark experimental features:
- Experimental support for [feature name](link). Please try them out, and provide feedback in the [tracking issue](link)!
If a release contains breaking changes, consider adding a note at the top:
This is a major release with several new features. It's gone through a period of beta testing, but if you run into issues please [file a bug]!
`cargo nextest run````toml, ```bashWhen showing configuration:
For example, to time out after 120 seconds:
```toml
slow-timeout = { period = "60s", terminate-after = 2 }
Note the indentation for the code block within a bullet point.
### Environment Variables
- Use all caps with backticks: `` `NEXTEST_RETRIES` ``
- Use the format `` `NAME=value` `` when showing how to set them
### Version References
- Cargo versions: "Cargo 1.87"
- Rust versions: "Rust 1.64"
- Nextest versions: "nextest 0.9.100" or "version 0.9.100"
## Dependency Updates
List major dependency updates or security updates separately:
```markdown
- Update rust-openssl for [CVE-2025-24898](https://nvd.nist.gov/vuln/detail/CVE-2025-24898).
### Added
- A new `--hide-progress-bar` option (environment variable `NEXTEST_HIDE_PROGRESS_BAR`) forces the progress bar to be hidden. Thanks [Remo Senekowitsch](https://github.com/remlse) for your first contribution!
### Added
- Nextest now supports assigning [test priorities](https://nexte.st/docs/configuration/test-priorities) via configuration.
### Fixed
- Fixed an occasional hang on Linux with [libtest JSON output](https://nexte.st/docs/machine-readable/libtest-json/). For more details, see [#2316].
[#2316]: https://github.com/nextest-rs/nextest/pull/2316
### Changed
- If nextest is unable to parse `--target` (and in particular, a custom target), it now fails rather than printing a warning and assuming the host platform. This is being treated as a bugfix because the previous behavior was incorrect.
To generate a changelog entry:
git log <previous-tag>..main --onelinegit log --all --author="Name" --oneline | wc -lgh pr view <number> --json author --jq '.author.login'git show <commit> --statFilter out: