Skip to content

Commit

Permalink
Increase TDLib version to 1.1.1.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 0ba6d376f892d751dc74a4f0dbf9aaeb09f484ca
  • Loading branch information
levlam committed Feb 3, 2018
1 parent 1f87b64 commit 6c706f4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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.")

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion example/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion td/telegram/Td.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6c706f4

Please sign in to comment.