Skip to main content
这些发行说明适用于 PlayFabCSdk。有关其他 PlayFab Services SDK 的发行说明,请参见其他 Services SDK 发行说明
有关服务发布和产品更新的发行说明,请参见 PlayFab 公共 GitHub 仓库 上的发行说明部分。

2504.0.0

日期:2025 年 4 月 22 日
  • 将 JSON 解析从 rapidjson 迁移到 nlohmann::json,以提升安全性和可维护性。
  • 修复了初始化 PFCore 时会覆盖游戏设置的追踪回调的问题。
  • 对内存钩子函数进行了修改,新增用于检索默认内存钩子的 API,并修改了现有的内存分配函数以包含内存类型 ID。
  • 修复了在涉及多个客户端时与追踪清理相关的一个 bug。
  • 在 PlayFab.C 中启用了 PFAccountManagementSetDisplayNameAsync API。
  • 为 nlohmann JSON 库引入自定义内存分配,并对 new/delete 运算符进行全局重写。

2410.0.0

日期:2024 年 10 月 4 日
  • 在 GitHub 发行版中增加了可用于 Microsoft GDK 的公共头文件、源代码和库。
  • HTTP 库 libHttpClient 现在在所有平台上都是动态库依赖项。该库必须包含在游戏的发布包中,才能让 PlayFab Services 正常工作。
  • 新增排行榜和统计信息的公共预览版 API。
  • 为 PFAuthenticationLoginWithFacebookRequest 添加了可选参数 authenticationToken。
  • 增加了对新服务错误代码的支持。
  • 从 Economy API 的兑换响应中移除了 OfferId。改为新增字段 MarketplaceAlternateId。调用方应迁移到新字段,同时服务出于向后兼容性会继续返回这两个字段。
  • 解决了 PFFriendsExternalFriendSources 不允许多选的问题。

2406.0.0

日期:2024 年 7 月 2 日
  • 为 Linux 和 Android 的 PFEventPipelineConfig 增加了可选的 gzip 压缩支持。
  • 通过 PFHttpSettings 增加了对自动响应 gzip 压缩(和解压缩)的支持。
  • 在尝试记录 XCurl 追踪时启用打印截断。
  • 修复了多项静态代码分析警告。

2403.0.0

日期:2024 年 2 月 28 日
  • 发布了支持 Linux、Android、iOS 和 macOS 的新 SDK 投影。此版本公开的新 API 包括:
    • Android 平台:
      • LoginWithFacebook
      • ClientLinkGoogleAccount
      • ClientLinkGooglePlayGamesServicesAccount
      • ClientUnlinkGoogleAccount
      • ClientUnlinkGooglePlayGamesServicesAccount
      • ClientAndroidDevicePushNotificationRegistration
      • RedeemGooglePlayInventoryItems
    • iOS 平台:
      • LoginWithFacebook
      • ClientLinkApple
      • ClientUnlinkApple
      • ClientLinkGameCenterAccount
      • ClientUnlinkGameCenterAccount
      • ClientRegisterForIOSPushNotification
      • RedeemAppleAppStoreInventoryItems
  • 在事件管道中增加了事件缓冲的支持。

2310.0.1

日期:2023 年 9 月 28 日
  • 在 Win32 上增加了 PFAccountManagementServerLinkNintendoServiceAccountSubjectAsync。

2310.0.0

日期:2023 年 9 月 28 日
  • 增加了对 Nintendo Switch 的支持(请参见 Request access for secured SDKs and samples - PlayFab | Microsoft Learn 以申请访问权限)。
  • PFEventPipelineConfig 增加了可选的 gzip compressionLevel。
  • PFEvents 中移除了 TelemetryKey 管理调用。
  • 新增了缺失的旧版 PFCloudScript 客户端调用:
    • ClientExecuteCloudScript
    • ExecuteEntityCloudScript
  • 新增了缺失的 PFAccountManagement 客户端调用:
    • ClientAddOrUpdateContactEmail
    • ClientAddUsernamePassword
    • ClientGetPlayFabIDsFromFacebookIDs
    • ClientGetPlayFabIDsFromFacebookInstantGamesIds
    • ClientGetPlayFabIDsFromGameCenterIDs
    • ClientGetPlayFabIDsFromGoogleIDs
    • ClientGetPlayFabIDsFromGooglePlayGamesPlayerIDs
    • ClientGetPlayFabIDsFromKongregateIDs
    • ClientGetPlayFabIDsFromNintendoServiceAccountIds
    • ClientGetPlayFabIDsFromNintendoSwitchDeviceIds
    • ClientGetPlayFabIDsFromPSNAccountIDs
    • ClientGetPlayFabIDsFromTwitchIDs
    • ClientLinkAndroidDeviceID
    • ClientLinkApple
    • ClientLinkFacebookAccount
    • ClientLinkFacebookInstantGamesId
    • ClientLinkGameCenterAccount
    • ClientLinkGoogleAccount
    • ClientLinkGooglePlayGamesServicesAccount
    • ClientLinkIOSDeviceID
    • ClientLinkKongregate
    • ClientLinkNintendoServiceAccount
    • ClientLinkNintendoSwitchDeviceId
    • ClientLinkPSNAccount
    • ClientLinkTwitch
    • ClientRemoveContactEmail
    • ClientSendAccountRecoveryEmail
    • ClientUnlinkAndroidDeviceID
    • ClientUnlinkApple
    • ClientUnlinkFacebookAccount
    • ClientUnlinkFacebookInstantGamesId
    • ClientUnlinkGameCenterAccount
    • ClientUnlinkGoogleAccount
    • ClientUnlinkGooglePlayGamesServicesAccount
    • ClientUnlinkIOSDeviceID
    • ClientUnlinkKongregate
    • ClientUnlinkNintendoServiceAccount
    • ClientUnlinkNintendoSwitchDeviceId
    • ClientUnlinkPSNAccount
    • ClientUnlinkTwitch
    • ClientUpdateUserTitleDisplayName
  • 增加了许多供游戏服务器使用的调用(仅限 Win32):
    • PFAuthentication
      • ServerLoginWithServerCustomId
      • ServerLoginWithSteamId
      • ServerLoginWithXbox
      • ServerLoginWithXboxId
      • AuthenticateGameServerWithCustomId
      • Delete
      • GetEntity
      • ValidateEntityToken
    • PFAccountManagement
      • ServerBanUsers
      • ServerDeletePlayer
      • ServerGetPlayerCombinedInfo
      • ServerGetPlayerProfile
      • ServerGetPlayFabIDsFromFacebookIDs
      • ServerGetPlayFabIDsFromFacebookInstantGamesIds
      • ServerGetPlayFabIDsFromNintendoServiceAccountIds
      • ServerGetPlayFabIDsFromNintendoSwitchDeviceIds
      • ServerGetPlayFabIDsFromPSNAccountIDs
      • ServerGetPlayFabIDsFromSteamIDs
      • ServerGetPlayFabIDsFromTwitchIDs
      • ServerGetPlayFabIDsFromXboxLiveIDs
      • ServerGetServerCustomIDsFromPlayFabIDs
      • ServerGetUserAccountInfo
      • ServerGetUserBans
      • ServerLinkNintendoServiceAccount
      • ServerLinkNintendoSwitchDeviceId
      • ServerLinkPSNAccount
      • ServerLinkServerCustomId
      • ServerLinkSteamId
      • ServerLinkXboxAccount
      • ServerRevokeAllBansForUser
      • ServerRevokeBans
      • ServerSendCustomAccountRecoveryEmail
      • ServerSendEmailFromTemplate
      • ServerUnlinkNintendoServiceAccount
      • ServerUnlinkNintendoSwitchDeviceId
      • ServerUnlinkPSNAccount
      • ServerUnlinkServerCustomId
      • ServerUnlinkSteamId
      • ServerUnlinkXboxAccount
      • ServerUpdateAvatarUrl
      • ServerUpdateBans
      • GetTitlePlayersFromXboxLiveIDs
    • PFCloudScript
      • ServerExecuteCloudScript
    • PFFriends
      • ServerAddFriend
      • ServerGetFriendsList
      • ServerRemoveFriend
      • ServerSetFriendTags
    • PFInventory
      • GetTransactionHistory
    • PFLocalization
      • GetLanguageList
    • PFPlatformSpecific
      • ServerAwardSteamAchievement
    • PFPlayerDataManagement
      • ServerGetUserData
      • ServerGetUserInternalData
      • ServerGetUserPublisherData
      • ServerGetUserPublisherInternalData
      • ServerGetUserPublisherReadOnlyData
      • ServerGetUserReadOnlyData
      • ServerUpdateUserData
      • ServerUpdateUserInternalData
      • ServerUpdateUserPublisherData
      • ServerUpdateUserPublisherInternalData
      • ServerUpdateUserPublisherReadOnlyData
      • ServerUpdateUserReadOnlyData
    • PFPushNotifications
      • ServerSendPushNotification
      • ServerSendPushNotificationFromTemplate
    • PFSegments
      • ServerAddPlayerTag
      • ServerGetAllSegments
      • ServerGetPlayerSegments
      • ServerGetPlayersInSegment
      • ServerGetPlayerTags
      • ServerRemovePlayerTag
    • PFTitleDataManagement
      • ServerGetPublisherData
      • ServerGetTime
      • ServerGetTitleData
      • ServerGetTitleInternalData
      • ServerGetTitleNews
      • ServerSetPublisherData
      • ServerSetTitleData
      • ServerSetTitleInternalData

2306.0.0

日期:2023 年 7 月 26 日
  • SDK 首次发布,支持 Win32 和 GDK
最后修改于 2026年8月6日