Skip to content

v10.0.27 release

Compare
Choose a tag to compare
@braindigitalis braindigitalis released this 27 Oct 17:06
· 540 commits to master since this release
87eef8b

We are pleased to announce the Spooky release of D++ 10.0.27 👻 just before Halloween! This release is filled with non-ghostly enhancements and ghoulish fixes, notably, the way we store guild members has changed slightly, so you might find that where you were directly accessing values such as the roles vector, instead you need to use get_roles(). This is so we can correctly track which parts of the structure you changed if you send it to Discord in an API request.

We have also changed the way we hold icon data, to allow for uploading of guild banners etc.

Support for Discord's Premium App Subscriptions feature is now added. For more details please see the New Features section of this release announcement.

The changelog is listed below:

Release Changelog

💣 Breaking Changes

  • guild_member state tracking (#909)
  • Changed dpp::role's icon field to utility::image_data

✨ New Features

  • Support iconhash/image data variant fields (#965)
  • utility::image_data for storing... image data
  • Added methods to change guild icon, banner, splash, discovery splash
  • Added methods to set a scheduled event's banner
  • Added support for Premium App Subscriptions (#969)
  • Added application and following support for webhooks. (#960)
  • Added the ability to limit emojis to certain roles (#959)
  • Support subcommand autocomplete (#963)
  • dpp::application is now updated, added set_iconhash_not_null (#953)
  • Allow changing of HTTP protocol to 1.0 for backwards API endpoints and broken servers (#951)
  • Added component default values (#889)
  • Added bulk command deleting. (#938)
  • Added thread_get for threads (#930)
  • Added support for hsl colors (#924)
  • Improved human readable error messages to default logger, with unit test (#921)
  • Added an error for caps in command_option. (#918)

🐞 Bug Fixes

  • Multiheader-cookie test, now queries a domain and url in our control which returns 3 hard coded test cookies (#968)
  • Make embed color optional (#961)
  • Fix interaction_modal_response's ambiguous to_json (#956)
  • Make modals work again by making to_json_impl and fill_from_json virtual (#950)
  • Dont require guild cache to fill member roles in message (#945)
  • Make snowflake formattable again (#943)
  • Refactored guild_member_remove
  • Refactors for readability
  • Unit test to comply with new message_delete
  • Fix clang c++17 build (#933)
  • Threads now send correctly to Discord. (#931)
  • Run coro and sync generator to make coro and sync thread_get
  • Fix bug introduced by #927 (#928)
  • Guild member flags can't be set by a bot (#911)

♻️ Refactoring

  • Coro: deprecate dpp::job handler & push dpp::task instead, and remove static_assert in dpp::job (#958)
  • Fix json_interface (#937)

📚 Documentation

  • Comments are now more specific in code style. (#964)
  • Added a note to setting_status for guild cache (#955)
  • Added a page for default select menu values. Added a section in components3 for role select menus (#947)
  • Reorganize interactions and components, add subcategories and move some things to other places (#942)
  • Refactored code examples to comply with code standard (#940)
  • Added a page for clearing slashcommands (#939)
  • Changed making_threads.md to include more info (#932)
  • Embedded video into windows_vs.md (#916)
  • Merged all changes to make_a_bot from #820 (#915)
  • Corrected FreeBSD.md and openbsd.md (#914)
  • Added OpenBSD to README.MD (#891)

💎 Style Changes

  • Change two namespace on one line to dpp::event (#925)
  • Removed blank lines in dtemplate (#920)

📜 Miscellaneous Changes

  • Missing runs
  • Feat!: updated integration to now contain more information (#954)
  • Been on a refactor binge (#941)
  • Broken event data in on_message_delete, on_role_delete Improvement: improved detail for many other delete events, where we can give partial information instead of none for a delete event or give ids Refactor: Remove using namespace dpp and using json = nlohmann::json` in event handler source files
  • Add clang builds (#934)
  • Added resolved object example (#923)
  • Freshen up dpp::snowflake and dpp::managed (#912)
  • Removed version_checker for UE. (#970)

👷 Build/CI

  • Fix vcpkg surely (#973)
  • Fix #926, speedrun to #1000 (#927)
  • Refactor json.h out of include from discordevents.h (#926)
  • Cancel concurrent test docs examples (#919)
  • Fixed an issue with labeler failing (#917)
  • Changes to labeler, stopped labeler from changing every push. (#913)
  • Prevent ci runs being cancelled by github incorrectly (backwards) (#910)
  • Improved security on workflows. (#903)

Thank you for using D++!