Skip to content

Commit 6c706f4

Browse files
committed
Increase TDLib version to 1.1.1.
GitOrigin-RevId: 0ba6d376f892d751dc74a4f0dbf9aaeb09f484ca
1 parent 1f87b64 commit 6c706f4

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

‎CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Changes in 1.1.1:
2+
* Fixed C JSON bindings compilation error.
3+
* Fixed locale-dependent JSON generation.
4+
5+
-----------------------------------------------------------------------------------------------------------------------
6+
17
Changes in 1.1.0:
28

39
* Methods `td::Log::set_file_path` and `td_set_log_file_path` now return whether they succeeded.

‎CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.0.2 FATAL_ERROR)
22

3-
project(TDLib VERSION 1.1.0 LANGUAGES CXX C)
3+
project(TDLib VERSION 1.1.1 LANGUAGES CXX C)
44

55
option(TD_ENABLE_JNI "Use \"ON\" to enable JNI-compatible TDLib API.")
66

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ target_link_libraries(YourTarget PRIVATE Td::TdStatic)
104104

105105
Or you could install `TDLib` and then reference it in your CMakeLists.txt like this:
106106
```
107-
find_package(Td 1.1.0 REQUIRED)
107+
find_package(Td 1.1.1 REQUIRED)
108108
target_link_libraries(YourTarget PRIVATE Td::TdStatic)
109109
```
110110
See [example/cpp/CMakeLists.txt](https://github.com/tdlib/td/tree/master/example/cpp/CMakeLists.txt).

‎example/cpp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
22

33
project(TdExample VERSION 1.0 LANGUAGES CXX)
44

5-
find_package(Td 1.1.0 REQUIRED)
5+
find_package(Td 1.1.1 REQUIRED)
66

77
add_executable(tdjson_example tdjson_example.cpp)
88
target_link_libraries(tdjson_example PRIVATE Td::TdJson)

‎td/telegram/Td.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class Td final : public NetQueryCallback {
191191
static td_api::object_ptr<td_api::Object> static_request(td_api::object_ptr<td_api::Function> function);
192192

193193
private:
194-
static constexpr const char *tdlib_version = "1.1.0";
194+
static constexpr const char *tdlib_version = "1.1.1";
195195
static constexpr int32 ONLINE_TIMEOUT = 240;
196196

197197
void send_result(uint64 id, tl_object_ptr<td_api::Object> object);

0 commit comments

Comments
 (0)