Changelog

This commit is contained in:
Daniil Gentili 2019-06-02 15:02:15 +02:00
parent f0b51da9cf
commit 030cc65369
2 changed files with 27 additions and 1 deletions

View File

@ -7,20 +7,44 @@
* Fully rewritten connection stack, with support for websockets, stuff
* updates
* new TL callback system
* added support for wallpapers
* Improved message splitting algorithm: performance improvements, and it will now notify you via the logs if there are too many entities in the logs, or if the entities are too long.
* Improved get_self method.
* reference database
* Rewritten proxy stack
* magic sleep
* get_full_dialogs
* new APIfactory
* sendmessage with secret messages
* automatic secret chat file upload
* 2fa+++++
* improved callfork
* split acks
* new logging
* TL callabck
* channel state
* logger
* async construct
* clean up repo, update dependencies and remove curl dependency
* new phone call config
* updated php-libtgvoip
* improved madeline.php loader
* async constructor
* removed old serialization
* rewrote combined update handler (async)
* modify amphp
* async logging
* phpdoc
* @support
* even without access hash for bots
* async HTTP requests internally
* custom HTTP client with DoH
Things to expect in the next releases:
docs for update_2fa
docs for ResponseException
docs for PTSException
Document async apis
optional max_id and min_id
async iterators
@ -28,3 +52,5 @@ Method name changes
#MadelineProtoForNode async
lua async
improved get_pwr_chat
gzip
no defer logs

View File

@ -224,7 +224,7 @@ class WriteLoop extends ResumableSignalLoop
unset($connection->call_queue[$message['queue']][$key]);
}
}
// TODO
/* if ($API->settings['requests']['gzip_encode_if_gt'] !== -1 && ($l = strlen($MTmessage['body'])) > $API->settings['requests']['gzip_encode_if_gt']) {
if (($g = strlen($gzipped = gzencode($MTmessage['body']))) < $l) {
$MTmessage['body'] = yield $API->serialize_object_async(['type' => 'gzip_packed'], ['packed_data' => $gzipped], 'gzipped data');