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>