diff --git a/CHANGELOG.md b/CHANGELOG.md
index b50c1b6a18f75409b3ae7a69b90ad0876b8f0082..a2b8ece3bb66e2f9f5fe4e3c93c36b3182275895 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 d486b160d7ef1762177a59965f6e5789623e1711..55ebac0d90c372897abdd809a0e31153e62dfd87 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 3b399bd2997d3bbd92c3e7ca8d679ce63550ba08..18a758bd4c856bd8825ba93421a8254fecff026d 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 80d6793b3aa73e9142c02929f931f756006114a6..b0b8e84bdfcc567d0e8b6d1b5d8862e4f732e172 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);