Skip to content

Commit

Permalink
Add change log.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: bbffbec7d281254a1fd430064e3cfe620df87c0a
  • Loading branch information
levlam committed Jan 31, 2018
1 parent 15dce80 commit 19ef036
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Changes in 1.1.0:

* Methods `td::Log::set_file_path` and `td_set_log_file_path` now return whether they succeeded.
* Added methods `td::Log::set_max_file_size` and `td_set_log_max_file_size` for restricting maximum TDLib log size.
* Added methods `td::Log::set_fatal_error_callback` and `td_set_log_fatal_error_callback` for providing callbacks
on fatal errors.
* JNI-bindings are now package-agnostic. Use CMake option `TD_ENABLE_JNI` to enable JNI-bindings.
* Added a Java example. See [Readme](example/java/README.md) for build and usage instructions.
* Added support for text entities in media captions.
- Added new type `formattedText` containing a text with entities.
- Replaced all string fields `caption` with fields of type `formattedText`.
- Replaced fields `text` and `entities` with the field `text` of type `formattedText` in class `messageText`.
- Replaced fields `text` and `entities` with the field `text` of type `formattedText` in class `inputMessageText`.
- Replaced fields `text` and `text_entities` with the field `text` of type `formattedText` in class `game`.
- Removed field `parse_mode` from class `inputMessageText`.
- Added synchronous method `parseTextEntities`.
* updateNewMessage is now sent for all sent messages.
* updateChatLastMessage is now sent when any field of the last message in a chat changes.
* Reworked the `registerDevice` method:
- Added parameter `other_user_ids` to method `registerDevice` to support multiple accounts.
- It is now possible to specify tokens for VoIP pushes, WNS, web Push API, Tizen Push Service as `DeviceToken`.
- Added support for Apple Push Notification Service inside App Sandbox.
* Add method `searchChatsOnServer` analogous to `searchChats`, but using server search.
* Results from the `searchChatsOnServer` method are now excluded from `searchPublicChats` results,
so `searchChatsOnServer` (along with `searchContacts`) should be called whenever `searchPublicChats` is called
to ensure that no results were omitted.
* Added parameter `as_album` to method `getPublicMessageLink` to enable getting public links for media albums.
* Added field `html` to class `publicMessageLink`, containing HTML-code for message/message album embedding.
* Added parameter `only_if_pending` to method `cancelDownloadFile` to allow keeping already started downloads.
* Methods `createPrivateChat`, `createBasciGroupChat`, `createSupergroupChat` and `createSecretChat`
can now be called without a prior call to `getUser`/`getBasicGroup`/`getSupergorup`/`getSecretChat`.
* Added parameter `force` to methods `createPrivateChat`, `createBasciGroupChat` and `createSupergroupChat` to allow
creating a chat without network requests.
* Numerous optimizations and bug fixes.

-----------------------------------------------------------------------------------------------------------------------

0 comments on commit 19ef036

Please sign in to comment.