File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed
Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- Changes in 1.7.0:
1+ Changes in 1.7.0 (28 Nov 2020) :
22
33* Added a new simplified JSON interface in which updates and responses to requests from all TDLib instances
44 are received in the same thread:
Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.0.2 FATAL_ERROR)
22
3- project (TDLib VERSION 1.6.10 LANGUAGES CXX C)
3+ project (TDLib VERSION 1.7.0 LANGUAGES CXX C)
44
55if (NOT DEFINED CMAKE_MODULE_PATH )
66 set (CMAKE_MODULE_PATH "" )
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ target_link_libraries(YourTarget PRIVATE Td::TdStatic)
145145
146146Or you could install ` TDLib ` and then reference it in your CMakeLists.txt like this:
147147```
148- find_package(Td 1.6.10 REQUIRED)
148+ find_package(Td 1.7.0 REQUIRED)
149149target_link_libraries(YourTarget PRIVATE Td::TdStatic)
150150```
151151See [ example/cpp/CMakeLists.txt] ( https://github.com/tdlib/td/tree/master/example/cpp/CMakeLists.txt ) .
Original file line number Diff line number Diff line change 715715 commands . push ( 'git clone https://github.com/tdlib/td.git' ) ;
716716
717717 commands . push ( 'cd td' ) ;
718- // commands.push('git checkout v1.6 .0');
718+ commands . push ( 'git checkout v1.7 .0' ) ;
719719
720720 if ( use_vcpkg ) {
721721 commands . push ( 'git clone https://github.com/Microsoft/vcpkg.git' ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
22
33project (TdExample VERSION 1.0 LANGUAGES CXX)
44
5- find_package (Td 1.6.10 REQUIRED)
5+ find_package (Td 1.7.0 REQUIRED)
66
77add_executable (tdjson_example tdjson_example.cpp)
88target_link_libraries (tdjson_example PRIVATE Td::TdJson)
Original file line number Diff line number Diff line change 11<PackageManifest Version =" 2.0.0" xmlns =" http://schemas.microsoft.com/developer/vsx-schema/2011" >
22 <Metadata >
3- <Identity Id =" Telegram.Td.UWP" Version =" 1.6.10 " Language =" en-US" Publisher =" Telegram LLC" />
3+ <Identity Id =" Telegram.Td.UWP" Version =" 1.7.0 " Language =" en-US" Publisher =" Telegram LLC" />
44 <DisplayName >TDLib for Universal Windows Platform</DisplayName >
55 <Description >TDLib is a library for building Telegram clients</Description >
66 <MoreInfo >https://core.telegram.org/tdlib</MoreInfo >
Original file line number Diff line number Diff line change 11{
22 "name" : " tdweb" ,
3- "version" : " 1.6.9 " ,
4- "description" : " Javascript interface for TDLib (telegram library)" ,
3+ "version" : " 1.7.0 " ,
4+ "description" : " JavaScript interface for TDLib (Telegram library)" ,
55 "main" : " dist/tdweb.js" ,
66 "repository" : {
77 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ class Td final : public NetQueryCallback {
232232 static td_api::object_ptr<td_api::Object> static_request (td_api::object_ptr<td_api::Function> function);
233233
234234 private:
235- static constexpr const char *TDLIB_VERSION = " 1.6.10 " ;
235+ static constexpr const char *TDLIB_VERSION = " 1.7.0 " ;
236236 static constexpr int64 ONLINE_ALARM_ID = 0 ;
237237 static constexpr int64 PING_SERVER_ALARM_ID = -1 ;
238238 static constexpr int32 PING_SERVER_TIMEOUT = 300 ;
You can’t perform that action at this time.
0 commit comments