All Versions
41
Latest Version
Avg Release Cycle
31 days
Latest Release
1297 days ago

Changelog History
Page 1

  • v0.33.0 Changes

    September 09, 2020

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated dependencies
  • v0.32.0 Changes

    January 15, 2020

    โž• Added

    • ErrorHandlerFacade interface (combination of ErrorHandler and ErrorHandlerContext)

    ๐Ÿ”„ Changed

    • ๐Ÿ“‡ Renamed NewErrorHandlerContext to WithContextExtractor

    ๐Ÿ—„ Deprecated

    • ErrorHandlerSet interface: use ErrorHandlerFacade instead.
    • NewErrorHandlerContext handler compositor: use WithContextExtractor instead.
  • v0.31.0 Changes

    January 14, 2020

    โž• Added

    • โž• Add a new error handler that extracts details from a context
  • v0.30.0 Changes

    January 13, 2020

    โž• Added

    • ErrorHandler interface
    • ErrorHandlerContext interface
    • ErrorHandlerSet interface (combination of ErrorHandler and ErrorHandlerContext)
    • ErrorHandlers error handler list
    • ErrorHandlerFunc error handler function wrapper
    • ErrorHandlerContextFunc error handler function wrapper
    • NoopHandler no-op error handler
    • โœ… TestErrorHandler, TestErrorHandlerContext, TestErrorHandlerSet test error handlers

    ๐Ÿ”„ Changed

    • ErrorMatcher is now a simple function type: func(err error) bool (Breaking change)
    • Error handlers created using composition (WithDetails, WithFilter) now return ErrorHandlerSet
    • โšก๏ธ Updated errors packages

    ๐Ÿ—„ Deprecated

    • Handler interface. Use ErrorHandler instead.
    • ContextAwareHandler interface. Use ErrorHandlerContext instead.
    • Handlers error handler list. Use ErrorHandlers instead.
    • HandlerFunc error handler function wrapper. Use ErrorHandlerFunc instead.
    • Handle helper function. User ErrorHandler.Handle instead.
    • NewNoopHandler no-op error handler. Use NoopHandler instead.
    • 0๏ธโƒฃ MakeContextAware error handler context wrapper. No replacement. (Error handlers are by default context aware)
    • โœ… TestHandler test error handler. Use TestErrorHandler instead.
  • v0.23.0 Changes

    January 09, 2020

    ๐Ÿ”„ Changed

    • โšก๏ธ Update dependencies
  • v0.22.1 Changes

    January 06, 2020

    ๐Ÿ”„ Changed

    • โšก๏ธ Updated emperror.dev/errors dependency (fixed race condition)
  • v0.22.0 Changes

    January 06, 2020

    โž• Added

    • WithFilter function to keep certain errors from being handled
  • v0.21.3 Changes

    July 30, 2019

    โž• Added

    • Close function to Handlers
  • v0.21.2 Changes

    July 19, 2019

    โž• Added

    • ContextAwareHandler interface and MakeContextAware function
  • v0.21.1 Changes

    July 19, 2019

    โž• Added

    • WithDetails function

    ๐Ÿ—„ Deprecated