Skip to content

Commit

Permalink
Update CHANGES for v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dghubble committed Nov 18, 2018
1 parent cfbbdb0 commit e2624bf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
17 changes: 11 additions & 6 deletions CHANGES.md
Expand Up @@ -4,15 +4,20 @@ 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)
* Add `Doer` interface and setter so request sending behavior can be customized (#21)
* 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)
Expand All @@ -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
Expand All @@ -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.

Expand Down
6 changes: 4 additions & 2 deletions 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)
<img align="right" src="https://storage.googleapis.com/dghubble/small-gopher-with-sling.png">

Sling is a Go HTTP client library for creating and sending API requests.
Expand All @@ -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

Expand Down

0 comments on commit e2624bf

Please sign in to comment.