The way we generate release notes for Rector repository - https://github.com/rectorphp/rector/releases/
composer require rector/release-notes-generator --dev
-
Generate Github token here: https://github.com/settings/tokens/new
-
Run the command:
vendor/bin/rng --from-commit <commit-hash> --to-commit <commit-hash> --github-token <github_token>