From 90452a9ec95a290092c5edf2a3584acb08657fe2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 19 Apr 2018 00:26:23 +0200 Subject: [PATCH] deprecation note in readme --- CMakeLists.txt | 2 +- README.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fa6997..1436102 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.7) project (mastodon-cpp - VERSION 0.9.2 + VERSION 0.20.0 LANGUAGES CXX ) diff --git a/README.md b/README.md index 4ff7705..42e7612 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,12 @@ The HTML reference can be generated with `build_doc.sh`, if doxygen is installed It is also available at [tastytea.github.io/mastodon-cpp/](https://tastytea.github.io/mastodon-cpp/docs/annotated.html). There are [examples](https://github.com/tastytea/mastodon-cpp/tree/master/examples) in `examples/`. +## Upgrading from below 0.10.0 + +`Mastodon::API::get`, `::get_stream`, `::post`, `::put` and `::del` don't take +std::string as parameter anymore, only `parametermap`s. The old behaviour is +still supported but is deprecated and will be removed in version 1.0.0. + ## Upgrading from below 0.7.0 Your projects will break, sorry. Here are the important changes: