Suositut: Tiedot päivitetty 4. joulukuuta 2026

Kategoriat

Internet1 446
Viestintä332
Ääni ja video951
Grafiikka ja suunnittelu576
Toimisto ja tuottavuus1 198
Kehitystyökalut3 331
Tekoälytyökalut628
Tietoturva ja yksityisyys419
Järjestelmätyökalut3 232
Pelit549
Opiskelu ja tiede245
Verkko ja IT297

Lataa Buf 1.76.0

The best way to work with Protocol Buffers

Tämä on uusin versio. · Julkaistu:

Asennustiedostot 1.76.0

ArkkitehtuuriTyyppiLaajuusTiedostokokoLatausSHA256
64-bittinen ZIP → Portable — — github.com VirusTotal
ARM64 ZIP → Portable — — github.com VirusTotal

Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.

Muutosloki

• Fix LSP go-to-definition, references, hover, and rename for file options.
• Fix an LSP crash when organizing imports in a workspace with a file that fails to build.
• Fix LSP go-to-definition and references for the message named in an `extend` block.
• Fix LSP go-to-definition, references, and rename for enum values used as option values.
• Fix the `PROTOVALIDATE` lint rule to check constant arguments to `duration`, `timestamp`, and `matches` in CEL expressions, such as `duration('1d')` or an invalid regex, which otherwise only fail when the rules are evaluated.
• Add LSP completion, hover, and go-to-definition for CEL expressions in protovalidate predefined rules, including the `rule` and `rules` variables. Type-check CEL expressions against the file's messages, so that hover shows the types of fields and only the overloads a function call resolved to, and completions after an operator such as `this.name == ` match the left operand's type. CEL features no longer treat strings in other options as CEL expressions.
• Fix LSP document links for versioned remote plugins in `buf.gen.yaml`, which pointed to a nonexistent BSR page.
• Write module and Well-Known Type files to the cache as read-only, so that files opened from LSP go-to-definition cannot be accidentally edited.
• Fix LSP hover and highlighting of CEL expressions whose proto strings contain escape sequences, which placed the ranges of string literals, and of tokens after a `\u` or `\U` escape, wrongly.
• Fix `buf build --type=X` filters to correctly mark non-targeted files as imports. The `is_import` comment in `image.proto` is also updated to describe this. Image filtering now has a unified order across commands, where `--path` applies first, then `--type`, then `--exclude-imports`. Some consequences:
• `buf build --type a.A --exclude-imports` outputs only the file that defines `a.A`, and no longer fails when `a.A` has a field whose type is defined in a dependency or a Well-Known Type.
• `buf generate` with `types` no longer generates code for files kept only by reference. To generate them again, set `include_imports:true` on the plugin or add their types.
• `--path` now gives the same result for an image input as for a source input, with or without `--type`.
• Add `ENUM_VALUE_SAME_JSON_NAME` breaking rule to the `CSR`, `FILE`, `PACKAGE`, and `WIRE_JSON` categories, which checks that enum values keep the same JSON name.

https://github.com/bufbuild/buf/releases/tag/v1.76.0