mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-15 00:01:02 -05:00
bumped to 0.18.4
This commit is contained in:
parent
a3a6324d18
commit
87bb4a4994
14
doc/release_notes/0_18_4.md
Normal file
14
doc/release_notes/0_18_4.md
Normal file
@ -0,0 +1,14 @@
|
||||
# 0.18.4
|
||||
|
||||
## Improvements
|
||||
|
||||
* faraday adapter: added support for `#on_data` callback in order to support [faraday streaming](https://lostisland.github.io/faraday/usage/streaming).
|
||||
|
||||
* multipart plugin: removed support for file mime type detection using `mime-types`. The reasoning behind it was that `mime-types` uses the filename, which is a very innacurate detection strategy (ex: an mp4 video will be identified as `application/mp4`, instead of the correct `video/mp4`).
|
||||
* multipart plugin: supported for file mime type detection using `marcel` and `filemagic` was added. Both use the magic header bytes, which is a more accurate strategy for file type detection.
|
||||
|
||||
## Bugfixes
|
||||
|
||||
* webmock adapter has been reimplemented to work with `httpx` plugins (such as the `:retries` plugin). Some other fixes were applied to make it work better under `vcr` (a common `webmock` extension).
|
||||
|
||||
* fixed the URI-related bug which was making requests stall under ruby 3.1 (still not officially testinng against it).
|
||||
@ -1,6 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "socket"
|
||||
require "ipaddr"
|
||||
|
||||
module HTTPX
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module HTTPX
|
||||
VERSION = "0.18.3"
|
||||
VERSION = "0.18.4"
|
||||
end
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
-
|
||||
-
|
||||
name: "0.18.4"
|
||||
path: "0_18_4_md.html"
|
||||
-
|
||||
name: "0.18.3"
|
||||
path: "0_18_3_md.html"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user