emperror v0.8.0 Release Notes

Release Date: 2018-06-24 // almost 6 years ago
  • โž• Added

    • ForEachCause function to be able to loop through all errors in a chain
    • Context function to get the context from an error (and all parent errors)
    • StackTrace and ExposeStackTrace for working with stack trace
    • logrus hook

    ๐Ÿ”„ Changed

    • airbrake: Use ForEachCause to find an HTTP request embedded into an error
    • HTTP Request handling
    • ๐Ÿ”จ Refactor converting key-value pairs to maps
    • ๐Ÿ‘• Rename HTTP related function names to upper case (according to golint)

    ๐Ÿ›  Fixed

    • airbrake: Make sure the stack trace is available from the topmost error

    โœ‚ Removed

    • Causer interface
    • WithPrefix didn't really make sense with the decorator pattern
    • Contextor interface
    • StackTracer interface
    • ErrorCollection interface