From b19f1dc7e422f1bb217f02487567fc09e25e7d2b Mon Sep 17 00:00:00 2001 From: Nicolas Werner <nicolas.werner@hotmail.de> Date: Tue, 20 Apr 2021 18:14:41 +0200 Subject: [PATCH] Release 0.5.1 --- CHANGELOG.md | 6 +++++- CMakeLists.txt | 4 ++-- appveyor.yml | 2 +- include/mtxclient/http/session.hpp | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b50c1b6a1..a2b8ece3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.5.1] -- 2021-04-20 + +* Allow exporting a session with a specific minimum index instead of all known indices. + ## [0.5.0] -- 2021-04-18 * Support edits @@ -9,4 +13,4 @@ * Support for pushers by vurpo * Fix crashes when using the epoll reactor on ARM * Switch to gitlab CI -* Support for [MSC2545](https://github.com/matrix-org/matrix-doc/pull/2545), sticker and emote packs \ No newline at end of file +* Support for [MSC2545](https://github.com/matrix-org/matrix-doc/pull/2545), sticker and emote packs diff --git a/CMakeLists.txt b/CMakeLists.txt index d486b160d..55ebac0d9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,12 +32,12 @@ option(USE_BUNDLED_OPENSSL "Use the bundled version of OpenSSL." if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.12) project(matrix_client - VERSION 0.5.0 + VERSION 0.5.1 DESCRIPTION "Client API library for Matrix, built on top of Boost.Asio" HOMEPAGE_URL https://github.com/Nheko-Reborn/mtxclient) else() project(matrix_client - VERSION 0.5.0 + VERSION 0.5.1 DESCRIPTION "Client API library for Matrix, built on top of Boost.Asio") endif() diff --git a/appveyor.yml b/appveyor.yml index 3b399bd29..18a758bd4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ --- -version: 0.5.0-{build} +version: 0.5.1-{build} configuration: Release image: Visual Studio 2017 diff --git a/include/mtxclient/http/session.hpp b/include/mtxclient/http/session.hpp index 80d6793b3..b0b8e84bd 100644 --- a/include/mtxclient/http/session.hpp +++ b/include/mtxclient/http/session.hpp @@ -96,7 +96,7 @@ setup_headers(mtx::http::Session *session, const std::string &content_type = "", const std::string &endpoint_namespace = "/_matrix") { - session->request.set(boost::beast::http::field::user_agent, "mtxclient v0.5.0"); + session->request.set(boost::beast::http::field::user_agent, "mtxclient v0.5.1"); session->request.set(boost::beast::http::field::accept_encoding, "gzip,deflate"); session->request.set(boost::beast::http::field::host, session->host); -- GitLab