From 93c1fcdf785f0d060c9d075564288b043fd5afdf Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Sun, 28 Nov 2021 22:51:19 +0200 Subject: Bump to 1.0.1 --- CHANGELOG.md | 21 +++++++++++++++++++++ CMakeLists.txt | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b8997ee --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [1.0.1] - 2021-11-28 +### Added +- Unit tests for encoder. +- APIs for retrieving encoded buffer size (`ecbor_get_encoded_buffer_size()` and `ECBOR_GET_ENCODED_BUFFER_SIZE`). + +### Changed +- `ecbor_uint()` API now receives `uint64_t` argument. This should be backwards compatible with old signature. +- `ecbor_str()` and `ecbor_bstr()` APIs now take `const` pointers. + +### Fixed +- Fixed `ecbor_memcpy` routine. +- Correctly updating item counter when encoding arrays and maps (thank you, ivan-baldin). +- Fix header encoding for FP64 values. +- Initialize `is_indefinite` flags for applicable item types in their builder functions. +- Fix chaining of map children. diff --git a/CMakeLists.txt b/CMakeLists.txt index 8613aab..4b4e555 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ project (ecbor LANGUAGES C CXX) # Version set (VERSION_MAJOR 1) set (VERSION_MINOR 0) -set (VERSION_PATCH 0) +set (VERSION_PATCH 1) # Options option (BUILD_DESCRIBE_TOOL "build ecbor-describe" ON) -- cgit v1.2.3