All Versions
41
Latest Version
Avg Release Cycle
31 days
Latest Release
1119 days ago
Changelog History
Page 1
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 ofErrorHandler
andErrorHandlerContext
)
๐ Changed
- ๐ Renamed
NewErrorHandlerContext
toWithContextExtractor
๐ Deprecated
ErrorHandlerSet
interface: useErrorHandlerFacade
instead.NewErrorHandlerContext
handler compositor: useWithContextExtractor
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
interfaceErrorHandlerContext
interfaceErrorHandlerSet
interface (combination ofErrorHandler
andErrorHandlerContext
)ErrorHandlers
error handler listErrorHandlerFunc
error handler function wrapperErrorHandlerContextFunc
error handler function wrapperNoopHandler
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 returnErrorHandlerSet
- โก๏ธ Updated errors packages
๐ Deprecated
Handler
interface. UseErrorHandler
instead.ContextAwareHandler
interface. UseErrorHandlerContext
instead.Handlers
error handler list. UseErrorHandlers
instead.HandlerFunc
error handler function wrapper. UseErrorHandlerFunc
instead.Handle
helper function. UserErrorHandler.Handle
instead.NewNoopHandler
no-op error handler. UseNoopHandler
instead.- 0๏ธโฃ
MakeContextAware
error handler context wrapper. No replacement. (Error handlers are by default context aware) - โ
TestHandler
test error handler. UseTestErrorHandler
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)
- โก๏ธ Updated
-
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 toHandlers
-
v0.21.2 Changes
July 19, 2019โ Added
ContextAwareHandler
interface andMakeContextAware
function
-
v0.21.1 Changes
July 19, 2019โ Added
WithDetails
function
๐ Deprecated
HandlerWithDetails
function. UseWithDetails
instead.keyvals.ToMap
function. Use emperror.dev/errors/utils/keyval.ToMap instead.- ๐ฆ
httperr
package. No replacement (yet).