Este contenido no está disponible en español.

Changelog

PHP SDK 2.3.1 – Gateway Message API
14.05.2024

Fix `isQuery` return types

Fix fallback media type in `sendFileMessage()`, `sendFileMessages()`, `sendGroupFileMessage()` and `sendGroupFileMessages()` functions.

Miscellaneous other improvements

Fixed lookup of Threema ID by phone number / email address

Improved GroupCreateMessage deserialization logic

Updated dependencies

Expose group creator Threema ID in decrypted message objects

Fix for all message types containing a creator container

Miscellaneous other improvements

Fix nullable deserialization for some types

Fix nullable deserialization for some types

Fixed User-Agent format

Updated dependencies

Fixed User-Agent format

Fix User-Agent format

Overhaul of the Threema Gateway cockpit: the user interface has been redesigned and now appears in a new color scheme

The prices for Threema Gateway credits are permanently discounted by 50%

Added user agent string for all MsgApi requests, default format: `threema-msgapi-sdk-php/{version}`

It is possible to stop using the user agent via the `userAgent` argument of the `ConnectionSettings` constructor or to change the setting

Added quote referencing and improved quote support

Miscellaneous other improvements

Breaking changes:

  • Various enums, such as “DeliveryReceiptType,” “ResultsDisclosureType,” and “VotingMode,” replace the previous integer-based type mappings

Added support for group message types

Added many new message types

Deserialization of additional message types is now supported

Added quote helper functions to the “GroupTextMessage” and “TextMessage” message types to facilitate determining message quotes

Added configurable User-Agent header

Started using Java 11 language level

Numerous security and stability improvements

Miscellaneous bug fixes

Updated dependencies

Breaking changes:

  • * Various enums such as “DeliveryReceiptType,” “ResultsDisclosureType,” and “VotingMode” replaced the previous integer-based type mappings

Added support for group message types

Added many new message types

Deserialization of additional message types is now supported

Added quote helper functions to the “GroupTextMessage” and “TextMessage” message types to facilitate determining message quotes

Added configurable User-Agent header

Started targeting .NET Framework 4.8

Numerous security and stability improvements

Miscellaneous bug fixes

Updated dependencies

Added the “isQuote” and “getQuotedMessageId” helper functions to the “GroupTextMessage” and “TextMessage” message types to facilitate determining message quotes.

Miscellaneous bugfixes

Updated dependencies

The prefixes “private:” and “public:” are no longer required when passing keys via CLI

Added new message type: GroupDeliveryReceipt

Fixed delivery receipt serialization

Added missing release notes (1.6.2–1.9.1) to changelog

Miscellaneous other improvements

Fixed a bug in some CLI commands

Miscellaneous bugfixes

Various other improvements and changes

Breaking changes:

  • Various enums such as “DeliveryReceiptType,” “ResultsDisclosureType,” and “VotingMode” replaced the previous integer-based type mappings

Deserialization of additional message types is now supported

Updated PHP language level to PHP 8.1

Updated Sodium

Various other improvements and changes

Improved two-factor authentication (TFA)

TFA protection now covers more settings

Minor stability improvements and miscellaneous bug fixes

After one year of inactivity, accounts will automatically be deleted if there are no credits and no identities

Added option to specify VAT Reg No for billing address

Security improvements and minor bug fixes

Notification on low credits (optional): Balance > Notifications

Two-factor authentication via Threema or OTP

Public changelog

Performance improvements and minor bug fixes