node scripts/changelog pre
I have been using and improving that script for some time now, at least all 2.5 and 2.6 releases. 👌