tag:github.com,2008:https://github.com/devpro4/tinycbor/releases Tags from tinycbor 2018-01-30T22:21:40Z tag:github.com,2008:Repository/120996230/v0.5.0 2018-01-30T22:21:40Z v0.5.0: TinyCBOR release 0.5.0 <p>TinyCBOR release 0.5.0</p> <p>TinyCBOR 0.5 contains numerous fixes and new API compared to 0.4. The <br />main feature in this release is the CBOR Validation API, which can be <br />used to perform a deeper validation of the contents than the simple <br />syntax correctness that the main parser API provides. In particular, the <br />API can be used to confirm that a given CBOR data type was encoded using <br />either the Canonical Format (RFC 7049 section 3.9) and the Strict Mode <br />(section 3.10). The API can also be used to confirm CBOR Text Strings <br />carry properly-encoded UTF-8 text, a verification that the main parser <br />does not perform.</p> <p>Starting in this release, the TINYCBOR_VERSION macro will be defined to <br />the current version number.</p> <p>This release also has the possibility of building TinyCBOR as a shared <br />library on Unix systems. It is automatically enabled on systems detected <br />to use the ELF executable format. To disable it, pass BUILD_SHARED=0 to <br />make; to enable it on other systems, pass BUILD_SHARED=1. To disable the <br />static library, pass BUILD_STATIC=0 to make. Note that TinyCBOR does not <br />guarantee binary compatibility across releases.</p> <p>Other relevant changes include:</p> <p> - The list of known tags includes the tags used for CBOR Object Signing <br /> and Encryption (COSE - RFC 8152). <br /> - The functions taking FILE* are now conditional on a hosted C <br /> environment. They are not declared for freestanding C environments.</p> <p>Note: the zero-copy string functions announced with the 0.5-beta1 <br />release have been removed for further development. A new zery-copy <br />string access API will be provided in the 0.6 release.</p> <p>The project maintainer would like to thank the following people for <br />contributing to this release: <br /> Bertrand Roussel <br /> George Nash <br /> Erich Keane <br /> Fabrice Fontaine <br /> Vipul Rahane</p> <p>Signed-off-by: Thiago Macieira &lt;[email protected]&gt;</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.5-beta1 2018-01-23T20:47:37Z v0.5-beta1: TinyCBOR release 0.5 (beta1) <p>TinyCBOR release 0.5 (beta1)</p> <p>This is a beta release of TinyCBOR 0.5. Beta releases may have bugs and <br />the API is still subject to change.</p> <p>TinyCBOR 0.5 contains numerous fixes and new API compared to 0.4. The <br />main feature in this release is the CBOR Validation API, which can be <br />used to perform a deeper validation of the contents than the simple <br />syntax correctness that the main parser API provides. In particular, the <br />API can be used to confirm that a given CBOR data type was encoded using <br />either the Canonical Format (RFC 7049 section 3.9) and the Strict Mode <br />(section 3.10). The API can also be used to confirm CBOR Text Strings <br />carry properly-encoded UTF-8 text, a verification that the main parser <br />does not perform.</p> <p>Starting in this release, the TINYCBOR_VERSION macro will be defined to <br />the current version number.</p> <p>Other relevant changes include:</p> <p> - The list of known tags includes the tags used for CBOR Object Signing <br /> and Encryption (COSE - RFC 8152). <br /> - A new pair of functions cbor_value_get_{text,byte}_string_chunk can <br /> be used to obtain a direct pointer to the string data, without any <br /> memory allocation or memcpy (zero copy). <br /> - the functions taking FILE* are now conditional on a hosted C <br /> environment. They are not declared for freestanding C environments.</p> <p>The project maintainer would like to thank the following people for <br />contributing to this release: <br /> Alex Radutskiy <br /> Bertrand Roussel <br /> Erich Keane <br /> Fabrice Fontaine <br /> Philippe Coval <br /> Vipul Rahane</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.4.2 2017-11-14T03:18:17Z v0.4.2: TinyCBOR release 0.4.2 <p>TinyCBOR release 0.4.2</p> <p>This is a bugfix release. Important bugs fixed in this release: <br /> - Fixed builds against a static cJSON <br /> - Fixed MSVC builds <br /> - Fixed builds on freestanding C implementation (no FILE* API) <br /> - Fixed the return value of cbor_encoder_close_container when a previous OOM <br /> condition had been detected <br /> - Fixed the build in strict C89 mode (no C99 extensions)</p> <p>Signed-off-by: Thiago Macieira &lt;[email protected]&gt;</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.4.1 2017-03-06T07:25:59Z v0.4.1: TinyCBOR release 0.4.1 <p>TinyCBOR release 0.4.1</p> <p>This is a bug-fix release. There is no new functionality on top of <br />v0.4.</p> <p>Bugs fixed: <br /> - <a class="issue-link js-issue-link" href="https://github.com/intel/tinycbor/issues/54">intel#54</a> Failure to build with newest cJSON upstream <br /> - Stack corruption when memcpy doesn't use the same calling convention <br /> - Warnings with GCC -pedantic in cbor.h <br /> - a number of buildsystem bugs</p> <p>Signed-off-by: Thiago Macieira &lt;[email protected]&gt;</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.4 2016-11-03T05:02:12Z v0.4: TinyCBOR release 0.4 <p>TinyCBOR release 0.4</p> <p>This is a feature release of TinyCBOR. New API in this release: <br /> - cbor_encoder_get_buffer_size <br /> - cbor_encoder_get_extra_bytes_needed <br /> - cbor_value_is_half_float <br /> - cbor_value_is_float <br /> - cbor_value_is_double</p> <p>This release contains numerous bugfixes and simple fixes for warnings <br />generated with some compilers, under certain conditions. The public API <br />headers should now produce no warnings with Microsoft's compiler, even at <br />level 4 warnings.</p> <p>Important: the anonymous union member of struct CborEncoder is no longer <br />anonymous, to fix compatibility with C89 compilers. Code that accessed the <br />members in that structure directly should instead use the API added for that <br />purpose (cbor_encoder_get_buffer_size and cbor_encoder_get_extra_bytes_needed).</p> <p>Signed-off-by: Thiago Macieira &lt;[email protected]&gt;</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.3.2 2016-08-04T21:32:55Z TinyCBOR release v0.3.2 <p>TinyCBOR release v0.3.2</p> <p>This is a bug-fix release. There is no new functionality on top of <br />v0.3 or v0.3.1. This release fixes a build incompatibility with old GNU <br />Make (&lt; 0.4) and finally fixes stdint.h macros with Arduino.</p> <p>Bugs fixed: <br /> - <a class="issue-link js-issue-link" href="https://github.com/intel/tinycbor/issues/36">intel#36</a>: libtinycbor.a created as a directory on some buildsystem</p> <p>-- <br />Changes: <br />Fabrice Fontaine (1): <br /> Give a name to unnamed union in CborEncoder</p> <p>Thiago Macieira (1): <br /> Fix "make distcheck" when TMPDIR isn't set</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.3.1 2016-07-22T17:52:53Z TinyCBOR release v0.3.1 <p>TinyCBOR release v0.3.1</p> <p>This is a bug-fix release. There is no new functionality on top of <br />v0.3. This release is meant to fix the build when using a Bourne shell <br />that isn't Bash.</p> <p>Bugs fixed: <br /> - <a class="issue-link js-issue-link" href="https://github.com/intel/tinycbor/issues/32">intel#32</a>: Build fails due to fd &gt; 9 in shell redirection <br /> - <a class="issue-link js-issue-link" href="https://github.com/intel/tinycbor/issues/34">intel#34</a>: Use of non-POSIX "echo -e" shell</p> <p>-- <br />Changes: <br />Fabrice Fontaine (1): <br /> Fix compilation error due to file descriptor</p> <p>Thiago Macieira (1): <br /> Use printf instead of echo -e in Makefile.configure</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.2.1 2016-07-21T17:52:50Z v0.2.1: Retroactively releasing TinyCBOR 0.2.1 <p>Retroactively releasing TinyCBOR 0.2.1</p> <p>This is an intermediate release of TinyCBOR v0.2 without the buildsystem <br />updates that entered 0.3.</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.3 2016-07-15T20:31:07Z v0.3: TinyCBOR release 0.3 <p>TinyCBOR release 0.3</p> <p>The major feature in version 0.3 is the completion of the TinyCBOR <br />documentation. To generate it, run <br /> make docs <br />The documentation is available online at <br /> <a href="https://01org.github.io/tinycbor/0.3">https://01org.github.io/tinycbor/0.3</a></p> <p>This release contains compile fixes for builds on Windows with Microsoft <br />Visual Studio's compiler. It also moved the code calling malloc() to <br />outside cborparser.c, so that file can be compiled on C Freestanding <br />environments that do not have malloc() and free().</p> <p>This release also completes the API that was declared in cbor.h but never <br />implemented. New APIs in this release are: <br /> - cbor_encoder_get_buffer_size <br /> - cbor_encoder_get_extra_bytes_needed <br /> - cbor_value_calculate_string_length <br /> - cbor_value_get_int64_checked <br /> - cbor_value_get_int_checked</p> <p>-- <br />Changes: <br />David Antler (1): <br /> Add reference to header file for Windows.</p> <p>Mike Colagrosso (1): <br /> parser: Set the length to 0 on error in extract_length()</p> <p>Otavio Pontes (3): <br /> Fix compilation for systems without math.h header <br /> Remove from cborparser.c file the dependency on stdlib header <br /> Fix _BSD_SOURCE is deprecated warning</p> <p>Thiago Macieira (17): <br /> <span class="issue-keyword tooltipped tooltipped-se">Fix</span> <a class="issue-link js-issue-link" href="https://github.com/intel/tinycbor/issues/16">intel#16</a>: sizeof(struct {}) is not allowed in C++ <br /> Add missing #include <br /> Fix and test the functions getting the sizes of containers <br /> Finish open_memstream for older glibc without it <br /> Fix a parsing issue caused by pointer wraparounds <br /> Fix warnings printed by the Microsoft compiler at -W3 <br /> Fix a few more MSVC level 3 warnings <br /> Fix compilation when using a C compiler that doesn't understand "inline" <br /> Fix compilation in C89 mode: variables can't be declared in for stmt <br /> Convert C++/C99 style comments to C89 <br /> Update qmake build files <br /> Finish TinyCBOR documentation <br /> Add cbor_encoder_get_buffer_size and get_extra_bytes_needed <br /> Parsing: Add cbor_value_get_next_byte() <br /> CborValue: add missing convenience FP cbor_value_is_xxxx functions <br /> CborValue: fix mis-named cbor_value_is_{null,undefined} <br /> Parsing: implement the missing cbor_value_get_int{,64}_checked functions</p> thiagomacieira tag:github.com,2008:Repository/120996230/v0.2 2015-09-30T18:33:01Z v0.2: TinyCBOR release 0.2 <p>TinyCBOR release 0.2</p> <p>The major feature in this release is the CBOR-to-JSON and JSON-to-CBOR <br />conversion tools. Conversion from CBOR to JSON is done by passing the -j <br />option to the existing cbordump tool, while the reverse conversion is <br />done by the new json2cbor tool. Both tools accept the -M switch to <br />annotate the JSON output and parse it so the orignal CBOR types are <br />restored. This is specially useful for tagged objects and CBOR Byte <br />Strings.</p> <p>A minor feature was the implementation of IEEE 754 half-float <br />support. Another is the ability to check whether the number of items <br />added to arrays and maps when encoding to CBOR was the expected value.</p> <p>And TinyCBOR got a buildsystem. So now you can simply type make &amp;&amp; make <br />install.</p> <p>New APIs in this release: <br /> - cbor_encode_negative_int <br /> - cbor_encode_text_stringz <br /> - cbor_encoder_close_container_checked <br /> - cbor_value_get_raw_integer <br /> - cbor_value_to_json_advance <br /> - cbor_value_to_json</p> <p>Signed-off-by: Thiago Macieira &lt;[email protected]&gt;</p> thiagomacieira