Skip to content

Commit

Permalink
Releasing 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ibireme committed Dec 12, 2022
1 parent 5120672 commit 7b210d6
Show file tree
Hide file tree
Showing 33 changed files with 3,068 additions and 1,822 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file.


## 0.6.0 (2022-12-12)
#### Added
- Add functions to modify the content of a JSON value, for example `yyjson_set_int(yyjson_val *val, int num)`.
- Add functions to copy from mutable doc to immutable doc.
- Add functions to support renaming an object's key.
- Add the `yyjson_read_number()` function to parse numeric strings.
- Add a placeholder allocator if `yyjson_alc_pool_init()` fails.

#### Fixed
- Fix quite NaN on MIPS and HPPA arch.
- Fixed compile error before `GCC 4.5` which doesn't support empty optional extended asm label.
- When built-in floating point conversion is disabled, sprintf() output for floating point numbers is missing a decimal point, for example 123 should be 123.0.


## 0.5.1 (2022-06-17)
#### Fixed
- Fix run-time error when compiling as cpp and 32-bit (g++-5 -m32 -fPIC) #85
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.1)
project(yyjson VERSION 0.6.0)



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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.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_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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
28 changes: 27 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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down Expand Up @@ -200,6 +200,7 @@ <h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>yyjson_mut_doc_get_pointer()&#160;:&#160;<a class="el" href="yyjson_8h.html#a4ff4915acd7a289001592a762b4b40e5">yyjson.h</a></li>
<li>yyjson_mut_doc_get_pointern()&#160;:&#160;<a class="el" href="yyjson_8h.html#a50bfce709c7853491172fe4198d43863">yyjson.h</a></li>
<li>yyjson_mut_doc_get_root()&#160;:&#160;<a class="el" href="yyjson_8h.html#aa33ac310f363ace5f4dda3697b2c0123">yyjson.h</a></li>
<li>yyjson_mut_doc_imut_copy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a797642b2f815a4f05db03ef87f08cc4f">yyjson.h</a></li>
<li>yyjson_mut_doc_mut_copy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a6ee1dc133fa773528286cd0b25300cb2">yyjson.h</a></li>
<li>yyjson_mut_doc_new()&#160;:&#160;<a class="el" href="yyjson_8h.html#ae27cb375110302ec19f4376d7cab3c5b">yyjson.h</a></li>
<li>yyjson_mut_doc_set_root()&#160;:&#160;<a class="el" href="yyjson_8h.html#a8a9f7ea865526acb97ee4eff8d0bb79f">yyjson.h</a></li>
Expand Down Expand Up @@ -270,6 +271,8 @@ <h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>yyjson_mut_obj_remove_keyn()&#160;:&#160;<a class="el" href="yyjson_8h.html#a36b5cade5e5cfecd47e9ae584078e2b4">yyjson.h</a></li>
<li>yyjson_mut_obj_remove_str()&#160;:&#160;<a class="el" href="yyjson_8h.html#a630b55e2937f7ffe8c0dcef20497ce93">yyjson.h</a></li>
<li>yyjson_mut_obj_remove_strn()&#160;:&#160;<a class="el" href="yyjson_8h.html#ae6dfd237f7997125e606d678b3b59b5c">yyjson.h</a></li>
<li>yyjson_mut_obj_rename_key()&#160;:&#160;<a class="el" href="yyjson_8h.html#aea65c64007cfa236faa17e1ac87c4e5e">yyjson.h</a></li>
<li>yyjson_mut_obj_rename_keyn()&#160;:&#160;<a class="el" href="yyjson_8h.html#a335b9fdffa2885eb5eddd1ee2b43016b">yyjson.h</a></li>
<li>yyjson_mut_obj_replace()&#160;:&#160;<a class="el" href="yyjson_8h.html#a964840d68d5d27ad2e16c63b4b2475b6">yyjson.h</a></li>
<li>yyjson_mut_obj_rotate()&#160;:&#160;<a class="el" href="yyjson_8h.html#a0f1a9fea8fbc13caf61861dfdb498d46">yyjson.h</a></li>
<li>yyjson_mut_obj_size()&#160;:&#160;<a class="el" href="yyjson_8h.html#a601ac20666dd26bfbec016ee4cbb1b92">yyjson.h</a></li>
Expand All @@ -279,14 +282,27 @@ <h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>yyjson_mut_rawcpy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a35cfc3e94310aaddb9eaf6609c4640d9">yyjson.h</a></li>
<li>yyjson_mut_rawn()&#160;:&#160;<a class="el" href="yyjson_8h.html#a3f69c2e1cdc99ae4f9914435b7a542d7">yyjson.h</a></li>
<li>yyjson_mut_rawncpy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a8a9cc40b5f3f93b66ba191449f81fbda">yyjson.h</a></li>
<li>yyjson_mut_read_number()&#160;:&#160;<a class="el" href="yyjson_8h.html#aba2b7153e213808a87ecde3ce00b23e1">yyjson.h</a></li>
<li>yyjson_mut_real()&#160;:&#160;<a class="el" href="yyjson_8h.html#a177181eee333314c7b40e2dc573fcdec">yyjson.h</a></li>
<li>yyjson_mut_set_arr()&#160;:&#160;<a class="el" href="yyjson_8h.html#af6dac7e5e95ccc12d79c31b96d33940a">yyjson.h</a></li>
<li>yyjson_mut_set_bool()&#160;:&#160;<a class="el" href="yyjson_8h.html#a108d97873650fd95453f3c82a0b6a2aa">yyjson.h</a></li>
<li>yyjson_mut_set_int()&#160;:&#160;<a class="el" href="yyjson_8h.html#a64168360e4ac45070f98c6db92b89cd7">yyjson.h</a></li>
<li>yyjson_mut_set_null()&#160;:&#160;<a class="el" href="yyjson_8h.html#a6e0c3b9ff069db64e4aa14da1078b538">yyjson.h</a></li>
<li>yyjson_mut_set_obj()&#160;:&#160;<a class="el" href="yyjson_8h.html#a533791670fe27f71bab321d586e11ea2">yyjson.h</a></li>
<li>yyjson_mut_set_raw()&#160;:&#160;<a class="el" href="yyjson_8h.html#a510bd8af8c64911827c890bd67245282">yyjson.h</a></li>
<li>yyjson_mut_set_real()&#160;:&#160;<a class="el" href="yyjson_8h.html#a0cbd041b4d5a31d6dcc0bd759eae6cf7">yyjson.h</a></li>
<li>yyjson_mut_set_sint()&#160;:&#160;<a class="el" href="yyjson_8h.html#ad3c513a8fd61c173c4afa404572e02f6">yyjson.h</a></li>
<li>yyjson_mut_set_str()&#160;:&#160;<a class="el" href="yyjson_8h.html#a84e98fae940ff675b2a22076cbd5efc1">yyjson.h</a></li>
<li>yyjson_mut_set_strn()&#160;:&#160;<a class="el" href="yyjson_8h.html#a298c4558e0b349e4f801f210f19ac8b1">yyjson.h</a></li>
<li>yyjson_mut_set_uint()&#160;:&#160;<a class="el" href="yyjson_8h.html#a84604772b235ec0f651532013f2480a8">yyjson.h</a></li>
<li>yyjson_mut_sint()&#160;:&#160;<a class="el" href="yyjson_8h.html#acd434c1a97d275f97f743e47e228831a">yyjson.h</a></li>
<li>yyjson_mut_str()&#160;:&#160;<a class="el" href="yyjson_8h.html#ae8d7e4c75adb1b9adb2246165491a4a3">yyjson.h</a></li>
<li>yyjson_mut_strcpy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a95300bcf1cdb52d296e39aa1a4650741">yyjson.h</a></li>
<li>yyjson_mut_strn()&#160;:&#160;<a class="el" href="yyjson_8h.html#a13c39f37c6936907c266ba9c076dd741">yyjson.h</a></li>
<li>yyjson_mut_strncpy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a1588bdc6f4125e5c6d1daf6b240f6ff8">yyjson.h</a></li>
<li>yyjson_mut_true()&#160;:&#160;<a class="el" href="yyjson_8h.html#a032637dbdee5a6525420384daa097dff">yyjson.h</a></li>
<li>yyjson_mut_uint()&#160;:&#160;<a class="el" href="yyjson_8h.html#a893a09172b402af1bf520cf7347dfeab">yyjson.h</a></li>
<li>yyjson_mut_val_imut_copy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a7a142af553e7831989593aee44f74e26">yyjson.h</a></li>
<li>yyjson_mut_val_mut_copy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a66761be40cfb010086ec798ddb44018f">yyjson.h</a></li>
<li>yyjson_mut_val_write()&#160;:&#160;<a class="el" href="yyjson_8h.html#a700da5ce5bf8bb9d3739cc73a0f51cdf">yyjson.h</a></li>
<li>yyjson_mut_val_write_file()&#160;:&#160;<a class="el" href="yyjson_8h.html#adf8b2d3c8b57e85d58108d58c68b0db5">yyjson.h</a></li>
Expand All @@ -306,7 +322,17 @@ <h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>yyjson_read()&#160;:&#160;<a class="el" href="yyjson_8h.html#aeab3c2a1d86225e5b181fb1bba7587d4">yyjson.h</a></li>
<li>yyjson_read_file()&#160;:&#160;<a class="el" href="yyjson_8h.html#a605ac08b083fb65331d7fa5eb5d32225">yyjson.h</a></li>
<li>yyjson_read_max_memory_usage()&#160;:&#160;<a class="el" href="yyjson_8h.html#ae511cac592355c2f60f170402b9d8dbf">yyjson.h</a></li>
<li>yyjson_read_number()&#160;:&#160;<a class="el" href="yyjson_8h.html#aec9ae4949a2cb626242ec174fba5aadb">yyjson.h</a></li>
<li>yyjson_read_opts()&#160;:&#160;<a class="el" href="yyjson_8h.html#acf234d21f0cb4b7fc89381ef25e9f0a8">yyjson.h</a></li>
<li>yyjson_set_bool()&#160;:&#160;<a class="el" href="yyjson_8h.html#ad99ceda574b466f8102699e52564c8da">yyjson.h</a></li>
<li>yyjson_set_int()&#160;:&#160;<a class="el" href="yyjson_8h.html#af1f4dd90c0bd891cb139e72cfd588789">yyjson.h</a></li>
<li>yyjson_set_null()&#160;:&#160;<a class="el" href="yyjson_8h.html#a079fdf2d481492c8533104437dbf2283">yyjson.h</a></li>
<li>yyjson_set_raw()&#160;:&#160;<a class="el" href="yyjson_8h.html#a75ee22602fb750b67fda804fb653ef1e">yyjson.h</a></li>
<li>yyjson_set_real()&#160;:&#160;<a class="el" href="yyjson_8h.html#ac782a838c6378f022434d7ab3a3b333d">yyjson.h</a></li>
<li>yyjson_set_sint()&#160;:&#160;<a class="el" href="yyjson_8h.html#ad0f58bd6ac0289fd55d09b02fa3d4743">yyjson.h</a></li>
<li>yyjson_set_str()&#160;:&#160;<a class="el" href="yyjson_8h.html#a9a0f4082d2244b7264a819bbc32ebbdf">yyjson.h</a></li>
<li>yyjson_set_strn()&#160;:&#160;<a class="el" href="yyjson_8h.html#a9e49dc52b6209708df0ccf4ddf49b8c4">yyjson.h</a></li>
<li>yyjson_set_uint()&#160;:&#160;<a class="el" href="yyjson_8h.html#a90614444c9d6bbd7d8586176986adbc5">yyjson.h</a></li>
<li>yyjson_val_mut_copy()&#160;:&#160;<a class="el" href="yyjson_8h.html#a04ff184b833fe2d6932309821e2b2e5a">yyjson.h</a></li>
<li>yyjson_val_write()&#160;:&#160;<a class="el" href="yyjson_8h.html#a00409eb59aee687f7778d00510b59d38">yyjson.h</a></li>
<li>yyjson_val_write_file()&#160;:&#160;<a class="el" href="yyjson_8h.html#a725cc27bd7bd37c1d18c41589abd34db">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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down
4 changes: 2 additions & 2 deletions 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.5.1</span>
<div id="projectname"><a href="index.html">yyjson</a><span id="projectnumber">&#160;0.6.0</span>
</div>
<div id="projectbrief">A high performance C JSON library.</div>
</td>
Expand Down Expand Up @@ -119,7 +119,7 @@ <h3><a id="index_y" name="index_y"></a>- y -</h3><ul>
<li>YYJSON_READ_STOP_WHEN_DONE&#160;:&#160;<a class="el" href="yyjson_8h.html#ad2fb99734b237a7af74924443fe5260e">yyjson.h</a></li>
<li>YYJSON_READ_SUCCESS&#160;:&#160;<a class="el" href="yyjson_8h.html#a5b8948d47748a81d6a4abf94949e0e88">yyjson.h</a></li>
<li>YYJSON_WRITE_ALLOW_INF_AND_NAN&#160;:&#160;<a class="el" href="yyjson_8h.html#a38fa90e4cf75b0a78148de2058c1b3bd">yyjson.h</a></li>
<li>YYJSON_WRITE_ALLOW_INVALID_UNICODE&#160;:&#160;<a class="el" href="yyjson_8h.html#a57835e7f895e7533006340ad3abe0b80">yyjson.h</a></li>
<li>YYJSON_WRITE_ALLOW_INVALID_UNICODE&#160;:&#160;<a class="el" href="yyjson_8h.html#ae2709fd5ec704ef7a569d62195e4652d">yyjson.h</a></li>
<li>YYJSON_WRITE_ERROR_FILE_OPEN&#160;:&#160;<a class="el" href="yyjson_8h.html#a41cb8e304e08d7455f43c753bfa19b82">yyjson.h</a></li>
<li>YYJSON_WRITE_ERROR_FILE_WRITE&#160;:&#160;<a class="el" href="yyjson_8h.html#a7910a72a728d4f245d43417a42e2e91a">yyjson.h</a></li>
<li>YYJSON_WRITE_ERROR_INVALID_PARAMETER&#160;:&#160;<a class="el" href="yyjson_8h.html#a7f123c4c3d850fd6c4e46a2b3aad4508">yyjson.h</a></li>
Expand Down
Loading

0 comments on commit 7b210d6

Please sign in to comment.