Skip to content

Commit

Permalink
Releasing 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Jun 17, 2022
1 parent 8969d6d commit c385651
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file.


## 0.5.1 (2022-06017)
#### Fixed
- Fix run-time error when compiling as cpp and 32-bit (g++-5 -m32 -fPIC) #85
- Fix incurrect output number format, remove unnecessary digits (e.g. 2.0e34 -> 2e34).


## 0.5.0 (2022-05-25)
#### Added
- Add LibFuzzer support.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# https://github.com/ibireme/yyjson/blob/master/LICENSE

cmake_minimum_required(VERSION 3.5)
project(yyjson VERSION 0.5.0)
project(yyjson VERSION 0.5.1)



Expand Down
2 changes: 2 additions & 0 deletions doc/BuildAndTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ Supported CMake options:
- `-DYYJSON_ENABLE_VALGRIND=ON` Enable valgrind memory checker for tests.
- `-DYYJSON_ENABLE_SANITIZE=ON` Enable sanitizer for tests.
- `-DYYJSON_ENABLE_FASTMATH=ON` Enable fast-math for tests.
- `-YYJSON_FORCE_32_BIT=ON` Force 32-bit for tests (gcc/clang/icc).

- `-DYYJSON_DISABLE_READER=ON` Disable JSON reader if you don't need it.
- `-DYYJSON_DISABLE_WRITER=ON` Disable JSON writer if you don't need it.
- `-DYYJSON_DISABLE_FAST_FP_CONV=ON` Disable fast floating-pointer conversion.
Expand Down
6 changes: 3 additions & 3 deletions src/yyjson.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,13 @@ extern "C" {
#define YYJSON_VERSION_MINOR 5

/** The patch version of yyjson. */
#define YYJSON_VERSION_PATCH 0
#define YYJSON_VERSION_PATCH 1

/** The version of yyjson in hex: (major << 16) | (minor << 8) | (patch). */
#define YYJSON_VERSION_HEX 0x000500
#define YYJSON_VERSION_HEX 0x000501

/** The version string of yyjson. */
#define YYJSON_VERSION_STRING "0.5.0"
#define YYJSON_VERSION_STRING "0.5.1"

/** The version of yyjson in hex, same as `YYJSON_VERSION_HEX`. */
yyjson_api uint32_t yyjson_version(void);
Expand Down

0 comments on commit c385651

Please sign in to comment.