- Add support for
NO_PROXYenv variable #361 - Updated Docs
- Run dialyzer as part of the travis build process #357 Thanks to @mmrobins
- Add support to max_body_length #354 #355 Thanks to @pedep
- Add
HTTPoison.Requestandprocess_response#311 #363 #364 #365 #366 - Deprecations:
process_headers/1in favour ofprocess_request_headers/1process_status_code/1 in favour ofprocess_response_status_code/1`process_url/1in favour ofprocess_request_url/1
- Add option
max_body_length#354
- Add Multipart body helper
- Fix issue with empty
HTTP_PROXY - Update Docs
- Fix incorrect typespec on request/5
- HTTPoison.Base behaviour #330
- mix format #332
- Bump Elixir requirement to
~> 1.5
- Add support for socks5 user and pass parameters #323 #325 Thanks, @skie 🎉
- Automatic use of
HTTP_PROXYenv var #306 Thanks to @amencarini
- Fix @specs #288 #304 #289 Thanks to @jknipp, @jeffrom & @amclain
- Relax hackney requirement (#277). Thanks to @tverlaan
- Change HTTPoison transformer to always
spawn_link(#260) - Add
request_urltoHTTPoison.Response(#270)
- Bump hackney version requirement (#244). Thanks @jakehasler
- Add support to encode URLs containing a query string (#223). Thanks @jadlr
- Add
process_request_options(#208). Thanks to @drewolson - Bump hackney to
~> 1.7.0(#228). Thanks to @xinz - Change typespec of
Response.body(#220). Thanks to @deepblue - Add test for a GET request (#219). Thanks to @Lokeh
- Add
{:stream, enumerable}body option (#194). Thanks to @rozap 🎉; - Change overridable functions to be public (#201). Thanks to @paulswartz 🎉;
- Add support for http over unix sockets - requires hackney >= 1.6.3, erlang >= 19. (#185).
- Add support for hackney async once & stream_next/1
- Rewrite
request!/5in a way that does not cause OTP 19 cover to error (#178); - Add
put/1(#175); - Revert
process_errors bubbling up.
- Fix Elixir 1.4 warnings (#166). Thanks to @whatyouhide 🎉;
- Bubble
process_errors up (#169). Thanks to @mootpointer 🎉.
- Add a test and an example of using multiple cookies (#135);
- Change
request/5to catch hackney errors (#141); - Bump Elixir requirement to
~> 1.2; - A couple of changes to README (#133, #136);
- Fix several typos (#142, #146).
- Bump hackney requirement (#131).
- Fix socket leakage related to 204/304 requests;
- Update README and docs.
- Update hackney requirement to
~> 1.4.4.
- Rewrite docs for
HTTPoison.Base.request/5; - Fix async redirect process leak (#80). Thanks to @sdanzan 🎉;
- Add hackney redirect options to HTTPoison (#84). Thanks to @ShaneWilton 🎉.
- Refactor generated functions through
HTTPoison.Base; - Add
ssloption.
- Accept
proxy_authas a first class parameter; - Update ex_doc and earmark.
- Use hackney default values for options;
- Require hackney
~> 1.3.1(#64).
- Update hackney requirement to
~> 1.3.0.
- Add missing docs. Thanks to @whatyouhide;
- [Breaking change] Use list of tuples of strings instead of a dict. Thanks to @tyrchen.
- Add documentation for public functions on
HTTPoison.Base. Thanks to @whatyouhide.
- Add support to
proxyoption. Thanks to @povilas; - Add support to
paramsoption. Thanks to @whatyouhide.
- This version does not include any feature. It specifies a newer version to hackney:
~> 1.0as it brought lots of bugfixes and more stability.
-
API breaking changes:
HTTPoison.HTTPErrorwas renamed toHTTPoison.Error;- Requests will now return
{:ok, response}or{:error, error}; - The old behaviour will be followed by new functions with bang, example:
HTTPoison.get! will follow the old behaviour of HTTPoison.get
Related discussion: edgurgel#27.
- Update hackney to
~> 0.14.1; - Fix error raising (#26).
- Ensure support to 1.0.0-rc1.
- Do not fetch the body on 204, 304 responses. (Thanks to @d0rc);
- Catch body fetching errors and raise proper HTTPError. (Thanks to @sch1zo);
- Use meck hex package on test environment.
- Turn
process_*functions to private functions so you don't need to expose them when overriding; - Add typespecs.
- Ensure support to Elixir 0.15.0;
- Update HTTParrot (using hex package).
- Change to MIT License.
- Update to Elixir 0.14.1.
- Update to Elixir 0.14.0.
- Update to Elixir 0.13.3;
- Accept a map on headers;
- Update deps.
- Update hackney;
- Use maps/structs instead of ListDicts/records;
- Update to Elixir 0.13.1 and fix deprecation on Application startup (thanks to @knewter);
- This release breaks compatibility with previous versions.
- Add tests to HTTPoison.Base;
- Add process_request_headers;
- New logo;
- Use HTTParrot instead of httpbin on tests.;
- Source code (zip).
- First release.