Update version to 1.7.0.

This commit is contained in:
levlam 2020-11-28 17:00:17 +03:00
parent 29fafbe5c4
commit eb80924dad
8 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
Changes in 1.7.0: Changes in 1.7.0 (28 Nov 2020):
* Added a new simplified JSON interface in which updates and responses to requests from all TDLib instances * Added a new simplified JSON interface in which updates and responses to requests from all TDLib instances
are received in the same thread: are received in the same thread:

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
project(TDLib VERSION 1.6.10 LANGUAGES CXX C) project(TDLib VERSION 1.7.0 LANGUAGES CXX C)
if (NOT DEFINED CMAKE_MODULE_PATH) if (NOT DEFINED CMAKE_MODULE_PATH)
set(CMAKE_MODULE_PATH "") set(CMAKE_MODULE_PATH "")

View File

@ -145,7 +145,7 @@ target_link_libraries(YourTarget PRIVATE Td::TdStatic)
Or you could install `TDLib` and then reference it in your CMakeLists.txt like this: Or you could install `TDLib` and then reference it in your CMakeLists.txt like this:
``` ```
find_package(Td 1.6.10 REQUIRED) find_package(Td 1.7.0 REQUIRED)
target_link_libraries(YourTarget PRIVATE Td::TdStatic) target_link_libraries(YourTarget PRIVATE Td::TdStatic)
``` ```
See [example/cpp/CMakeLists.txt](https://github.com/tdlib/td/tree/master/example/cpp/CMakeLists.txt). See [example/cpp/CMakeLists.txt](https://github.com/tdlib/td/tree/master/example/cpp/CMakeLists.txt).

View File

@ -715,7 +715,7 @@ function onOptionsChanged() {
commands.push('git clone https://github.com/tdlib/td.git'); commands.push('git clone https://github.com/tdlib/td.git');
commands.push('cd td'); commands.push('cd td');
// commands.push('git checkout v1.6.0'); commands.push('git checkout v1.7.0');
if (use_vcpkg) { if (use_vcpkg) {
commands.push('git clone https://github.com/Microsoft/vcpkg.git'); commands.push('git clone https://github.com/Microsoft/vcpkg.git');

View File

@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
project(TdExample VERSION 1.0 LANGUAGES CXX) project(TdExample VERSION 1.0 LANGUAGES CXX)
find_package(Td 1.6.10 REQUIRED) find_package(Td 1.7.0 REQUIRED)
add_executable(tdjson_example tdjson_example.cpp) add_executable(tdjson_example tdjson_example.cpp)
target_link_libraries(tdjson_example PRIVATE Td::TdJson) target_link_libraries(tdjson_example PRIVATE Td::TdJson)

View File

@ -1,6 +1,6 @@
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011"> <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata> <Metadata>
<Identity Id="Telegram.Td.UWP" Version="1.6.10" Language="en-US" Publisher="Telegram LLC" /> <Identity Id="Telegram.Td.UWP" Version="1.7.0" Language="en-US" Publisher="Telegram LLC" />
<DisplayName>TDLib for Universal Windows Platform</DisplayName> <DisplayName>TDLib for Universal Windows Platform</DisplayName>
<Description>TDLib is a library for building Telegram clients</Description> <Description>TDLib is a library for building Telegram clients</Description>
<MoreInfo>https://core.telegram.org/tdlib</MoreInfo> <MoreInfo>https://core.telegram.org/tdlib</MoreInfo>

View File

@ -1,7 +1,7 @@
{ {
"name": "tdweb", "name": "tdweb",
"version": "1.6.9", "version": "1.7.0",
"description": "Javascript interface for TDLib (telegram library)", "description": "JavaScript interface for TDLib (Telegram library)",
"main": "dist/tdweb.js", "main": "dist/tdweb.js",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -232,7 +232,7 @@ class Td final : public NetQueryCallback {
static td_api::object_ptr<td_api::Object> static_request(td_api::object_ptr<td_api::Function> function); static td_api::object_ptr<td_api::Object> static_request(td_api::object_ptr<td_api::Function> function);
private: private:
static constexpr const char *TDLIB_VERSION = "1.6.10"; static constexpr const char *TDLIB_VERSION = "1.7.0";
static constexpr int64 ONLINE_ALARM_ID = 0; static constexpr int64 ONLINE_ALARM_ID = 0;
static constexpr int64 PING_SERVER_ALARM_ID = -1; static constexpr int64 PING_SERVER_ALARM_ID = -1;
static constexpr int32 PING_SERVER_TIMEOUT = 300; static constexpr int32 PING_SERVER_TIMEOUT = 300;