Skip to content

Releases: RealTimeChris/DiscordCoreAPI

DiscordCoreAPI v2.0.6 Release

03 May 20:30
Compare
Choose a tag to compare

Hey everyone, just a new release with the following changes being primary:

  • Updated the song platforms to support requesting playlists.
  • Added a DCA_INLINE macro.
  • Modified the usage of certain Jsonifier classes to hold up to the updates.

DiscordCoreAPI v2.0.5 Release

27 Dec 06:17
Compare
Choose a tag to compare

Hey everyone, just a new release with the following changes being primary:

  • Updated the moveThroughMessagePages function to fix an issue with iterating over pages.
  • Updated a few of the functions to accommodate for the changes made to the depended-upon library Jsonifier.

DiscordCoreAPI v2.0.4 Release

12 Dec 11:41
Compare
Choose a tag to compare

Hey everyone, just a new release with the following changes being primary:

  • Modified the calls to createArray() to become createValue().
  • Fixed an issue with a SongAPI not requesting the proper data.
  • Updated a bunch of function calls to reflect changes made to the depended library Jsonifier.

DiscordCoreAPI v2.0.3 Release

27 Nov 18:31
Compare
Choose a tag to compare

Hey everyone, just a new release with the following changes being primary:

  • Modified the thread pool.
  • Exchanged some superfluous strings for vectors.
  • Renamed a class.
  • Updating the docs for the website.
  • Updated to accommodate for changes made to the Jsonifier depended-upon library.

DiscordCoreAPI v2.0.2 Release

07 Nov 03:52
Compare
Choose a tag to compare

Hey everyone, just a new release with the following changes being primary:

  • Modified the connection behavior of the VoiceConnection class.
  • Added support for the Discord "custom bot status"es.
  • Modified the getCached(x) functions to retrieve from the HTTPS endpoints when the object is absent from the cache.
  • Replaced all of std::string with jsonifier::string, std::string_view with jsonifier::string_view.
  • Added a ToEntity interface for collecting data-structures from their Snowflake ids.
  • Modified the CMakeLists.txt files.
  • Also modified calls to stoull et al.
  • Removed a bunch of superfluous concepts.
  • Refactored the KeyHasher and KeyAccessor classes.
  • Modified the VoiceConnection class to better avoid unnecessary calls to getUserAsync.
  • Switched from using strings to using string_views in the Https client classes.
  • Fixed an issue with a moved-from object.
  • Updated the caching behaviors of the EventManager class.

DiscordCoreAPI v2.0.1 Release

08 Oct 03:04
Compare
Choose a tag to compare

Hey everyone, just a new release with the following changes being primary:
-Modified the connection behavior of the VoiceConnection class.
-Added support for the Discord "custom bot status"es.
-Modified the getCached(x) functions to retrieve from the HTTPS endpoints when the object is absent from the cache.
-Replaced all of std::string with jsonifier::string, std::string_view with jsonifier::string_view.
-Added a ToEntity interface for collecting data-structures from their Snowflake ids.
-Modified the CMakeLists.txt files.
-Also modified calls to stoull et al.
-Removed a bunch of superfluous concepts.
-Refactored the KeyHasher and KeyAccessor classes.
-Modified the VoiceConnection class to better avoid unnecessary calls to getUserAsync.
-Switched from using strings to using string_views in the Https client classes.
-Fixed an issue with a moved-from object.
-Updated the caching behaviors of the EventManager class.

DiscordCoreAPI v2.0 Release

15 Sep 05:21
Compare
Choose a tag to compare

Hey everyone, just a new release with the following changes being primary:
-Removed DetectArchitecture.cmake to allow for Jsonifier's version to run.
-Modified the UnorderedSet and UnorderedMap classes to improve performance and stability.

DiscordCoreAPI v1.90 Release

05 Sep 17:41
Compare
Choose a tag to compare

Hey everyone just a new release here, with the following changes being primary:
-Swapped out all instances of std::vector for Jsonifier::Vector to increase performance.
-Updated the CMakeLists.txt script.
-Updated the UnorderedMap and UnorderedSet classes to improve performance.
-Added a CountedPtr class for counting the ThreadWrapper's StopToken references.
-Added a ThreadWrapper class to compenstate for lack of std::jthread support on Clang16 on MacOS.
-Removed LightString class in exchange for using Jsonifier::String for increased performance.
-Replaced the cached objects with UniquePtr-stored object-types to save memory.

DiscordCoreAPI v1.80 Release

17 Aug 02:58
Compare
Choose a tag to compare

Hey everyone just a new release here, with the following changes being primary:
-Removed C++ aliasing instances.
-Fixed a segfault that was occurring under Linux.
-Updated the Doxygen comments.
-Fixed a disconnection issue with the UDPConnection class.
-Implemented a UnorderedMap class to improve performance.
-Implemented perfect forwarding in some of the caching functions.
-Fixed a couple issues with the internal voice-streaming implementation.
-Updated a function to be inlined.
-Updated some function-local variables to be static constexpr.
-Added the new Gateway intents.
-Fixed the UpdatePresenceData sending behavior.
-Removed a bunch of superfluous dllexport calls.
-Fixed the ObjectCollector implementations.
-Implemented a TimeStampBase and PermissionsBase class to support uint64_t and std::string versions of each.
-Updated the UnorderedSet implementation.
-Adding new AVX-detection code, as well as a fallback layer for non-avx systems.
-Added a fully AVX512/AXV2/AVX enabled mixer for the audio subsystem.
-Implemented DiscordCoreClient as a Singleton class.
-Improved the UnorderedSet and UnorderedMap classes.

DiscordCoreAPI v1.70 Release

24 Jul 10:24
Compare
Choose a tag to compare

Hey everyone just a new release here, with the following changes being primary:
-Refactored the "x"-Data data structures as well as created CacheData structures for the ones that are cached.
-Updated the CMakeLists.txt files.
-Fixed behavior of certain functions while caching is disabled.
-Improved the behavior of the ObjectCache's functions.
-Removed superfluous operators.
-Improved error reporting.
-Improved thread simplicity/reduced thread wastage by reusing threads instead of constructing new ones in the ThreadPool and SongAPI classes.
-Improved the KeyAccessor and Fnv1a Hash classes.
-Removed superfluous typedefs.
-Fixed an accidentally replaced system_clock call.
-Updated to fix various compiler warnings.
-Fixed a BaseSocketAgent indexing issue.
-Added an additional option to choose whether or not to cache GuildMembers, separately from Users.
-Removed noexcept from many of the functions.
-Improved interfaces for "Discord image urls".
-Moved a bunch of utilities out into their own headers, to be inlined.
-Switched to using the CoRoutine threadpool for launching VoiceConnection threads, instead of launching a new std::jthread for each one.