Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nanopb
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
le
nanopb
Commits
634cf359
Commit
634cf359
authored
7 years ago
by
Petteri Aimonen
Browse files
Options
Downloads
Patches
Plain Diff
oneof migration note
parent
278ffb89
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/migration.rst
+15
-0
15 additions, 0 deletions
docs/migration.rst
with
15 additions
and
0 deletions
docs/migration.rst
+
15
−
0
View file @
634cf359
...
...
@@ -13,7 +13,9 @@ are included, in order to make it easier to find this document.
Nanopb-0.3.8 (2017-03-05)
=========================
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
...
...
@@ -24,6 +26,19 @@ would be put into an incorrect state.
**Required actions:** Add error checking onto any call to
*pb_close_string_substream*.
Change oneof format in .pb.c files
----------------------------------
**Rationale:** Previously two oneofs in a single message would be erroneously
handled as part of the same union.
**Changes:** Oneofs fields now use special *PB_DATAOFFSET_UNION* offset type
in generated .pb.c files to distinguish whether they are the first or following
field inside an union.
**Required actions:** Regenerate *.pb.c/.pb.h* files with new nanopb version if
oneofs are used.
Nanopb-0.3.5 (2016-02-13)
=========================
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment