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
ChildSelectorinCertificateBundleFetcher(issue #4665)
NDN_THROWmacro to throw exceptions including file position and runtime context of the throw statement (issue #4834)Ensure that a
Blockwith TLV-TYPE zero is treated as invalid (issue #4726, issue #4895)
Improvements and bug fixes¶
Avoid directly using memory address as
PendingInterestIdto prevent potential false removal of an entry (issue #2865)Follow up packet specification changes to rename the
Parameterselement toApplicationParametersand 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, andInterestFilterIdtypes in favor ofPendingInterestHandle,RegisteredPrefixHandle, andInterestFilterHandle(issue #4316, issue #3919)Block::emptyin favor ofBlock::isValid(with inverted semantics)Scheduler::scheduleEventandScheduler::cancelEventin favor ofScheduler::scheduleandEventId::cancel(or useScopedEventIdto automatically cancel the event when the object goes out of scope) (issue #4883)ndn::util::Scheduler(usendn::Schedulerorndn::scheduler::Scheduler) andndn::EventId(usendn::scheduler::EventId) (issue #4883)