diff --git a/CHANGES.md b/CHANGES.md index 7983f03..f867e0d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,7 +4,12 @@ Notable changes between releases. ## Latest -## v1.1.0 (2016-12-19) +## v1.2.0 + +* Add `Connect`, `Options`, and `Trace` HTTP methods ([c51967](https://github.com/dghubble/sling/commit/c519674860ff275e0ceb12caf5d87b31765c4e71)) +* Skip receiving (i.e. decoding) `204 No Content` responses ([#31](https://github.com/dghubble/sling/pull/31)) + +## v1.1.0 * Allow JSON decoding, regardless of response Content-Type (#26) * Add `BodyProvider` interface and setter so request Body encoding can be customized (#23) @@ -12,7 +17,7 @@ Notable changes between releases. * Add `SetBasicAuth` setter for Authorization headers (#16) * Add Sling `Body` setter to set an `io.Reader` on the Request (#9) -## v1.0.0 (2015-05-23) +## v1.0.0 * Added support for receiving and decoding error JSON structs * Renamed Sling `JsonBody` setter to `BodyJSON` (breaking) @@ -28,19 +33,19 @@ Notable changes between releases. * See the changelog entry about `Receive`, the upgrade path is the same. * Removed HEAD, GET, POST, PUT, PATCH, DELETE constants, no reason to export them (breaking) -## v0.4.0 (2015-04-26) +## v0.4.0 * Improved golint compliance * Fixed typos and test printouts -## v0.3.0 (2015-04-21) +## v0.3.0 * Added BodyStruct method for setting a url encoded form body on the Request * Added Add and Set methods for adding or setting Request Headers * Added JsonBody method for setting JSON Request Body * Improved examples and documentation -## v0.2.0 (2015-04-05) +## v0.2.0 * Added http.Client setter * Added Sling.New() method to return a copy of a Sling @@ -51,7 +56,7 @@ Notable changes between releases. * Changed v0.1.0 method signatures and names (breaking) * Removed Go 1.0 support -## v0.1.0 (2015-04-01) +## v0.1.0 * Support decoding JSON responses. diff --git a/README.md b/README.md index afb0ffa..ff793c6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Sling [![Build Status](https://travis-ci.org/dghubble/sling.png?branch=master)](https://travis-ci.org/dghubble/sling) [![GoDoc](https://godoc.org/github.com/dghubble/sling?status.png)](https://godoc.org/github.com/dghubble/sling) +# Sling [![Build Status](https://travis-ci.org/dghubble/sling.svg?branch=master)](https://travis-ci.org/dghubble/sling) [![GoDoc](https://godoc.org/github.com/dghubble/sling?status.svg)](https://godoc.org/github.com/dghubble/sling) Sling is a Go HTTP client library for creating and sending API requests. @@ -16,7 +16,9 @@ Slings store HTTP Request properties to simplify sending requests and decoding r ## Install - go get github.com/dghubble/sling +``` +go get github.com/dghubble/sling +``` ## Documentation