Skip to content

Commit

Permalink
bump to v3.1.5
Browse files Browse the repository at this point in the history
- v3.1.5
  - fixed `errors.New("").Attach(errs...)` don't skip the `empty` error.
    **Attach ignores an error only if it is nil**.
  - fixed the emptiness test for `WithStackInfo`.
  - cleanup an unused `if len(errs) > 0`.
  - added `WithMaxObjectStringLength(maxObjectStringLen)` for long formatting data/taggedData by WithData/WithTaggedData

Signed-off-by: Hedzr Yeh <hedzrz@gmail.com>
  • Loading branch information
hedzr committed Mar 4, 2023
1 parent 93f7e79 commit 3ff6501
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG

- v3.1.5
- fixed `errors.New("").Attach(errs...)` don't skip the `empty` error.
**Attach ignores an error only if it is nil**.
- fixed the emptiness test for `WithStackInfo`.
- cleanup an unused `if len(errs) > 0`.
- added `WithMaxObjectStringLength(maxObjectStringLen)` for long formatting data/taggedData by WithData/WithTaggedData

- v3.1.3
- better output of sites and taggedSites

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ Wrapped errors and more for golang developing (not just for go1.11, go1.13, and

## History

- v3.1.5
- fixed `errors.New("").Attach(errs...)` don't skip the `empty` error.
**Attach ignores an error only if it is nil**.
- fixed the emptiness test for `WithStackInfo`.
- cleanup an unused `if len(errs) > 0`.
- added `WithMaxObjectStringLength(maxObjectStringLen)` for long formatting data/taggedData by WithData/WithTaggedData

- v3.1.3
- better output of sites and taggedSites
indent and multi-line outputs while formatting with `%+v`
Expand Down

0 comments on commit 3ff6501

Please sign in to comment.