github.com/samber/oops
v1.23.1
#1701 most downloaded on Go modules
samber/oops
What this package is like to depend on
Last release today
23 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Rarely documented
notes for 10 of 43 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
177 releases · first in 2023
58 releases in the last 12 months
see the full history below
Release timeline
177 releases · May 2023 to Aug 2026Releases
latest 60 of 177-
v1.23.123 Aug 2026Release notes
Open source →What's Changed
- chore(deps): bump github/codeql-action from 4 to 4.37.3 by @dependabot[bot] in #142
- chore(deps): bump actions/setup-go from 6 to 7 by @dependabot[bot] in #143
- chore(deps): bump github.com/oklog/ulid/v2 from 2.1.1 to 2.1.2 by @dependabot[bot] in #141
Full Changelog: v1.23.0...v1.23.1
-
v1.23.006 Jul 2026Release notes
Open source →Significant performance improvements: stack traces are now constructed lazily, reducing their cost by up to 90% on code paths where they are not needed.
Performance
- perf(stacktrace): defer frame symbolization to first read 🔥 😍😍😍 by @samber in #137
- perf(helpers): fast-path type assertion in AsOops before errors.As by @samber in #134
- perf(stacktrace): defer shortFuncName to kept frames; drop Sprintf in frame.String by @samber in #136
- perf(error): cut intermediate allocations in LogValue, ToMap and formatVerbose by @samber in #135
- perf(kv): skip merge of absent context/user/tenant maps in snapshot by @samber in #138
- perf(error): check SourceFragmentsHidden before formatting sources by @samber in #139
- perf: reduce allocations in hot paths by @samber in #122
- perf/reduce allocations by @samber in #123
- perf: single-pass chain traversal in LogValue/ToMap/formatVerbose by @samber in #124
- perf: fast-path common pointer types in dereferencePointers + inline tag dedup by @samber in #125
Dependencies
- chore(deps): bump github.com/sirupsen/logrus from 1.9.1 to 1.9.4 by @dependabot[bot] in #130
- chore(deps): bump go.uber.org/zap from 1.26.0 to 1.28.0 by @dependabot[bot] in #126
- chore(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #131
- chore(deps): bump codecov/codecov-action from 6 to 7 by @dependabot[bot] in #132
Full Changelog: v1.22.0...v1.23.0
-
v1.22.026 May 2026Release notes
Open source →Summary
Huge performance gain, thanks to a refactoring of the error builder (#121):
- Use of lazy loading in error builder
- -90% error build time and no more alloc when wrapping nil error (general case)
- -30% to -90% error build time and memory allocation for effective errors
Features
- perf/multiple perf improvements by @samber in #108
- feature/caller skip by @samber in #109
- fix: change User and Tenant param type to ...any by @cley44 in #36
- feat: add AsError[T] generic helper and document AsOops in README by @samber in #103
- fix: OopsError.Is() now compares by identity, not by type by @samber in #105
- fix(trace): explicit Trace() always beats auto-generated trace by @samber in #106
- fix: deep review improvements — bug fixes, docs, and test coverage by @samber in #107
- refactor(tests): migrate to table-driven test pattern by @samber in #120
- refactor(builder): migrate to functional options pattern (linked-list optionFunc) by @samber in #121
- feat: add OopsError.Layers() to inspect individual error chain layers by @samber in #110
- test: add table-driven unit tests for recursive functions by @samber in #111
CI
- chore(ci): adding codeql by @samber in #98
- ci: disable govulncheck, pin go-version-file and add trivyignore in security workflow by @samber in #119
- fix: security scan CI failures by @samber in #112
#115
Dependencies
- chore(deps): bump github.com/samber/lo from 1.52.0 to 1.53.0 by @dependabot[bot] in #102
- chore(deps): bump codecov/codecov-action from 5 to 6 by @dependabot[bot] in #100
- chore(deps): bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in #117
- chore(deps): bump aquasecurity/trivy-action from 0.35.0 to 0.36.0 by @dependabot[bot] in
- ci: add dependabot automerge workflow by @headless-samber in #118
Other
New Contributors
- @cley44 made their first contribution in #36
- @headless-samber made their first contribution in #118
Full Changelog: v1.21.0...v1.22.0
-
v1.21.018 Jan 2026Release notes
Open source →What's Changed
- feat: Add Zap logger formatter with an example. by @muratmirgun in #97
New Contributors
- @muratmirgun made their first contribution in #97
Full Changelog: v1.20.0...v1.21.0
-
v1.20.001 Jan 2026Release notes
Open source →What's Changed
- feat(code): allow any code type by @AndyCokeZero in #94
Other
- chore(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #91
- chore(deps): bump golangci/golangci-lint-action from 8 to 9 by @dependabot[bot] in #92
- chore(deps): bump github.com/sirupsen/logrus from 1.9.0 to 1.9.1 in /loggers/logrus by @dependabot[bot] in #93
New Contributors
- @AndyCokeZero made their first contribution in #94
Full Changelog: v1.19.4...v1.20.0
-
v1.19.413 Nov 2025Release notes
Open source →What's Changed
- test: ensure stacktrace test runs only on main repo by @sruehl in #86
- fix: use strings.Builder for looped concat by @sruehl in #84
- fix(test): the test skipping condition has been reversed by @samber in #88
- fix(errors.Is): fix errors.Is(oopsErr, oopsErr) by @samber in #89
Other
- chore(deps): bump actions/setup-go from 5 to 6 by @dependabot[bot] in #80
- chore(deps): bump github.com/samber/lo from 1.51.0 to 1.52.0 by @dependabot[bot] in #83
New Contributors
Full Changelog: v1.19.3...v1.19.4
-
v1.19.301 Oct 2025Release notes
Open source →Caution
This is a re-release of v0.19.2. I made a mistake in semver versioning.
What's Changed
- refactor(sources): refactor the sources and example by @samber in #71
- style(lint): add .golangci.yml by @samber in #77
- Fix/errors is panic by @samber in #79
Other
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #73
- chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #74
- chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #75
Full Changelog: v1.19.0...v1.19.3
-
v1.19.027 Jun 2025Release notes
Open source →What's Changed
- Improved code safety in 0824269
- Added more documentation, tests, and examples
Dependencies
- chore(deps): bump github.com/samber/lo from 1.50.0 to 1.51.0 by @dependabot in #69
Full Changelog: v1.18.1...v1.19.0
-
v1.18.127 May 2025Nothing published for this version
-
v1.18.021 May 2025Nothing published for this version
-
v1.17.005 Mar 2025Nothing published for this version
-
v1.16.123 Feb 2025Nothing published for this version
-
v1.16.003 Feb 2025Nothing published for this version
-
v1.15.019 Dec 2024Nothing published for this version
-
v1.14.206 Dec 2024Nothing published for this version
-
v1.14.105 Nov 2024Nothing published for this version
-
v1.14.005 Nov 2024Nothing published for this version
-
v1.13.120 Aug 2024Nothing published for this version
-
v1.13.020 Aug 2024Nothing published for this version
-
v1.12.210 Aug 2024Nothing published for this version
-
v1.12.109 Jul 2024Nothing published for this version
-
v1.12.019 Jun 2024Nothing published for this version
-
v1.11.219 Jun 2024Nothing published for this version
-
v1.11.103 Jun 2024Nothing published for this version
-
v1.11.030 Apr 2024Nothing published for this version
-
v1.10.219 Apr 2024Nothing published for this version
-
v1.10.113 Mar 2024Nothing published for this version
-
v1.10.006 Feb 2024Nothing published for this version
-
v1.9.219 Dec 2023Nothing published for this version
-
v1.9.117 Nov 2023Nothing published for this version
-
v1.9.016 Sep 2023Nothing published for this version
-
v1.8.007 Sep 2023Nothing published for this version
-
v1.7.021 Aug 2023Nothing published for this version
-
v1.6.010 Aug 2023Nothing published for this version
-
v1.5.009 Aug 2023Nothing published for this version
-
v1.4.027 Jun 2023Nothing published for this version
-
v1.3.118 Jun 2023Nothing published for this version
-
v1.3.017 Jun 2023Nothing published for this version
-
v1.2.023 May 2023Nothing published for this version
-
v1.1.018 May 2023Nothing published for this version
-
v1.0.018 May 2023Nothing published for this version
-
v0.19.201 Oct 2025Release notes
Open source →Caution
I made a mistake while naming this release. It does not follow semver versioning. Please upgrade to v1.19.3 instead.
What's Changed
- refactor(sources): refactor the sources and example by @samber in #71
- Fix/errors is panic by @samber in #79
- style(lint): add .golangci.yml by @samber in #77
Other
- chore(deps): bump github.com/samber/lo from 1.50.0 to 1.51.0 by @dependabot[bot] in #69
- chore(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #73
- chore(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by @dependabot[bot] in #74
- chore(deps): bump github.com/stretchr/testify from 1.11.0 to 1.11.1 by @dependabot[bot] in #75
Full Changelog: v1.18.1...v0.19.2
-
v0.19.130 Jun 2025Release notes
Open source →Caution
I made a mistake while naming this release. It does not follow semver versioning. Please upgrade to v1.19.3 instead.
What's Changed
Full Changelog: v1.19.0...v0.19.1
-
v0.0.0-20260823195244-503ee3b1f34523 Aug 2026 pre-releaseNothing published for this version
-
v0.0.0-20260801193442-27d16674d0e501 Aug 2026 pre-releaseNothing published for this version
-
v0.0.0-20260706194052-0c093f0b880506 Jul 2026 pre-releaseNothing published for this version
-
v0.0.0-20260705154245-74199a37e43305 Jul 2026 pre-releaseNothing published for this version
-
v0.0.0-20260705151756-53153e5cd38105 Jul 2026 pre-releaseNothing published for this version
-
v0.0.0-20260704173248-470a3a22474d04 Jul 2026 pre-releaseNothing published for this version
-
v0.0.0-20260701193358-844452b37cb701 Jul 2026 pre-releaseNothing published for this version
-
v0.0.0-20260603134252-c57d8644bc0d03 Jun 2026 pre-releaseNothing published for this version
-
v0.0.0-20260528145910-37b62d050ba228 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260528142754-b7740edd661d28 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260528140835-da4f2469813f28 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260528133325-5c4605bad7b628 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260526231738-50ff369e9af726 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260524021446-9c5c4af9b2d224 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260515165055-5d0edf21ce3a15 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260504184729-457cdc1d780904 May 2026 pre-releaseNothing published for this version
-
v0.0.0-20260412154111-1460827f264f12 Apr 2026 pre-releaseNothing published for this version