github.com/cockroachdb/errors
v1.14.0
#793 most downloaded on Go modules
cockroachdb/errors
What this package is like to depend on
Last release 2 months ago
18 Jun 2026
Release timing varies
gaps range from 8 days to 9 months
Rarely documented
notes for 9 of 44 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
163 releases · first in 2019
5 releases in the last 12 months
see the full history below
Release timeline
163 releases · Jun 2019 to Jun 2026Releases
latest 60 of 163-
v1.14.018 Jun 2026Release notes
Open source →What's Changed
- Bump google.golang.org/grpc from 1.56.3 to 1.79.3 by @dependabot[bot] in #157
- errors: re-export ErrUnsupported from stdlib by @dhartunian in #161
Full Changelog: v1.13.0...v1.14.0
-
v1.13.027 Apr 2026Release notes
Open source →What's Changed
- errorbase: optimize errors.Is by @jeffswenson in #153
- build: bump min Go version to 1.25, add 1.26 to CI by @dhartunian in #160
- report: migrate Event.Extra to Event.Contexts (sentry-go v0.46+ compat) by @denniszag in #159
New Contributors
- @jeffswenson made their first contribution in #153
- @denniszag made their first contribution in #159
Full Changelog: v1.12.0...v1.13.0
-
v1.12.1-0.20260422210350-3c36bbd56a8422 Apr 2026 pre-releaseNothing published for this version
-
v1.12.1-0.20251010171200-64801262cd6f10 Oct 2025 pre-releaseNothing published for this version
-
v1.12.002 May 2025Release notes
Open source →What's Changed
- Correct example names for HasType and HasInterface by @alexandear in #144
- with safe details are visible in +v output by @dhartunian in #150
- build: min supported version is go 1.23 by @dhartunian in #152
Full Changelog: v1.11.3...v1.12.0
-
v1.11.4-0.20240817213735-21ed7a0a768717 Aug 2024 pre-releaseNothing published for this version
-
v1.11.4-0.20240817150505-78cdc1d6e47a17 Aug 2024 pre-releaseNothing published for this version
-
v1.11.4-0.20240603155212-5b23426aab2f03 Jun 2024 pre-releaseNothing published for this version
-
v1.11.328 May 2024 -
v1.11.3-0.20240528163405-698c58cf81c428 May 2024 pre-releaseNothing published for this version
-
v1.11.224 May 2024Release notes
Open source →What's Changed
- Fix typos in comments and field names by @alexandear in #128
- IsAny() multi error support by @nikitacrit in #140
- Bump google.golang.org/grpc from 1.53.0 to 1.56.3 by @dependabot in #133
- Bump golang.org/x/net from 0.9.0 to 0.23.0 by @dependabot in #141
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in #142
- chore: pkg import only once by @testwill in #132
New Contributors
- @nikitacrit made their first contribution in #140
- @dependabot made their first contribution in #133
- @testwill made their first contribution in #132
Full Changelog: v1.11.1...v1.11.2
-
v1.11.2-0.20240524190304-bafdccd913d524 May 2024 pre-releaseNothing published for this version
-
v1.11.2-0.20240515202534-b0e6c50841f915 May 2024 pre-releaseNothing published for this version
-
v1.11.2-0.20230831134223-c1cc1919cf9931 Aug 2023 pre-releaseNothing published for this version
-
v1.11.128 Aug 2023Release notes
Open source →No functionality or API changes in this version. We downgrade the go version requirement in
go.modto 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
- ci: update actions; remove unneded check for go version by @alexandear in #124
- Fix typos in comments by @alexandear in #125
- Replace deprecated io/ioutil package with os by @alexandear in #126
- Downgrade go version requirement to 1.19 by @dhartunian in #127
New Contributors
- @alexandear made their first contribution in #124
Full Changelog: v1.11.0...v1.11.1
-
v1.11.1-0.20230828175622-c062e01cfbbe28 Aug 2023 pre-releaseNothing published for this version
-
v1.11.1-0.20230825134746-fed2d3b95d3025 Aug 2023 pre-releaseNothing published for this version
-
v1.11.024 Aug 2023Release notes
Open 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
IsandAssupport is now compatible with multi-cause errors (matching stdlib changes)
The public API gains a number of new functions
See the README for details.
Joinadds 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
- Document intended differences between WithHint and WithDetail (#114) by @omarkohl in #116
- support wrapError encode and decode by @dhartunian in #113
- support multi-cause errors in go 1.20 by @dhartunian in #112
- add formatting for multi-cause errors by @dhartunian in #115
- Add Go 1.20 errors.Join support by @StevenACoffman in #118
- Add multi-cause unwrap into Sentry reporting by @dhartunian in #119
- update README with new public API changes by @dhartunian in #120
- Upgrade to go 1.20 and add multi-cause error support by @dhartunian in #121
New Contributors
Full Changelog: v1.10.0...v1.11.0
-
v1.10.124 Aug 2023Release notes
Open 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
IsandAssupport is now compatible with multi-cause errors (matching stdlib changes)
The public API gains a number of new functions
See the README for details.
Joinadds 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
- Document intended differences between WithHint and WithDetail (#114) by @omarkohl in #116
- support wrapError encode and decode by @dhartunian in #113
- support multi-cause errors in go 1.20 by @dhartunian in #112
- add formatting for multi-cause errors by @dhartunian in #115
- Add Go 1.20 errors.Join support by @StevenACoffman in #118
- Add multi-cause unwrap into Sentry reporting by @dhartunian in #119
- update README with new public API changes by @dhartunian in #120
- Upgrade to go 1.20 and add multi-cause error support by @dhartunian in #121
New Contributors
Full Changelog: v1.10.0...v1.11.0
-
v1.10.1-0.20230823160506-3a3abaca5af323 Aug 2023 pre-releaseNothing published for this version
-
v1.10.1-0.20230822121313-6adb34fbb2cc22 Aug 2023 pre-releaseNothing published for this version
-
v1.10.1-0.20230822120906-042d819c78c422 Aug 2023 pre-releaseNothing published for this version
-
v1.10.1-0.20230816231930-8a8366e6180916 Aug 2023 pre-releaseNothing published for this version
-
v1.10.1-0.20230815184110-5197958531c215 Aug 2023 pre-releaseNothing published for this version
-
v1.10.1-0.20230810165244-14560595c32c10 Aug 2023 pre-releaseNothing published for this version
-
v1.10.012 Jun 2023Release notes
Open source →Add status.Errorf to the gRPC Wrappers #110
This change updates our gRPC API to match the
grpc-gostatus 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. -
v1.9.2-0.20230612160627-a95e8950459012 Jun 2023 pre-releaseNothing published for this version
-
v1.9.2-0.20230612160352-273bb305b20f12 Jun 2023 pre-releaseNothing published for this version
-
v1.9.2-0.20230612103643-126c2191879312 Jun 2023 pre-releaseNothing published for this version
-
v1.9.2-0.20230612103519-b86c85e627ac12 Jun 2023 pre-releaseNothing published for this version
-
v1.9.2-0.20230605060402-f6b9c791b35c05 Jun 2023 pre-releaseNothing published for this version
-
v1.9.2-0.20230320073121-26622367a22220 Mar 2023 pre-releaseNothing published for this version
-
v1.9.2-0.20230228203812-53d4cf3321be28 Feb 2023 pre-releaseNothing published for this version
-
v1.9.2-0.20230228202822-768c81617f0128 Feb 2023 pre-releaseNothing published for this version
-
v1.9.124 Jan 2023Nothing published for this version
-
v1.9.1-0.20220920150436-d402f91eac0620 Sep 2022 pre-releaseNothing published for this version
-
v1.9.1-0.20220425174849-217058372e2025 Apr 2022 pre-releaseNothing published for this version
-
v1.9.1-0.20220309102950-676eef50ce8c09 Mar 2022 pre-releaseNothing published for this version
-
v1.9.009 Mar 2022Nothing published for this version
-
v1.8.10-0.20220425174849-217058372e2025 Apr 2022 pre-releaseNothing published for this version
-
v1.8.10-0.20220309102950-676eef50ce8c09 Mar 2022 pre-releaseNothing published for this version
-
v1.8.914 Feb 2022Nothing published for this version
-
v1.8.9-0.20220214171007-7261bffae3e714 Feb 2022 pre-releaseNothing published for this version
-
v1.8.9-0.20220214165542-006fc4cbcb6a14 Feb 2022 pre-releaseNothing published for this version
-
v1.8.814 Feb 2022Nothing published for this version
-
v1.8.714 Feb 2022Nothing published for this version
-
v1.8.7-0.20220214055604-3d9734e46a5a14 Feb 2022 pre-releaseNothing published for this version
-
v1.8.7-0.20220118134916-7e5786724b2618 Jan 2022 pre-releaseNothing published for this version
-
v1.8.7-0.20220118132218-c71367615dcc18 Jan 2022 pre-releaseNothing published for this version
-
v1.8.7-0.20220118131824-00041db44a8d18 Jan 2022 pre-releaseNothing published for this version
-
v1.8.7-0.20210820223105-985d51314b8d20 Aug 2021 pre-releaseNothing published for this version
-
v1.8.602 Aug 2021Nothing published for this version
-
v1.8.6-0.20210729140624-893137187c9e29 Jul 2021 pre-releaseNothing published for this version
-
v1.8.525 Jun 2021Nothing published for this version
-
v1.8.5-0.20210625131635-56b866a6888d25 Jun 2021 pre-releaseNothing published for this version
-
v1.8.5-0.20210625124045-eea14277377225 Jun 2021 pre-releaseNothing published for this version
-
v1.8.5-0.20210625121136-68e16c54fd1c25 Jun 2021 pre-releaseNothing published for this version
-
v1.8.5-0.20210625114947-568d2b0dc16625 Jun 2021 pre-releaseNothing published for this version
-
v1.8.413 Apr 2021Nothing published for this version
-
v1.8.4-0.20210413161824-e0af12423e0e13 Apr 2021 pre-releaseNothing published for this version