changelogen
changelogen copied to clipboard
feat: auto-update changelog files
Related to #13
This PR should not be merged until #23 is fixed.
With the appendFile
flag the changelog is appended to the start of the file
Thanks for this PR 💯 One small thing, we need to kinda parse the readme to add new version to the top of the readme (before first ##
). See this example changelog: https://github.com/unjs/changelogen/blob/main/CHANGELOG.md
Thanks for this PR 💯 One small thing, we need to kinda parse the readme to add new version to the top of the readme (before first ##). See this example changelog:
Do you think we should read the new version from package.json and then include it in the changelog?
I think we can introduce the version bump feature to package.json in next iteration.
Are you working on it?
No but plan to. With this pr, you can use to
prop as version. It works on versioned HEAD.
@pi0 Any updates on the version bump feature?
Codecov Report
Merging #24 (cf90f42) into main (48f609b) will increase coverage by
1.08%
. The diff coverage is93.33%
.
:exclamation: Current head cf90f42 differs from pull request most recent head 7362c62. Consider uploading reports for the commit 7362c62 to get more accurate results
@@ Coverage Diff @@
## main #24 +/- ##
==========================================
+ Coverage 88.23% 89.32% +1.08%
==========================================
Files 4 4
Lines 272 281 +9
Branches 43 45 +2
==========================================
+ Hits 240 251 +11
+ Misses 32 30 -2
Impacted Files | Coverage Δ | |
---|---|---|
src/config.ts | 88.13% <88.88%> (+0.13%) |
:arrow_up: |
src/markdown.ts | 98.92% <100.00%> (+3.22%) |
:arrow_up: |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Hi @Intevel. Sorry it took long to be back on this. I've pushed few changes to this feature and preparing for next major version. We by default will update CHANGELOG.md
and (preprend) the latest version in entry. I've also added new option of --output
to specify changelog file. Using changelogen --no-output
it will do as before behavior.
Until supporting --bump
, the title entry is config.to
which is latest ref.