Skip to content

Commit

Permalink
Set version to 6.0.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanchon committed Jun 7, 2018
1 parent a9a730f commit e86eb0c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,9 @@
ArduinoJson: change log
=======================

v6.0.0-beta
-----------

* Added `DynamicJsonDocument` and `StaticJsonDocument`
* Added `deserializeJson()`
* Added `serializeJson()` and `serializeJsonPretty()`
Expand Down
2 changes: 1 addition & 1 deletion library.json
Expand Up @@ -7,7 +7,7 @@
"type": "git",
"url": "https://github.com/bblanchon/ArduinoJson.git"
},
"version": "6.0.0",
"version": "6.0.0-beta",
"authors": {
"name": "Benoit Blanchon",
"url": "https://blog.benoitblanchon.fr"
Expand Down
2 changes: 1 addition & 1 deletion library.properties
@@ -1,5 +1,5 @@
name=ArduinoJson
version=6.0.0
version=6.0.0-beta
author=Benoit Blanchon <blog.benoitblanchon.fr>
maintainer=Benoit Blanchon <blog.benoitblanchon.fr>
sentence=An efficient and elegant JSON library for Arduino.
Expand Down
8 changes: 4 additions & 4 deletions src/ArduinoJson/version.hpp
Expand Up @@ -4,7 +4,7 @@

#pragma once

#define ARDUINOJSON_VERSION "5.13.2"
#define ARDUINOJSON_VERSION_MAJOR 5
#define ARDUINOJSON_VERSION_MINOR 13
#define ARDUINOJSON_VERSION_REVISION 2
#define ARDUINOJSON_VERSION "6.0.0-beta"
#define ARDUINOJSON_VERSION_MAJOR 6
#define ARDUINOJSON_VERSION_MINOR 0
#define ARDUINOJSON_VERSION_REVISION 0
4 changes: 3 additions & 1 deletion test/Misc/version.cpp
Expand Up @@ -6,11 +6,13 @@
#include <catch.hpp>
#include <sstream>

using Catch::Matchers::StartsWith;

TEST_CASE("ARDUINOJSON_VERSION") {
std::stringstream version;

version << ARDUINOJSON_VERSION_MAJOR << "." << ARDUINOJSON_VERSION_MINOR
<< "." << ARDUINOJSON_VERSION_REVISION;

REQUIRE(version.str() == ARDUINOJSON_VERSION);
REQUIRE_THAT(ARDUINOJSON_VERSION, StartsWith(version.str()));
}

0 comments on commit e86eb0c

Please sign in to comment.