Skip to content
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

"Changelog not found" bug for some versions of @material-ui/core #86

Open
jedwards1211 opened this issue Dec 13, 2018 · 1 comment
Open

Comments

@jedwards1211
Copy link

$ changelog @material-ui/core
3.6.2 / 2018-12-09
  * [CHANGELOG] Prepare v3.6.2
  * [core] Upgrade the dev dependencies
    (https://github.com/mui-org/material-ui/issues/13858)
  * [ToggleButton] Change ToggleButtonGroup non-exclusive default
    value to an empty array
    (https://github.com/mui-org/material-ui/issues/13857)
...

$ changelog @material-ui/core 3.6.0
3.6.0 / 2018-11-26
  * [CHANGELOG] Prepare v3.6.0
  * [docs] Notification Cyber Monday
  * [docs] Fix typo in URL
    (https://github.com/mui-org/material-ui/issues/13688)
...
$ changelog @material-ui/core v3.0.0
3.0.0 / 2018-08-27
  * Changelog not found.

But it's right here: https://github.com/mui-org/material-ui/releases/tag/v3.0.0

Surprised the "How it works" section of the README doesn't talk about where it actually looks for changelog information (Github releases? CHANGELOG.md? material-ui has both and they are very thorough and consistent)

@jedwards1211
Copy link
Author

jedwards1211 commented Dec 13, 2018

Looking at the code, it looks like this package just tries to build a list of git commit messages.

In a well-maintained package, Github releases are going to be a better source of information than the commit messages. That or CHANGELOG.md. In many packages I've seen, it's not loud and clear from the commit messages what the breaking changes are in a major release.

The only major exception is semantic-release packages, where devs have to adhere to specific commit message formats for semantic-release to build the changelog info correctly for Github releases.

Nevermind this, obviously this package is only intended for generating information to add to a changelog. I came here looking for a command to quickly show changes (esp. breaking changes) of newer versions of packages I use. I'll probably just write my own tool to do that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant