Skip to content

Commit 08051c3

Browse files
committed
Bump minor version.
1 parent 3c793ef commit 08051c3

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

lib/async/http/faraday/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module Async
77
module HTTP
88
module Faraday
9-
VERSION = "0.19.0"
9+
VERSION = "0.20.0"
1010
end
1111
end
1212
end

readme.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@ Please see the [project documentation](https://socketry.github.io/async-http-far
1515

1616
## Releases
1717

18-
Please see the [project changes](https://socketry.github.io/async-http-faraday/changes/index) for all releases.
18+
Please see the [project releases](https://socketry.github.io/async-http-faraday/releases/index) for all releases.
19+
20+
### v0.20.0
21+
22+
- Implement the new response streaming interface, which provides the initial response status code and headers before streaming the response body.
23+
- An empty response now sets the response body to an empty string rather than `nil` as required by the Faraday specification.
1924

2025
### v0.19.0
2126

22-
- [Support `in_parallel`](https://socketry.github.io/async-http-faraday/changes/index#support-in_parallel)
27+
- [Support `in_parallel`](https://socketry.github.io/async-http-faraday/releases/index#support-in_parallel)
2328

2429
### v0.18.0
2530

26-
- [Config Block](https://socketry.github.io/async-http-faraday/changes/index#config-block)
31+
- [Config Block](https://socketry.github.io/async-http-faraday/releases/index#config-block)
2732

2833
### v0.17.0
2934

30-
- [Per-thread Client Cache](https://socketry.github.io/async-http-faraday/changes/index#per-thread-client-cache)
35+
- [Per-thread Client Cache](https://socketry.github.io/async-http-faraday/releases/index#per-thread-client-cache)
3136

3237
## Contributing
3338

releases.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Releases
22

3-
## Unreleased
3+
## v0.20.0
44

55
- Implement the new response streaming interface, which provides the initial response status code and headers before streaming the response body.
66
- An empty response now sets the response body to an empty string rather than `nil` as required by the Faraday specification.
@@ -11,7 +11,7 @@
1111

1212
The adapter now supports the `in_parallel` method, which allows multiple requests to be made concurrently.
1313

14-
```ruby
14+
``` ruby
1515
adapter = Faraday.new(bound_url) do |builder|
1616
builder.adapter :async_http
1717
end
@@ -31,7 +31,7 @@ puts response3.body # => "Hello World"
3131

3232
This is primarily for compatibility with existing code. If you are designing a new library, you should just use `Async` directly:
3333

34-
```ruby
34+
``` ruby
3535
Async do
3636
response1 = Async{adapter.get("/index")}
3737
response2 = Async{adapter.get("/index")}
@@ -49,7 +49,7 @@ end
4949

5050
The `config_block` provided to the adapter must now return `nil`, `client` or a middleware wrapper around `client`.
5151

52-
```ruby
52+
``` ruby
5353
Faraday.new do |builder|
5454
builder.adapter :async_http do |client|
5555
# Option 1 (same as returning `nil`), use client as is:
@@ -67,7 +67,7 @@ end
6767

6868
The default adapter now uses a per-thread client cache internally, to improve compatibility with existing code that shares a single `Faraday::Connection` instance across multiple threads.
6969

70-
```ruby
70+
``` ruby
7171
adapter = Faraday.new do |builder|
7272
builder.adapter :async_http
7373
end

0 commit comments

Comments
 (0)