Ky është versioni i fundit. · Publikuar:
Skedarët e instalimit 1.76.0
| Arkitektura | Lloji | Shtrirja | Madhësia e skedarit | Shkarkimi | SHA256 |
|---|---|---|---|---|---|
| 64-bit | ZIP → Portativ | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portativ | — | — | github.com | VirusTotal |
Lidhja dhe SHA256 vijnë nga manifesti i komunitetit të Windows Package Manager. Krahasoni hash-in e skedarit të shkarkuar para se ta ekzekutoni.
Shënimet e versionit
• 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.