-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing json-rpc-{engine,middleware-stream}
CHANGELOG tag diff links
#2008
Add missing json-rpc-{engine,middleware-stream}
CHANGELOG tag diff links
#2008
Conversation
…hat were missing in the original repo
…sions that were untagged
c28dab9
to
8104e81
Compare
I might be missing something, but are these entries useful? I like that we have the tags now, but omitting these entries from the changelog might make sense given that we don't have any change entries to document |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dismissing review given Mark's comment. I also ran changelog:validate and it looks like we can just link 5.2.0 directly to the tag instead of a diff.
json-rpc-engine
CHANGELOG tag diff linksjson-rpc-{engine,middleware-stream}
CHANGELOG tag diff links
…are-stream` (1.0.0 to 3.0.0)
c1f08d0
to
465af60
Compare
@Gudahtt I think the tags and tag diff links are definitely adding useful information and shouldn't be removed. Given that, to get rid of the placeholder version headings, I think we'll have to either remove the logic for matching tag diff links with version headings, or add an option to specify a range (or ranges) of versions that we should expect to have empty changelogs because they were never written. |
I think just keeping the empty version headings might be useful, as they represent the full version history of the package, and the unwritten changelogs is also part of that history. |
We already don't have complete history of packages in our changelogs, as we didn't preserve changelogs from before we migrated I look at changelogs for additional high-level context about what each release consisted of, which is missing here. |
In that case, seems like the way forward for package migrations would be: a) create the tags for untagged pre-migration releases, but b) not add them to the changelog? I'm good with that so long as we can expect potential users of the package to look at the changelog as just a high-level overview of version history, instead of an exhaustive source of truth. Although, it does seem like the empty-changelog tag diff links are equally as useful (or un-useful) as the existing tag diff links. Would it be worth modifying |
I'm good with just closing this PR. So long as the tags are created, I agree that the changes here aren't adding anything meaningful. We could always revisit this if there's confusion about the changelogs in the future. @Gudahtt @mcmire Would that be ok, or is there anything else you'd maybe like to address? |
Maybe we could leave a note about looking at the old archived repo to see the changelog for older releases? If you're concerned about this not being comprehensive, maybe that would be an effective way to fix that |
The changelogs for these packages were created at [email protected] and [email protected], so all of the versions before that don't have any changelog entries anywhere. No tag messages or tag diff links in the original repo, since these releases weren't tagged, and it seems no release commit messages, either. The tag diff compare links we now have in core are our only window into what was changed in these early versions. Including them in the changelog would be nice, but preserving the original starting point for the changelog also makes sense to me. |
What I meant is that we could add this as a change entry:
For Either for every one of these blank releases, or once with a note about how it applies to all previous releases as well Edit: Oh I'm sorry, I see, these entries don't exist. |
Given that these releases are ancient history and were never documented, closing this PR and leaving them undocumented would make sense to me. |
Closing as WONTFIX |
Background
While migrating
@metamask/json-rpc-engine
and@metamask/json-rpc-middleware-stream
into the core repo, some earlier release commits that were untagged in the original repo (and didn't have CHANGELOG entries) were skipped by the tag porting script. These were created manually after the fact, and now they need to be added to the CHANGELOG as well.Tasks
json-rpc-engine
:@metamask/json-rpc-{engine,middleware-stream}
- Create tags for release commits that were untagged in the pre-migration repo #2002 (comment)json-rpc-middleware-stream
:@metamask/json-rpc-{engine,middleware-stream}
- Create tags for release commits that were untagged in the pre-migration repo #2002 (comment)auto-changelog
validation.References
@metamask/json-rpc-{engine,middleware-stream}
- Create tags for release commits that were untagged in the pre-migration repo #2002Changelog
N/A
Checklist