From 278c7acdec83c5ac17d8e1ed0bb2cacbcea62460 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 31 Jan 2020 03:47:49 +0300 Subject: [PATCH] Increase version to 1.6.0. GitOrigin-RevId: baab600dbf0b3f4014b836e06da09b9b825181d4 --- CMakeLists.txt | 2 +- README.md | 2 +- build.html | 2 +- example/cpp/CMakeLists.txt | 2 +- example/uwp/extension.vsixmanifest | 2 +- example/web/tdweb/package.json | 2 +- td/telegram/Td.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9941ef210..ecf31c4af 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) -project(TDLib VERSION 1.5.5 LANGUAGES CXX C) +project(TDLib VERSION 1.6.0 LANGUAGES CXX C) if (NOT DEFINED CMAKE_INSTALL_LIBDIR) set(CMAKE_INSTALL_LIBDIR "lib") diff --git a/README.md b/README.md index 0c20844c5..05ff637be 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ target_link_libraries(YourTarget PRIVATE Td::TdStatic) Or you could install `TDLib` and then reference it in your CMakeLists.txt like this: ``` -find_package(Td 1.5.5 REQUIRED) +find_package(Td 1.6.0 REQUIRED) target_link_libraries(YourTarget PRIVATE Td::TdStatic) ``` See [example/cpp/CMakeLists.txt](https://github.com/tdlib/td/tree/master/example/cpp/CMakeLists.txt). diff --git a/build.html b/build.html index 4208e5f8b..728e92b8d 100644 --- a/build.html +++ b/build.html @@ -668,7 +668,7 @@ function onOptionsChanged() { commands.push('git clone https://github.com/tdlib/td.git'); commands.push('cd td'); - commands.push('git checkout v1.5.0'); + // commands.push('git checkout v1.6.0'); if (use_vcpkg) { commands.push('git clone https://github.com/Microsoft/vcpkg.git'); diff --git a/example/cpp/CMakeLists.txt b/example/cpp/CMakeLists.txt index 73f8e3915..f0ddd33fe 100644 --- a/example/cpp/CMakeLists.txt +++ b/example/cpp/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR) project(TdExample VERSION 1.0 LANGUAGES CXX) -find_package(Td 1.5.5 REQUIRED) +find_package(Td 1.6.0 REQUIRED) add_executable(tdjson_example tdjson_example.cpp) target_link_libraries(tdjson_example PRIVATE Td::TdJson) diff --git a/example/uwp/extension.vsixmanifest b/example/uwp/extension.vsixmanifest index a016a5e81..d4cf554a9 100644 --- a/example/uwp/extension.vsixmanifest +++ b/example/uwp/extension.vsixmanifest @@ -1,6 +1,6 @@ - + TDLib for Universal Windows Platform TDLib is a library for building Telegram clients https://core.telegram.org/tdlib diff --git a/example/web/tdweb/package.json b/example/web/tdweb/package.json index 584dcee89..ad2610da2 100644 --- a/example/web/tdweb/package.json +++ b/example/web/tdweb/package.json @@ -1,6 +1,6 @@ { "name": "tdweb", - "version": "1.5.0", + "version": "1.6.0", "description": "Javascript interface for TDLib (telegram library)", "main": "dist/tdweb.js", "repository": { diff --git a/td/telegram/Td.h b/td/telegram/Td.h index 2af2706ea..291a8fdfc 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -227,7 +227,7 @@ class Td final : public NetQueryCallback { static td_api::object_ptr static_request(td_api::object_ptr function); private: - static constexpr const char *TDLIB_VERSION = "1.5.5"; + static constexpr const char *TDLIB_VERSION = "1.6.0"; static constexpr int64 ONLINE_ALARM_ID = 0; static constexpr int64 PING_SERVER_ALARM_ID = -1; static constexpr int32 PING_SERVER_TIMEOUT = 300;