By Admin on Monday, 26 August 2024
Category: All

sgcWebSockets 2024.7

Rad Studio

[+] : Improved OAuth2 Client, new grant type: auth2ResourceOwnerPassword which supports the Resource Owner Password Flow.
[+] : Improved OpenAPI Parser, when using the Endpoint to take the method name, now adds the type of the method request (UsingGET, UsingPOST...) at the end of the name.
[+] : Improved OpenAPI Client, added the property Count to the TsgcOpenAPIArray Class.
[+] : Improved SChannel IOHandler, new property "UseLegacyCredentials" to force the use of the SCHANNEL_CRED.
[+] : Improved Presence Protocol, when receiving a new Invitation, the client can set an error code and error text.
[+] : Improved Presence Protocol, the client who sends the invitation now can know if the invitation has been accepted or not using the event OnChannelInvitationResponse.
[+] : Improved MQTT Client on Delphi 7 and 2007, improved the speed reading big messages.
[+] : Improved OpenSSL, the openSSL libraries for openSSL 3.3 have been compiled and are now available.
[+] : Improved TsgcSocketConnection class, new property CreatedAt which stores the datetime when the connection is created.

[*] : Fixed Bug OpenAI Assistant Demo, if the assistant was not created, an access violation was raised when sending a message (Thanks to Ad for letting me know).
[*] : Fixed Bug OpenAPI Parser handling Boolean and Integer responses.
[*] : Fixed Bug setup, if win32 was not selected, the design-time package was not compiled.
[*] : Fixed Bug OpenAI Client, when calling the transcription method, an error was returned.
[*] : Fixed Bug sgcIndy in the method X509_get_version when using openSSL 1.1.1 or 3.0.0.
[*] : Fixed Bug sgcIndy "Error getting SSL method."
[*] : Fixed Bug SChannel, Range Check Error may be rised in the method TSSLInfo.Read.
[*] : Fixed Bug SChannel, if the connection wasn't closed gracefully, the event OnDisconnect was not called.
[*] : Fixed Bug HeartBeat, when the type was hbtOnlyIfNoMsgRcvInterval, the event OnBeforeHeartBeat was called even if the ping was not sent.
[*] : Fixed Bug WebBrokerBridge for HTTP/2 and HTTPAPI, when the request was not found, the server didn't return a 404 error. (Thanks to Francesco for letting me know).
[*] : Fixed Bug Compiling sgcWebSockets package with Lazarus on MacOS.
[*] : Fixed some warnings while compiling.

[/] : The event TsgcWSPClient_Presence.OnChannelInvitation has 2 new parameters aErrorCode and aErrorText. 

.NET

[+] : Improved OAuth2 Client, new grant type: auth2ResourceOwnerPassword which supports the Resource Owner Password Flow.
[+] : Improved OpenSSL, the openSSL libraries for openSSL 3.3 have been compiled and are now available.

[*] : Fixed Bug sgcIndy in the method X509_get_version when using openSSL 1.1.1 or 3.0.0.
[*] : Fixed Bug sgcIndy "Error getting SSL method."
[*] : Fixed Bug SChannel, Range Check Error may be rised in the method TSSLInfo.Read.
[*] : Fixed Bug SChannel, if the connection wasn't closed gracefully, the event OnDisconnect was not called.

[*] : Fixed Bug HeartBeat, when the type was hbtOnlyIfNoMsgRcvInterval, the event OnBeforeHeartBeat was called even if the ping was not sent.