blob: 752fa9101ac7c771b76e66ac7226a6e2f4d30813 [file] [log] [blame]
Alexander Afanasyev778ad712022-01-27 14:01:55 -05001ndn-cxx version 0.8.0
2---------------------
3
4Release date: February 15, 2022
5
6Important changes
7^^^^^^^^^^^^^^^^^
8
9- Flip default value of ``CanBePrefix`` to **false** (:issue:`4582`). This means that
10 Interests created without explicitly specifying ``CanBePrefix`` option, will be treaded
11 as Interests for exact Data name.
12
13- Change default name component encoding convention to typed (:issue:`5044`)
14
15- Update TLV-TYPE numbers to revision 3 of the `naming conventions`_
16
17.. _naming conventions:
18 https://named-data.net/publications/techreports/ndn-tr-22-3-ndn-memo-naming-conventions/
19
20- Change TLV-TYPE number of ``IncomingFaceId`` field in NDNLP (:issue:`5185`)
21
Davide Pesavento576c21b2022-11-29 20:00:22 -050022- Update Interest ``ForwardingHint`` format (:issue:`5187`)
Alexander Afanasyev778ad712022-01-27 14:01:55 -050023
24Improvements and bug fixes
25^^^^^^^^^^^^^^^^^^^^^^^^^^
26
27- Support certificate name, versionless certificate name, and key name options for
28 KeyLocator name in ``ValidatorConfig`` (:issue:`5142`)
29
Alexander Afanasyev778ad712022-01-27 14:01:55 -050030- Generalize signature verification to allow ``digest-sha256``, effectively adding
31 support of digest integrity verification in ``ValidatorConfig``
32
33- Enforce ``sig-type`` check in ``ValidatorConfig`` (:issue:`4524`)
34
Davide Pesavento576c21b2022-11-29 20:00:22 -050035- Fix ``ValidatorConfig`` rule processing bug (:issue:`5145`)
Alexander Afanasyev778ad712022-01-27 14:01:55 -050036
37- Prevent potential dereferencing of past-the-end iterator in ``Block::value()``
38
Davide Pesavento576c21b2022-11-29 20:00:22 -050039- Fail early in :ndn-cxx:`Block::blockFromValue` if TLV length is zero
40
41- Refactor and cleanup of :ndn-cxx:`StatusDatasetContext`, including increase of maximum
42 payload size of each produced segment to 8000 bytes
Alexander Afanasyev778ad712022-01-27 14:01:55 -050043
44- Improve error reporting when loading a ``Certificate`` or ``SafeBag`` fails
45
46- Add API to get the keyword name component for Metadata and Prefix Announcements
47
48- Backport C++20 ``std::span`` and convert most APIs to use it
49
50- Introduce ``time::{to,from}IsoExtendedString()`` utility functions
51
52- Add support for OpenSSL 3.0. Note that because of the API changes, HMAC implementation
Davide Pesavento576c21b2022-11-29 20:00:22 -050053 does not currently work when compiled with OpenSSL 3.0+, use older version of OpenSSL
Alexander Afanasyev778ad712022-01-27 14:01:55 -050054 when needed.
55
56- Various build system and documentation extension and fixes
57
58Deprecations
59^^^^^^^^^^^^
60
61- ``Interest::setDefaultCanBePrefix()``
62
63- ``Name::append(Block)`` overload, as it has confusing semantics (:issue:`5186`)
64
65- ``ndnsec`` tool aliases: ``ndnsec-certgen``, ``ndnsec-dump-certificate``,
66 ``ndnsec-install-cert``, ``ndnsec-keygen``, ``ndnsec-ls-identity``
67
68Removals
69^^^^^^^^
70
71- Previously deprecated ``Signature`` class, its subclasses, and deprecated methods from
72 ``Data``, ``KeyChain``, ``SignatureInfo``, and ``SigningInfo``
73
74- Redundant overloads of ``verifySignature()`` and ``verifyDigest()``
75
76- Previously deprecated ``security/v2`` headers
77
78- Previously deprecated ``CommandInterestSigner``
79
80- Unused ``Transport::send()`` overload
81
82- Remove HTTP download feature in ``ndnsec cert-install``, as it does not support HTTPS
83 retrieval. The recommended way of installing certificates published over HTTP/HTTPS has
84 been changed to use ``curl`` or ``wget`` (:issue:`4506`)