oscarotero / keep-a-changelog

Node & Deno package to parse and generate changelogs
MIT License
61 stars 20 forks source link

It removes the link to the first version #21

Closed mitar closed 2 years ago

mitar commented 2 years ago

The example changelog here links to the first version, too. The link is to:

[0.0.1]: https://github.com/olivierlacan/keep-a-changelog/releases/tag/v0.0.1

This package removes such link.

oscarotero commented 2 years ago

mmm, good point! I'll work on that. Thanks!

mitar commented 2 years ago

Maybe add a test which takes the changelog from https://keepachangelog.com/en/1.0.0/ and makes sure it does not change. :-)

oscarotero commented 2 years ago

Fixed in v2.0.0

diprokon commented 1 year ago

Hi!

I had a similar issue. After long debugging, I found out, that my file was in CRLF, and after split('\n') every line had \r in the end. Because of it, the link regexp for parsing links didn't work

To fix it, I just change my file to LF

Hope my finding will be helpful