Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 894 Bytes

UPGRADE.md

File metadata and controls

28 lines (18 loc) · 894 Bytes

Table of Contents generated with DocToc

Upgrade Guide

0.3.0

To improve how errors are forwarded to clients, two Writer interface methods changed from:

  • WriteError(w http.ResponseWriter, r *http.Request, err error)
  • WriteErrorCode(w http.ResponseWriter, r *http.Request, code int, err error)

to

  • WriteError(w http.ResponseWriter, r *http.Request, err interface{})
  • WriteErrorCode(w http.ResponseWriter, r *http.Request, code int, err interface{})

This has no functional implications unless you are implementing the writer interface yourself.