Skip to content

Commit bbd2919

Browse files
authored
Discord Social SDK Release 1.3 (discord#7597)
* Added new social sdk 1.3 changelog * Added social sdk ref links * ::
1 parent b930084 commit bbd2919

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: "Discord Social SDK Release 1.3"
3+
date: "2025-06-05"
4+
topics:
5+
- "Discord Social SDK"
6+
---
7+
8+
A new release of the Discord Social SDK is now available, with the following updates:
9+
10+
### Authentication
11+
- Added an `APPLICATION_DEAUTHORIZED` webhook event which can be configured in the developer portal. When a user unlinks their account or revokes authorization for your application in any way, this event will be sent to configured webhooks. The payload will contain serialized user information. See [Webhook Events](/docs/events/webhook-events) docs for more information on configuring webhook events.
12+
13+
### PC
14+
- Added configurable request timeout SDK HTTP client requests to mitigate crashing when connected to unstable/slow internet. Support is on PC in this release with console and mobile support coming in future release. Timeout default value is 30000ms (30 seconds) and can be configured using the new Client API: [`Client::SetHttpRequestTimeout`]
15+
16+
### Mobile
17+
- [`Client::SetSpeakerMode`] is now deprecated. Unless [`Client::SetEngineManagedAudioSession`] is used, audio routing will be handled automatically by the SDK
18+
19+
#### Android
20+
- Fixed routing of game and voice audio when external audio devices are connected and/or disconnected. [`Client::SetEngineManagedAudioSession`] has been added to communicate that the SDK should not manage audio routing and automatically enter and leave `MODE_IN_COMMUNICATION` when joining and leaving calls.
21+
- Fixed an issue with the Authorize method when a device configuration change needs to restart the activity
22+
23+
#### iOS
24+
- Various fixes for audio routing and session management. When using the Unity plugin, game audio will no longer stop playing when ending a call. For standalone SDK use, a method [`Client::SetEngineManagedAudioSession`] has been added to communicate that the SDK should not automatically start and stop the `AVAudioSession` when joining and leaving calls.
25+
- Corrected supported platform values in `Info.plist` for iOS .frameworks.
26+
27+
### Consoles
28+
- Standalone archives now only contain console-specific files, like the Unity and Unreal Engine archives
29+
30+
### Misc
31+
- Fixed a thread safety issue with [`Client::AddLogCallback`]
32+
- Added [Flags] declaration for bit flags enums in C#
33+
34+
<!-- Autogenerated Reference Links -->
35+
[`Client::AddLogCallback`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#af78996cff24a40f5dc7066beed16692c
36+
[`Client::SetEngineManagedAudioSession`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ade08897214152b9acfa79c263e77e366
37+
[`Client::SetHttpRequestTimeout`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ae5fe2518b0b1b05ee1745ab0a79096b9
38+
[`Client::SetSpeakerMode`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ac269ab57407e3b83e2bb2d30895e666d

tools/doxygen/social-sdk-mappings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
"discordpp::Activity::SetDetails": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a28d98bbf86841526a0b2c033f3a70b28",
1616
"discordpp::Activity::ApplicationId": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a1203f29b82e9716cdce9151c7ea3b2db",
1717
"discordpp::Activity::SetApplicationId": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a48b156412b91a9a09c268bf2c3f7f9ec",
18+
"discordpp::Activity::ParentApplicationId": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a091058291278bf1ff0250b28bf311786",
19+
"discordpp::Activity::SetParentApplicationId": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a37969990d16e5f58e6180ff49038311c",
1820
"discordpp::Activity::Assets": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a3fb85cc97867d2bf01e7e1a9a6414d95",
1921
"discordpp::Activity::SetAssets": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a7f0b6d7a92925a005444cb3f4055e2c3",
2022
"discordpp::Activity::Timestamps": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a912e6e9f685f9e7003731222016ed1a2",
@@ -119,6 +121,8 @@
119121
"discordpp::AuthorizationArgs::SetNonce": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationArgs.html#aeaf87c0b26a074ed7b23f2bd4647b6a6",
120122
"discordpp::AuthorizationArgs::CodeChallenge": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationArgs.html#a59930370c7ab835cf09fb6d8f893dd96",
121123
"discordpp::AuthorizationArgs::SetCodeChallenge": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationArgs.html#ad9c0f8479812266dbe3eb0eae6e7ea36",
124+
"discordpp::AuthorizationArgs::IntegrationType": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationArgs.html#ac1ab5d5840789b48896d427cd78102d3",
125+
"discordpp::AuthorizationArgs::SetIntegrationType": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationArgs.html#a01eedddbf32654ba7b17a0f14a9431ca",
122126
"discordpp::AuthorizationCodeChallenge::AuthorizationCodeChallenge": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationCodeChallenge.html#aa84866d278286fbc545beafb98b48ed8",
123127
"discordpp::AuthorizationCodeChallenge::operator=": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationCodeChallenge.html#a8ae0f5dd10c5ae9f9545b28e206a08d9",
124128
"discordpp::AuthorizationCodeChallenge::operator bool": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1AuthorizationCodeChallenge.html#a5a9c68e52c8f21d57d93240bc332cdc4",
@@ -194,6 +198,7 @@
194198
"discordpp::Client::SetAutomaticGainControl": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a818ae7f46b5bd3873dcd51dd3d9fa64d",
195199
"discordpp::Client::SetDeviceChangeCallback": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a31f683bd8df9f6fdcc384e4678301ef0",
196200
"discordpp::Client::SetEchoCancellation": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a1def244b7ecd388902ba5256ce506ca3",
201+
"discordpp::Client::SetEngineManagedAudioSession": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ade08897214152b9acfa79c263e77e366",
197202
"discordpp::Client::SetInputDevice": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad1e898d1486f9dfece15c6913261b66f",
198203
"discordpp::Client::SetInputVolume": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad4358f5baffd9a5f2a6fa74d62459313",
199204
"discordpp::Client::SetNoAudioInputCallback": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a479e60724bf6b0b39b555c1ff8489b9e",
@@ -225,9 +230,11 @@
225230
"discordpp::Client::OpenAuthorizeDeviceScreen": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#af29a13acc992a75fc0870051ff68575b",
226231
"discordpp::Client::ProvisionalUserMergeCompleted": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#af836d40617bb6d74648309c768234184",
227232
"discordpp::Client::RefreshToken": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a187af0f99f94b3b9a4ad4302f6a443e7",
233+
"discordpp::Client::RevokeToken": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a30ccea6366efaf0b884efcdcc28a6f2d",
228234
"discordpp::Client::SetAuthorizeDeviceScreenClosedCallback": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a27d1ac5d868a93a141254c59023a13bb",
229235
"discordpp::Client::SetGameWindowPid": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#aae200241796a779e4b9e8cb2d22138c2",
230236
"discordpp::Client::SetTokenExpirationCallback": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#aab5bfc76809ea22e79f2f7a067ac4519",
237+
"discordpp::Client::UnmergeIntoProvisionalAccount": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a2da21ae8a3015e0e5e42c1a7226b256f",
231238
"discordpp::Client::UpdateProvisionalAccountDisplayName": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a7485979ab2d4c533b75f8efd5e50bc60",
232239
"discordpp::Client::UpdateToken": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a606b32cef7796f7fb91c2497bc31afc4",
233240
"discordpp::Client::CanOpenMessageInDiscord": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ae2aac143a691091691c5cc75aa07dace",
@@ -311,6 +318,7 @@
311318
"discordpp::Client::operator=": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a8c02c2584b09be381cb519ec8951ebcc",
312319
"discordpp::Client::operator bool": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad35d2a626e64f4313883ce22cd45efb7",
313320
"discordpp::Client::GetApplicationId": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#abe66dd4bf3cbc27961d41e8e11015ff5",
321+
"discordpp::Client::SetHttpRequestTimeout": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ae5fe2518b0b1b05ee1745ab0a79096b9",
314322
"discordpp::Client::ErrorToString": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ab40c4c45450eb5d5f14346612b57ddae",
315323
"discordpp::Client::GetDefaultAudioDeviceId": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a91c6f22803d437153ad192f3395ac47c",
316324
"discordpp::Client::GetDefaultCommunicationScopes": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a71499da752fbdc2d4326ae0fd36c0dd1",
@@ -427,6 +435,7 @@
427435
"discordpp::RelationshipHandle::DiscordRelationshipType": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#a5fecfb79a4a2b6f3dc5f73b09d0c3881",
428436
"discordpp::RelationshipHandle::GameRelationshipType": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#aa60146eb72ede07e3e615565f61f97eb",
429437
"discordpp::RelationshipHandle::Id": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#a3a14b6cfa9a9fffc61e500d8329be587",
438+
"discordpp::RelationshipHandle::IsSpamRequest": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#acf4d21fb62cf80ac10afa9d10308777a",
430439
"discordpp::RelationshipHandle::User": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1RelationshipHandle.html#ad87172b7df999ab56991c1be598e995e",
431440
"discordpp::UserHandle::AvatarType": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1UserHandle.html#a9cbf5933bc6181eb1900574f6eda9b18",
432441
"discordpp::UserHandle::UserHandle": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1UserHandle.html#a3c4e8166cb923dbb7b778ef87b73fd34",
@@ -463,6 +472,7 @@
463472
"discordpp::ErrorType": "https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#ae19a5aed498bc40359e4d89d14ffb446",
464473
"discordpp::HttpStatusCode": "https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#a12b04d48d8ea98ec007270a10e0c88ba",
465474
"discordpp::AuthenticationCodeChallengeMethod": "https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#a1c123930bb42c6f9f77f18b5593ad876",
475+
"discordpp::IntegrationType": "https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#a5307c5c42ea96ec19f79e679a47c84be",
466476
"discordpp::AdditionalContentType": "https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#aee4b786af6ac9cd4ade73eb2f873177b",
467477
"discordpp::AudioModeType": "https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#ad12f4e0df799c97f417320ef861fcffb",
468478
"discordpp::ChannelType": "https://discord.com/developers/docs/social-sdk/namespacediscordpp.html#a1b68b260e8659da9a7792b2b2046fe58",

0 commit comments

Comments
 (0)