Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 1 | .. _Release Notes: |
Alexander Afanasyev | abaab52 | 2014-04-30 20:42:11 -0700 | [diff] [blame] | 2 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 3 | ndn-cxx Release Notes |
| 4 | --------------------- |
| 5 | |
Alexander Afanasyev | cbf054d | 2015-05-11 13:02:56 -0700 | [diff] [blame^] | 6 | ndn-cxx version 0.3.2 (changes since version 0.3.1) |
| 7 | +++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 8 | |
| 9 | Release date: May 12, 2015 |
| 10 | |
| 11 | New features: |
| 12 | ^^^^^^^^^^^^^ |
| 13 | |
| 14 | - Add Link abstraction (:issue:`2587`) |
| 15 | |
| 16 | - Add Link and SelectedDelegation fields to the Interest abstraction (:issue:`2587`) |
| 17 | |
| 18 | - Initial implementation of several components for the upcoming PIB feature (:issue:`2451`): |
| 19 | |
| 20 | * User-facing PIB implementation and implementation-specific PIB interface |
| 21 | * In-memory PIB implementation |
| 22 | * Define new abstraction for identity, key, and certificate |
| 23 | |
| 24 | Updates and bug fixes: |
| 25 | ^^^^^^^^^^^^^^^^^^^^^^ |
| 26 | |
| 27 | - Enable decoding Exclude containing ImplicitSha256DigestComponent (:issue:`2629`) |
| 28 | |
| 29 | - Update waf build system to version 1.8.9 (:issue:`2209`, :issue:`2657`, :issue:`2792`) |
| 30 | |
| 31 | - Avoid duplicating output in IndentedStream (:issue:`2723`) |
| 32 | |
| 33 | - Fix skipping empty name component `(...)` during URI decoding (:issue:`2725`) |
| 34 | |
| 35 | - Enable ability to exclude empty name component (:issue:`2660`) |
| 36 | |
| 37 | - Fix bug with TLV-LENGTH processing in `Block::fromStream` (:issue:`2728`, :issue:`2729`) |
| 38 | |
| 39 | - Disable precompiled headers on OS X with clang < 6.1.0 (:issue:`2804`) |
| 40 | |
| 41 | Deprecated: |
| 42 | ^^^^^^^^^^^ |
| 43 | |
| 44 | - `Block::fromBuffer` overloads with output parameter (:issue:`2553`) |
| 45 | |
| 46 | Removed: |
| 47 | ^^^^^^^^ |
| 48 | |
| 49 | - Delete deprecated Controller functions: |
| 50 | |
| 51 | * `Controller::start` overloads, except the overload taking CommandOptions |
| 52 | * `Controller::Sign` typedef |
| 53 | * `Controller::getDefaultCommandTimeout` |
| 54 | * `ControlCommand::getPrefix` |
| 55 | * `ControlCommand::getRequestName(ControlParameters)` |
| 56 | * `Controller::Controller(Face&)` |
| 57 | |
| 58 | **************************************************************************** |
| 59 | |
| 60 | |
| 61 | ndn-cxx version 0.3.1 (changes since version 0.3.0) |
| 62 | +++++++++++++++++++++++++++++++++++++++++++++++++++ |
Alexander Afanasyev | ed545b3 | 2015-03-01 14:23:17 -0800 | [diff] [blame] | 63 | |
| 64 | Release date: March 3, 2015 |
| 65 | |
| 66 | New features: |
| 67 | ^^^^^^^^^^^^^ |
| 68 | |
| 69 | - **Management** |
| 70 | |
| 71 | - Add isConnected() in :ndn-cxx:`signal::Connection` and :ndn-cxx:`signal::ScopedConnection` |
| 72 | (:issue:`2308`) |
| 73 | |
| 74 | - Extend :ndn-cxx:`DummyClientFace` to process :ndn-cxx:`LocalControlHeader` (:issue:`2510`) |
| 75 | |
| 76 | - Add CachingPolicy to :ndn-cxx:`LocalControlHeader` (:issue:`2183`) |
| 77 | |
| 78 | Updates and bug fixes: |
| 79 | ^^^^^^^^^^^^^^^^^^^^^^ |
| 80 | |
| 81 | - **Wire encoding** |
| 82 | |
| 83 | - Refactoring of :ndn-cxx:`EncodingImpl` class template (``EncodingBuffer`` and |
| 84 | ``EncodingEstimator``) (:issue:`2494`, :issue:`2490`) |
| 85 | |
| 86 | - Change :ndn-cxx:`Block::fromBuffer` return type (:issue:`2553`) |
| 87 | |
| 88 | - **Miscellaneous tools** |
| 89 | |
| 90 | - Mark ``Digest<Hash>::operator==`` as unsuitable in a security sensitive context |
| 91 | (:issue:`2395`) |
| 92 | |
| 93 | - Restrict destruction of Signal from handler (:issue:`2313`) |
| 94 | |
| 95 | - **Documentation** |
| 96 | |
| 97 | - Correct function names in security library tutorial (:issue:`2474`) |
| 98 | |
| 99 | - Remind users to reinstall ports after OSX upgrade (:issue:`2284`) |
| 100 | |
| 101 | - **Tests** |
| 102 | |
| 103 | - Fix global buffer overflow in ``ImplicitSha256Digest`` test case (:issue:`2307`) |
| 104 | |
| 105 | - Change naming conventions for unit test files and test suite names (:issue:`2497`) |
| 106 | |
| 107 | - **Build** |
| 108 | |
| 109 | - Explicitly define ``_GLIBCXX_USE_NANOSLEEP``, necessary for gcc < 4.8 in some environments |
| 110 | (:issue:`2499`) |
| 111 | |
| 112 | Removed: |
| 113 | ^^^^^^^^ |
| 114 | |
| 115 | - Delete deprecated ``Block(std::istream&)`` constructor (:issue:`2241`) |
| 116 | |
| 117 | - Delete deprecated ``ndn::ptr_lib``, ``ndn::func_lib`` (:issue:`2110`) |
| 118 | |
| 119 | - Delete deprecated ``MetaInfo::TYPE_*`` (:issue:`2170`) |
| 120 | |
| 121 | **************************************************************************** |
| 122 | |
Alexander Afanasyev | cbf054d | 2015-05-11 13:02:56 -0700 | [diff] [blame^] | 123 | ndn-cxx version 0.3.0 (changes since version 0.2.0) |
| 124 | +++++++++++++++++++++++++++++++++++++++++++++++++++ |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 125 | |
| 126 | Release date: February 2, 2015 |
| 127 | |
| 128 | New features: |
| 129 | ^^^^^^^^^^^^^ |
| 130 | |
| 131 | - **Build** |
| 132 | |
| 133 | + The code now requires C++11. The minimum supported gcc version is 4.6, as earlier versions |
| 134 | do not have proper support for C++11 features. |
| 135 | |
| 136 | - **Base** |
| 137 | |
| 138 | + Enable detailed version information when built from shallow clone or tarball |
| 139 | (:issue:`1915`) |
| 140 | |
| 141 | + Make default transport configurable (:issue:`2189`) |
| 142 | |
| 143 | + Add ability to do partial Name comparison (:issue:`2090`) |
| 144 | |
| 145 | - **Security** |
| 146 | |
| 147 | + Add support for KeyDigest key locator (:issue:`1426`) |
| 148 | |
| 149 | + Add a method to get KeyDigest from a PublicKey instance (:issue:`1964`) |
| 150 | |
| 151 | + Add support for KeyChain to sign Interest using SHA256 digest (:issue:`2218`) |
| 152 | |
| 153 | + Add ``ndnsec-dsk-gen`` tool to generate a pair of Data-Signing-Key (DSK) for the specified |
| 154 | identity (:issue:`2246`) |
| 155 | |
| 156 | + Pair-up PIB and TPM in KeyChain: PIB remembers the last used TPM type/location, which is |
| 157 | used during KeyChain construction (unless overriden) (:issue:`2242`) |
| 158 | |
| 159 | - **Wire encoding** |
| 160 | |
| 161 | + Add support for application-defined meta information blocks (:issue:`2021`) |
| 162 | |
| 163 | + Introduce new ``name::Component::is*`` methods to allow checking if the name component |
| 164 | follows the specific naming convention without relying on the exception handling |
| 165 | (:issue:`2088`) |
| 166 | |
| 167 | + Add definition of producer-generated NACK (:issue:`2111`) |
| 168 | |
| 169 | + Add ``std::hash<Name>`` specialization to support ``unordered_map`` container |
| 170 | (:issue:`2147`) |
| 171 | |
| 172 | + Add support for ImplicitSha256DigestComponent (:issue:`1640`) |
| 173 | |
| 174 | + Allow tagging Interest and Data packets with arbitrary information (:issue:`2336`) |
| 175 | |
| 176 | - **Management** |
| 177 | |
| 178 | + Support NFD face query operation (:issue:`2085`) |
| 179 | |
| 180 | - **Miscellaneous tools** |
| 181 | |
| 182 | + Add a new helper to calculate digests over dynamic inputs (:issue:`1934`) |
| 183 | |
| 184 | + Add DNS resolver helper (:issue:`1918`) |
| 185 | |
| 186 | + Import and re-license Ethernet and FaceUri classes from NFD codebase, add FaceUri |
| 187 | canonization support for ``udp``, ``tcp``, and ``ether`` schemas (:issue:`1994`) |
| 188 | |
| 189 | + Add per-application in-memory storage with LRU, LFU, and FIFO replacement policies |
| 190 | (:issue:`1940`) |
| 191 | |
| 192 | + Add ability to specialize system and steady clocks (e.g., for unit tests and simulation |
| 193 | purposes) (:issue:`2158`) |
| 194 | |
| 195 | + Expose DummyClientFace as public API |
| 196 | |
| 197 | + New IndentedStream helper class to simplify writing to streams with the specified indents |
| 198 | or prefixes (:issue:`2238`) |
| 199 | |
| 200 | + New Signal class template as an enhanced version of the deprecated EventEmitter |
| 201 | (:issue:`2279`) |
| 202 | |
| 203 | + New scheduler::ScopedEventId helper to automatically cancel scheduled events upon |
| 204 | destruction (:issue:`2442`) |
| 205 | |
| 206 | + New NetworkMonitor helper to detect network state changes (:issue:`2443`) |
| 207 | |
| 208 | Updates and bug fixes: |
| 209 | ^^^^^^^^^^^^^^^^^^^^^^ |
| 210 | |
| 211 | - **Base** |
| 212 | |
| 213 | + Prevent flags being set for rib/unregister command (:issue:`1945`) |
| 214 | |
| 215 | + Fix segfault caused by Face::unregisterPrefix when registeredPrefixId does not exist |
| 216 | |
| 217 | + Add explicit internal KeyChain to Face class. KeyChain previously existed in the Face as |
| 218 | part of NFD controller class. (:issue:`2039`) |
| 219 | |
| 220 | + Properly disable assertions in release builds (:issue:`2135`) |
| 221 | |
| 222 | + Connect to Transport during construction of Face instance (:issue:`2318`) |
| 223 | |
| 224 | - **Wire encoding** |
| 225 | |
| 226 | + Fix segfault when decoding empty Exclude element (:issue:`1970`) |
| 227 | |
| 228 | + Provide EqualityComparable concept for Exclude element |
| 229 | |
| 230 | + Correct Marker in Name::appendVersion() (:issue:`2086`) |
| 231 | |
| 232 | + Ensure that wire-encoding errors are inherited from ``tlv::Error`` (:issue:`1983`) |
| 233 | |
| 234 | - **Management** |
| 235 | |
| 236 | + Replace FaceFlags with individual fields in face management data structures (:issue:`1992`) |
| 237 | |
| 238 | + ``ndn::nfd::Controller`` extended to allow generating ControlCommand for remote prefix |
| 239 | registration (:issue:`2039`) |
| 240 | |
| 241 | + Change ``ForwarderStatus.NfdVersion`` to string (:issue:`2003`) |
| 242 | |
| 243 | - **Security** |
| 244 | |
| 245 | + Fix ``ndnsec-cert-gen`` to correctly infer prefix before KEY component (:issue:`2052`) |
| 246 | |
| 247 | + Help message corrections in ``ndnsec-cert-dump``, ``ndnsec-cert-gen``, and |
| 248 | ``ndnsec-key-gen`` (:issue:`2052`) |
| 249 | |
| 250 | + Accept ``--sign-id`` and ``--cert-prefix`` in ``ndnsec-cert-revoke`` (:issue:`2058`) |
| 251 | |
| 252 | + Changes output format of ``ndnsec-cert-revoke`` to base64 encoding (:issue:`2059`) |
| 253 | |
| 254 | + Add a new (safer) option to ``ndnsec-cert-gen`` allowing inclusion of additional |
| 255 | information blocks into the certificate. The new ``--signed-info`` parameter makes minimum |
| 256 | assumptions, treating text before first space as OID and the rest as the associated string |
| 257 | with this OID. |
| 258 | |
| 259 | + Make Face optional in Validator class (:issue:`2124`) |
| 260 | |
| 261 | + Display signature information when printing a certificate (:issue:`2196`) |
| 262 | |
| 263 | + Handle certificate decoding error in validation process (:issue:`2212`) |
| 264 | |
| 265 | + Fix segmentation fault in ``ndnsec-sign-req`` (:issue:`2211`) |
| 266 | |
| 267 | + Allow verbose option in ``ndnsec-list`` (:issue:`2197`) |
| 268 | |
| 269 | + Allow generation of DSK using ``ndnsec-key-gen`` (:issue:`2247`) |
| 270 | |
| 271 | + Allow ``ndnsec-key-gen`` to generate ECDSA keys (:issue:`2248`) |
| 272 | |
| 273 | + Fix memory leak in SecPublicInfoSqlite3 (:issue:`2253`) |
| 274 | |
| 275 | + Properly report status of ``ndnsec-delete`` execution (:issue:`2275`) |
| 276 | |
| 277 | - **Miscellaneous tools** |
| 278 | |
| 279 | + Fix incorrect tag map in ``tlvdump`` tool |
| 280 | |
| 281 | + Change to default resolver behavior in util::dns::Resolver (:issue:`2415`) |
| 282 | |
| 283 | - **Documentation** |
| 284 | |
| 285 | + Update of tutorials and installation instructions |
| 286 | |
| 287 | + Rename manpage of ``client.conf`` to ``ndn-client.conf`` (:issue:`1967`) |
| 288 | |
| 289 | + Updated and extended ndn-cxx code style: |
| 290 | |
| 291 | - add rules for some C++11 constructs |
| 292 | - prefer ``BOOST_ASSERT`` and ``static_assert`` |
| 293 | |
| 294 | + Improve example applications (:issue:`1976`) |
| 295 | |
| 296 | - **Tests** |
| 297 | |
| 298 | + Improve security unit test cases (:issue:`1683`) |
| 299 | |
| 300 | + Embedding CI build and test running scripts into the repository |
| 301 | |
| 302 | + Partial unit test coverage for Face class (previously covered only by integration tests) |
| 303 | (:issue:`1947`) |
| 304 | |
| 305 | + Improve stability of unit tests by using UnitTestTime (wall clock independent time) |
| 306 | (:issue:`2152`) |
| 307 | |
| 308 | - **Build** |
| 309 | |
| 310 | + Redesign the way default compiler flags are determined (:issue:`2209`) |
| 311 | |
| 312 | + Support tools and examples with multiple translation units (:issue:`2344`) |
| 313 | |
| 314 | + Disable installation of internal headers and headers of the disabled components |
| 315 | (:issue:`2266`, and :issue:`2269`) |
| 316 | |
| 317 | + Enable conditional compilation based on presence of ``getpass()`` function |
| 318 | |
| 319 | - Other minor fixes and corrections |
| 320 | |
| 321 | Deprecated: |
| 322 | ^^^^^^^^^^^ |
| 323 | |
| 324 | - ``ndn::ptr_lib`` and ``ndn::func_lib`` namespace aliases |
| 325 | |
| 326 | - The following ``nfd::Controller`` methods: |
| 327 | |
| 328 | + ``Controller::start`` overloads, except the overload taking ``CommandOptions`` |
| 329 | + ``Controller::Sign`` typedef |
| 330 | + ``Controller::getDefaultCommandTimeout`` |
| 331 | + ``ControlCommand::getPrefix`` |
| 332 | + ``ControlCommand::getRequestName(ControlParameters)`` |
| 333 | + ``Controller::Controller(Face&)`` |
| 334 | |
| 335 | - ``MetaInfo::TYPE_*`` constants |
| 336 | |
| 337 | - ``EventEmitter`` is deprecated in favor of ``Signal`` |
| 338 | |
| 339 | Removed: |
| 340 | ^^^^^^^^ |
| 341 | |
| 342 | - FaceFlags APIs (:issue:`1992`) |
| 343 | |
| 344 | - ``ControlCommand::makeCommandInterest`` (:issue:`2008`) |
| 345 | |
| 346 | - namespace ``ndn::Tlv`` (:issue:`2079`) |
| 347 | |
| 348 | - ``shared_ptr<io_service>`` constructor and getter in Face class |
| 349 | |
| 350 | - ``tlv::ConentType`` (typo in the name) |
| 351 | |
| 352 | - ``Selectors::Selectors(int, int, Exclude, int, bool)`` constructor |
| 353 | |
| 354 | - ``Interest::Interest(Name, int, int, Exclude, int, bool, int, time::milliseconds, uint32_t)`` |
| 355 | constructor |
| 356 | |
| 357 | - ``signature-sha256.hpp`` file |
| 358 | |
| 359 | - unused ``encryption-manager.hpp`` file |
| 360 | |
| 361 | - unused ``openssl`` dependency |
| 362 | |
Alexander Afanasyev | ed545b3 | 2015-03-01 14:23:17 -0800 | [diff] [blame] | 363 | **************************************************************************** |
| 364 | |
Alexander Afanasyev | cbf054d | 2015-05-11 13:02:56 -0700 | [diff] [blame^] | 365 | ndn-cxx version 0.2.0 (changes since version 0.1.0) |
| 366 | +++++++++++++++++++++++++++++++++++++++++++++++++++ |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 367 | |
| 368 | Release date: August 25, 2014 |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 369 | |
| 370 | New features: |
| 371 | ^^^^^^^^^^^^^ |
| 372 | |
| 373 | - **Base** |
| 374 | |
| 375 | + The license under which the library is released is changed to **Lesser GNU Public |
| 376 | License version 3.0**. |
| 377 | |
| 378 | + New ways to use incoming Interest dispatching: |
| 379 | |
| 380 | * New :ndn-cxx:`InterestFilter` abstraction that supports filtering based on name |
| 381 | prefixes and regular expressions. |
| 382 | |
| 383 | * Separated :ndn-cxx:`Face::registerPrefix()` and :ndn-cxx:`Face::setInterestFilter()` |
| 384 | methods allow distinct operations of registering with the local NDN forwarder and setting |
| 385 | up application-specific ``OnInterest`` call dispatch using InterestFilters. |
| 386 | |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 387 | + Add support for new `NDN naming conventions |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 388 | <http://named-data.net/doc/tech-memos/naming-conventions.pdf>`_ (:issue:`1761`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 389 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 390 | - **Security** |
| 391 | |
| 392 | + Add ``type dir`` :ref:`trust-anchor in ValidatorConfig <validator-conf-trust-anchors>` |
| 393 | to add all certificates under the specified directory as trust anchors. |
| 394 | The new option also allow periodic reloading trust anchors, allowing dynamic trust |
| 395 | models. |
| 396 | |
| 397 | + Added support for multiple signature types to :ndn-cxx:`PublicKey`, |
| 398 | :ndn-cxx:`SecPublicInfo` abstractions |
| 399 | |
| 400 | + New :ndn-cxx:`SignatureSha256WithEcdsa` signature type |
| 401 | |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 402 | + Updates in :ndn-cxx:`Signature` data structure to reflect changes in `NDN-TLV spec |
| 403 | 0.1.1 <http://named-data.net/doc/NDN-TLV/0.1.1/>`_ |
| 404 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 405 | - **Wire encoding** |
| 406 | |
| 407 | + :ndn-cxx:`Data::getFullName() <getFullName()>` method to get :ndn-cxx:`Data` packet |
| 408 | name with implicit digest |
| 409 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 410 | + New :ndn-cxx:`Name::getSuccessor()` method to get name successor (:issue:`1677`) |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 411 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 412 | + New in-wire refreshing of Interest's nonce (:issue:`1758`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 413 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 414 | - **Management** |
| 415 | |
| 416 | + Support for :ndn-cxx:`ChannelStatus`, :ndn-cxx:`StrategyChoice` datasets |
| 417 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 418 | + Defining new common Route Origins for NFD RIB management protocol (:issue:`1719`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 419 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 420 | + New RibEntry and Route data structures for RIB management protocol (:issue:`1764`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 421 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 422 | + Add support for RIB flags for setInterestFilter and registerPrefix (:issue:`1842`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 423 | |
| 424 | - **Miscellaneous tools** |
| 425 | |
| 426 | + Introduce :ndn-cxx:`Scheduler::cancelAllEvents` to cancel all previously scheduled events |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 427 | (:issue:`1757`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 428 | |
| 429 | + Introduce :ndn-cxx:`util::EventEmitter`, :ndn-cxx:`util::NotificationSubscriber`, |
| 430 | :ndn-cxx:`util::NotificationStream`, and :ndn-cxx:`nfd::FaceMonitor` utility classes |
| 431 | |
| 432 | + Introduce :ndn-cxx:`util::SegmentFetcher` helper class to fetch multi-segmented data |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 433 | (:issue:`1879`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 434 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 435 | - **Build** |
| 436 | |
| 437 | + enabled support of precompiled headers for clang and gcc compilers to speed up compilation |
| 438 | |
| 439 | Updates and bug fixes: |
| 440 | ^^^^^^^^^^^^^^^^^^^^^^ |
| 441 | |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 442 | - **Base** |
| 443 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 444 | + Serialization of socket write operations (:issue:`1707`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 445 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 446 | + Enforcing limit on Interest and Data packet size in :ndn-cxx:`Face::expressInterest` and |
| 447 | :ndn-cxx:`Face::put` methods (:issue:`1774`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 448 | |
| 449 | + Cleaning up transport state on communication failure, so Face can try to reconnect |
| 450 | in the future. |
| 451 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 452 | + Fix bug with Face::removePendingInterest (:issue:`1917`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 453 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 454 | - **Wire encoding** |
| 455 | |
| 456 | + Nonce field is now encoded as 4-byte uint8_t value, as defined by NDN-TLV spec. |
| 457 | |
| 458 | + Optimized Data packet signing |
| 459 | |
| 460 | :ndn-cxx:`KeyChain::sign` method now pre-allocates :ndn-cxx:`EncodingBuffer`, requests |
| 461 | unsigned portion of :ndn-cxx:`Data` using ``Data::wireEncode(EncodingBuffer, true)``, |
| 462 | and then appends the resulting signature and prepends :ndn-cxx:`Data` packet header. |
| 463 | This way there is no extra memory allocation after :ndn-cxx:`Data` packet is signed. |
| 464 | |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 465 | + Optimized implicit digest calculation in :ndn-cxx:`Interest::matchesData` method |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 466 | (:issue:`1769`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 467 | |
| 468 | - **Management** |
| 469 | |
Alexander Afanasyev | 5946ed1 | 2015-01-19 23:41:39 -0800 | [diff] [blame] | 470 | + Add link-layer byte counts in FaceStatus data structure (:issue:`1765`) |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 471 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 472 | - **Security** |
| 473 | |
| 474 | + Allow user to explicitly specify the cert name prefix before 'KEY' component in |
| 475 | ``ndnsec-certgen`` |
| 476 | |
| 477 | + ``SignatureSha256`` has been renamed to :ndn-cxx:`DigestSha256` to conform with |
| 478 | `NDN-TLV specification <http://named-data.net/doc/ndn-tlv/>`_. |
| 479 | |
| 480 | + Add checking of ``Timestamp`` and ``Nonce`` fields in signed Interest within |
| 481 | :ndn-cxx:`ValidatorConfig` |
| 482 | |
| 483 | + Allow validator customization using hooks: |
| 484 | |
| 485 | Sub-classes of :ndn-cxx:`Validator` class can use the following hooks to fine-tune the |
| 486 | validation process: |
| 487 | |
| 488 | * :ndn-cxx:`Validator::preCertificateValidation <preCertificateValidation>` to |
| 489 | process received certificate before validation. |
| 490 | * :ndn-cxx:`Validator::onTimeout <onTimeout>` to process interest timeout |
| 491 | * :ndn-cxx:`Validator::afterCheckPolicy <afterCheckPolicy>` to process validation requests. |
| 492 | |
Yingdi Yu | 4e99f53 | 2014-08-25 19:40:57 -0700 | [diff] [blame] | 493 | + Fix memory issues in :ndn-cxx:`SecPublicInfoSqlite3` |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 494 | |
| 495 | - **Miscellaneous tools** |
| 496 | |
| 497 | + Redefine method for random number generation: ``random::generateWord*`` and |
| 498 | ``random::generateSecureWord*`` to generate cryptographically non-secure (fast) and |
| 499 | secure (slow) random numbers. |
| 500 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 501 | - Other minor fixes and corrections |
| 502 | |
| 503 | Deprecated: |
| 504 | ^^^^^^^^^^^ |
| 505 | |
| 506 | - ``SignatureSha256`` class, use :ndn-cxx:`DigestSha256` instead. |
| 507 | |
| 508 | - All :ndn-cxx:`Face` constructors that accept ``shared_ptr<io_service>``. |
| 509 | |
| 510 | Use versions that accept reference to ``io_service`` object. |
| 511 | |
| 512 | - ``Face::ioService`` method, use :ndn-cxx:`Face::getIoService` instead. |
| 513 | |
| 514 | - :ndn-cxx:`Interest` constructor that accepts name, individual selectors, and individual |
| 515 | guiders as constructor parameters. |
| 516 | |
| 517 | Use ``Interest().setX(...).setY(...)`` or use the overload taking ``Selectors`` |
| 518 | |
| 519 | - ``name::Component::toEscapedString`` method, use :ndn-cxx:`name::Component::toUri` instead. |
| 520 | |
| 521 | - ``SecPublicInfo::addPublicKey`` method, use :ndn-cxx:`SecPublicInfo::addKey` instead. |
| 522 | |
| 523 | - ``Tlv::ConentType`` constant (typo), use ``Tlv::ContentType`` instead. |
| 524 | |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 525 | - ``CommandInterestGenerator`` and ``CommandInterestValidator`` utility classes. |
| 526 | :ndn-cxx:`ValidatorConfig` should be used instead. |
| 527 | |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 528 | Removed: |
| 529 | ^^^^^^^^ |
| 530 | |
| 531 | - support of ndnd-tlv (only NFD management protocol is supported now) |
| 532 | |
| 533 | - ``SecPublicInfoMemory`` and ``SecTpmMemory`` classes that were no longer used |
| 534 | |
| 535 | - Removing concept of periodic event from :ndn-cxx:`Scheduler`. |
| 536 | |
| 537 | In applications, periodic events should be just re-scheduled within the callback for |
| 538 | single-shot events. |
| 539 | |
Alexander Afanasyev | ed545b3 | 2015-03-01 14:23:17 -0800 | [diff] [blame] | 540 | **************************************************************************** |
Alexander Afanasyev | d36dd55 | 2014-06-30 12:42:46 -0700 | [diff] [blame] | 541 | |
Alexander Afanasyev | cbf054d | 2015-05-11 13:02:56 -0700 | [diff] [blame^] | 542 | ndn-cxx version 0.1.0 |
| 543 | +++++++++++++++++++++ |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 544 | |
Alexander Afanasyev | ec0499f | 2014-07-30 12:11:01 -0700 | [diff] [blame] | 545 | Release date: May 7, 2014 |
| 546 | |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 547 | Version 0.1.0 is the initial release of ndn-cxx, an NDN C++ library with eXperimental |
| 548 | eXtensions. |
| 549 | |
| 550 | Originally based on `ndn-cpp library <https://github.com/named-data/ndn-cpp>`_ the ndn-cxx |
Lixia Zhang | c5fdfe7 | 2014-04-30 09:33:43 -0700 | [diff] [blame] | 551 | library adopts a slightly different design philosophy (including an extensive use of Boost |
| 552 | libraries to facilitate development, as well as the use of Crypto++ library to support |
| 553 | cryptographic operations), and includes a number of extensions that aim to simplify NDN |
| 554 | application development. |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 555 | |
| 556 | The current features include: |
| 557 | |
| 558 | - **Base** |
| 559 | |
Lixia Zhang | c5fdfe7 | 2014-04-30 09:33:43 -0700 | [diff] [blame] | 560 | + Fully asynchronous, event-driven communication model, which is implemented using `Boost.Asio |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 561 | <http://www.boost.org/doc/libs/1_48_0/doc/html/boost_asio.html>`_ |
| 562 | + Single-threaded, but thread-safe Face operations |
| 563 | |
| 564 | A single Face object can be safely used in multiple threads to express Interests and |
| 565 | publish Data packets |
| 566 | |
| 567 | + Explicit time management for NDN operations using `Boost.Chrono |
| 568 | <http://www.boost.org/doc/libs/1_48_0/doc/html/chrono.html>`_ |
| 569 | + Simplified and extended `NDN API <doxygen/annotated.html>`_ |
| 570 | + Extensive set of unit-tests based on `Boost.Test framework |
| 571 | <http://www.boost.org/doc/libs/1_48_0/libs/test/doc/html/index.html>`_ |
| 572 | |
| 573 | - Continuous integration using an in-house installation of Jenkins build bots and the |
Lixia Zhang | c5fdfe7 | 2014-04-30 09:33:43 -0700 | [diff] [blame] | 574 | hosted `Travis CI <https://travis-ci.org/named-data/ndn-cxx>`_ continuous |
| 575 | integration service compile and verify correctness of the library for each commit |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 576 | |
| 577 | - **Wire format** |
| 578 | |
| 579 | + Full support of `NDN-TLV packet format v0.1 <http://named-data.net/doc/NDN-TLV/0.1/>`_ |
| 580 | + Pure C++ implementation of wire encoding/decoding with simple access to wire format |
| 581 | of all NDN packet abstractions via ``wireEncode`` and ``wireDecode`` methods |
| 582 | |
| 583 | In many cases, NDN packet abstractions are just "indices" to the wire format |
| 584 | |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 585 | - **Communication with the forwarder** |
| 586 | |
| 587 | + Enable connecting to local forwarder via UNIX and TCP transports and to remote |
| 588 | forwarders using TCP transport |
| 589 | + Full support for communication with `Named Data Networking Forwarding Daemon (NFD) |
| 590 | <https://github.com/named-data/NFD>`_ |
| 591 | |
| 592 | - Full support for `NFD management protocols |
| 593 | <http://redmine.named-data.net/projects/nfd/wiki/Management>`_ to NFD status |
| 594 | information, create and manage NFD Faces, receive NFD Face status change |
| 595 | notifications, update StrategyChoice for namespaces, and manage routes in RIB |
| 596 | - Support for `LocalControlHeader |
| 597 | <http://redmine.named-data.net/projects/nfd/wiki/LocalControlHeader>`_ to implement |
| 598 | special NDN applications that need low-level control of NDN packet forwarding |
| 599 | |
Lixia Zhang | c5fdfe7 | 2014-04-30 09:33:43 -0700 | [diff] [blame] | 600 | - **Security support** |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 601 | |
Lixia Zhang | c5fdfe7 | 2014-04-30 09:33:43 -0700 | [diff] [blame] | 602 | + A set of security primitives to allowing implementation of secure NDN applications in |
| 603 | a simplified manner |
Alexander Afanasyev | c5452c5 | 2014-04-29 17:21:51 -0700 | [diff] [blame] | 604 | |
| 605 | - **KeyChain**: provides simple interfaces of packet signing, and key and certificate |
| 606 | management |
| 607 | - **ValidatorConfig**: validator that implements trust model defined in a configuration |
| 608 | file |
| 609 | - **CommandInterestGenerator** and **CommandInterestValidator**: convenient helpers to produce |
| 610 | and validate command interests, while preventing potential replay attacks |
| 611 | |
| 612 | + Several implementations of trusted platform modules to securely manage private keys |
| 613 | |
| 614 | - **SecTpmOsx**: TPM based on OSX KeyChain (OSX-specific) |
| 615 | - **SecTpmFile**: TPM that uses file-based access control to protect keys (cross-platform) |
| 616 | |
| 617 | + Extensive set of security command-line tools to manage security identities and certificates |
| 618 | |
| 619 | - Generating private/public keys |
| 620 | - Issuing certificates |
| 621 | - Exporting/importing identities |
| 622 | - Managing default security settings |
| 623 | |
| 624 | - **Miscellaneous tools** |
| 625 | |
| 626 | + Scheduler to support delayed time operations |
| 627 | + NDN regular expressions |
| 628 | + Simple config file to alter various aspects of the library |
| 629 | + **tlvdump**: a simple tool to visualize TLV-encoded blocks |