Skip to content

Commit 21f0b45

Browse files
ClaytonKnittelcopybara-github
authored andcommitted
Update announcement of removal of Arena-enabled constructors for Repeated/Map fields in 2025-09-19 news.
PiperOrigin-RevId: 820781794
1 parent 08c0ba5 commit 21f0b45

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/news/2025-09-19.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ be removed and their behavior will become the default:
2525
* `PROTOBUF_FUTURE_REMOVE_ADD_IGNORE_CRITERIA`
2626
* `PROTOBUF_FUTURE_STRING_VIEW_DESCRIPTOR_DATABASE`
2727
* `PROTOBUF_FUTURE_NO_RECURSIVE_MESSAGE_COPY`
28+
* `PROTOBUF_FUTURE_REMOVE_REPEATED_PTR_FIELD_ARENA_CONSTRUCTOR`
29+
* `PROTOBUF_FUTURE_REMOVE_MAP_FIELD_ARENA_CONSTRUCTOR`
30+
* `PROTOBUF_FUTURE_REMOVE_REPEATED_FIELD_ARENA_CONSTRUCTOR`
2831

2932
### New RepeatedPtrField Layout {#cpp-repeatedptrfield-layout}
3033

@@ -39,9 +42,12 @@ arena-safe counterparts and be deprecated.
3942
Protobufs will be hardened against OOB errors by adding comprehensive bounds
4043
checking to repeated field accesses.
4144

42-
### Remove Arena Pointers from Repeated Fields {#cpp-remove-arena-pointers}
45+
<a id="cpp-remove-arena-pointers"></a>
4346

44-
The `RepeatedPtrField(Arena*)` constructor will be deleted.
47+
### Remove Arena-enabled constructors from Repeated/Map Fields {#cpp-remove-arena-ctors}
48+
49+
The `RepeatedField(Arena*)`, `RepeatedPtrField(Arena*)`, and `Map(Arena*)`
50+
constructors will be deleted.
4551

4652
### Remove Deprecated APIs {#cpp-remove-apis}
4753

0 commit comments

Comments
 (0)