Skip to content

Commit

Permalink
Bump version to 1.5.1; mention doc web site and 2.0 alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurence Lundblade committed Jan 9, 2025
1 parent 846e2d3 commit 46a9d02
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cmake_minimum_required(VERSION 3.15)
project(qcbor
DESCRIPTION "QCBOR"
LANGUAGES C
VERSION 1.5.0
VERSION 1.5.1
)

set(BUILD_QCBOR_TEST "OFF" CACHE STRING "Build QCBOR test suite [OFF, LIB, APP]")
Expand Down
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ Replaced by RFC 8949.
* [RFC8742](https://tools.ietf.org/html/rfc8742) CBOR Sequences
* [RFC8943](https://tools.ietf.org/html/rfc8943) CBOR Dates

## QCBOR v2 alpha release

Alpha releases of QCBOR 2.0 are available [here](https://github.com/laurencelundblade/QCBOR/tree/dev).
It includes:

* Better tag handling
* Map sorting
* Modes for CDE and Preferred Serialization
* dCBOR support
* Better big number support

## QCBOR Characteristics

**Implemented in C with minimal dependency** – Dependent only
Expand All @@ -19,7 +30,7 @@ Replaced by RFC 8949.
QCBOR to run correctly.

**Focused on C / native data representation** – Careful conversion of
CBOR data types in to C data types, handling over and
CBOR data types in to C data types, handling over and
underflow, strict typing and such so the caller doesn't have to
worry so much about this and so code using QCBOR passes static
analyzers easier. Simpler code because there is no support for
Expand Down Expand Up @@ -66,6 +77,11 @@ Replaced by RFC 8949.
with the test suite. The test suite dependencies are minimal and the
same as the library's.

## Documentation

Full API documentation is at https://www.securitytheory.com/qcbor-docs/


## Spiffy Decode

These are functions to decode particular data types. They are an
Expand Down Expand Up @@ -168,7 +184,7 @@ QCBOR.

## Code Status

The official current release is version 1.5 Changes over the last few
The official current release is version 1.5.1. Changes over the last few
years have been only minor bug fixes, minor feature additions and
documentation improvements. QCBOR 1.x is highly stable.

Expand Down
2 changes: 1 addition & 1 deletion inc/qcbor/qcbor_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ extern "C" {
*/
#define QCBOR_VERSION_MAJOR 1
#define QCBOR_VERSION_MINOR 5
#define QCBOR_VERSION_PATCH 0
#define QCBOR_VERSION_PATCH 1


/**
Expand Down
8 changes: 4 additions & 4 deletions pkg/qcbor.spec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Guidelines from https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/

Name: qcbor
Version: 1.5.0
Version: 1.5.1
Release: 0%{?dist}
Summary: A CBOR encoder/decoder library
URL: https://github.com/laurencelundblade/QCBOR
License: BSD-3-Clause
Source0: %{URL}/archive/refs/tags/v1.5.tar.gz
Source0: %{URL}/archive/refs/tags/v1.5.1.tar.gz

BuildRequires: cmake
BuildRequires: gcc
Expand All @@ -24,7 +24,7 @@ Development files needed to build and link to the QCBOR library.


%prep
%setup -q -n QCBOR-1.5
%setup -q -n QCBOR-1.5.1
%cmake -DBUILD_QCBOR_TEST=APP


Expand Down Expand Up @@ -53,5 +53,5 @@ Development files needed to build and link to the QCBOR library.


%changelog
* Fri Dec 20 2024 Laurence Lundblade <[email protected]> - 1.5.0-0
* Jan 8 2024 Laurence Lundblade <[email protected]> - 1.5.1
- Initial library RPM packaging.

0 comments on commit 46a9d02

Please sign in to comment.