Skip to content

Releases: lainio/err2

v1.2.0

11 Nov 16:48
ece6e9a
Compare
Choose a tag to compare

Changelog

  • ece6e9a Merge pull request #25 from lainio/new-optimizations
  • e023bd0 add formatter.DecamelAndRmTryPrefix to support TryCopy -> copy: annot.
  • dfe3157 fix SetDefault docs
  • 674e7d7 fix assert sample code, add mention of samle/ dir
  • 9d7a288 full error return tracing implementation (like in Zig)
  • 879543f have sample of Try-prefix to use non-local error handling
  • bfa072b optimize package description
  • 33e5472 play-recursion flag added
  • e3fa9c2 refactor readability
  • 20bdd14 release 1.2.0 documentation
  • 7b66b1b require -> except
  • 1961277 use log in sample

v1.1.0

11 Oct 16:15
aa59314
Compare
Choose a tag to compare

Changelog

  • 5a1958b 'assertion violation' -> assertion failure, msgs + new examples
  • 4a427d4 Equal & Len assert better messages
  • 4a8efcb Less and Greater for numbers + example tests
  • 30032f8 Merge branch 'bench-tests' of ssh://github.com-lainio/lainio/err2 into bench-tests
  • c038678 Merge branch 'bench-tests' of ssh://github.com-lainio/lainio/err2 into bench-tests
  • bbce22d Merge branch 'bench-tests' of ssh://github.com-lainio/lainio/err2 into bench-tests
  • b2c779b Merge branch 'golines-fmt' into bench-tests
  • aa59314 Merge pull request #24 from lainio/bench-tests
  • 11f6c9f PushAsserter impl stack with Pop function that's stroge, clever!
  • 0e14aab PushAsserter snippet
  • 04fa9cc Q&D test to optimize assert.Zero even it's generics, good strategy
  • 6fab26b SetAsserter -> PushAsserter & export PopAsserter
  • 73eb244 SetAsserter works only outside unit tests, they MUST use pkg asserter
  • 0191b86 T functions no perf penalty + pkg documentation of T funcs
  • e670166 TLS based optimizations work, next test the switching
  • 94cc27e about panic stack traces
  • 848d840 add
  • ef35568 add calls to assert pkg to cover almost all
  • fc9a0ce assert test
  • baab7e9 bench rule for T functions
  • 0def096 bench rules for assert optimization
  • ef13eed better docs for assert
  • c05d002 better formatting for skimmability
  • e5113f1 better layouts & language proofing
  • fd7b890 cleanup
  • ac8f630 comment: tell why DRY has to be there, no inlining
  • b8b33e4 continue combine readme docs
  • 5d5f0cb debugging help
  • 5cc1710 docs & refactoring
  • a858523 export and use handler.WrapError
  • 4640f46 finalizing
  • 1a81899 first bench tests for currentX() that uses TLS which is slow
  • 041525c fix assert-keep mode
  • 6cbef5b fix code sample
  • 031e87b fix details
  • 555ef4c fix important annotation placement
  • b8bc681 fix: if test panics, adaptive callstack print for runtime.Error
  • 6ae165b fmt with golines
  • cfb04a1 github action version update
  • bffe12b gofmt
  • 47d4495 gofmt
  • 3d6dce2 guide to use PushAsserter 1st now that it works
  • 420ceda in progress: assert pkg manual inlining generic functions
  • b803124 inline optimization for Logf
  • 7a823fb layout & typos
  • 28cc11d learning details
  • 208c157 logo branch
  • 9e3f44c make linter happy
  • d9d2b45 makefile rule for command-line coverage studies
  • 8d57640 mark tester() calls
  • 6c624d8 more
  • 4ad8245 more dynamic sample
  • ed9b897 more output for golines fmt rules
  • 76d2364 new asserts for slice, chan & map
  • 767a53d new benches, and inline bench for assert
  • 88e62f8 new functions + tests: T, T1, T2, T3
  • 09966e0 new markup features
  • 95c1b95 new type Asserter and doc refs to it
  • ee26b3d readability and typos
  • 5d98a51 readable db sample
  • a9dc394 refactor doEmpty -> doNamed
  • 05a0684 refactor result functions for testing
  • fa9e3e8 refactor: test pkg -> require pkg + new helpers
  • 3fc2088 refactoring comments
  • 66af422 release v1.1.0 comments
  • 01fe351 remove deprecated configs
  • 4fc7ffd rest of the assert inline optimized + benches
  • b8cabce rm TODOs
  • 48750a0 rm X() functions & cleanup + MKey OK idiom bench for ref
  • d3ea782 super performance! Split assert functions go get inlining
  • ca6dc12 template asserts benches for S, M and C
  • 74cb677 test PushAsserter as a real stack: Push/Pop
  • 9072412 tests and benches for try.T function
  • d47a5c8 tools for cmd line coverage work
  • 193db9a try.Out.Handle() inlined + benchmark
  • fe63d9c typo
  • c4d5fe7 typo
  • 036cee0 typos in PushAsserter
  • 4a8c5b8 update assert pkg doc
  • 2edd142 update samples/README.md
  • d322e5f use Asserter type in pkg lvl docs
  • af3ea4b wrapping comment, perf point of view
  • 08168e4 zero cov rules refresh automatically

v1.0.0

20 Mar 15:52
95c6e7a
Compare
Choose a tag to compare

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

15 Jan 13:29
9b9a851
Compare
Choose a tag to compare

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

26 Oct 14:53
5ddb751
Compare
Choose a tag to compare

Changelog

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

v0.9.5

23 Oct 16:29
4a7bc51
Compare
Choose a tag to compare

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

21 Aug 15:03
8fe8a79
Compare
Choose a tag to compare

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

17 Aug 12:34
035a755
Compare
Choose a tag to compare

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