diff --git a/CHANGELOG.md b/CHANGELOG.md index 2752d8396a559fb3fdc87fa8ecc6e61b85e019a9..ab1af2932bce059334d98b8e8f6fc474887bbcc4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.6.2] -- 2022-02-22 + +- Fix exception on "new" version string format + ## [0.6.1] -- 2021-12-20 - Set counter for encrypted files always to 0 diff --git a/CMakeLists.txt b/CMakeLists.txt index ef4111edd808c54aa28af8c11aa6f73c5a77232a..e404610052b6e996bef9ed02ed6b8e1ee3b564b4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,12 +38,12 @@ option(USE_BUNDLED_SPDLOG "Use the bundled version of spdlog." ${HUNTER_ENABLED} if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) project(matrix_client - VERSION 0.6.1 + VERSION 0.6.2 DESCRIPTION "Client API library for Matrix." HOMEPAGE_URL https://github.com/Nheko-Reborn/mtxclient) else() project(matrix_client - VERSION 0.6.1 + VERSION 0.6.2 DESCRIPTION "Client API library for Matrix.") endif() diff --git a/appveyor.yml b/appveyor.yml index bffd9e6500bbac59a7e7315971bf1938c263afe5..c2215a9e661c7bf4e77a285be75d5a67600c2630 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ --- -version: 0.6.1-{build} +version: 0.6.2-{build} configuration: Release image: Visual Studio 2019 diff --git a/lib/http/client.cpp b/lib/http/client.cpp index 97d8c157781db35f2abde429aa52f0407c456fe7..90428befc018a0b9c90874f32628361ed0bc0fab 100644 --- a/lib/http/client.cpp +++ b/lib/http/client.cpp @@ -55,7 +55,7 @@ coeurl::Headers mtx::http::Client::prepare_headers(bool requires_auth) { coeurl::Headers headers; - headers["User-Agent"] = "mtxclient v0.6.1"; + headers["User-Agent"] = "mtxclient v0.6.2"; if (requires_auth && !access_token_.empty()) headers["Authorization"] = "Bearer " + access_token(); diff --git a/meson.build b/meson.build index a3edaa2e100ab4ae79962ab884cf00aa48635de8..37a41e1bda02df6789bcde23a30ad4daf555108c 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'mtxclient', 'cpp', -version : '0.6.1', +version : '0.6.2', meson_version : '>=0.57.0', license : 'MIT', default_options : 'cpp_std=c++17' diff --git a/tests/responses.cpp b/tests/responses.cpp index 1a8eba43213962c8e5b36b5a395fe36eafb4d9a0..d2d2cc8085bb412c61f65635e70f1e1b2eb7d451 100644 --- a/tests/responses.cpp +++ b/tests/responses.cpp @@ -484,7 +484,7 @@ TEST(Responses, Versions) json error_data = R"({ "versions" : [ - "r.0.0.1" + "" ] })"_json;