Prepare release 0.6.5

Change-Id: Ifc28a3a32d572b2455353bf164427ca2d37aebf9
Refs: #4821
diff --git a/docs/release-notes-latest.rst b/docs/release-notes-latest.rst
index d0cef0b..93bee35 120000
--- a/docs/release-notes-latest.rst
+++ b/docs/release-notes-latest.rst
@@ -1 +1 @@
-release-notes/release-notes-0.6.3.rst
\ No newline at end of file
+release-notes/release-notes-0.6.5.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
index 7acfbcc..3c48aeb 100644
--- a/docs/release-notes/release-notes-0.6.2.rst
+++ b/docs/release-notes/release-notes-0.6.2.rst
@@ -3,11 +3,6 @@
 
 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:
 ^^^^^^^^^^^^^
 
diff --git a/docs/release-notes/release-notes-0.6.3.rst b/docs/release-notes/release-notes-0.6.3.rst
index eeb4666..863e246 100644
--- a/docs/release-notes/release-notes-0.6.3.rst
+++ b/docs/release-notes/release-notes-0.6.3.rst
@@ -3,11 +3,6 @@
 
 Release date: September 18, 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/>`__.
-
 The build requirements have been upgraded to gcc >= 5.3 or clang >= 3.6, boost >= 1.58,
 openssl >= 1.0.2. This effectively drops support for all versions of Ubuntu older than 16.04
 that use distribution-provided compilers and packages.
diff --git a/docs/release-notes/release-notes-0.6.5.rst b/docs/release-notes/release-notes-0.6.5.rst
new file mode 100644
index 0000000..8c17fc1
--- /dev/null
+++ b/docs/release-notes/release-notes-0.6.5.rst
@@ -0,0 +1,83 @@
+ndn-cxx version 0.6.5
+---------------------
+
+Release date: February 4, 2019
+
+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:
+^^^^^^^^^^^^^
+
+- More support for `NDN packet format version
+  0.3 <https://named-data.net/doc/NDN-packet-spec/0.3/>`__ (:issue:`4527`)
+
+  * Stop using ``ChildSelector`` in ``NotificationSubscriber`` (:issue:`4664`)
+
+  * Stop using ``ChildSelector`` in ``CertificateBundleFetcher``  (:issue:`4665`)
+
+- Support floating point numbers in TLV-VALUE (:issue:`4612`)
+
+- Scoped prefix registration, scoped Interest filter, and scoped pending Interest
+  (:issue:`3919`, :issue:`4316`)
+
+- Counters for satisfied and unsatisfied Interests in ``ForwarderStatus``
+  (:issue:`4720`)
+
+- ``random::getRandomNumberEngine()`` in the public API
+
+- ``MetadataObject`` class to encode/decode RDR-style metadata (:issue:`4707`)
+
+- ``SegmentFetcher::stop()`` (:issue:`4692`)
+
+Improvements and bug fixes
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+- Use openssl-based routines for the PKCS#8 decoding/decryption when exporting key from macOS
+  Keychain (:issue:`4450`)
+
+- Switch to AES-256 for private key encryption in PKCS #8 export
+
+- Add exponential backoff in ``CertificateFetcherFromNetwork`` (:issue:`4718`, :issue:`4712`)
+
+- Throw exception when loading an orphaned ``ValidationPolicyConfig`` (API violation)
+  (:issue:`4758`)
+
+- Forbid unrecognized TLVs before ``Name`` (:issue:`4667`)
+
+- Prevent memory pool size from becoming zero in ``InMemoryStorage`` (:issue:`4769`)
+
+- Clean up fetchers when destructing ``nfd::Controller`` (:issue:`4775`)
+
+- Fix ``SegmentFetcher`` undefined behavior caused by uncanceled pending interest
+  (:issue:`4770`)
+
+- Seed the PRNG with more entropy (:issue:`4808`)
+
+- Stop accepting NonNegativeInteger as sequence number in NDNLP (:issue:`4598`)
+
+- Backport C++17 ``std::any`` and ``std::variant`` as ``ndn::any`` and ``ndn::variant``
+
+- Reimplement ``scheduler::EventId`` with ``CancelHandle`` (:issue:`4698`)
+
+Deprecated
+~~~~~~~~~~
+
+- ``ndn-cxx/util/scheduler-scoped-event-id.hpp`` header as it is now sufficient to use
+  ``ndn-cxx/util/scheduler.hpp`` header (:issue:`4698`)
+
+- Implicit conversion from nullptr to ``scheduler::EventId`` (:issue:`4698`)
+
+Removed
+~~~~~~~
+
+- ``ndn::ip::address{,V6}FromString``
+
+- ``SegmentFetcher::fetch`` (:issue:`4464`)
+
+- ``{get,set}FinalBlockId()``
+
+- Headers that were already considered internal implementation details have been explicitly
+  moved to a ``detail/`` subdir to more clearly separate private and public headers
diff --git a/docs/releases.rst b/docs/releases.rst
index f7d5914..7312919 100644
--- a/docs/releases.rst
+++ b/docs/releases.rst
@@ -5,6 +5,7 @@
    :hidden:
    :maxdepth: 1
 
+   release-notes/release-notes-0.6.5
    release-notes/release-notes-0.6.3
    release-notes/release-notes-0.6.2
    release-notes/release-notes-0.6.1
@@ -21,6 +22,12 @@
    release-notes/release-notes-0.2.0
    release-notes/release-notes-0.1.0
 
+* **ndn-cxx version 0.6.5**
+  (:doc:`Release Notes <release-notes/release-notes-0.6.5>`, `Documentation <https://named-data.net/doc/ndn-cxx/0.6.5/>`__)
+
+  `src (git) <https://github.com/named-data/ndn-cxx/releases/tag/ndn-cxx-0.6.5>`__,
+  `src (tarball) <https://named-data.net/downloads/nfd-0.6.5.tar.bz2>`__ (`checksum <https://named-data.net/downloads/nfd-0.6.5.tar.bz2.sha256>`__)
+
 * **ndn-cxx version 0.6.3**
   (:doc:`Release Notes <release-notes/release-notes-0.6.3>`, `Documentation <https://named-data.net/doc/ndn-cxx/0.6.3/>`__)
 
diff --git a/wscript b/wscript
index c0f0f18..8a5a252 100644
--- a/wscript
+++ b/wscript
@@ -3,7 +3,7 @@
 from waflib import Context, Logs, Utils
 import os, subprocess
 
-VERSION = '0.6.3'
+VERSION = '0.6.5'
 APPNAME = 'ndn-cxx'
 PACKAGE_BUGREPORT = 'https://redmine.named-data.net/projects/ndn-cxx'
 PACKAGE_URL = 'http://named-data.net/doc/ndn-cxx/'