v9.0.7 release
·
3624 commits
to master
since this release
After another week of development, D++ 9.0.7 has finally arrived! This release adds some huge new features for you, such as:
- Voice receiving support (this is not officially supported by Discord but has proven stable for us and has been available in some other non-C++ discord libraries too for some time, so use at your own risk)
- Ability to make arbitrary HTTP(S) requests through the D++ library bypassing the Discord REST queue
- Support for role icons
We also now have a new documentation site at dpp.dev which is mobile friendly, fast, and easy to navigate. This replaces the old documentation at dpp.brainbox.cc which will be removed at some point in the future.
This is again a recommended upgrade, if you wish to stay current with Discord API features. If you need help or support with this library you can as always get help on the official Discord server.
Release Changelog
💥 Breaking Changes
- Fix:
guild_get_members(non-cached guild member fetch) now works correctly and has additional parameters - Fix for
commandhandlerregistration to use bulk commands. This means that you must now call the newregister_commands()method after adding commands to the handler if you are using slash commands.
✨ New Features
dpp::cluster::request()allowing for arbitrary HTTP requests through the library- Calculate opus packet duration internally
- Add additional voice receive/status events
- add role icon support
- add
guild_search_membersfunction - Add respective objects mentioned in a message
- finally allow
dpp::utility::execto run in windows - add silence method, and auto call it when connection becomes ready
👷 CI
- Auto update
windows-bot-templateon successfulmasterpush. This means that thewindows-bot-templaterepository will automatically remain current with the D++masterbranch. - clean apt lists after install as per Codacy recommendation
- attempt to fix MacOS CI by adding brew install OpenSSL as suggested by ray21
- build: add Dockerfile
🐞 Bug Fixes
- Message reaction events trigger correctly and don't depend on cache
- Fix invalid endpoint in
role_createfunction - Fix flags property of user - add public_flags
- Fix audio not playing as raw
- Amend comment for on_voice_receive
- Don't use pointers for image_data property.
- code refactor
- pinned apt packages in Dockerfile as recommended by Codacy
- codacy recommend fixes
📚 Documentation
- Fix general typos and mistakes in the docs
- Add some coding style re braces, and add reference to voice receive
- Voice receive example
- Add some coding style re braces, and add reference to voice receive
- Mobile style cleanups
- Relocate old URLs to new site
- Docs beautification
- Add MP3 streaming example
Thank you for using D++!