Skip to content

Commit c55cdf1

Browse files
authored
Discord Social SDK Release 1.2 (#7541)
Also includes an update to the social-sdk-mappings.json
1 parent 7629dee commit c55cdf1

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: "Discord Social SDK Release 1.2"
3+
date: "2025-05-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+
### Rich Presence
11+
- Added support for adding custom buttons on activity cards via [`Activity::AddButton`]
12+
13+
### Packaging
14+
- Unity and Unreal plugin artifacts now contain just the additional files for console support so they can be extracted on top of the base plugin
15+
- Unity plugin is now packaged as a .zip that you should extract inside the Packages directory of your project to enable the above
16+
- Console archives now contain a small README with some console-specific documentation
17+
18+
### Misc
19+
- Added [`Client::OpenConnectedGamesSettingsInDiscord`] for deeplinking into Discord's settings for connected games, which provides players some control over who can DM them
20+
- Fixed a hang that could occur on Linux in [`Client::RegisterLaunchCommand`] and [`Client::RegisterLaunchSteamApplication`]
21+
- [`Client::RegisterLaunchCommand`] and [`Client::RegisterLaunchSteamApplication`] now work from inside the Steam Runtime on Linux
22+
- Fixed a crash on exit that could occur when there were pending callbacks in the queue
23+
24+
<!-- Autogenerated Reference Links -->
25+
[`Activity::AddButton`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#aab07650fcff18565eb78a1e2df46627e
26+
[`Client::OpenConnectedGamesSettingsInDiscord`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a24f268f5eebe9919a3f774354eb577e0
27+
[`Client::RegisterLaunchCommand`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a024d7222931fdcb7d09c2b107642ecab
28+
[`Client::RegisterLaunchSteamApplication`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a45b2c791c5b06f77d457dacb53dfba40

docs/discord-social-sdk/development-guides/using-provisional-accounts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,4 +421,4 @@ Now that you've set up provisional accounts for your game, you can explore more
421421
[`Client::GetTokenFromDeviceProvisionalMerge`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#afd2207590ae7d6f60ee7bbb4fc7c21c8
422422
[`Client::GetTokenFromProvisionalMerge`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a41062b7dafa331ddd2320daf1b4b273b
423423
[`Client::SetTokenExpirationCallback`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#aab5bfc76809ea22e79f2f7a067ac4519
424-
[`Client::UpdateProvisionalAccountDisplayName`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a7485979ab2d4c533b75f8efd5e50bc60
424+
[`Client::UpdateProvisionalAccountDisplayName`]: https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a7485979ab2d4c533b75f8efd5e50bc60

tools/doxygen/social-sdk-mappings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
"discordpp::Activity::Activity": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#ab87f0347d870044bb26d8f7e50cb4c1d",
33
"discordpp::Activity::operator=": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a9ffd66dc9dcc40c6873802a9cc8a8926",
44
"discordpp::Activity::operator bool": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a646a72b3db59369215eaa65f14ac90ce",
5+
"discordpp::Activity::AddButton": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#aab07650fcff18565eb78a1e2df46627e",
56
"discordpp::Activity::Equals": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a46127e59d0e582c49310d60758fed691",
7+
"discordpp::Activity::GetButtons": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a03ae78c821e134a53b4526018657c530",
68
"discordpp::Activity::Name": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a13d323c3454fe32f5d33c94fac5bc11c",
79
"discordpp::Activity::SetName": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#a59f9a63a8b105946d0c9838f3e643ae2",
810
"discordpp::Activity::Type": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Activity.html#afbab0968c2cbef94691b3996fe3d6ea4",
@@ -34,6 +36,13 @@
3436
"discordpp::ActivityAssets::SetSmallImage": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityAssets.html#a7f406e1e7722470e753d9acb9a0ee690",
3537
"discordpp::ActivityAssets::SmallText": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityAssets.html#a27f61aebf3ef5c2357d2d99cb4dcfeac",
3638
"discordpp::ActivityAssets::SetSmallText": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityAssets.html#aae2b92760fb365439e8ad38444acdebb",
39+
"discordpp::ActivityButton::ActivityButton": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityButton.html#a21ed35c26bed03f496214c83b143c56f",
40+
"discordpp::ActivityButton::operator=": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityButton.html#ad7893db2a6a27e4328977e2bdb2a68d6",
41+
"discordpp::ActivityButton::operator bool": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityButton.html#aae08573498def90bc33dca67fda690bb",
42+
"discordpp::ActivityButton::Label": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityButton.html#afb79ff9903a3aa609548f90e942e166e",
43+
"discordpp::ActivityButton::SetLabel": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityButton.html#a9b8d70b0f65fe094b571ef221b11e259",
44+
"discordpp::ActivityButton::Url": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityButton.html#a3e4af76071bff97a4954b57fec59a628",
45+
"discordpp::ActivityButton::SetUrl": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityButton.html#abbeb2fc8eefae9e956d91fb42b9d48a4",
3746
"discordpp::ActivityInvite::ActivityInvite": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityInvite.html#aba6eb1d62b023511705e4110be215106",
3847
"discordpp::ActivityInvite::operator=": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityInvite.html#ad687f60430963a14ca8b8861f2894c6e",
3948
"discordpp::ActivityInvite::operator bool": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1ActivityInvite.html#a330011886f9fc05e31ff8d637efdff64",
@@ -240,6 +249,7 @@
240249
"discordpp::Client::Connect": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a873a844c7c4c72e9e693419bb3e290aa",
241250
"discordpp::Client::Disconnect": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a115b0be168a18da1119e522abaa92106",
242251
"discordpp::Client::GetStatus": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#aff09cced22a1b08cbd85b3ef25aa5f22",
252+
"discordpp::Client::OpenConnectedGamesSettingsInDiscord": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a24f268f5eebe9919a3f774354eb577e0",
243253
"discordpp::Client::SetApplicationId": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#ad452335c06b28be0406dab824acccc49",
244254
"discordpp::Client::SetLogDir": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a23bd5802dfa3072201ea864ee839c001",
245255
"discordpp::Client::SetStatusChangedCallback": "https://discord.com/developers/docs/social-sdk/classdiscordpp_1_1Client.html#a9d0e8824570b93149d5d1c65bb3fb97f",

0 commit comments

Comments
 (0)