v1.23.0
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