This document is about: SERVER 5
SWITCH TO

このページは編集中です。更新が保留になっている可能性があります。

Photon 5.0 RC1

このページでは、Photon Server SDKバージョンv5.0 RC1 の変更点をまとめています。
V5 BETA SDKをお使いのお客様は、このページを参考にしてください。

Photon 5の機能については、what's newページをご覧ください。

v5.0 RC1 変更ログ

LoadBalancing

FIXED

NEW

CHANGED

Photon Hive Plugins

FIXED

NEW

CHANGED

Photon Hive

FIXED

NEW

CHANGED

PhotonSocketServer

FIXED

NEW

  • PSCS-2687: Added a way to schedule or delay disconnects, set the peer's ConnectionState to ScheduledForDisconnect and give the server the ability to send DisconnectMessage to the peer before disconnecting it.
    SendXXXAndDisconnect got parameter disconnect delay.
    Default disconnect delay is 5000 milliseconds.
    For s2s communication SendOperationRequestAndDisconnect was added.
  • PSCS-3043: Implemented parsing of DisconnectMessage.
    S2SPeerBase got handling of incomming DisconnectMessage.
  • PSCS-3374: Added a counter for native calls.
  • PSCS-3851: Added a setting to toggle off LogGuard.
  • PSCS-3945: Added Init request encryption validation: added check that ClientKey.Count != 0 and disconnecting peer sending wrong internal request.
  • PSCS-3947: Merged code for encryption initialization for InitV3 and AuthOnInitHandler.
    InitRequest got new property IsRejected. When peer is rejected we assign it to RejectedPeer and send a DisconnectMessage instead of InitResponse, we now use RejectWithDelayedResponse instead of direct setting errorCode and errorMsg.
  • PSCS-4096: Added JsonDeserializer limit: binary size of message increased to 50000 bytes.
    Added JsonParseContext to carry parse information through the parsing and control process.
  • PSCS-4133: Added HTTP response payload size limit.

CHANGED

  • PSCS-3253: Scheduled actions interval changed from long to int.
  • PSCS-3956: We transit to new configuration system provided by netcore.
  • PSCS-3933: Parameter type of OnDisconnect callback method changed from DisconnectReason enum to int.
    OnDisconnect(DisconnectReason) is now OnDisconnect(int).
    The parameter values can be a specific disconnect reason (0-5, 100-105, old DisconnectReason values) or an error code (3XXXX). OnUnexpectedDataReceived replaced with OnDeserializationError.

NameServer

FIXED

NEW

CHANGED

  • Implementation of MasterServerCache.TryGetPhotonEndpoint updated to not cause warnings.
Back to top