
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
changelogfmt
Advanced tools
Formats the reference links of Keep a Changelog style files.
When maintaining a changelog file in the Keep a Changelog format, you need to manually add links to compare each version with the previous one.
You might also reference issues and pull requests, and unlike in GitHub comments, you need to explicitly add the Markdown link for those in your changelog.
This can be a bit cumbersome and error-prone. To ease that, let me introduce changelogfmt.
This tool takes your changelog as stdin, makes sure that each version
has the proper GitHub compare URL (or adds it otherwise), identifies all
#
links to add the issue or PR link reference for all the missing
ones, and outputs the new version to stdout
.
npm install -g changelogfmt
Format given file, stdin
or CHANGELOG.md
otherwise, and print it to
stdout
:
changelogfmt whatever.md
changelogfmt < whatever.md
changelogfmt
Format given file or CHANGELOG.md
otherwise, and overwrite it:
changelogfmt --write whatever.md
changelogfmt --write
My favorite way is from inside Vim, while editing the changelog file:
:%!changelogfmt
# Lint the code.
npm run lint
Pull requests are welcome!
[2.2.0] - 2022-05-11
changelogfmt init
now gets data from Git tags!FAQs
Formats the reference links of Keep a Changelog style files.
The npm package changelogfmt receives a total of 9 weekly downloads. As such, changelogfmt popularity was classified as not popular.
We found that changelogfmt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.