Skip to content

v10.0.5 release

Compare
Choose a tag to compare
@braindigitalis braindigitalis released this 03 Apr 12:29
· 2119 commits to master since this release

We are happy to announce the release of D++ 10.0.5, which includes several bugfixes, and also includes a breaking change to the parameters to guild_get_bans and guild_get_bans_sync due to Discord adding additional parameters API-side.

There have been several performance improvements to the library, and we have added colour constants, default error logging to all callbacks if not specified, operator== for all dpp::managed derived objects and more!

The changelog is listed below:

Release Changelog

♻️ Refactoring

  • Lock doesnt need to be active when the thread is signalled
  • Some improvements to queueing to use shared_mutex, this will allow for some fun stuff (tm) later. Also, decrease timeout of queue thread by 10x to ensure things stay snappy in quiet patches
  • Deprecated summary in integration
  • Remove default callback from get method
  • Fix ugly sprintf cruft in etf parser
  • Changed name of 'hoki'
  • Split cluster sync calls to a cpp and h file, much faster to compile than inlines

🐞 Bug Fixes

  • Fixed HEAD_REF.
  • Params cant be defaulted as callback must be last
  • Windows being Windows
  • Mess detector
  • Derive json interface
  • Wasn't test compiled
  • Fix indentation, change from unsigned int to uint32_t and add include to dpp.h
  • Missing namespace
  • Fix missing exclamation point
  • Group together see entries so the docs are cleaner

📜 Miscellaneous Changes

  • Updated docs in guild.h & guild::get_banner_url can now return gif image urls
  • Updated comment on guild_get_bans
  • Update README.md
  • Update cluster_sync_calls.h
  • Update cluster.h
  • Updated cluster::guild_member_kick

✨ New Features

  • Added guild directory channel type
  • Add get, edit, delete original response
  • Add log_error
  • Add premium_progress_bar_enabled, fixes #270
  • Add request to speak timestamp, fixes #317
  • Add destructor for select option
  • Added more colors
  • Added color constants
  • Added setup guide for clion & small doc improvements
  • guild_member_timeout_sync
  • Add dependency libc6-dev-arm64-cross for ARM64 toolchain
  • Added guild_member_timeout and updated docs
  • Add set_guild_id
  • Add operator== for dpp::managed

👷 Build/CI

  • Some nice stuff in the changelog builder
  • Make this better at detecting symbols, make it detect filenames, and make a Discord compatible markdown output to save on maually converting it on release days
  • Adjust unit test for guild_get_bans
  • Remove FreeBSD from releases

💣 Breaking Changes

  • Breaking change from Discord, guild_get_bans and guild_get_bans_sync now support limit, before and after, and return a maximum of 1000 bans per call
  • Add parameter dpp::timer to timer_callback_t

📚 Documentation

  • Fix doxygen block for set_required
  • Update webhook example to use sync call

Thank you for using D++!