Err2 Versions Save

Automatic and modern error handling package for Go

v1.0.0

2 months ago

Changelog

  • c6b877a *.vim
  • a1bb857 CopyFile doc comments update, use long package names for sub-pkgs
  • 313e26d Handle examples for multi-handler and annotation
  • 314344a Handler multi call moved to internal/handler pkg with tests
  • bbf85b6 Handler must be a type alias, and keep it to handler pkg
  • ca7e9a8 Handler type must be type alias
  • 4a30688 HandlerFn renames & support for multiple handler functions
  • 34754a3 Merge branch 'internal-variadic-removal' into repare-major-release
  • 95c6e7a Merge pull request #23 from lainio/repare-major-release
  • 08a533d Note that with out comma
  • a9218f2 Note that without comma, and updated docs
  • b189b5b Push and Pop works for sub-goroutines + docs
  • 1b8c72d Result2 Def1 & Def2 are two separated now
  • ff0f65c SetLogTrace docs: setting affects to all logging supporting function
  • 4f2b63f Std streams output funcs NoReset-versions
  • 56741bc add missing links to docs
  • 316ba86 adding links to assert pkg
  • bcca59e assert pkg docs: sub-goroutines in unit tests, better English
  • 7d66b3d better docs for panic handler in Handle
  • 41cda29 better documentation INil and INotNil
  • d077657 better documentation, rm not used function
  • cc31822 better message in example
  • 2c48c35 better test case to use elsewhere
  • 4ee44c4 bug fixed, reset the error, now doesn't
  • 07c4a76 clean spaces
  • c2f1416 code block intention
  • 874d11f comment of control flow assertions
  • bfd8dc5 continuing go doc format fixes, we are almost there
  • a9a9c89 docs cleaned and simplify, remove wordiness
  • a0180d6 docs how to combine SetErrorTracer, etc. with Flags
  • 10bd9be documentation about auto-generated messages, better layout, etc.
  • 7920fdf documentation note that you can use Flag pkg with SetXxxTracers
  • c2eec00 documentation of using isErrorOnly
  • dfde0a4 documentation to sample
  • abdb34e english
  • 9ec0e64 err2 main doc's links
  • 9b5e417 explain error return traces and add link to Zig
  • b2d4af0 export because of the doc ref link
  • ed98df4 finalize release 1.0.0 message
  • ad70547 fix documentation
  • a8d6e30 fix some code block intentions
  • 1aeaa32 fix: Plain assert allows override assert msg
  • 097ce05 fixing bugs from prebuilt error handlers
  • a744f45 flag & TestMain info for SetDefault documentation
  • fd0a95f given assert msg is concat to auto-generated msg
  • 089db87 hyperlinks in docs
  • 67cff84 implement&test for auto-annotation for multi-handler API
  • 6a2ea35 internal variadic -> slices
  • 598fd73 ioutil -> io
  • 15dcc61 keep sample short, clean spaces
  • 7a1a1ed missing helper comment in func Log doc
  • efed678 more docs to Plain, Prod, and Dev
  • 1790aa0 more links
  • b56f802 move all handlers from err2.go and add Handlers helper to handlers.go
  • aafd5de move asserter constant's documentation above of section: go doc way
  • 45fa921 multi-handler & auto-annotation documentation to Handle
  • a8e9077 multiple error handlers documentation to Handle/Catch
  • 7087dd6 new stream Copy benchmark
  • ddb444c no use variadic expanse in internals
  • 8f4e835 not used ascii removed
  • 8073fd2 package lvl PushTester info for goroutines
  • 9c7c414 pkg lvl documentations for err2, assert, and try
  • 4550b2e readability of the assert pkg main doc
  • c086eb1 real hyperlinks
  • fb152fa real multi-handler call stack parsing test added
  • e0eec58 release comments of API changes
  • 6bbd852 remove assert.SetDefault
  • 8ab9b40 rm 'That: ' from That and ThatNot asserter functions
  • a308c3e rm exported asserters + rename, some documentation update
  • 4202c60 rm exported types and fix documentation according & export fns
  • 2873776 rm not used func args (linter)
  • c03ed81 sample code has wrong function
  • 1bff1fc sample how to combine SetLogTracer and flag.Parse to have runtime flags
  • c9da721 sample how to use init() with flag defaults for err2
  • c7fec26 sample of using multiple error handlers in one err2.Handle
  • c9d5764 sentinel errors docs, and hyperlinks
  • 28018f4 shitload of links to docs
  • 12db281 split FuncName to allow easy fast debugging
  • 474ff2c start hyperlinks for docs
  • ca5c108 string Len assert benchmark
  • dee8182 string Longer/Shorter cross bug fixed
  • d808c9b typos in assert message
  • fd2d889 update 1.0.0 release comment
  • 7dc62cc update README files for 1.0.0
  • bbf72e7 update documentation
  • 4e2a07a update v1.0.0 release comments
  • 5a5806e use handler pkg's ErrorFn
  • 8ab23ac use hyperlinks in go docs
  • a7a9a13 use org file copy and more samples
  • 809b9aa wrong number strings to bad number

v0.9.52

4 months ago

Changelog

  • 9b9a851 Merge pull request #22 from lainio/assert-no-error
  • ed379b0 Stdnull added
  • fe51c7f ToStdout -> Stdout
  • 74f58ff Wrong errors.Is sample
  • 4161c2b XShorter and XLonger added with a couple of examples
  • 491fdc5 added ClassicFileCopy
  • 3a7efb4 fix catch2stderr and 2stdout snips
  • f43bd01 main catch 2 stderr
  • c18ffb4 new helpers: ToStderr and ToStdout
  • c7af375 release notes for v0.9.52, and changelog
  • 2b939bb rm deprecated assert functions
  • 377a891 rm manual flag sets, we use flags
  • be0e0a4 typo

v0.9.51

7 months ago

Changelog

  • 5ddb751 Merge pull request #21 from lainio/v0.9.51-update
  • 5584cfa more documentation

v0.9.5

7 months ago

Changelog

  • 3fdc697 -benchmem is default test args
  • 1454985 Catch() documentation for logging
  • 4a7bc51 Merge pull request #20 from lainio/new-bechmark-goid
  • c46ab6e assert has own cmd flag
  • 15849e9 asserter flag added
  • e3e35e8 auto-flags: usages & functions
  • 3839dbc better skimmable
  • a351035 check tag format, todo: check tags greater than last
  • 71ea756 empty Catch default is logging now as try.Out().Logf()
  • 6df73f3 escape analysis for err2
  • 99aaf5d flag pkg support documentation
  • 78d7452 flags section formations and language
  • 3f00ec0 fmt
  • 39fc20f goreleaser needs --clean flag
  • b994304 linter, use same assert fmt string
  • 268fcbe more checks in release script
  • 4ae12a4 more cross link information about flag support
  • 8dc46d6 optimization disable comment
  • 162879b readme & changelog update for next release
  • f31a6af refactor asciiWordToInt
  • 88baeb7 refactoring for readability for benchmark
  • 092183a reference benchmark for regexp decamel
  • fd67745 reference benchmark of goroutine ID parsing
  • cd2bf37 release & version information
  • d28d311 remove debug line
  • bc6a48b renamed CamelRegexp -> DecamelRegexp
  • 54821d1 rm TODOs
  • bafa277 rm errors.Join
  • 79bc524 todo removed because it_s handled by handler.Info
  • 7e4bae2 tracer flag pkg support to tracer implementation file
  • 29ce250 tracer flag type is 'stream' & Get implemented
  • 7676ae2 tracer flags auto flag with std lib's pkg
  • f664e14 trying to find reference point for performance problem HeavyPtrPtr

v0.9.41

9 months ago

Changelog

  • 8fe8a79 Merge pull request #19 from lainio/issue-18
  • c432749 assert pkg documentation for asserters
  • 049027f asserter methods deprecated
  • c1538a0 better tests for noerr case and chaingin handlers
  • 9cf5db4 english in try.To docs
  • a1e64a4 godoc typos & better example with multi-error
  • 8589b10 handler_test uses pkg vars, cannot t.Parallel
  • a44fce9 issue-18 bug fix: err wasn't checked, but now is
  • 9924243 keep werr up-to-date in Info
  • b756914 more go doc to try.ToX functions
  • 56256a7 more norrr test cases
  • 7b5af1d new migration helpers for marginal cases
  • a6012a9 t.Parallel for all that's possible
  • a4478e4 tests for issue-18 & t.Parallel for rest
  • 3398b49 version info 0.9.41 to README

v0.9.40

9 months ago

Changelog

  • 0840a45 3x faster deferred err handlers!!
  • b331abb Decamel alloc optimization
  • 11d92a0 Decamel separates pkg name with colon
  • 70cd2aa Logf works without argument
  • 035a755 Merge pull request #17 from lainio/v0-9-40
  • be238e6 add test/example for Catch fmt & bug fix
  • a5e430b added documentation to Result structs
  • cf5f95f all error handlers: func(err error) error
  • 4c79008 automigration quide
  • 27f7922 documentation for the asserter constants
  • 7c6609d finalizing v0.9.40
  • a707c9d func(error) error: is a new handler signature
  • ba69b38 go documentation update
  • b29d8e7 guides started for signature change
  • 1c0c9de informative RED runtime error message when type error detected
  • 03fa868 migration README
  • b7661da migration readme for Handle/Catch signature change
  • 958efb0 new bench rule
  • 8b6f2ea new err2.Handle API called when err == nil, experimental!
  • 5894459 new error handler signature docs & handler helpers: Noop,..
  • d1bd41d new samles to test certain features
  • b732158 new test for out.Handle
  • de3c035 performance boost explanation
  • c6ee08a reference benchmark to compare how well our err2.Handle is optimized
  • c17cc2b snippets for new error handler signature