Skip to content

Commit 00d5fa8

Browse files
committed
deploy: d2c52f6
1 parent 64708f9 commit 00d5fa8

File tree

6 files changed

+24
-10
lines changed

6 files changed

+24
-10
lines changed

news/2023-12-13/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<a href="https://github.com/protocolbuffers/protocolbuffers.github.io/issues/new?title=Changes%20announced%20on%20December%2013,%202023" class=td-page-meta--issue target=_blank rel=noopener><i class="fa-solid fa-list-check fa-fw"></i> Create documentation issue</a>
66
<a href=https://github.com/protocolbuffers/protobuf/issues/new class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid fa-list-check fa-fw"></i> Create project issue</a></div><div class=td-toc><nav id=TableOfContents><ul><li><a href=#c-breaking-changes>C++ Breaking Changes</a><ul><li><a href=#remove-deprecated-clear-apis-on-repeated-fields>Remove deprecated clear APIs on repeated fields</a></li><li><a href=#remove-c-legacy-syntax-descriptor-apis>Remove C++ legacy syntax descriptor APIs</a></li><li><a href=#remove-deprecated-syntax-accessor>Remove deprecated syntax accessor</a></li><li><a href=#remove-deprecated-supportsunknownenumvalues-method>Remove deprecated SupportsUnknownEnumValues method</a></li><li><a href=#remove-stdstring-error-collector-overrides>Remove std::string error collector overrides</a></li></ul></li><li><a href=#python-breaking-changes>Python Breaking Changes</a><ul><li><a href=#timestamps-are-checked-for-validity>Timestamps are checked for validity</a></li><li><a href=#remove-deprecated-syntax-accessor-1>Remove deprecated syntax accessor</a></li><li><a href=#unknownfields-support-removal>UnknownFields support removal</a></li></ul></li></ul></nav></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a href=https://protobuf.dev/news/>News</a></li><li class="breadcrumb-item active" aria-current=page><a href=https://protobuf.dev/news/2023-12-13/ aria-disabled=true class="btn-link disabled">December 13, 2023</a></li></ol></nav><div class=td-content><h1>Changes announced on December 13, 2023</h1><div class=lead>Changes announced for Protocol Buffers on December 13, 2023.</div><header class=article-meta></header><h2 id=c-breaking-changes>C++ Breaking Changes</h2><p>In v26, we are planning a major version bump for C++ as per our
77
<a href=/news/2022-07-06>breaking changes policy</a> and
8-
<a href=/support/version-support#python-support>version support policy</a>.</p><p>The following sections outline the set of breaking changes that we plan to
8+
<a href=/support/version-support#cpp-tooling>version support policy</a>.</p><p>The following sections outline the set of breaking changes that we plan to
99
include in the 26.0 release of protocol buffers. Note that plans can and do
1010
change. These are potential breaking changes to be aware of, but they may not
1111
happen in this particular release, or they may not happen at all.</p><h3 id=remove-deprecated-clear-apis-on-repeated-fields>Remove deprecated clear APIs on repeated fields</h3><p>The following deprecated methods are removed:</p><ul><li><code>RepeatedPtrField::ReleaseCleared()</code></li><li><code>RepeatedPtrField::ClearedCount()</code></li><li><code>RepeatedPtrField::AddCleared()</code></li></ul><h3 id=remove-c-legacy-syntax-descriptor-apis>Remove C++ legacy syntax descriptor APIs</h3><p>With the release of <a href=/editions>editions</a>, syntax is no

news/2023-12-27/index.html

Lines changed: 18 additions & 0 deletions
Large diffs are not rendered by default.

news/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<a href="https://github.com/protocolbuffers/protocolbuffers.github.io/new/main/content/news/_index.md?filename=change-me.md&amp;value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matter%22+section+at+the+top+of+the+page+%28weight+controls+how+its+ordered+amongst+other+pages+in+the+same+directory%3B+lowest+number+first%29.%0A%2A+Add+a+good+commit+message+at+the+bottom+of+the+page+%28%3C80+characters%3B+use+the+extended+description+field+for+more+detail%29.%0A%2A+Create+a+new+branch+so+you+can+preview+your+new+file+and+request+a+review+via+Pull+Request.%0A" class=td-page-meta--child target=_blank rel=noopener><i class="fa-solid fa-pen-to-square fa-fw"></i> Create child page</a>
55
<a href="https://github.com/protocolbuffers/protocolbuffers.github.io/issues/new?title=News" class=td-page-meta--issue target=_blank rel=noopener><i class="fa-solid fa-list-check fa-fw"></i> Create documentation issue</a>
66
<a href=https://github.com/protocolbuffers/protobuf/issues/new class=td-page-meta--project-issue target=_blank rel=noopener><i class="fa-solid fa-list-check fa-fw"></i> Create project issue</a></div></aside><main class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class="td-breadcrumbs td-breadcrumbs__single"><ol class=breadcrumb><li class="breadcrumb-item active" aria-current=page><a href=https://protobuf.dev/news/ aria-disabled=true class="btn-link disabled">News</a></li></ol></nav><div class=td-content><h1>News</h1><div class=lead>Get the latest news about Protocol Buffers.</div><header class=article-meta></header><p>News topics provide information about past events and changes with Protocol
7-
Buffers, and plans for upcoming changes.</p><ul><li><a href=/news/2023-12-13>December 13, 2023</a> - Breaking
7+
Buffers, and plans for upcoming changes.</p><ul><li><a href=/news/2023-12-27>December 27, 2023</a> - Breaking
8+
changes in the 26.x line for Ruby, PHP, Python, and upb</li><li><a href=/news/2023-12-13>December 13, 2023</a> - Breaking
89
Python and C++ changes in the 26.x line</li><li><a href=/news/2023-12-05>December 5, 2023</a> - Breaking Java
910
changes in the 26.x line</li><li><a href=/news/2023-10-10>October 10, 2023</a> - Documentation
1011
for Protobuf Editions features is published</li><li><a href=/news/2023-09-15>September 15, 2023</a> - μpb Moving

reference/go/go-generated/index.html

Lines changed: 2 additions & 4 deletions
Large diffs are not rendered by default.

reference/go/index.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ an accessor method &lt;code>GetBirthYear()&lt;/code> which returns the &lt;code>
151151
&lt;code>birth_year&lt;/code> or the
152152
&lt;a href="https://golang.org/ref/spec#The_zero_value">zero value&lt;/a> of that type
153153
if the field is unset (&lt;code>0&lt;/code> for numbers, the empty string for strings).&lt;/p>
154-
&lt;p>The &lt;code>FirstActiveYear&lt;/code> struct field will be of type &lt;code>*int32&lt;/code>, and additionally
155-
have the &lt;code>HasFirstActiveYear()&lt;/code> and &lt;code>ClearFirstActiveYear()&lt;/code> accessors, because
156-
it is marked &lt;code>optional&lt;/code>.&lt;/p>
157154
&lt;p>For other scalar field types (including &lt;code>bool&lt;/code>, &lt;code>bytes&lt;/code>, and &lt;code>string&lt;/code>), &lt;code>int32&lt;/code>
158155
is replaced with the corresponding Go type according to the
159156
&lt;a href="https://protobuf.dev/programming-guides/proto3#scalar">scalar value types table&lt;/a>.

0 commit comments

Comments
 (0)