summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasile Vilvoiu <vasi@vilvoiu.ro>2021-11-28 22:51:19 +0200
committerVasile Vilvoiu <vasi@vilvoiu.ro>2021-11-28 22:51:19 +0200
commit93c1fcdf785f0d060c9d075564288b043fd5afdf (patch)
tree3b7ebd1529c87f9ec7f7ccbb56ee8f50b767f2bd
parent8f7ceb6ecf1765e6515687b1971fcbd127818176 (diff)
Bump to 1.0.1
-rw-r--r--CHANGELOG.md21
-rw-r--r--CMakeLists.txt2
2 files changed, 22 insertions, 1 deletions
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)