UPGRADING.md in wine_bouncer-0.4.0 vs UPGRADING.md in wine_bouncer-0.5.0

- old
+ new

@@ -1,7 +1,14 @@ Upgrading WineBouncer ===================== +## Upgrading to >= 0.5.0 + +WineBouncer's exceptions `OAuthUnauthorizedError` and `OAuthForbiddenError` now come with a +corresponding Doorkeeper's error response. You can access it via `response` method of the exception. +For backward compatible, you can still use `message` but the content will be provided by Doorkeeper +error response's description. + ## Upgrading to >= 0.3.0 An new DSL has been introduced to WineBouncer. This DSL will become the preferred way to authorize your endpoints. The authentication trough endpoint description will become deprecated in the future version.