diff --git a/CHANGELOG.md b/CHANGELOG.md index 5dc767c2a..1b753704c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # CHANGELOG +## v12.2.0 + +### New Features + +- Added `autorest.WithXML`, `autorest.AsMerge`, `autorest.WithBytes` preparer decorators. +- Added `autorest.ByUnmarshallingBytes` response decorator. +- Added `Response.IsHTTPStatus` and `Response.HasHTTPStatus` helper methods for inspecting HTTP status code in `autorest.Response` types. + +### Bug Fixes + +- `autorest.DelayWithRetryAfter` now supports HTTP-Dates in the `Retry-After` header and is not limited to just 429 status codes. + ## v12.1.0 ### New Features diff --git a/autorest/version.go b/autorest/version.go index d3e57b509..8ba0f591d 100644 --- a/autorest/version.go +++ b/autorest/version.go @@ -19,7 +19,7 @@ import ( "runtime" ) -const number = "v12.1.0" +const number = "v12.2.0" var ( userAgent = fmt.Sprintf("Go/%s (%s-%s) go-autorest/%s",