Skip to content

Conversation

@renovate-sh-app
Copy link

This PR contains the following updates:

Package Change Age Confidence
github.com/cockroachdb/errors v1.9.1v1.12.0 age confidence

Release Notes

cockroachdb/errors (github.com/cockroachdb/errors)

v1.12.0

Compare Source

What's Changed

Full Changelog: cockroachdb/errors@v1.11.3...v1.12.0

v1.11.3

Compare Source

What's Changed

New Contributors

Full Changelog: cockroachdb/errors@v1.11.2...v1.11.3

v1.11.2

Compare Source

What's Changed

New Contributors

Full Changelog: cockroachdb/errors@v1.11.1...v1.11.2

v1.11.1

Compare Source

No functionality or API changes in this version. We downgrade the go version requirement in go.mod to 1.19 since only tests actually use go 1.20 APIs.

This makes the 1.11.1 version suitable for deploying with projects that are not yet on go 1.20 but require forward compatibility with multi-cause errors encoded by version 1.11.0 or greater of this library. (We had previously released 1.10.1 for this purpose, but that wasn't necessary in retrospect.)

What's Changed

New Contributors

Full Changelog: cockroachdb/errors@v1.11.0...v1.11.1

v1.11.0: go 1.20 compatibility and multi-cause error support

Compare Source

This release adds support for go 1.20 and its multi-cause errors introduced into the errors API.

Multi-cause errors are now supported

These were introduced in go 1.20

  • Errors with multiple causes are encoded/decoded over the network along with their error causal tree
  • Errors with multiple causes are formatted appropriately when printed verbosely
  • Errors with multiple causes are formatted appropriately in Sentry reports
  • Is and As support is now compatible with multi-cause errors (matching stdlib changes)

The public API gains a number of new functions

See the README for details.

  • Join adds a drop-in replacement for the new stdlib function to combine an arbitrary number of errors into one (Thank you @​StevenACoffman)
  • Ability to register multi-cause encoders/decoders for custom error types
  • Ability to register encoders for custom error types that override the error messages of their causal chain (previously, this behavior was inferred in the decoder and could result in unintended formatting behavior)

A bug was fixed in the formatting of wrapped errors that resulted in only the innermost cause getting printed (#​113)

What's Changed

New Contributors

Full Changelog: cockroachdb/errors@v1.10.0...v1.11.0

v1.10.1: multi-cause error support without requiring go 1.20

Compare Source

This release is identical to v1.11.0 except that it remains compatible with pre 1.20 go versions. This allows for rolling out support in your system in a backwards compatible manner, allowing applications that are not using go 1.20 to decode and interpret multi-cause errors generated by newer versions of this library.


This release adds support for go 1.20 and its multi-cause errors introduced into the errors API.

Multi-cause errors are now supported

These were introduced in go 1.20

  • Errors with multiple causes are encoded/decoded over the network along with their error causal tree
  • Errors with multiple causes are formatted appropriately when printed verbosely
  • Errors with multiple causes are formatted appropriately in Sentry reports
  • Is and As support is now compatible with multi-cause errors (matching stdlib changes)

The public API gains a number of new functions

See the README for details.

  • Join adds a drop-in replacement for the new stdlib function to combine an arbitrary number of errors into one (Thank you @​StevenACoffman)
  • Ability to register multi-cause encoders/decoders for custom error types
  • Ability to register encoders for custom error types that override the error messages of their causal chain (previously, this behavior was inferred in the decoder and could result in unintended formatting behavior)

A bug was fixed in the formatting of wrapped errors that resulted in only the innermost cause getting printed (#​113)

What's Changed

New Contributors

Full Changelog: cockroachdb/errors@v1.10.0...v1.11.0

v1.10.0: Dependency updates, gRPC API and redaction improvements

Compare Source

Add status.Errorf to the gRPC Wrappers #​110

This change updates our gRPC API to match the grpc-go status package more closely.

Update the redact dependency. #​111

This release upgrade the cockroachdb/redact dependency in this project.
The upgrade leads to improved empty string handling in redacted error outputs. Details can be seen in the data driven test changes.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Need help?

You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section.

| datasource | package                       | from   | to      |
| ---------- | ----------------------------- | ------ | ------- |
| go         | github.com/cockroachdb/errors | v1.9.1 | v1.12.0 |


Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

😢 zizmor failed with exit code 14.

Expand for full output
error[unpinned-uses]: unpinned action reference
  --> ./.github/workflows/release.yml:19:9
   |
19 |       - uses: goreleaser/goreleaser-action@v4
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action is not pinned to a hash (required by blanket policy)
   |
   = note: audit confidence → High

error[cache-poisoning]: runtime artifacts potentially vulnerable to a cache poisoning attack
  --> ./.github/workflows/release.yml:16:9
   |
 3 | / on:
 4 | |   push:
 5 | |     tags:
 6 | |       - 'v[0-9]+.[0-9]+.[0-9]+'
   | |_______________________________- generally used when publishing artifacts generated at runtime
...
16 |         - uses: actions/setup-go@v4
   |           ^^^^^^^^^^^^^^^^^^^^^^^^^ cache enabled by default here
   |
   = note: audit confidence → Low
   = note: this finding has an auto-fix

10 findings (4 ignored, 4 suppressed, 1 fixable): 0 informational, 0 low, 0 medium, 2 high

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants