blob: 078b694c1e764567a7d15563180f196fc9799d16 [file] [log] [blame]
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -07001Changes
2=======
3
Alexander Afanasyeve9f48512018-01-15 23:44:50 -05004Version 0.3
5-----------
6
7- **Interest**
8
9 + Remove ``Selectors`` element
10 + Add optional ``CanBePrefix`` element after Name
11 + Move optional ``MustBeFresh`` element after ``CanBePrefix``
12 + Move optional ``ForwardingHint`` element after ``MustBeFresh`` (before ``Nonce``)
13 + Add optional ``HopLimit`` element
14 + Add optional ``Parameters`` element
15
16- **Data**
17
18 + Make ``MetaInfo`` and ``Content`` elements optional
19 + Change semantics of omitted (or set to zero) ``FreshnessPeriod`` element: it cannot be used to satisfy
20 Interests with ``MustBeFresh``
21
22- **Name**
23
24 + Lift restriction on name component types, allowing types in the range ``1`` - ``32767``.
25 + Correct definition of name URI encoding: disallow unescaped encoding of PLUS ``+`` and allow TILDE ``~``.
Alexander Afanasyev9013a562018-08-08 09:48:41 -040026 + Add ``ParametersSha256DigestComponent``
Alexander Afanasyeve9f48512018-01-15 23:44:50 -050027
Alexander Afanasyev13f86d82018-01-31 12:50:34 -050028Version 0.2.1
29-------------
spirosmastorakis988e7412016-10-27 14:01:59 -070030
31- Add definition of Link Object
32
33- **Interest**
34
Alexander Afanasyeve9f48512018-01-15 23:44:50 -050035 + Add default of leftmost child if ChildSelector element not present
36 + Add specification of ForwardingHint element
spirosmastorakis988e7412016-10-27 14:01:59 -070037
Eric Newberry56519862017-02-13 13:26:19 -070038- **Data**
39
40 + Updated Content Store semantics for Data packets that do not carry FreshnessPeriod.
41
spirosmastorakis988e7412016-10-27 14:01:59 -070042************************************************************
43
Alexander Afanasyeve9f48512018-01-15 23:44:50 -050044Version 0.2
Alexander Afanasyev13f86d82018-01-31 12:50:34 -050045-----------
Junxiao Shia0d36822014-09-21 11:32:09 -070046
47- **Name**
48
49 + Allow zero-length name component
Alexander Afanasyev4b8be212014-10-06 10:55:04 -070050 + Require implicit digest to be specified using ``ImplicitSha256Digest`` name component
Junxiao Shia0d36822014-09-21 11:32:09 -070051
Alexander Afanasyev948affe2016-09-13 13:15:29 -070052- **Signature**
53
54 + Add spec for ``SignatureHmacWithSha256``
55
Junxiao Shidef7fc52015-06-10 13:29:21 -070056- **Interest**
57
58 + Delete deprecated ``Scope`` guider
Alexander Afanasyev948affe2016-09-13 13:15:29 -070059 + Restrict Interest to have name with at least one name component
60
61- **Data**
62
63 + Redirect ContentType number assignments to the `wiki page <https://redmine.named-data.net/projects/ndn-tlv/wiki/ContentType>`__
Junxiao Shidef7fc52015-06-10 13:29:21 -070064
Junxiao Shi4406fdd2015-06-10 13:28:10 -070065- **TLV-TYPE**
66
67 + Reserve 800-1000 range for link protocol
68
spirosmastorakis988e7412016-10-27 14:01:59 -070069************************************************************
70
Alexander Afanasyev13f86d82018-01-31 12:50:34 -050071Version 0.1.1
72-------------
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070073
74- **Signature**
75
Alexander Afanasyev4b896112014-06-23 21:47:15 -070076 + New ``SignatureSha256WithEcdsa`` signature type for Elliptic Curve Digital Signature Algorithm (ECDSA).
Alexander Afanasyevf3e5e852014-06-13 22:44:02 -070077 + ``KeyLocatorDigest`` renamed to ``KeyDigest``. The specification now explicitly allows KeyDigest to be a SHA256 of any type of the key.
Alexander Afanasyeve9f48512018-01-15 23:44:50 -050078 + ``KeyLocator`` element is now defined to be optionally present in generic ``SignatureInfo`` element.
Alexander Afanasyev4b896112014-06-23 21:47:15 -070079 ``SignatureSha256WithRsa`` and ``SignatureSha256WithEcdsa`` still require ``KeyLocator`` to be always present.
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070080
spirosmastorakis988e7412016-10-27 14:01:59 -070081************************************************************
82
Alexander Afanasyev13f86d82018-01-31 12:50:34 -050083Version 0.1
84-----------
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -070085
86- **General**
87
88 + XML-based ccnb packet encoding is replaced by TLV encoding
89
90- **Name**
91
92 + The name encoding is changed from binary XML to TLV format
93 + The discussions on naming conventions and the use of special markers inside NameComponents are removed from packet specification, and will be covered by a separate technical document
94 + Deprecated zero-length name component
95
96- **Interest Packet**
97
98 + ``Nonce`` is changed from optional to required
99 + ``PublisherPublicKeyDigest`` is replaced by ``PublisherPublicKeyLocator``
100 + ``AnswerOriginKind`` is simplified from 4bits to a 1-bit ``MustBeFresh``
101 + ``FaceID`` has been removed
102 + ``InterestLifetime`` changes the unit to the number of milliseconds
103 + Removed Bloom Filter from Exclude
104 + Changed default semantics of staleness
105
106 Specifically, NDN-TLV Interest without any selectors will bring any data that matches the name, and only when ``MustBeFresh`` selector is enabled it will try to honor freshness, specified in Data packets.
107 With Binary XML encoded Interests, the default behavior was to bring "fresh" data and return "stale" data only when ``AnswerOriginKind`` was set to 3.
108
109 Application developers must be aware of this change, reexamine the Interest expression code, and enable ``MustBeFresh`` selector when necessary.
110
111- **Data Packet**
112
113 + The structure of Data packet is changed:
114
115 * ``Name``, ``MetaInfo``, ``Content``, ``Signature{SignatureInfo, SignatureValue}``
116
117 + ``SignedInfo`` is renamed to ``MetaInfo`` and its content is changed
118 + ``PublisherPublicKeyDigest`` and ``ExtOpt`` are removed.
119 + ``Timestamp`` is removed
Alexander Afanasyeve9f48512018-01-15 23:44:50 -0500120 + ``KeyLocator`` is moved to be inside the ``Signature`` (``SignatureInfo``) element
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -0700121 + Three content types, ENCR, GONE, and NACK are removed
122 + ``FreshnessSeconds`` is renamed to ``FreshnessPeriod`` and is expressed in units of milliseconds
123
124- **Signature**
125
126 + ``Signature`` is moved to the end of Data packet.
Alexander Afanasyeve9f48512018-01-15 23:44:50 -0500127 + ``KeyLocator`` is moved to be a part of the ``SignatureInfo`` element, if it is applicable for the specific signature type.
Alexander Afanasyeva6fc7272014-06-13 11:58:06 -0700128
129 The rationale for the move is to make Signature (sequence of ``SignatureInfo`` and ``SignatureValue`` TLVs) self-contained and self-sufficient.
130
131 + Signature type (or signing method information) is expressed as an assigned integer value (with no assumed default), rather than OID.
132 + Added support for hash-only "signature"
133 + The current specification does not define Merkle Hash Tree Aggregated Signatures, but it is expected that such (or similar) signatures will be defined in future version of this specification