Skip to content

Commit

Permalink
Releasing 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Sep 13, 2023
1 parent dad2450 commit e01ae9d
Show file tree
Hide file tree
Showing 34 changed files with 2,570 additions and 1,762 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
All notable changes to this project will be documented in this file.


## Unreleased
## 0.8.0 (2023-09-13)
#### Added
- Add `YYJSON_SUBTYPE_NOESC` subtype to mark strings that do not need to be escaped.
- Add `YYJSON_DISABLE_UTF8_VALIDATION` flag to allow disable UTF-8 validation at compile-time.
- Add dynamic allocator API: `yyjson_alc_dyn_new()`, `yyjson_alc_dyn_free()`.
- Add the missing `yyjson_mut_obj_add_arr/obj()` API: #140

#### Changed
- Improve the write performance of strings.
- Improve the write performance of strings with `YYJSON_SUBTYPE_NOESC`.

#### Fixed
- Fix clang-16 valgrind fail: #134
- Fix compile break when both `FAST_FP` and `READER` are disabled


## 0.7.0 (2023-05-25)
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.7.0 LANGUAGES C)
project(yyjson VERSION 0.8.0 LANGUAGES C)



Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/classes.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/deprecated.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/dir_e68e8157741866f444e17edd764ebbae.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/functions_vars.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
34 changes: 32 additions & 2 deletions doc/doxygen/html/globals_defs.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down Expand Up @@ -93,8 +93,14 @@
</div>

<div class="contents">
&#160;<ul>
&#160;

<h3><a id="index__5F" name="index__5F"></a>- _ -</h3><ul>
<li>__bool_true_false_are_defined&#160;:&#160;<a class="el" href="yyjson_8h.html#a665b0cc9ee2ced31785321d55cde349e">yyjson.h</a></li>
</ul>


<h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>yyjson_align&#160;:&#160;<a class="el" href="yyjson_8h.html#a37185af21190fa0852a9b1ef9e041151">yyjson.h</a></li>
<li>yyjson_api&#160;:&#160;<a class="el" href="yyjson_8h.html#a691136e772913e98860a791e65b70f04">yyjson.h</a></li>
<li>yyjson_api_inline&#160;:&#160;<a class="el" href="yyjson_8h.html#a682886dc8be2307076b125b496b15570">yyjson.h</a></li>
Expand All @@ -104,18 +110,42 @@
<li>YYJSON_GCC_VER&#160;:&#160;<a class="el" href="yyjson_8h.html#a0de4b27af40f104d2b1aac72edd6832e">yyjson.h</a></li>
<li>yyjson_has_attribute&#160;:&#160;<a class="el" href="yyjson_8h.html#ad7a6d7801cb0c35ee08fc6ba9d343106">yyjson.h</a></li>
<li>yyjson_has_builtin&#160;:&#160;<a class="el" href="yyjson_8h.html#a35f777885b981bd9caf1c24737b40921">yyjson.h</a></li>
<li>YYJSON_HAS_CONSTANT_P&#160;:&#160;<a class="el" href="yyjson_8h.html#acf1b73925eff2306f4e23837cd874c8d">yyjson.h</a></li>
<li>yyjson_has_feature&#160;:&#160;<a class="el" href="yyjson_8h.html#ae8f6fbea7b0eee0545bcf8d272ce7f33">yyjson.h</a></li>
<li>yyjson_has_include&#160;:&#160;<a class="el" href="yyjson_8h.html#afe50edcbf467f426784326f2282c51fd">yyjson.h</a></li>
<li>yyjson_inline&#160;:&#160;<a class="el" href="yyjson_8h.html#a45a5da162ba8a920163c74b71f48ead8">yyjson.h</a></li>
<li>YYJSON_IS_REAL_GCC&#160;:&#160;<a class="el" href="yyjson_8h.html#a4781760a87346473a82f26fdd897fa52">yyjson.h</a></li>
<li>yyjson_likely&#160;:&#160;<a class="el" href="yyjson_8h.html#a2fcd8be107f850c0d81ba7bff62edeb7">yyjson.h</a></li>
<li>YYJSON_MSC_VER&#160;:&#160;<a class="el" href="yyjson_8h.html#a77011c6b1268f9068abe1975b92e38e0">yyjson.h</a></li>
<li>yyjson_mut_arr_foreach&#160;:&#160;<a class="el" href="yyjson_8h.html#a23a525f4192a237730aedfad55798fdb">yyjson.h</a></li>
<li>yyjson_mut_obj_foreach&#160;:&#160;<a class="el" href="yyjson_8h.html#ae3f12da3b11d3227dd517a1079065a3f">yyjson.h</a></li>
<li>yyjson_noinline&#160;:&#160;<a class="el" href="yyjson_8h.html#a07affd3b28fe93360627a1c4e03b5b88">yyjson.h</a></li>
<li>yyjson_obj_foreach&#160;:&#160;<a class="el" href="yyjson_8h.html#a32884e21b899ea5869b12aec02083002">yyjson.h</a></li>
<li>YYJSON_PADDING_SIZE&#160;:&#160;<a class="el" href="yyjson_8h.html#abbe8e69f634b1a5a78c1dae08b88e0ef">yyjson.h</a></li>
<li>YYJSON_RESERVED_BIT&#160;:&#160;<a class="el" href="yyjson_8h.html#a3aad1e39dcb4aec3e7e477500c220a53">yyjson.h</a></li>
<li>YYJSON_RESERVED_MASK&#160;:&#160;<a class="el" href="yyjson_8h.html#af44f401747d1fa6dd1b600c54de919ad">yyjson.h</a></li>
<li>YYJSON_STDC_VER&#160;:&#160;<a class="el" href="yyjson_8h.html#a0a914f47b39417dd25fe728eef7d8f00">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_BIT&#160;:&#160;<a class="el" href="yyjson_8h.html#aa451fb3ba37fd42f69253e7d727836b7">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_FALSE&#160;:&#160;<a class="el" href="yyjson_8h.html#a17877edf97bce2f3d7cf993cc9662a30">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_MASK&#160;:&#160;<a class="el" href="yyjson_8h.html#a7d15bc48e9734dab6620e35ec30cc348">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_NOESC&#160;:&#160;<a class="el" href="yyjson_8h.html#af470523a4d0e9d89dfed5bcfae287bdb">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_NONE&#160;:&#160;<a class="el" href="yyjson_8h.html#a2a9e116a307c8dbcebc82305eca91fd3">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_REAL&#160;:&#160;<a class="el" href="yyjson_8h.html#a1efeaba2c4446788c9b30d20e1b82f73">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_SINT&#160;:&#160;<a class="el" href="yyjson_8h.html#ab5b72a76b60c408b8a7f2dfc31fbcbce">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_TRUE&#160;:&#160;<a class="el" href="yyjson_8h.html#ae6a759cdc8865c891a89a67abd18a60e">yyjson.h</a></li>
<li>YYJSON_SUBTYPE_UINT&#160;:&#160;<a class="el" href="yyjson_8h.html#aa6a600891d4a3551b83a30afe576fd57">yyjson.h</a></li>
<li>YYJSON_TAG_BIT&#160;:&#160;<a class="el" href="yyjson_8h.html#aa7acf05a1b4d7c04db1b09fffbedf35b">yyjson.h</a></li>
<li>YYJSON_TAG_MASK&#160;:&#160;<a class="el" href="yyjson_8h.html#ac91eb401b770474ab76706ec58ac803d">yyjson.h</a></li>
<li>YYJSON_TYPE_ARR&#160;:&#160;<a class="el" href="yyjson_8h.html#a69ef1dad0f3735313d762050178ed320">yyjson.h</a></li>
<li>YYJSON_TYPE_BIT&#160;:&#160;<a class="el" href="yyjson_8h.html#a9bc0cb130d1498238e942b93b8d8effd">yyjson.h</a></li>
<li>YYJSON_TYPE_BOOL&#160;:&#160;<a class="el" href="yyjson_8h.html#a085018fbc0363aad32708fdf8b247e36">yyjson.h</a></li>
<li>YYJSON_TYPE_MASK&#160;:&#160;<a class="el" href="yyjson_8h.html#a53b930a8e372ddd7c8d4d389caad391e">yyjson.h</a></li>
<li>YYJSON_TYPE_NONE&#160;:&#160;<a class="el" href="yyjson_8h.html#a1db6e43b1df0a46cee92d837ad553cc2">yyjson.h</a></li>
<li>YYJSON_TYPE_NULL&#160;:&#160;<a class="el" href="yyjson_8h.html#a3c003e6f71f42835957e6b9cf845a2e2">yyjson.h</a></li>
<li>YYJSON_TYPE_NUM&#160;:&#160;<a class="el" href="yyjson_8h.html#a720689b031a276a194e43c276fea9154">yyjson.h</a></li>
<li>YYJSON_TYPE_OBJ&#160;:&#160;<a class="el" href="yyjson_8h.html#a79764d1a17bdd0a5b4f2b553a9d114b9">yyjson.h</a></li>
<li>YYJSON_TYPE_RAW&#160;:&#160;<a class="el" href="yyjson_8h.html#ae548138e539cfcebdfad39a58da44470">yyjson.h</a></li>
<li>YYJSON_TYPE_STR&#160;:&#160;<a class="el" href="yyjson_8h.html#a3a75e44d4e709fbfafa3137a15edbb68">yyjson.h</a></li>
<li>YYJSON_U64_TO_F64_NO_IMPL&#160;:&#160;<a class="el" href="yyjson_8h.html#a39520db5ba6361257b7b51783357b877">yyjson.h</a></li>
<li>yyjson_unlikely&#160;:&#160;<a class="el" href="yyjson_8h.html#a13065ff687cfd3b49eb38739676594f3">yyjson.h</a></li>
<li>YYJSON_VERSION_HEX&#160;:&#160;<a class="el" href="yyjson_8h.html#ac02a007abcdf7a80894f839acafa5963">yyjson.h</a></li>
Expand Down
6 changes: 5 additions & 1 deletion doc/doxygen/html/globals_func.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down Expand Up @@ -96,6 +96,8 @@
&#160;

<h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>yyjson_alc_dyn_free()&#160;:&#160;<a class="el" href="yyjson_8h.html#aaa9b7978e7b40e6d5d8d1cb3da0568d6">yyjson.h</a></li>
<li>yyjson_alc_dyn_new()&#160;:&#160;<a class="el" href="yyjson_8h.html#a6a90ae91b82c2e8d6665a28a691eee18">yyjson.h</a></li>
<li>yyjson_alc_pool_init()&#160;:&#160;<a class="el" href="yyjson_8h.html#a6068c4293a2b35493b18421b9afbd3d5">yyjson.h</a></li>
<li>yyjson_arr_get()&#160;:&#160;<a class="el" href="yyjson_8h.html#ac709738fbf9da708c28992c40746fcbf">yyjson.h</a></li>
<li>yyjson_arr_get_first()&#160;:&#160;<a class="el" href="yyjson_8h.html#ad54c34d490dd8e479e21e4cb29bc814b">yyjson.h</a></li>
Expand Down Expand Up @@ -258,10 +260,12 @@ <h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>yyjson_mut_null()&#160;:&#160;<a class="el" href="yyjson_8h.html#a73e0044fd0c511263cbf5cd869976475">yyjson.h</a></li>
<li>yyjson_mut_obj()&#160;:&#160;<a class="el" href="yyjson_8h.html#a721dacf0e32ee6c7f18817aca806e9b2">yyjson.h</a></li>
<li>yyjson_mut_obj_add()&#160;:&#160;<a class="el" href="yyjson_8h.html#ac0e1bcd9f449e4b1e62d25fb96830a62">yyjson.h</a></li>
<li>yyjson_mut_obj_add_arr()&#160;:&#160;<a class="el" href="yyjson_8h.html#a1d27c9ad366209b83f236d74ec7e1991">yyjson.h</a></li>
<li>yyjson_mut_obj_add_bool()&#160;:&#160;<a class="el" href="yyjson_8h.html#abe2f1b0c0b8cb9ceab3cdc35d4574c86">yyjson.h</a></li>
<li>yyjson_mut_obj_add_false()&#160;:&#160;<a class="el" href="yyjson_8h.html#a52c88fea8622d7bf4e81ecea93dc5df6">yyjson.h</a></li>
<li>yyjson_mut_obj_add_int()&#160;:&#160;<a class="el" href="yyjson_8h.html#a56726ff7e284700736e26e56afa6cf7b">yyjson.h</a></li>
<li>yyjson_mut_obj_add_null()&#160;:&#160;<a class="el" href="yyjson_8h.html#a6efc657d7f9aefdcba51e753fcea02c1">yyjson.h</a></li>
<li>yyjson_mut_obj_add_obj()&#160;:&#160;<a class="el" href="yyjson_8h.html#a7241260b7fefbbdfdf7566d207b486c5">yyjson.h</a></li>
<li>yyjson_mut_obj_add_real()&#160;:&#160;<a class="el" href="yyjson_8h.html#aa4b243e9de837405d83bcc3251156cea">yyjson.h</a></li>
<li>yyjson_mut_obj_add_sint()&#160;:&#160;<a class="el" href="yyjson_8h.html#a4070a94fca9592eefa2798dd45237d85">yyjson.h</a></li>
<li>yyjson_mut_obj_add_str()&#160;:&#160;<a class="el" href="yyjson_8h.html#a996f8aa51f4c1475448974cf98f28df3">yyjson.h</a></li>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/globals_type.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
2 changes: 1 addition & 1 deletion doc/doxygen/html/globals_vars.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.7.0</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.8.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
Loading

0 comments on commit e01ae9d

Please sign in to comment.