PackageTrack

Go modules · #1701

github.com/samber/oops

v1.23.1samber/oops

Release timeline

177 releases since 2023
202420252026

Releases

  1. v1.23.123 Aug 2026
    Release notes

    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

    Open source →
    Release notes

    v1.23.1 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. v1.23.06 Jul 2026
    Release notes

    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

    Open source →
    Release notes

    v1.23.0

    Compare

    Choose a tag to compare

    Open source →
  3. v1.22.026 May 2026
    Release notes

    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

    • doc: clarify why Wrapf uses fmt.Errorf instead of fmt.Sprintf by @samber in #104

    New Contributors

    Full Changelog: v1.21.0...v1.22.0

    Open source →
    Release notes

    v1.22.0

    Compare

    Choose a tag to compare

    Open source →
  4. v1.21.018 Jan 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.20.0...v1.21.0

    Open source →
    Release notes

    v1.21.0

    Compare

    Choose a tag to compare

    Open source →
  5. v1.20.01 Jan 2026
    Release notes

    What's Changed

    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

    Full Changelog: v1.19.4...v1.20.0

    Open source →
    Release notes

    v1.20.0

    Compare

    Choose a tag to compare

    Open source →
  6. v1.19.413 Nov 2025
    Release notes

    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

    Open source →
    Release notes

    v1.19.4

    Compare

    Choose a tag to compare

    Open source →
  7. v1.19.31 Oct 2025
    Release notes

    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

    Open source →
    Release notes

    v1.19.3

    Compare

    Choose a tag to compare

    Open source →
  8. v1.19.027 Jun 2025
    Release notes

    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

    Open source →
    Release notes

    v1.19.0

    Compare

    Choose a tag to compare

    Open source →
  9. v1.18.127 May 2025

    Nothing published for this version

  10. v1.18.021 May 2025

    Nothing published for this version

  11. v1.17.05 Mar 2025

    Nothing published for this version

  12. v1.16.123 Feb 2025

    Nothing published for this version

  13. v1.16.03 Feb 2025

    Nothing published for this version

  14. v1.15.019 Dec 2024

    Nothing published for this version

  15. v1.14.26 Dec 2024

    Nothing published for this version

  16. v1.14.15 Nov 2024

    Nothing published for this version

  17. v1.14.05 Nov 2024

    Nothing published for this version

  18. v1.13.120 Aug 2024

    Nothing published for this version

  19. v1.13.020 Aug 2024

    Nothing published for this version

  20. v1.12.210 Aug 2024

    Nothing published for this version

  21. v1.12.19 Jul 2024

    Nothing published for this version

  22. v1.12.019 Jun 2024

    Nothing published for this version

  23. v1.11.219 Jun 2024

    Nothing published for this version

  24. v1.11.13 Jun 2024

    Nothing published for this version

  25. v1.11.030 Apr 2024

    Nothing published for this version

  26. v1.10.219 Apr 2024

    Nothing published for this version

  27. v1.10.113 Mar 2024

    Nothing published for this version

  28. v1.10.06 Feb 2024

    Nothing published for this version

  29. v1.9.219 Dec 2023

    Nothing published for this version

  30. v1.9.117 Nov 2023

    Nothing published for this version

  31. v1.9.016 Sept 2023

    Nothing published for this version

  32. v1.8.07 Sept 2023

    Nothing published for this version

  33. v1.7.021 Aug 2023

    Nothing published for this version

  34. v1.6.010 Aug 2023

    Nothing published for this version

  35. v1.5.09 Aug 2023

    Nothing published for this version

  36. v1.4.027 Jun 2023

    Nothing published for this version

  37. v1.3.118 Jun 2023

    Nothing published for this version

  38. v1.3.017 Jun 2023

    Nothing published for this version

  39. v1.2.023 May 2023

    Nothing published for this version

  40. v1.1.018 May 2023

    Nothing published for this version

  41. v1.0.018 May 2023

    Nothing published for this version

  42. v0.19.21 Oct 2025
    Release notes

    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

    Open source →
    Release notes

    v0.19.2

    Compare

    Choose a tag to compare

    Open source →
  43. v0.19.130 Jun 2025
    Release notes

    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

    Full Changelog: v1.19.0...v0.19.1

    Open source →
    Release notes

    v0.19.1

    Compare

    Choose a tag to compare

    Open source →
  44. v0.0.0-20260823195244-503ee3b1f34523 Aug 2026pre-release

    Nothing published for this version

  45. v0.0.0-20260801193442-27d16674d0e51 Aug 2026pre-release

    Nothing published for this version

  46. v0.0.0-20260706194052-0c093f0b88056 Jul 2026pre-release

    Nothing published for this version

  47. v0.0.0-20260705154245-74199a37e4335 Jul 2026pre-release

    Nothing published for this version

  48. v0.0.0-20260705151756-53153e5cd3815 Jul 2026pre-release

    Nothing published for this version

  49. v0.0.0-20260704173248-470a3a22474d4 Jul 2026pre-release

    Nothing published for this version

  50. v0.0.0-20260701193358-844452b37cb71 Jul 2026pre-release

    Nothing published for this version

  51. v0.0.0-20260603134252-c57d8644bc0d3 Jun 2026pre-release

    Nothing published for this version

  52. v0.0.0-20260528145910-37b62d050ba228 May 2026pre-release

    Nothing published for this version

  53. v0.0.0-20260528142754-b7740edd661d28 May 2026pre-release

    Nothing published for this version

  54. v0.0.0-20260528140835-da4f2469813f28 May 2026pre-release

    Nothing published for this version

  55. v0.0.0-20260528133325-5c4605bad7b628 May 2026pre-release

    Nothing published for this version

  56. v0.0.0-20260526231738-50ff369e9af726 May 2026pre-release

    Nothing published for this version

  57. v0.0.0-20260524021446-9c5c4af9b2d224 May 2026pre-release

    Nothing published for this version

  58. v0.0.0-20260515165055-5d0edf21ce3a15 May 2026pre-release

    Nothing published for this version

  59. v0.0.0-20260504184729-457cdc1d78094 May 2026pre-release

    Nothing published for this version

  60. v0.0.0-20260412154111-1460827f264f12 Apr 2026pre-release

    Nothing published for this version