cef42bf3
docs: proto2 is supported for the core surface
README's status table swaps the single \"proto2 deferred\" row for four entries that name what works (required / optional / custom defaults / packed semantics) and what doesn't (extend, extensions, group, MessageSet) so users can decide before they generate. docs/codegen.md replaces the proto2 deferral section with a \"Proto2 support\" page: the three new descriptor attributes (required, default_value, optional everywhere), the existing IsPacked() trick that already produces the right unpacked default, and a concrete list of the four features that still refuse to generate (with the MessageSet upstream-rejection caveat). PLAN.md gains M9 — Proto2 baseline. Wire format, codecs, parser, dynamic, tests are checked off; extend / group / MessageSet stay open because the conformance schema needs all three and they're each their own slice.
Eugene Blikh <bigbes@gmail.com> — 2026-05-17 05:17:14 UTC
Commit cef42bf3d8349e953917d9a0ba1522edadf36bd6 —
view raw patch
Parent(s):
798e8db9
| File | Status | + | − |
|---|---|---|---|
PLAN.md
|
M | +40 | -5 |
README.md
|
M | +25 | -11 |
docs/codegen.md
|
M | +53 | -47 |