blob: e09f916273f8f9801d25aa5be7617210014ac4f3 [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
26- Ensure that a ``Block`` with TLV-TYPE zero is treated as invalid (:issue:`4726`, :issue:`4895`)
27
28Improvements and bug fixes
29^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31- Avoid directly using memory address as ``PendingInterestId`` to prevent potential false
32 removal of an entry (:issue:`2865`)
33
34- Follow up packet specification changes to rename the ``Parameters`` element to
35 ``ApplicationParameters`` and to change its number to be a non-critical element type
36 (:issue:`4658`, :issue:`4780`)
37
Davide Pesavento933a5672020-07-03 22:32:43 -040038- Add an option to disable the infrastructure Interest in ``CertificateFetcherDirectFetch``
39 (:issue:`4879`)
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040040
41- Fix compilation against recent versions of Boost libraries and issues with Xcode 10.2 and
42 older versions of Boost libraries (:issue:`4890`, :issue:`4923`, :issue:`4860`)
43
44- Improve the "CanBePrefix unset" warning (:issue:`4581`)
45
46- Improve documentation
47
48Deprecated
Davide Pesavento933a5672020-07-03 22:32:43 -040049^^^^^^^^^^
Alexander Afanasyev0d748af2019-04-25 17:45:07 -040050
51- ``PendingInterestId``, ``RegisteredPrefixId``, and ``InterestFilterId`` types in favor of
52 ``PendingInterestHandle``, ``RegisteredPrefixHandle``, and ``InterestFilterHandle``
53 (:issue:`4316`, :issue:`3919`)
54
55- ``Block::empty`` in favor of ``Block::isValid`` (with inverted semantics)
56
57- ``Scheduler::scheduleEvent`` and ``Scheduler::cancelEvent`` in favor of ``Scheduler::schedule``
58 and ``EventId::cancel`` (or use ``ScopedEventId`` to automatically cancel the event when
59 the object goes out of scope) (:issue:`4883`)
60
61- ``ndn::util::Scheduler`` (use ``ndn::Scheduler`` or ``ndn::scheduler::Scheduler``) and
62 ``ndn::EventId`` (use ``ndn::scheduler::EventId``) (:issue:`4883`)