Release Notes¶
ndn-cxx version 0.8.0¶
Release date: February 15, 2022
Important changes¶
Flip default value of
CanBePrefixto false (issue #4582). This means that Interests created without explicitly specifyingCanBePrefixoption, will be treaded as Interests for exact Data name.Change default name component encoding convention to typed (issue #5044)
Update TLV-TYPE numbers to revision 3 of the naming conventions
Change TLV-TYPE number of
IncomingFaceIdfield in NDNLP (issue #5185)Update
Interest::ForwardingHintformat (issue #5187)
Improvements and bug fixes¶
Support certificate name, versionless certificate name, and key name options for KeyLocator name in
ValidatorConfig(issue #5142)Fix
ValidatorConfigrule processing bug (issue #5145)Generalize signature verification to allow
digest-sha256, effectively adding support of digest integrity verification inValidatorConfigEnforce
sig-typecheck inValidatorConfig(issue #4524)Refactor and cleanup of
StatusDatasetContext, including increase of max payload size of each segment produced byStatusDatasetContextto 8,000 bytesPrevent potential dereferencing of past-the-end iterator in
Block::value()Fail early in
Block::blockFromValue(), if TLV length is zeroImprove error reporting when loading a
CertificateorSafeBagfailsAdd API to get the keyword name component for Metadata and Prefix Announcements
Backport C++20
std::spanand convert most APIs to use itIntroduce
time::{to,from}IsoExtendedString()utility functionsAdd support for OpenSSL 3.0. Note that because of the API changes, HMAC implementation does not currently work when compiled with OpenSSL 3.0, use older version of OpenSSL when needed.
Various build system and documentation extension and fixes
Deprecations¶
Interest::setDefaultCanBePrefix()Name::append(Block)overload, as it has confusing semantics (issue #5186)ndnsectool aliases:ndnsec-certgen,ndnsec-dump-certificate,ndnsec-install-cert,ndnsec-keygen,ndnsec-ls-identity
Removals¶
Previously deprecated
Signatureclass, its subclasses, and deprecated methods fromData,KeyChain,SignatureInfo, andSigningInfoRedundant overloads of
verifySignature()andverifyDigest()Previously deprecated
security/v2headersPreviously deprecated
CommandInterestSignerUnused
Transport::send()overloadRemove HTTP download feature in
ndnsec cert-install, as it does not support HTTPS retrieval. The recommended way of installing certificates published over HTTP/HTTPS has been changed to usecurlorwget(issue #4506)