- Fail more explicitly when a token isn't provide, to prevent confusing error output (#26).
-
Add
--version
flag to print version and exit (#34). -
Use recursive mdkir when creating the directory for
--multiple-files
(#31). Authored by https://github.com/milahu.
- Add
--file-extension
flag to control the file extension used with the--multiple-files
option. Authored by https://github.com/milahu.
- Fix bug where comments would show the timestamp of the issue instead of the timestamp of the comment. Authored by https://github.com/galenhuntington.
-
Migrate to the Github v4 GraphQL API. This provides signficantly better performance for our use-case compared to the rest API, and it makes significantly better use of rate limits. This should make the script much more viable for medium-large projects.
The CLI interface and markdown templates stay the same, but there could be some changes in how the data is formatted. For example, in the v4 API pull requests will have a
merged
state, whereas previously they were only marked asopen
andclosed
. -
Drop dependencies on pygithub and retrying. Add dependencies on requests and python-dateutil.
- Fix issue where logging the authenticated user errors if the token isn't tied to a user (eg. if it's a github action token).
- Add support for exporting one file per issue using
--multiple-files
. - Add support for a token path in
~/.config/gh2md/token
. - Upgrades to PyGithub 1.55.
Breaking changes:
-
Remove support for username + password login, which was removed from the Github API back in 2020.
-
Remove the
--token
argument. Tokens must now either be read from the environment or a file.