blob: 795b2a6538cb85172f5c5df9155d8cc8dab63b46 [file] [log] [blame]
Alexander Afanasyev19e2e6d2017-01-20 20:21:36 -08001NFD version 0.5.1
2-----------------
3
4Release date: January 25, 2017
5
6Changes since version 0.5.0
7
8New features
9^^^^^^^^^^^^
10
11- In ndn-autoconfig, add the Find (geographically) Closest Hub stage (NDN-FCH) using a
12 `deployed service <http://ndn-fch.named-data.net>`__ (:issue:`3800`)
13
14- Add ``face_system.ether.whitelist`` and ``face_system.ether.blacklist`` config options for
15 Ethernet multicast faces creation (:issue:`1712`)
16
17- Add ``face_system.udp.whitelist`` and ``face_system.udp.blacklist`` config options for
18 UDP multicast faces creation (:issue:`1712`)
19
20- Introduce ``tables.cs_policy`` config option to configure cache policy (policy change requires
21 restart of NFD) (:issue:`3148`)
22
23- Introduce strategy parameters that can be specified when selecting a strategy for a
24 namespace (:issue:`3868`)
25
26- Initial implementation of route re-advertise feature. This release only includes supporting
27 classes. Full implementation of this feature is expected to be introduced in the next
28 release (:issue:`3818`).
29
30- Introduce ``FACE_EVENT_UP`` and ``FACE_EVENT_DOWN`` notifications (:issue:`3794`, :issue:`3818`)
31
32- GenericLinkService now encodes and decodes the NDNLPv2 CongestionMark field (:issue:`3797`)
33
34Updates
35^^^^^^^
36
37- Allow strategies to pick outgoing Interest. The outgoing Interest pipeline and Strategy API
38 have changed to give strategies an opportunity to pick an outgoing Interest that matches
39 the Interest table entry (:issue:`1756`)
40
41- Refactor localhop restriction handling in strategies. Previously available
42 ``canForwardToLegacy`` function no longer checks scope. Strategies using this function shall
43 use ``wouldViolateScope`` separately (:issue:`3841`, :issue:`1756`)
44
45- Strategy instances are no longer shared among different StrategyChoice entries. Each instance can
46 be individually configured using the arguments supplied during construction (as part of strategy
47 name) (:issue:`3868`)
48
49- Change ``strategy-choice/set`` response codes. Specifically, if the specified strategy name
50 cannot be instantiated, the command responds with 404 status code (:issue:`3868`)
51
52- Add ability to instantiate strategy of next higher version if the requested version is not
53 available (:issue:`3868`)
54
55- Refactor face management system. The function of the monolithic ``FaceManager`` class has
56 been split among the newly introduced ``FaceSystem`` class and the various protocol
57 factories. FaceSystem class is the entry point of NFD's face system and owns the concrete
58 protocol factories, created based on ``face_system`` section of the NFD configuration
59 file. (:issue:`3904`)
60
61- Switch to use ``faces/update`` instead of legacy ``faces/enable-local-control`` to enable
62 local fields (:issue:`3734`)
63
64- Add support for permanent persistency in TcpTransport (:issue:`3167`)
65
66- Add missing and refactor existing registry implementations for replaceable modules, including
67 strategy, protocol factory, CS policy, and unsolicited data policy (:issue:`2181`, :issue:`3148`,
68 :issue:`3868`, :issue:`3904`)
69
70- Refactor and extend ``nfdc`` tool. The tool is now a universal instrument to query and
71 change NFD state (:issue:`3780`)
72
73- Refactor implementation of ``ndn-autoconfig`` tool (:issue:`2426`)
74
75Bugfixes
76^^^^^^^^
77
78- Fix RTT calculation in ASF strategy (:issue:`3829`)
79
80- Ensure that ``pit::Entry`` checks that Interest matches entry when updating in/out-record to
81 prevent strategies to incorrectly pick an incorrect Interest (:issue:`1756`)
82
83- Fix uncaught ``bad_lexical_cast`` exception in ``Network::isValidCidr()`` (:issue:`3858`)
84
85- Fix incorrect output of ``operator<<`` for Rib class (:issue:`3423`)
86
87- Make FIB and StrategyChoice iterators default-constructible (:issue:`3882`)
88
89- Ensure that ``nfd-status-http-server`` returns error code (HTTP/504) when NFD is not running
90 (:issue:`3863`)
91
92- A number of fixes in documentation
93
94Deprecations
95^^^^^^^^^^^^
96
97- Deprecate ``nfd-status`` command line options. Use ``nfdc`` subcommands, such as ``nfdc face
98 list`` and ``nfdc status report xml``. The argument-less ``nfd-status`` is retained as an
99 alias of ``nfdc status report`` (:issue:`3780`)
100
101Deletions
102^^^^^^^^^
103
104- Delete deprecated ``Strategy::sendInterest`` overload and ``violatesScope`` (:issue:`1756`,
105 :issue:`3841`)
106
107- StrategyChoice no longer supports installed instances. All strategies should be registered
108 in the strategy registry (:issue:`3868`)
109
110- ``Strategy::getName``. Instead, Strategy API introduces ``getStrategyName`` (strategy program
111 name, including version component) and ``getInstanceName`` (strategy name assigned during
112 strategy instance instantiation, including version and optional extra parameter components)
113 (:issue:`3868`)