Skip to content

v10.0.3 release

Compare
Choose a tag to compare
@braindigitalis braindigitalis released this 13 Mar 13:52
· 2256 commits to master since this release

We are pleased to announce the release of D++ 10.0.3! This release adds, amongst other things:

  • HTTP Keepalives, meaning that the library can send API calls much faster, and respond to slash commands quicker!
  • Refactored ordering of member variables saving significant memory at scale
  • Added utility functions for escaping of markdown
  • Removal of the type string from confirmation_callback_t, as std::holds_alternative can do this instead

The changelog is listed below:

Release Changelog

🐞 Bug Fixes

  • ordering
  • missing virtual dtors
  • naming and size of BUFSIZZ
  • match new order in initialisation
  • some fixes to keepalive, don't allow any session left idle for more than 60 secs to be reused, and dont try and save known dead connections where fd = -1
  • fixed wrong return types of several cluster methods
  • fix wrong http method
  • fixed user::get_avatar_url
  • broken include got in here somehow
  • spelling errors
  • we had two json_fwd.hpp
  • fix docs check
  • Fix #227 remove docs pertaining to messages_get with limit > 100
  • Fixes by misspell-fixer

✨ New Features

  • added > character to escape markdown method
  • http connection keep-alive and request chunking
  • added get_sticker_url to sticker class
  • add dpp::utility::version()

♻️ Refactoring

  • reorder structures to match alignment(amd64)
  • add json_interface that specifies the standard methods the rest_request<> template uses
  • migrate all possible REST to new template
  • move these to using the template
  • start of templating rest call bodies. much neater
  • improve performance of url_encode, move to utility namespace, expose a bunch of internal templates in dpp namespace from stringops.h

📜 Miscellaneous Changes

  • updated docs & changed component placeholder max-length
  • updated sticker::get_url
  • Update close-master-pr.php
  • updated doc

📚 Documentation

  • auto generate docs for event handler objects
  • hide an internal var from doxygen
  • redo windows guides to basically railroad new users to using the template

💎 Style Changes

  • auto spell checking of docs PRs

👷 Build/CI

  • replace azure. from sources.list because azure mirror is flaky af

💣 Breaking Changes

  • remove the string type parameter to confirmation_callback_t, because its possible to use std::holds_alternative for this on the value

Thank you for using D++!