Skip to content

v9.0.15 release

Compare
Choose a tag to compare
@braindigitalis braindigitalis released this 29 Nov 15:39
· 3021 commits to master since this release

We are very proud to announce the release of D++ 9.0.15! This release is a recommended upgrade for all, as it includes several stability and performance released improvements plus some fixes.

There is an important breaking change in this release; All objects and properties in the message event are now accessed on the stack with the dot (.) operator. for example, event.msg.author.id, Please be aware of this and be prepared to refactor this part of any bots you are updating!

Alongside this we are also adding new types for your use such as dpp::collector and dpp::cache - check them out, i'm sure you'll find a good use for them in your bots!

The changelog is listed below:

Release Changelog

💣 Breaking Changes

  • change how dpp::message and author are stored to not be pointers. more user friendly and trivially copyable
  • Change channel_edit_position to channel_edit_positions

✨ New Features

  • get_mention() for user, guild_member, role, emoji, channel, plus utility::timestamp(), adds support for all mentionable ping formats as documented here: https://discord.com/developers/docs/reference#message-formatting
  • add managed::get_creation_time(), returns creation timestamp of any object with a snowflake id
  • dpp::collector and derived forms for object collection
  • cache type is a reusable template. more types are derived from dpp::managed.
  • add scheduled events, stage instances, threads and stickers as additional fields of guild_create_t
  • add presences to on_guild_create event, will be filled only if presences privileged intent is set
  • added attachment example
  • Add current_user_set_voice_state, user_set_voice_state

🐞 Bug Fixes

  • throw dpp::voice_exception when not built with voice support instead of silently failing
  • fixed compile errors of cache example in the docs
  • role::premium_role wasnt working because discord api has a bug
  • ETF warnings and 4002 oof decode error with all intents enabled
  • wrong overloaded return type, reaction_collector::completed
  • inverted check causes event to not fire if caching is off
  • fix broken docs
  • g++8.3 template deduction seems broken
  • win: fix unused var warnings
  • Fixed mingw, added link
  • Fix broken channel_edit_position

👷 Build/CI

  • integrate new changelog builder
  • better changelog generation, saving serious time for putting out a release. Who really wants to be editing a document every week
  • update makerelease to support Visual Studio 2022 binaries
  • cache docs and unit tests

📚 Documentation

  • example of cache<T>::get_mutex()
  • update to indicate 2022 works
  • page on variable ownership within lambdas and locals
  • update readme to indicate Visual Studio 2022 support
  • add Visual Studio 2022 support to FAQ
  • fix arg list too long stopping docs gen
  • documentation for collector
  • add example program for dpp::cache

♻️ Refactoring

  • return type of get_container is now auto

Thank you for using D++!