blob: 858f44b01cb1e4f2807a4dc514fdd29967887df3 [file] [log] [blame]
Alexander Afanasyev0d748af2019-04-25 17:45:07 -04001ndn-cxx version 0.6.6
2---------------------
3
4Release date: April 27, 2019
5
Davide Pesavento933a5672020-07-03 22:32:43 -04006.. note::
7 This is the last release to support the `NDN packet format version 0.2.1
8 <https://named-data.net/doc/NDN-packet-spec/0.2.1/>`__.
9 The next release will be able to encode and decode only the `v0.3 packet format
10 <https://named-data.net/doc/NDN-packet-spec/0.3/>`__.
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040011
Davide Pesavento933a5672020-07-03 22:32:43 -040012New features
13^^^^^^^^^^^^
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040014
Davide Pesavento933a5672020-07-03 22:32:43 -040015- More support for `NDN packet format version 0.3
16 <https://named-data.net/doc/NDN-packet-spec/0.3/>`__ (:issue:`4527`)
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040017
18 * Support new naming conventions to encode/decode segment numbers, byte offsets, versions,
19 timestamps, and sequence numbers based on typed name components (:issue:`4777`)
20
21 * Stop using ``ChildSelector`` in ``CertificateBundleFetcher`` (:issue:`4665`)
22
23- ``NDN_THROW`` macro to throw exceptions including file position and runtime context of the
24 throw statement (:issue:`4834`)
25
Davide Pesavento576c21b2022-11-29 20:00:22 -050026- Ensure that a :ndn-cxx:`Block` with TLV-TYPE zero is treated as invalid (:issue:`4726`,
27 :issue:`4895`)
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040028
29Improvements and bug fixes
30^^^^^^^^^^^^^^^^^^^^^^^^^^
31
32- Avoid directly using memory address as ``PendingInterestId`` to prevent potential false
33 removal of an entry (:issue:`2865`)
34
35- Follow up packet specification changes to rename the ``Parameters`` element to
36 ``ApplicationParameters`` and to change its number to be a non-critical element type
37 (:issue:`4658`, :issue:`4780`)
38
Davide Pesavento933a5672020-07-03 22:32:43 -040039- Add an option to disable the infrastructure Interest in ``CertificateFetcherDirectFetch``
40 (:issue:`4879`)
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040041
42- Fix compilation against recent versions of Boost libraries and issues with Xcode 10.2 and
43 older versions of Boost libraries (:issue:`4890`, :issue:`4923`, :issue:`4860`)
44
45- Improve the "CanBePrefix unset" warning (:issue:`4581`)
46
47- Improve documentation
48
49Deprecated
Davide Pesavento933a5672020-07-03 22:32:43 -040050^^^^^^^^^^
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040051
52- ``PendingInterestId``, ``RegisteredPrefixId``, and ``InterestFilterId`` types in favor of
53 ``PendingInterestHandle``, ``RegisteredPrefixHandle``, and ``InterestFilterHandle``
54 (:issue:`4316`, :issue:`3919`)
55
56- ``Block::empty`` in favor of ``Block::isValid`` (with inverted semantics)
57
58- ``Scheduler::scheduleEvent`` and ``Scheduler::cancelEvent`` in favor of ``Scheduler::schedule``
59 and ``EventId::cancel`` (or use ``ScopedEventId`` to automatically cancel the event when
60 the object goes out of scope) (:issue:`4883`)
61
62- ``ndn::util::Scheduler`` (use ``ndn::Scheduler`` or ``ndn::scheduler::Scheduler``) and
63 ``ndn::EventId`` (use ``ndn::scheduler::EventId``) (:issue:`4883`)