summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@github.mail.kapsi.fi>2017-01-12 20:00:28 +0200
committerGitHub <noreply@github.com>2017-01-12 20:00:28 +0200
commita3a7df33919f1f45067c4f6546dd31343d5bacb1 (patch)
treed6e71133408b998a9e86568b365421fd7b4e722d /docs
parentafdbca39edfaef58073f661d23300e1133c4e8af (diff)
parent31e09c6630c47d0aa1c1ec3909a936ba5674254f (diff)
Merge pull request #230 from Tobba/nonempty-substring
Fix closing a non-empty substream resulting in an incorrect stream state
Diffstat (limited to 'docs')
-rw-r--r--docs/migration.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/migration.rst b/docs/migration.rst
index cd5911f5..2d9ce38c 100644
--- a/docs/migration.rst
+++ b/docs/migration.rst
@@ -11,6 +11,19 @@ are included, in order to make it easier to find this document.
.. contents ::
+Nanopb-0.3.8 (2017-xx-xx)
+=========================
+Fully drain substreams before closing
+
+**Rationale:** If the substream functions were called directly and the caller
+did not completely empty the substring before closing it, the parent stream
+would be put into an incorrect state.
+
+**Changes:** *pb_close_string_substream* can now error and returns a boolean.
+
+**Required actions:** Add error checking onto any call to
+*pb_close_string_substream*.
+
Nanopb-0.3.5 (2016-02-13)
=========================