File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,9 @@ make the Opaque API the default.
3535
3636## How Do I Enable the New Opaque API for My Messages? {#enable}
3737
38- With Protobuf Edition 2023 (current at the time of writing) , you can select the
39- Opaque API by setting the ` api_level ` editions feature to ` API_OPAQUE ` in your
40- ` .proto ` file. This can be set per file or per message:
38+ Starting with Protobuf Edition 2023, you can select the Opaque API by setting
39+ the ` api_level ` editions feature to ` API_OPAQUE ` in your ` .proto ` file. This can
40+ be set per file or per message:
4141
4242``` proto
4343edition = "2023";
@@ -50,7 +50,7 @@ option features.(pb.go).api_level = API_OPAQUE;
5050message LogEntry { … }
5151```
5252
53- Protobuf Edition 2024 will default to the Opaque API, meaning you will not need
53+ Protobuf Edition 2024 defaults to the Opaque API, meaning you will not need
5454extra imports or options anymore:
5555
5656``` proto
@@ -61,8 +61,6 @@ package log;
6161message LogEntry { … }
6262```
6363
64- The release date estimate for Protobuf Edition 2024 is early 2025.
65-
6664For your convenience, you can also override the default API level with a
6765` protoc ` command-line flag:
6866
You can’t perform that action at this time.
0 commit comments