Chilkat v11.4.0 Release Notes

 

✨ New Features


Js

A new Chilkat class has been added: Js is a minimal, standards-compliant JavaScript engine designed to embed JavaScript inside applications with very small footprint and fast startup. It executes JavaScript code inside an application without requiring a browser or large runtime. See About the Chilkat.Js JavaScript Engine


Ai

  • Provider — Added mistral as a known Provider.
  • Manual Tool Calling — Added AI methods and properties for manual tool calling.
  • Automatic JavaScript Tool Calling — Added AI methods and properties for automatic JavaScript tool calling where the application’s tool functions are implemented in JavaScript within Chilkat.
  • Upload Files — Added methods for uploading files and also methods for referencing pre-uploaded files in AI queries.
  • Image Output — Added the ability to request image output in AI conversations. (For AI providers that provide the capability.)

Mime

  • GetDecryptCertInfo — Added the GetDecryptCertInfo method to make it possible to get information about the certificate(s) required to decrypt an enveloped-data MIME.

Ssh

  • GetReceivedBd — Added the GetReceivedBd method to append received data to a BinData object.

🛠 Fixes & Improvements


Ai

  • SetAskParams — Chilkat was sending the temperature as a JSON string instead of a decimal value, but only for OpenAI's Responses API. This caused a 400 error response. This was fixed.

CkDateTime

  • UlidGenerate — The UlidGenerate function was missing from Java, Python, PHP, Perl, Ruby, and Tcl builds.

Email

  • aes-gcm / smime-type=”authEnveloped-data” — When the Pkcs7CryptAlg property is set to aes-gcm, the encrypted email should use the Content-Type header smime-type=authEnveloped-data rather than smime-type=enveloped-data. This issue has been fixed.
  • Mailman — Fixed: Starting from v11.0.0, the GetHeaders method would return only 1 email header for calls after the first call where the requested chunk did not start at 0.

Ftp2

  • ListOption — Added the ListOption property

Hashtable

  • ToXmlSb — Was doing general URL encoding of the content when it should’ve only encoded the XML special chars (<, >, &). This issue has been fixed.

JsonObject

  • PathPrefix — The PathPrefix property was not working correctly for the StringOf and StringOfSb methods.

Mime

  • aes-gcm / smime-type=”authEnveloped-data” — When the Pkcs7CryptAlg property is set to aes-gcm, the encrypted email should use the Content-Type header smime-type=authEnveloped-data rather than smime-type=enveloped-data. This issue has been fixed.

Pdf

  • Finding signatures — In very rare cases, some PDFs have signatures that are buried recursively in the PDF format (this is not normal). Chilkat now finds them for the purpose of verifying signatures.

SCard

  • Linux/MacOS — The SCard class was accidentally disabled for non-Windows builds. The error in the LastErrorText was: "PCSC not supported in this build." This is fixed.

SSH/SFTP

  • GetHostKeyFP — Fixed: There was a problem in the coalescing of SSH curve names to the standard curve names used by OpenSSH in the creation of the blob that is hashed to create the fingerprint. Also, the trailing “=” chars are now automatically stripped. (Stripping the “=” padding in SSH SHA256 fingerprints is now the de-facto standard behavior across SSH implementations. )
  • UncommonOptions(“+chacha20-poly1305@openssh.com”) — Fixed: Explicitly allowing the chacha20-poly1305@openssh.com cipher algorithm was not working.

StringBuilder

  • MarkdownToHtml — Added support for image links. For example, markdown formatted like this: ![foo bar](/path/to/train.jpg "title" ) will convert to an HTML img tag like this: <img src="/path/to/train.jpg" alt="foo bar" title="title" />

XmlDSigGen

  • CreateXmlDSigSb, CreateXmlDSig — If both an enveloped-signature transform and a c14n transform exist in a single reference, then it will be ensured that the enveloped-signature transform precedes the c14n transform.