You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The elastic-package changelog add command should incorporate unreleased changelog notes into the new version that it adds. For example, if the changelog contains the content below and the manifest version is on 1.15.0, then all of the newer changes are unreleased and should be rolled into the added version. So then this
Today's implementation is treating the latest entry in the changelog1 as the latest released version. I think it should be using the manifest version as the starting semver for bumping major/minor/patch.
Use-case
When automating changes it is very easy to overlook that unreleased changes were added to the changelog via a x.y.z-next entry. The tool can detect these by comparing if their versions are newer than manifest version, and then when they are merged into the requested changelog entry it should be more clear to the developer that they are releasing additional changes beyond their own.
The
elastic-package changelog add
command should incorporate unreleased changelog notes into the new version that it adds. For example, if the changelog contains the content below and the manifest version is on1.15.0
, then all of the newer changes are unreleased and should be rolled into the added version. So then thisbecomes
Today's implementation is treating the latest entry in the changelog1 as the latest released version. I think it should be using the manifest version as the starting semver for bumping major/minor/patch.
Use-case
When automating changes it is very easy to overlook that unreleased changes were added to the changelog via a
x.y.z-next
entry. The tool can detect these by comparing if their versions are newer than manifest version, and then when they are merged into the requested changelog entry it should be more clear to the developer that they are releasing additional changes beyond their own.Footnotes
https://github.com/elastic/elastic-package/blob/c69d5e1d6ccff28e05e84ebdb7f347db50c24c3f/cmd/changelog.go#L76 ↩
The text was updated successfully, but these errors were encountered: