diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-02-12 10:52:26 +0200 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2017-02-12 10:52:26 +0200 |
commit | 112fd594442aaf8003764b32390d60162a38131b (patch) | |
tree | bd531424e441794d9795d392d78d69e5090f769f /docs | |
parent | 2467922d47a579d447406eddcecdb1127d33213b (diff) | |
parent | a5d90990263b3171cc699315e69d0e09f6a420ad (diff) |
Merge branch 'master' of github.com:nanopb/nanopb
Diffstat (limited to 'docs')
-rw-r--r-- | docs/migration.rst | 13 |
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) ========================= |