gopkg.in/hedzr/errors.v3@v3.3.1/CHANGELOG (about)

     1  # CHANGELOG
     2  
     3  - v3.3.1
     4    - fixed Iss() couldn't test the others except the first error.
     5  
     6  - v3.3.0
     7    - added `Iss(err, errs...)` to test if any of errors are included in 'err'.
     8    - improved As/Is/Unwrap to fit for new joint error since go1.20
     9    - added causes2.Clear, ...
    10    - improved Error() string
    11    - reviewed and re-published this repo from v3.3
    12  
    13  - v3.1.9
    14    - fixed error.Is deep test to check two errors' message text contents if matched
    15    - fixed errors.v3.Join when msg is not empty in an err obj
    16    - fixed causes.WithErrors() - err obj has been ignored even if its message is not empty
    17  
    18  - v3.1.6
    19    - improved/fixed the formatting algorithm on error object
    20    - added more builtin error codes, such as IllegalState
    21    - improved godoc
    22    - added TestCodeRegister
    23    - added integral value as suffix of Code error formatted output.
    24  
    25  - v3.1.5
    26    - fixed `errors.New("").Attach(errs...)` don't skip the `empty` error.  
    27      **Attach ignores an error only if it is nil**.
    28    - fixed the emptiness test for `WithStackInfo`.
    29    - cleanup an unused `if len(errs) > 0`.
    30    - added `WithMaxObjectStringLength(maxObjectStringLen)` for long formatting data/taggedData by WithData/WithTaggedData
    31  
    32  - v3.1.3
    33    - better output of sites and taggedSites
    34  
    35  - v3.1.1
    36    - better message format for a nested error, see [Better format](#better-format-for-a-nested-error)
    37  
    38  - v3.1.0
    39    - added `Join()` to compliant with go1.20 errors.Join
    40    - reviewed all of testcases
    41  
    42  - v3.0.21
    43    - added RegisterCode() at top level for initialize user-defined Coded decl.
    44    - godoc and fix/imp Attach() to copy inner errors' StackTrace
    45    - fix Is() - Is(err, errors.BadRequest) might be dead lock or cannot return the test result probably
    46    - new lint + fmt.
    47    - imp - remove redundant codes
    48    - update withStackInfo.Stack with WithData() - specially for defer recover codes
    49  
    50  - v3.0.15
    51    - fix: make Is() work for go1.12 and below
    52  
    53  - v3.0.13
    54    - fea - IsDescended for error template test
    55    - fix - code and causes are present at same time
    56  
    57  - v3.0.11
    58    - changed the `FormatWith` interface to support error template feature.
    59  
    60  - v3.0.10
    61    - support go1.11-17,18+
    62  
    63  - v3.0.9
    64    - fix - WithErrors will check IsEmpty on an error container and avoid adding it if empty.
    65  
    66  - v3.0.8
    67    - restore error message template
    68    - all features in v2 are restored with a new fluent style
    69  
    70  - v3.0.7
    71    - fix coverall upload
    72    - godoc
    73    - better sites/taggedsites output
    74  
    75  - v3.0.6
    76    - back to master branch
    77  
    78  - v3.0.5
    79    - break out `New(...).Attach(...)`, instead of `New(...).WithErrors(...)`, so that we can make the type architecture clearly and concisely.
    80    - `Builable` and `Error` interface are the abstract representations about our error objects.
    81    - bugs fixed
    82    - more godoc
    83  
    84  - v3.0.3
    85    - review the backward compatibilities
    86  
    87  - v3.0.0
    88    - rewrite most codes and cleanup multiple small types
    89    - use `New(...)` or `NewBuilder()` to make an error with code, message, inner error(s) and customizable stacktrace info.
    90  
    91  - v2.x
    92  
    93  - v1.x
    94  
    95  - v0.x