sgcWebSockets 2025.6

· Versiones

Rad Studio

[+] : Mejorado OpenAI Assistant: new event OnFunctionCall which allows to interface OpenAI models con your code, database, applications...
[+] : Actualizado the OpenAI Assistant Demo con a new Assistant "Delphi Weather Bot" showing how it works.
[+] : Mejorado Whatsapp API: updated api to v20.
[+] : Mejorado Whatsapp API: new method SendMessageReaction.
[+] : Mejorado Whatsapp API: the SendMessage métodos now include a new optional parameter called options where you can reply to a message passing the message-id.
[+] : Mejorada la API de Telegram: added more than 100 new métodos to the api.
[+] : Mejorado Google PubSub Client: updated to the latest version the métodos para projects subscriptions and topics.
[+] : Mejorado RSA unit: the function sgcRSA_GetPRSAFromCOSE only works para openssl 1.1+.
[+] : Mejorado WebAuthn: added soporte para the algorithm EDDSA.
[+] : Mejorado WebAuthn: new Event OnWebAuthnRegistrationValidateCertificate, allows to verify the certificate con your own métodos or assign a root certificate if not provided.
[+] : Mejorado WebAuthn: new Event OnWebAuthnMetadata, allows to provide a custom metadata if the authenticator is not found in the Fido MDS file.
[+] : Mejorado WebAuthn: new property WebAuthnOptions.DefaultOptions to provide the default values of the Registration and Authentication Options Request.
[+] : Mejorado WebAuthn: included more validations para the certificate fields.
[+] : Mejorado WebAuthn: now validates the type of the request json fields.
[+] : Mejorado OpenAPI Parser: added soporte para OneOf elements.
[+] : Mejorado sgcIndy: new function sgcIdSSLOpenSSL.GetOpenSSLErrors to obtain the list of the latest errors.
[+] : Mejorado setup: now soportes Rad Studio 64bits para sgcWebSockets Basic editions.
[*] : Mejorado SignalRCore: added the SignalRCore.SkipNegotiation property to skip connection negotiation and establish a WebSocket connection directly.


[*] : Corregido error CBuilder: calling the method SendMessage on some components returned an error.
[*] : Corregido error SignalR: the initial http request was creating a log file by default.
[*] : Corregido error using the method RegisterProtocol(aProtocol: string) if this was called before assigning the eventos, the eventos were not called.
[*] : Corregido error internal method was calling OnMessage event instead of OnError.
[*] : Corregido error sgcIndy: function RSA_set0_key, only is required para openssl 1.1+.
[*] : Corregido error sgcIndy: decoding UTC DataTime.
[*] : Corregido error sgcIndy: if EVP_PKEY_base_id function is not available use the EVP_PKEY_is_a function instead.
[*] : Corregido error Binance: the websocket messages were not processed. (Gracias a Alex para the fix).
[*] : Corregido error Indy Server: if Authentication was enabled, if the HTTP Request hasn't any authentication, the connection was accepted although Authentication.AllowNonAuth was set to false.
[*] : Corregido error JWT: some internal openssl objects were not properly destroyed after signing or validating.
[*] : Corregido error JWT: error evaluating if the algorithms TIdHashSHA384 or TIdHashSHA512 were available.
[*] : Corregido error AI Components: removed some memory leaks while destroying the internal objects.

[*] : Corregido error TsgcHTTP1Client: when calling an Async method, the default request was not assigned internally. 

.NET

[*] : Corregido error internal method was calling OnMessage event instead of OnError.
[*] : Corregido error sgcIndy: function RSA_set0_key, only is required para openssl 1.1+.
[*] : Corregido error sgcIndy: if EVP_PKEY_base_id function is not available use the EVP_PKEY_is_a function instead.
[*] : Corregido error Binance: the websocket messages were not processed. (Gracias a Alex para the fix).
[*] : Corregido error Indy Server: if Authentication was enabled, if the HTTP Request hasn't any authentication, the connection was accepted although Authentication.AllowNonAuth was set to false.
[*] : Corregido error JWT: some internal openssl objects were not properly destroyed after signing or validating.

[*] : Corregido error JWT: error evaluating if the algorithms TIdHashSHA384 or TIdHashSHA512 were available.