diff options
| -rw-r--r-- | CHANGELOG.md | 6 | ||||
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | example/cpp/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | td/telegram/Td.h | 2 |
5 files changed, 10 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 348c000a7..1661d1d4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +Changes in 1.1.1: +* Fixed C JSON bindings compilation error. +* Fixed locale-dependent JSON generation. + +----------------------------------------------------------------------------------------------------------------------- + Changes in 1.1.0: * Methods `td::Log::set_file_path` and `td_set_log_file_path` now return whether they succeeded. diff --git a/CMakeLists.txt b/CMakeLists.txt index dae60c36d..2f1774b81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR) -project(TDLib VERSION 1.1.0 LANGUAGES CXX C) +project(TDLib VERSION 1.1.1 LANGUAGES CXX C) option(TD_ENABLE_JNI "Use \"ON\" to enable JNI-compatible TDLib API.") @@ -104,7 +104,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.1.0 REQUIRED) +find_package(Td 1.1.1 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/example/cpp/CMakeLists.txt b/example/cpp/CMakeLists.txt index 1aae511b6..e896746fc 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.1.0 REQUIRED) +find_package(Td 1.1.1 REQUIRED) add_executable(tdjson_example tdjson_example.cpp) target_link_libraries(tdjson_example PRIVATE Td::TdJson) diff --git a/td/telegram/Td.h b/td/telegram/Td.h index b8abf3123..2e26e3d12 100644 --- a/td/telegram/Td.h +++ b/td/telegram/Td.h @@ -191,7 +191,7 @@ class Td final : public NetQueryCallback { static td_api::object_ptr<td_api::Object> static_request(td_api::object_ptr<td_api::Function> function); private: - static constexpr const char *tdlib_version = "1.1.0"; + static constexpr const char *tdlib_version = "1.1.1"; static constexpr int32 ONLINE_TIMEOUT = 240; void send_result(uint64 id, tl_object_ptr<td_api::Object> object); |
