✨ 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
mistralas a knownProvider. - 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
GetDecryptCertInfomethod to make it possible to get information about the certificate(s) required to decrypt an enveloped-data MIME.
Ssh
- GetReceivedBd — Added the
GetReceivedBdmethod to append received data to aBinDataobject.
🛠 Fixes & Improvements
Ai
- SetAskParams — Chilkat was sending the
temperatureas a JSON string instead of a decimal value, but only forOpenAI's Responses API. This caused a400 error response. This was fixed.
CkDateTime
- UlidGenerate — The
UlidGeneratefunction was missing from Java, Python, PHP, Perl, Ruby, and Tcl builds.
- aes-gcm / smime-type=”authEnveloped-data” — When the Pkcs7CryptAlg property is set to
aes-gcm, the encrypted email should use theContent-Typeheadersmime-type=authEnveloped-datarather thansmime-type=enveloped-data.This issue has been fixed. - Mailman — Fixed: Starting from
v11.0.0, theGetHeadersmethod 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
ListOptionproperty
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
PathPrefixproperty was not working correctly for theStringOfandStringOfSbmethods.
Mime
- aes-gcm / smime-type=”authEnveloped-data” — When the Pkcs7CryptAlg property is set to
aes-gcm, the encrypted email should use theContent-Typeheadersmime-type=authEnveloped-datarather thansmime-type=enveloped-data.This issue has been fixed.
- 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
SCardclass was accidentally disabled for non-Windows builds. The error in theLastErrorTextwas:"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.comcipher algorithm was not working.
StringBuilder
- MarkdownToHtml — Added support for image links. For example, markdown formatted like this:
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-signaturetransform and ac14ntransform exist in a single reference, then it will be ensured that the enveloped-signature transform precedes the c14n transform.