All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and Pydantic's HISTORY.md, and this project adheres to Semantic Versioning.
- Internal: gracefully handle infinite websocket latency.
- Updated githubkit to fix a validation error when using
/gh commit.
- Improved rendering support for GitHub Flavored Markdown.
- Fixed an issue in Markdown descriptions where a backslash was visible before hard line breaks.
- Markdown images are now formatted like
[alt text](link)instead of. - Improved Markdown whitespace stripping.
- Increased the Markdown description length limit to 512, and added a maximum line count of 16.
- Fixed multi-line HTML comments not being removed from descriptions.
- Added
/gh releaseto get a link to a specific GitHub release, or to open a menu to select one.
- Added the nightly.link icon to the button in
/gh actions artifact. - The select menus in
/gh actions artifactare now paginated.
- Issue/PR descriptions are now parsed as Markdown to remove HTML comments and unnecessary whitespace (fixes #6).
- In
/gh actions artifact, the update time is now hidden if it's less than one second after the creation time.
- Added
/gh actions artifactfor looking up a specific GitHub Actions artifact.
- Updated discord.py to
2.6.2.
- Added a button to issue/PR/commit messages that updates the embed with the latest details.
- For example, if you run
/gh issue issue:1, and then the title of issue #1 is changed, pressing the refresh button will edit the embed title to match the new issue title. - This button can only be used once per minute by unauthenticated users (calculated using the message's last edit time).
- For example, if you run
- The "Show GitHub issues" message command now includes the issue description if the message only contains one issue reference.
- The previous release should have been
0.3.0instead of0.2.4, since a new feature was added.
- Added a message command to get links to inline issue references.
- Implemented a system for custom application emoji, currently only used by the "apps icon" when resending a private message publicly.
- Updated discord.py to
2.5.0.
- Fixed an issue where
/gh search fileswould sometimes fail because it took more than 3 seconds to send a response.
- Several commands now accept a GitHub URL as input (eg.
/gh issue issue:https://github.com/object-Object/discord-github-utils/issues/1). - Added the member count to
/gh userfor organizations if the user is logged in, by mercurialworld in #5.
/gh userno longer fails if the user is an organization, by mercurialworld in #5.
- Added user install count to
/gh status. - Localized all text in
/gh status. - Updated discord.py to
2.5.0a5153+gdb7b2d90.
- GitHub Utils now uses Fluent to localize command/parameter descriptions.
- Added
/gh user, by mercurialworld in #2.
- Changed the repository search algorithm to allow fuzzy owner searches (eg.
object/discordwill now suggestobject-Object/discord-github-utils). /gh_config[_admin] set default_repowill now return an error if the repository does not exist.- Added colors to repository and user embeds, by mercurialworld in #3.
- Changed the default permissions for
/gh_config_adminto Manage Server instead of Administrator; the idea is that if a user can add the bot to a server, they should also be able to configure it.
- Added a workaround for the delete button not working in servers or DMs where the bot is not present (ie. user installs).
Initial release.