Skip to content

Releases: RealTimeChris/DiscordCoreAPI

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.

DiscordCoreAPI v1.60 Release

14 Jul 09:33
Compare
Choose a tag to compare

Hey everyone just a new release here, with the following changes being primary:
-Fixed an issue with the SongAPI classes' stop method.
-Updated the move assignment operator of the UniquePtr class.
-Updated the VoiceConnection and SongAPI's logic to improve simplicity.
-Updated the License.
-Refactored the namespaces for increased simplicity.
-Fixed an issue mentioned here:
#32

DiscordCoreAPI v1.50 Release

11 Jul 06:53
Compare
Choose a tag to compare

Hey everyone just a new release here, with the following changes being primary:
-Implemented a new MessagePrinter class for handling access to std::cout and std::cerr.
-Switched to using a thread-local instance of JsonifierCore.
-Modified the TCPConnection and related classes to no longer use exceptions, instead returning error codes.
-Moved a bunch of the utilities into their own headers, to be inlined.
-Refactored the Https subsystem, as well as its ratelimiting system.
-Improved the exception structures.
-Improved the connection logic of the WebSocketSSLClients.
-Implemented new relational operators.
-Removed a bunch of superfluous operators.
-Implemented a timeout for CoRoutines.
-Implemented a UniquePtr class to improve handling of the Deleter class.
-Modified the CoRoutineThreadPool class.
-Refactored the SongAPI class.

DiscordCoreAPI v1.40 Release

19 Jun 05:06
Compare
Choose a tag to compare

Hey everyone just a new release here, with the following changes being primary:
-Removing superfluous functions from the OggDemuxer class and updating.
-Modifying the MatroskaDemuxer class to better handle end-of-string demuxing.
-Removing FFMPEG as a dependency as a result of having written our own audio Demuxers. For the Matroska and Ogg containers. Significant reduction to build time as well as memory usage while streaming audio.
-Switching from std::copy to std::memcpy.
-Modified it so that the library can now be built statically.

DiscordCoreAPI Release v1.31

16 May 14:45
Compare
Choose a tag to compare
Pre-release

Hey everyone! So in this version - we're introducing the usage of my other library - the fastest Json parsing and serializing library that exists in C++ - Jsonifier. Still a bit to go with respect to fully implementing everything so I will set this as a pre-release. Any/all feedback is always welcome and thanks!

DiscordCoreAPI Release v1.30

26 Mar 22:36
Compare
Choose a tag to compare

Hey everyone! So in this version - we've significantly improved the audio quality of the voice-connection's audio bridge - so streaming audio between servers using a bot will be ace! We've done this through implementing a moving average for the number of active channels for a given packet as well as a gain-ramping function. This seems to have smoothed out the streamed audio significantly. Cheers!

DiscordCoreAPI Release v1.20

20 Nov 13:05
Compare
Choose a tag to compare

Here it is! Some new features include: Higher consistency voice-connection bridge connection/reconnection quality, as well as compilation time has been reduced by over 50% in release builds as a result of having wrapped some of the inline functions that are a part of the Simdjson library.

DiscordCoreAPI Release v1.10

09 Oct 08:54
Compare
Choose a tag to compare

Here it is! Enjoy! Some new features include: Ring-buffered allocations instead of freshly allocated strings for each iteration of a data structure - increasing parsing speed significantly, and refactored error-handling - as well as switching from Nlohmann-Json to Simdjson for json parsing.