DataDog / datadog-lambda-js

The Datadog AWS Lambda Library for Node
Apache License 2.0
110 stars 35 forks source link

Documentation request | Add a CHANGELOG to the root of the project for automated dependencies to pick up the changes #528

Closed juancarlosjr97 closed 5 months ago

juancarlosjr97 commented 6 months ago

This is just a request for tools such as Renovate to pick up the CHANGELOG and add release notes to the version of the project updated.

This would be great for the consumers :)

juancarlosjr97 commented 6 months ago

I can raise the first MR for it, and if you want to automate as much as possible you can use release-it, changesets, or any other tools around!

astuyve commented 5 months ago

Hey @juancarlosjr97 - thanks for the note! We publish release notes with every release, and you can find them here in the project.

Is there something else you'd prefer to see?

Thanks!

juancarlosjr97 commented 5 months ago

Hey @astuyve :)

Yes, the release notes are great! However, tools such as Renovate pick up the information from a CHANGELOG file within a repo.

It will not have any information different to the release note that you are already doing.

astuyve commented 5 months ago

Hi @juancarlosjr97,

I took a look at the tips for maintainers which is published by Renovate and it seems this should work out of the box. The documentation says it will handle parsing metadata from GitHub Releases, and it can easily strip the leading v from our versions. We mostly follow semantic versioning (we do publish a lot of minor releases due to Lambda layer versioning), so I'm not sure what else we'd do here.

Given that I haven't use Renovate, I'm not sure I can offer specific advice, but I'd probably suggest looking at their troubleshooting docs as a starting point.

As for this issue, I don't intend to add a Changelog.md file because our group is responsible for nearly a dozen open source project and are trying to keep things standardized. If other users request this in the future, we can revisit the suggestion.

Thanks!