Skip to content

v10.0.1 release

Compare
Choose a tag to compare
@braindigitalis braindigitalis released this 22 Feb 22:28
· 2383 commits to master since this release

After a busy week of development we are proud to announce the release of D++ 10.0.1! The 10.0.1 branch comes with a lot of refactoring, performance improvements, and quality of life improvements. Amongst these improvements are some shorthand ways of handling and declaring slash commands to make this simpler. To see this in action check out the first bot tutorial.

We have also updated nlohmann::json to 3.10.5 and fmtlib to 8.1, the latest available versions. Our Docker image (brainboxdotcc/dpp:latest) is now kept up to date with our master branch at all times, making it useful as a deployment option - see here for an example of how to use this to deploy a D++ bot via a Docker image.

The changelog is listed below:

Release Changelog

🐞 Bug Fixes

  • fix up the webhook ctor PR, and add a unit test
  • fixed stuff mentioned in #293
  • force all slashcommand names to lowercase internally
  • fix uppercase p
  • fix accidentally deleted text
  • fix deprecated invite stage
  • fixed marks
  • fix windows issues and make unit tests pass
  • make unit tests able to be run on windows
  • fix warning by using fallthrough annotation
  • Fixes by misspell-fixer

♻️ Refactoring

  • deprecate but not remove commandhandler
  • add attachments array to sent messages, if it contains values
  • bump nlohmann to 3.10.5, fmtlib to 8.1
  • remove useless line in ARMv7 cmake
  • deprecated invite stage :(
  • remove testing docs
  • change to break bc it was a bug

✨ New Features

  • add back images
  • added webhook constructors
  • add QOL methods to dpp::interaction that streamline slashcommand events, add dpp::utility::cout_logger(), and add two new interaction_create_t::reply overloads that just take a message or string
  • added current_member_edit
  • added build-a-discord-bot-windows-wsl
  • add unit tests page

📚 Documentation

  • docs fix: uppercase command name
  • get rid of screenshot showing message example
  • update first-bot page to use interactions not message commands

👷 Build/CI

  • docker deployment
  • update dockerfile, and add a CI action to update the docker image
  • improve changelog builder
  • allow turning off the ldconfig step, and set soversion and symlink
  • cmake option to allow disabling of voice even if we have the libs
  • make this work on pull request to master

📜 Miscellaneous Changes

  • Update 03_example_programs.md
  • updated link
  • updated docs of guild_set_nickname
  • updated docs of current_member_edit
  • updated file upload example
  • Update close-master-pr.php
  • update build and test docs

Thank you for using D++!