Prepare release 0.6.2
Change-Id: Ia5fefd6729fdf9cb5887a5165ba60614ab931280
Refs: #4564
diff --git a/docs/release-notes-latest.rst b/docs/release-notes-latest.rst
index e25a31f..1093965 120000
--- a/docs/release-notes-latest.rst
+++ b/docs/release-notes-latest.rst
@@ -1 +1 @@
-release-notes/release-notes-0.6.1.rst
\ No newline at end of file
+release-notes/release-notes-0.6.2.rst
\ No newline at end of file
diff --git a/docs/release-notes/release-notes-0.6.2.rst b/docs/release-notes/release-notes-0.6.2.rst
new file mode 100644
index 0000000..7acfbcc
--- /dev/null
+++ b/docs/release-notes/release-notes-0.6.2.rst
@@ -0,0 +1,58 @@
+ndn-cxx version 0.6.2
+---------------------
+
+Release date: May 4, 2018
+
+Note that this is the last release that encodes to [NDN packet format version
+0.2.1](https://named-data.net/doc/NDN-packet-spec/0.2.1/). A future release will continue to
+decode v0.2.1 format, but will encode to [v0.3
+format](https://named-data.net/doc/NDN-packet-spec/0.3/).
+
+New features:
+^^^^^^^^^^^^^
+
+- Initial support for [NDN packet format version
+ 0.3](https://named-data.net/doc/NDN-packet-spec/0.3/) (:issue:`4527`)
+
+ * Recognize typed name components, allow typed name component in ``FinalBlockId``
+ (:issue:`4526`)
+
+ * Recognize Interest in Packet Format v0.3 (:issue:`4527`)
+
+ In this release, ``Interest::wireDecode`` accepts both v0.2 and v0.3 formats, but
+ ``Interest::wireEncode`` only encodes into v0.2 format. A future release of the
+ library will switch the encoding to v0.3 format.
+
+ * Recognize Data in Packet Format v0.3 (:issue:`4568`)
+
+ In this release, ``Data::wireDecode`` accepts both v0.2 and v0.3 formats, but
+ ``Data::wireEncode`` only encodes into v0.2 format. A future release of the library
+ will switch the encoding to v0.3 format.
+
+- Library support for cs/erase command of NFD Management (:issue:`4318`)
+
+- A convenience function to print out ``Block`` structures (:issue:`2225`)
+
+Improvements and bug fixes
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Change encoding of NDNLPv2 sequence number from nonNegativeInteger to fixed-width
+ integer (8 bytes in network order) (:issue:`4403`)
+
+- Fix compilation with Boost 1.67 (:issue:`4584`)
+
+- Upgrade build environment to latest version of ``waf`` and other improvements
+
+- Logging system improvements (:issue:`4552`)
+
+Deprecated
+~~~~~~~~~~
+
+- Selectors (:issue:`4527`)
+
+ NDN Packet Format v0.3 replaces Selectors with ``CanBePrefix`` and ``MustBeFresh`` elements.
+ This commit deprecates getter/setter for Selectors in Interest class. Getter/setter for
+ CanBePrefix and MustBeFresh are mapped to the closest v0.2 semantics and encoded as
+ selectors.
+
+- ``Data::get/setFinalBlockId()`` in favor of ``Data::get/setFinalBlock()``
diff --git a/docs/releases.rst b/docs/releases.rst
index 919c60c..d34dcc8 100644
--- a/docs/releases.rst
+++ b/docs/releases.rst
@@ -5,6 +5,7 @@
:hidden:
:maxdepth: 1
+ release-notes/release-notes-0.6.2
release-notes/release-notes-0.6.1
release-notes/release-notes-0.6.0
release-notes/release-notes-0.5.1
@@ -19,6 +20,12 @@
release-notes/release-notes-0.2.0
release-notes/release-notes-0.1.0
+* **ndn-cxx version 0.6.2**
+ (:doc:`Release Notes <release-notes/release-notes-0.6.2>`, `Documentation <https://named-data.net/doc/ndn-cxx/0.6.2/>`__)
+
+ `src (git) <https://github.com/named-data/ndn-cxx/releases/tag/ndn-cxx-0.6.2>`__,
+ `src (tarball) <https://named-data.net/downloads/nfd-0.6.2.tar.bz2>`__ (`checksum <http://named-data.net/downloads/nfd-0.6.2.tar.bz2.sha256>`__)
+
* **ndn-cxx version 0.6.1**
(:doc:`Release Notes <release-notes/release-notes-0.6.1>`, `Documentation <https://named-data.net/doc/ndn-cxx/0.6.1/>`__)
diff --git a/wscript b/wscript
index 502c1ee..96740c3 100644
--- a/wscript
+++ b/wscript
@@ -3,7 +3,7 @@
from waflib import Context, Logs, Utils
import os, subprocess
-VERSION = '0.6.1'
+VERSION = '0.6.2'
APPNAME = 'ndn-cxx'
PACKAGE_BUGREPORT = 'https://redmine.named-data.net/projects/ndn-cxx'
PACKAGE_URL = 'http://named-data.net/doc/ndn-cxx/'