v10.0.10 release
braindigitalis
released this
02 Jun 09:01
·
2023 commits
to master
since this release
We are happy to announce the release of D++ 10.0.10! This release further improves voice receiving, adds a new intuitive class around the permissions system so that you can for example call a .has()
method on it, and separates out the unit tests so that various tests can be run without the need for a token. There is also now functionality for sending webhooks with files.
This update is recommended if you make heavy use of the voice receive functionality, or just like the run the latest and greatest!
The changelog is listed below:
Release Changelog
🐞 Bug Fixes
- Fix duplicate includes
- Win32 builds with moved headers
- Docs typo
- Don't document deps
- Wrap-around for voice receive
- Fix double
API_PATH
and weirdness of operators - Fix
discord_voice_client
voice_payload
priority when two payloads have the same timestamp. - Add export
- Doxygen
- Fixed
dpp::permission
unit test - Ignore event
GUILD_APPLICATION_COMMAND_INDEX_UPDATE
♻️ Refactoring
- Move a bunch of socket headers inside the cpp files that use them rather than them being in the .h
- Change to using ctest to run tests, as this is more standardized
- Support multiple parameters to
permission::add()
,remove()
,set()
- Deprecated
guild_bulk_command_edit_permissions
📚 Documentation
- Ignore src directory
📜 Miscellaneous Changes
- Some common git ignores
- Updated sync methods
- Updated doc of
cluster::get_webhook_message
- Updated sync call methods
- Updated
dpp::permission
::has - Updated docs on
channel_edit_permissions
- Updated permission class
- Updated docs of the permission class
- Updated doc of
application_install_params
- Update title for better SEO
- Updated docs
💎 Style Changes
- Improve comments and PSR-12 style in the php files
💣 Breaking Changes
- Breaking change: updated webhook methods in cluster
✨ New Features
- Add template to only enable for int convertible types
- Add ctest to cspell
- Added missing include in
permissions.h
- Add back returning *this
- Added examples in the method docs of
dpp::permission
- Added
guild_member_remove_role
and deprecatedguild_member_delete_role
because it's just a confusing name - Added unit test for
dpp::permission
- Added three attributes (tags,
install_params
andcustom_install_url
) toapplication.h
- Add
lock_permissions
andparent_id
tocluster::channel_edit_positions
👷 Build/CI
- Unit test 'TS' is an online test
- Refactor unit tests to allow for offline tests and online tests. PRs will run offline tests. Offline means it doesnt need to talk to Discord with a valid API token, but could still do network/internet based things.
Thank you for using D++!