ndn-cxx version 0.6.6¶
Release date: April 27, 2019
Note
This is the last release to support the NDN packet format version 0.2.1. The next release will be able to encode and decode only the v0.3 packet format.
New features¶
More support for NDN packet format version 0.3 (issue #4527)
Support new naming conventions to encode/decode segment numbers, byte offsets, versions, timestamps, and sequence numbers based on typed name components (issue #4777)
Stop using
ChildSelector
inCertificateBundleFetcher
(issue #4665)
NDN_THROW
macro to throw exceptions including file position and runtime context of the throw statement (issue #4834)Ensure that a Block with TLV-TYPE zero is treated as invalid (issue #4726, issue #4895)
Improvements and bug fixes¶
Avoid directly using memory address as
PendingInterestId
to prevent potential false removal of an entry (issue #2865)Follow up packet specification changes to rename the
Parameters
element toApplicationParameters
and to change its number to be a non-critical element type (issue #4658, issue #4780)Add an option to disable the infrastructure Interest in
CertificateFetcherDirectFetch
(issue #4879)Fix compilation against recent versions of Boost libraries and issues with Xcode 10.2 and older versions of Boost libraries (issue #4890, issue #4923, issue #4860)
Improve the “CanBePrefix unset” warning (issue #4581)
Improve documentation
Deprecated¶
PendingInterestId
,RegisteredPrefixId
, andInterestFilterId
types in favor ofPendingInterestHandle
,RegisteredPrefixHandle
, andInterestFilterHandle
(issue #4316, issue #3919)Block::empty
in favor ofBlock::isValid
(with inverted semantics)Scheduler::scheduleEvent
andScheduler::cancelEvent
in favor ofScheduler::schedule
andEventId::cancel
(or useScopedEventId
to automatically cancel the event when the object goes out of scope) (issue #4883)ndn::util::Scheduler
(usendn::Scheduler
orndn::scheduler::Scheduler
) andndn::EventId
(usendn::scheduler::EventId
) (issue #4883)