diff --git a/developers/discord-social-sdk/core-concepts/platform-compatibility.mdx b/developers/discord-social-sdk/core-concepts/platform-compatibility.mdx index 4e1f71edcf..9763b1bb40 100644 --- a/developers/discord-social-sdk/core-concepts/platform-compatibility.mdx +++ b/developers/discord-social-sdk/core-concepts/platform-compatibility.mdx @@ -9,6 +9,31 @@ import SonyCallout from '/snippets/discord-social-sdk/callouts/sony.mdx'; You can find instructions on how to download the SDK for each platform in the [Getting Started](/developers/discord-social-sdk/getting-started) guide. +--- + +## Game Engine and Language + +The Discord Social SDK supports the following game engines and language environments: + +| Integration | Minimum Supported Version | +|----------------|---------------------------| +| Standalone C++ | C++20 | +| Unity | 2021.3 | +| Unreal Engine | 5.5 | + + + **PlayStation 4 / PS5 exception:** If you're targeting PlayStation 4, or PlayStation 5 with a PS5 SDK older than + 13.000, the Discord Social SDK still supports C++17. All other platforms require C++20. + + + + Prior to Social SDK release 1.9, C++17 is the minimum supported version. + + +--- + +## Platforms + The Discord Social SDK is available for the following platforms: | Platform | Minimum Supported Version | Support Level | Standalone C++ | Unreal Engine | Unity | @@ -62,6 +87,7 @@ Configure authentication, explore features, and get started with setup: ## Change Log -| Date | Changes | -|---------------|-----------------| -| July 21, 2025 | initial release | +| Date | Changes | +|---------------|-----------------------------------------| +| May 20, 2026 | Added Game Engine and Language section. | +| July 21, 2025 | initial release | diff --git a/developers/discord-social-sdk/getting-started/using-c++.mdx b/developers/discord-social-sdk/getting-started/using-c++.mdx index e834d3c573..3344d3e2c3 100644 --- a/developers/discord-social-sdk/getting-started/using-c++.mdx +++ b/developers/discord-social-sdk/getting-started/using-c++.mdx @@ -23,7 +23,7 @@ This guide will walk you through integrating the Discord Social SDK into a new s We are going to make a simple C++ console application for this guide. Make sure you have the following prerequisites: - Basic understanding of C++ and your platform's build system -- C++ Compiler and Build System that supports [C++17](https://en.cppreference.com/w/cpp/17) or greater. +- C++ Compiler and Build System that supports [C++20](https://en.cppreference.com/w/cpp/20) or greater. - A network connection that can access Discord's API endpoints. Let's walk through the steps in detail. @@ -85,7 +85,7 @@ Add the following contents to the `CMakeLists.txt` file to set up the Social SDK cmake_minimum_required(VERSION 3.10) project(DiscordSDKExample) -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED True) add_executable(DiscordSDKExample main.cpp) @@ -972,9 +972,10 @@ import {InboxIcon} from '/snippets/icons/InboxIcon.jsx' ## Change Log -| Date | Changes | -|----------------|-----------------| -| March 17, 2025 | initial release | +| Date | Changes | +|----------------|---------------------------------------------------------| +| May 20, 2026 | Updated required C++ standard to C++20 with 1.9 release | +| March 17, 2025 | initial release | {/* Autogenerated Reference Links */} [`Activity`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#ae793d9adbe16fef402b859ba02bee682 @@ -984,4 +985,4 @@ import {InboxIcon} from '/snippets/icons/InboxIcon.jsx' [`Client::GetDefaultPresenceScopes`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a7648bd1d2f7d9a86ebd0edb8bef12b5c [`Client::GetRelationships`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad481849835cd570f0e03adafcf90125d [`Client::UpdateToken`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a606b32cef7796f7fb91c2497bc31afc4 -[`RunCallbacks`]: https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#ab5dd8cf274f581ee1885de5816be3c29 \ No newline at end of file +[`RunCallbacks`]: https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#ab5dd8cf274f581ee1885de5816be3c29