|
4 | 4 | <p align="center"><a href="#features">Features</a> section describes in detail about Resty capabilities</p>
|
5 | 5 | </p>
|
6 | 6 | <p align="center">
|
7 |
| -<p align="center"><a href="https://travis-ci.org/go-resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status"></a> <a href="https://codecov.io/gh/go-resty/resty/branch/master"><img src="https://codecov.io/gh/go-resty/resty/branch/master/graph/badge.svg" alt="Code Coverage"></a> <a href="https://goreportcard.com/report/go-resty/resty"><img src="https://goreportcard.com/badge/go-resty/resty" alt="Go Report Card"></a> <a href="https://github.com/go-resty/resty/releases/latest"><img src="https://img.shields.io/badge/version-2.3.0-blue.svg" alt="Release Version"></a> <a href="https://pkg.go.dev/github.com/go-resty/resty/v2"><img src="https://godoc.org/github.com/go-resty/resty?status.svg" alt="GoDoc"></a> <a href="LICENSE"><img src="https://img.shields.io/github/license/go-resty/resty.svg" alt="License"></a> <a href="https://github.com/avelino/awesome-go"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Go"></a></p> |
| 7 | +<p align="center"><a href="https://travis-ci.org/go-resty/resty"><img src="https://travis-ci.org/go-resty/resty.svg?branch=master" alt="Build Status"></a> <a href="https://codecov.io/gh/go-resty/resty/branch/master"><img src="https://codecov.io/gh/go-resty/resty/branch/master/graph/badge.svg" alt="Code Coverage"></a> <a href="https://goreportcard.com/report/go-resty/resty"><img src="https://goreportcard.com/badge/go-resty/resty" alt="Go Report Card"></a> <a href="https://github.com/go-resty/resty/releases/latest"><img src="https://img.shields.io/badge/version-2.4.0-blue.svg" alt="Release Version"></a> <a href="https://pkg.go.dev/github.com/go-resty/resty/v2"><img src="https://godoc.org/github.com/go-resty/resty?status.svg" alt="GoDoc"></a> <a href="LICENSE"><img src="https://img.shields.io/github/license/go-resty/resty.svg" alt="License"></a> <a href="https://github.com/avelino/awesome-go"><img src="https://awesome.re/mentioned-badge.svg" alt="Mentioned in Awesome Go"></a></p> |
8 | 8 | </p>
|
9 | 9 | <p align="center">
|
10 | 10 | <h4 align="center">Resty Communication Channels</h4>
|
|
13 | 13 |
|
14 | 14 | ## News
|
15 | 15 |
|
| 16 | + * v2.4.0 [released](https://github.com/go-resty/resty/releases/tag/v2.4.0) and tagged on Jan 11, 2021. |
16 | 17 | * v2.3.0 [released](https://github.com/go-resty/resty/releases/tag/v2.3.0) and tagged on May 20, 2020.
|
17 | 18 | * v2.0.0 [released](https://github.com/go-resty/resty/releases/tag/v2.0.0) and tagged on Jul 16, 2019.
|
18 | 19 | * v1.12.0 [released](https://github.com/go-resty/resty/releases/tag/v1.12.0) and tagged on Feb 27, 2019.
|
|
60 | 61 | * Supports `http.RoundTripper` implementation, see [SetTransport](https://godoc.org/github.com/go-resty/resty#Client.SetTransport)
|
61 | 62 | * goroutine concurrent safe
|
62 | 63 | * Resty Client trace, see [Client.EnableTrace](https://godoc.org/github.com/go-resty/resty#Client.EnableTrace) and [Request.EnableTrace](https://godoc.org/github.com/go-resty/resty#Request.EnableTrace)
|
63 |
| - * Since v2.4.0, `RequestAttempt` value supported in trace info also Request instance contains `Attempt` attribute |
| 64 | + * Since v2.4.0, trace info contains a `RequestAttempt` value, and the `Request` object contains an `Attempt` attribute |
64 | 65 | * Debug mode - clean and informative logging presentation
|
65 | 66 | * Gzip - Go does it automatically also resty has fallback handling too
|
66 | 67 | * Works fine with `HTTP/2` and `HTTP/1.1`
|
@@ -106,7 +107,7 @@ Resty author also published following projects for Go Community.
|
106 | 107 |
|
107 | 108 | ```bash
|
108 | 109 | # Go Modules
|
109 |
| -require github.com/go-resty/resty/v2 v2.3.0 |
| 110 | +require github.com/go-resty/resty/v2 v2.4.0 |
110 | 111 | ```
|
111 | 112 |
|
112 | 113 | ## Usage
|
@@ -169,7 +170,7 @@ Response Info:
|
169 | 170 | "headers": {
|
170 | 171 | "Accept-Encoding": "gzip",
|
171 | 172 | "Host": "httpbin.org",
|
172 |
| - "User-Agent": "go-resty/2.3.0-dev (https://github.com/go-resty/resty)", |
| 173 | + "User-Agent": "go-resty/2.4.0 (https://github.com/go-resty/resty)", |
173 | 174 | "X-Amzn-Trace-Id": "Root=1-5f5ff031-000ff6292204aa6898e4de49"
|
174 | 175 | },
|
175 | 176 | "origin": "0.0.0.0",
|
|
0 commit comments