From 030cc65369b0f47b02f4d99a3fc9df1a5a746c65 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 2 Jun 2019 15:02:15 +0200 Subject: [PATCH] Changelog --- CHANGELOG.md | 26 +++++++++++++++++++ .../Loop/Connection/WriteLoop.php | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f1a29983..889ad845 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 \ No newline at end of file diff --git a/src/danog/MadelineProto/Loop/Connection/WriteLoop.php b/src/danog/MadelineProto/Loop/Connection/WriteLoop.php index e6cf84ba..11205cf8 100644 --- a/src/danog/MadelineProto/Loop/Connection/WriteLoop.php +++ b/src/danog/MadelineProto/Loop/Connection/WriteLoop.php @@ -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');