v9.0.5 release
We are happy to announce the official release of D++ 9.0.5! This release brings a whole set of fixes and improvements to any project using the library, including one breaking change listed below.
The new release also brings with it pre-compiled .deb files for armv6 (Raspberry Pi Zero and Raspberry Pi Zero W) support. This allows you to use a pre-compiled D++ library even on really old or slow Pi devices. Please note that the armv6 version does not support voice, as the Pi Zero (which it is intended to be run on) is generally too slow and low spec to do this. If you really want voice support on an arm6 device we recommend you cross-compile the library.
We have also added a windows debug build (still x64) so that you can include a pre-compiled release in a windows debug project.
Release changelog
💥 Breaking changes
- The
dpp::slashcommandresolved parameter types now have the typedpp::resolved_memberwhere before it haddpp::user. Theresolved_memberstruct is a structure which contains both adpp::guild_memberand adpp::useras the Discord API provides both, and both are useful when handling application commands. Where you are usingdpp::useras a resolved command parameter, please switch to usingdpp::resolved_memberinstead.
🛠 Improvements
- add ephemeral attachments to interaction responses
- add
cluster::rest_ping, tells you the ping latency of HTTPS requests from the library - Add version field of app commands
- Update message types and flags
- Update role permissions
- Update command option type
- Add ephemeral boolean to attachment.
🐛 Bug Fixes
- safety checks for empty vectors when bulk adding commands
- Fix guild_set_nickname bug (endpoint had wrong parameter)
- fix application commands to prioritise application id passed in
dpp::slashcommandoverme.idfrom thedpp::cluster
📝 Documentation
- extra docs for armv6 builds
- additional FAQ entries
- fix spelling error dependendancies -> dependencies
👷 CI
- Clean and update
ci.ymland toolchain files - Add
ARMv6ToolChain.cmaketo produce armv6 builds - add debug win64 build to produce debug pre-compiled windows builds
Thank you for using D++!