PackageTrack
Sign in Get early access

github.com/pkg/errors

v0.9.1 #397 most downloaded on Go modules pkg/errors

What this package is like to depend on

Last release 4 months ago

27 Mar 2026

Ships unpredictably

gaps range from 9 days to 5.3 years

Most releases are documented

notes for 10 of 13 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

156 releases · first in 2015

2 releases in the last 12 months

see the full history below

Release timeline

156 releases · Dec 2015 to Mar 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 156
  1. v2.0.0-20201214064552-5dd12d0cfe7f+incompatible 14 Dec 2020 pre-release

    Nothing published for this version

  2. v2.0.0-20200114194744-614d223910a1+incompatible 14 Jan 2020 pre-release

    Nothing published for this version

  3. v0.9.2-0.20260327151000-87f8819acf6d 27 Mar 2026 pre-release

    Nothing published for this version

  4. v0.9.2-0.20201214064552-5dd12d0cfe7f 14 Dec 2020 pre-release

    Nothing published for this version

  5. v0.9.1 14 Jan 2020
    Release notes

    pkg/errors 0.9.1 is a bug fix release for errors 0.9.0. This restore the previous behaviour on Cause method, this behaviour was changed on the PR: #215 and many breaking changes was produced by that.

    Open source →
  6. v0.9.1-0.20201214064552-5dd12d0cfe7f 14 Dec 2020 pre-release

    Nothing published for this version

  7. v0.9.1-0.20200114194744-614d223910a1 14 Jan 2020 pre-release

    Nothing published for this version

  8. v0.9.0 07 Jan 2020
    Release notes

    errors 0.9.0 is a preparation release for a 1.0 final release. Also we were working on removing support for Go 1.8, 1.9 and 1.10 and earlier, and become compatible this package with new way of errors on Go 1.13.

    We tried to move into runtime.CallerFrames but this was not possible, you can show the explanation here: Issue 188.

    The motivation for do the backward compatible this package with Go 1.13 is that you can migrate the easy way for this to the new way.

    Now you could use the methods, Is and As, and the Unwrap() interface like on the standard library.

    The method Cause is now compatible with fmt.Errorf("%w", err) and with the Unwrap() interface.

    On the same way the methods related with wrapping on this package now are compatible with Cause and Unwrap() interface.

    Improvements

    • .travis.yml Now use make file.
    • reduce allocations when printing stack traces. Thanks @cstockton
    • Reduce allocations in Stacktrace.Format
    • Add Support to Go 1.13. Thanks @jayschwa, @Sherlock-Holo and @puellanivis.
    • Add json.Marshaler support to the Frame type. Thanks @flimzy

    Bugs fixed

    • .travis.yml Adjust Go versions. Thanks @komuw, @aperezg
    • minor fix in an example to print Stack Trace. Thanks @bep.
    • Remove not necessary code.
    • Clean up documentation. Thanks @seh.
    Open source →
  9. v0.8.2-0.20201214064552-5dd12d0cfe7f 14 Dec 2020 pre-release

    Nothing published for this version

  10. v0.8.2-0.20200107213324-49f8f6172961 07 Jan 2020 pre-release

    Nothing published for this version

  11. v0.8.2-0.20200103123654-004deef56200 03 Jan 2020 pre-release

    Nothing published for this version

  12. v0.8.2-0.20200103112531-6d954f502eb8 03 Jan 2020 pre-release

    Nothing published for this version

  13. v0.8.2-0.20191109102316-7f95ac13edff 09 Nov 2019 pre-release

    Nothing published for this version

  14. v0.8.2-0.20191109083342-ca0248e19bef 09 Nov 2019 pre-release

    Nothing published for this version

  15. v0.8.2-0.20190227000051-27936f6d90f9 27 Feb 2019 pre-release

    Nothing published for this version

  16. v0.8.2-0.20190217225212-856c240a51a2 17 Feb 2019 pre-release

    Nothing published for this version

  17. v0.8.2-0.20190109061628-ffb6e22f0193 09 Jan 2019 pre-release

    Nothing published for this version

  18. v0.8.2-0.20190109055146-58be0d7bd49f 09 Jan 2019 pre-release

    Nothing published for this version

  19. v0.8.2-0.20190109044528-565c8d0e9792 09 Jan 2019 pre-release

    Nothing published for this version

  20. v0.8.2-0.20190109043753-e9933c1c09fb 09 Jan 2019 pre-release

    Nothing published for this version

  21. v0.8.2-0.20190109043026-ee1923e96d84 09 Jan 2019 pre-release

    Nothing published for this version

  22. v0.8.2-0.20190109005833-72fa05efae23 09 Jan 2019 pre-release

    Nothing published for this version

  23. v0.8.2-0.20190106015332-c38ea53d8c3f 06 Jan 2019 pre-release

    Nothing published for this version

  24. v0.8.2-0.20190105110453-c9e70be2405e 05 Jan 2019 pre-release

    Nothing published for this version

  25. v0.8.2-0.20190105090553-42ce1b6a1217 05 Jan 2019 pre-release

    Nothing published for this version

  26. v0.8.2-0.20190105085915-d56363987d92 05 Jan 2019 pre-release

    Nothing published for this version

  27. v0.8.2-0.20190105085434-308074fef001 05 Jan 2019 pre-release

    Nothing published for this version

  28. v0.8.2-0.20190105082303-4f47277723cb 05 Jan 2019 pre-release

    Nothing published for this version

  29. v0.8.2-0.20190105040006-537896ad6e7a 05 Jan 2019 pre-release

    Nothing published for this version

  30. v0.8.2-0.20190105035417-31aac83bad79 05 Jan 2019 pre-release

    Nothing published for this version

  31. v0.8.2-0.20190105023211-5ac96aea2923 05 Jan 2019 pre-release

    Nothing published for this version

  32. v0.8.2-0.20190103065224-ba968bfe8b2f 03 Jan 2019 pre-release

    Nothing published for this version

  33. v0.8.1 03 Jan 2019
    Release notes

    pkg/errors 0.8.1 is a bug fix release for errors 0.8.0. It will be the last version to support Go 1.8 and below. pkg/errors 0.9 and above will require Go 1.9 for the new runtime.CallersFrames API.

    pkg/errors 0.8.1 also adds one new feature, errors.WithMessagef. Ideally this would be held over til 0.9, but that complicates the switch to runtime.CallersFrames.

    Improvements

    • Added errors.WithMessagef. Thanks @chemicL.

    Bugs fixed

    Open source →
  34. v0.8.1-0.20201214064552-5dd12d0cfe7f 14 Dec 2020 pre-release

    Nothing published for this version

  35. v0.8.1-0.20200114194744-614d223910a1 14 Jan 2020 pre-release

    Nothing published for this version

  36. v0.8.1-0.20190109061628-ffb6e22f0193 09 Jan 2019 pre-release

    Nothing published for this version

  37. v0.8.1-0.20190105085425-937e8c55285f 05 Jan 2019 pre-release

    Nothing published for this version

  38. v0.8.1-0.20181023235946-059132a15dd0 23 Oct 2018 pre-release

    Nothing published for this version

  39. v0.8.1-0.20181020222933-d58f94251046 20 Oct 2018 pre-release

    Nothing published for this version

  40. v0.8.1-0.20181014145847-6ed0a2e59ebe 14 Oct 2018 pre-release

    Nothing published for this version

  41. v0.8.1-0.20181008045315-2233dee583dc 08 Oct 2018 pre-release

    Nothing published for this version

  42. v0.8.1-0.20181008045016-e981d1a2c5fa 08 Oct 2018 pre-release

    Nothing published for this version

  43. v0.8.1-0.20180911062113-c059e472caf7 11 Sep 2018 pre-release

    Nothing published for this version

  44. v0.8.1-0.20180311214515-816c9085562c 11 Mar 2018 pre-release

    Nothing published for this version

  45. v0.8.1-0.20180217175701-e1ac100e4667 17 Feb 2018 pre-release

    Nothing published for this version

  46. v0.8.1-0.20180127015812-30136e27e2ac 27 Jan 2018 pre-release

    Nothing published for this version

  47. v0.8.1-0.20171216070316-e881fd58d78e 16 Dec 2017 pre-release

    Nothing published for this version

  48. v0.8.1-0.20171210022416-8842a6e0cc59 10 Dec 2017 pre-release

    Nothing published for this version

  49. v0.8.1-0.20171209233025-e4f506029723 09 Dec 2017 pre-release

    Nothing published for this version

  50. v0.8.1-0.20171018195549-f15c970de5b7 18 Oct 2017 pre-release

    Nothing published for this version

  51. v0.8.1-0.20170910134614-2b3a18b5f0fb 10 Sep 2017 pre-release

    Nothing published for this version

  52. v0.8.1-0.20170505043639-c605e284fe17 05 May 2017 pre-release

    Nothing published for this version

  53. v0.8.1-0.20170316201538-ff09b135c25a 16 Mar 2017 pre-release

    Nothing published for this version

  54. v0.8.1-0.20170227220037-bfd5150e4e41 27 Feb 2017 pre-release

    Nothing published for this version

  55. v0.8.1-0.20161029093637-248dadf4e906 29 Oct 2016 pre-release

    Nothing published for this version

  56. v0.8.1-0.20161002052512-839d9e913e06 02 Oct 2016 pre-release

    Nothing published for this version

  57. v0.8.0 29 Sep 2016
    Release notes

    What's new since version 0.7.1

    errors 0.8.0 decomposes Wrap (and Wrapf) into their component operations, namely adding a message to an error, and adding a stack trace to an error, which were previously merged into a single operation.

    This is accomplished by adding two top level functions, errors.WithMessage and errors.WithStack, and rewriting Wrap and Wrapf in terms of these operations.

    The motivation for this change was need to treat each of the following operations as distinct:

    • Adding a context message to an existing error without altering the stack trace.
    • Adding a stack trace to an existing error without the requirement of adding an additional message.
    • Retrieving the immediate cause of an error; popping one element of the error stack.

    The addition of WithStack and WithMessage increases the surface area of this package by two methods, after long discussions at GopherCon 2016 it was felt strongly that destructuring the operation of Wrap and Wrapf was necessary.

    For the moment Wrap and Wrapf remain, but depending on your feedback may be deprecated in future releases. Please leave comments via the issue link.

    Thanks to @nmiyake and @fabstu for their assistance in preparing this release.

    Bug fixes

    Open source →
  58. v0.7.2-0.20160929013215-3a4fafe48b56 29 Sep 2016 pre-release

    Nothing published for this version

  59. v0.7.2-0.20160929013215-1398fbcad1be 29 Sep 2016 pre-release

    Nothing published for this version

  60. v0.7.2-0.20160929013215-011399d34987 29 Sep 2016 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive