D++ 10.1.3 is here!
This update mainly smooths out edge cases for Windows bot, especially fixing a reconnect loop that could leave your bot stuck retrying forever after certain websocket disconnects. If you’ve ever seen that on Windows, this one’s for you.
One important note: GitHub no longer provides VS2019, so we can’t ship VS2019 prebuilt zips anymore. Only VS2022 builds are provided now. If you want to use D++ in VS2019, you need to build it yourself from source.
You’ll also find a new way to declare complex component groups, allowing you to design them on sites like discord.builders, and the usual round of small fixes to keep things running smooth.
The changelog is listed below:
Release Changelog
✨ New Features
- Support for pre-generated component json, in the same way we support pre-generated embed json (#1427)
- Implement event webhook fields in
dpp::application
class (#1425) - Add
avatar_url
override for webhook struct, resolves #1416 (#1419)
🐞 Bug Fixes
- Socket readiness fixes for Windows, doesnt get stuck in reconnect loops any more (#1461)
- Add thread safety primitives to internal shard list (#1436)
- Breaking: voice connect doesnt break after a shard reconnect (#1435)
- Json parsing issues with string arrays in
dpp::application
(#1426) - Fix tests build on Windows (#1414)
- Coro: fix
when_any
when an awaitable is already finished beforeco_await
(#1415)
♻️ Refactoring
- Improve socket error messages on Windows
- Make method and path in
http_server_request
protected instead of private (#1423)
📚 Documentation
SORT_BRIEF_DOCS
=YES (#1421)
📜 Miscellaneous Changes
- Persist and move the voice connections on shard reconnection. (#1449)
- In case of failure to initialise
discord_client
, null the ptr - Execute
on_stop
callback of all timers on bot shutdown (#1424) - Require c++17 (#1404)
👷 Build/CI
- Remove vs2019 from release and actions (#1459)
- Only check changed files with npx cspell lint (#1437)
- Update armv6 build to ubuntu 24.04, remove clang-10 (#1420)
- Fix
DPP_NO_CORO
fromDPP_CORO
and explicitly set where we know it isn't supported (#1406)
Thank you for using D++!