Releases: elixir-tesla/tesla
Releases · elixir-tesla/tesla
v1.2.1
v1.2.0
Changelog
- NEW: Tesla.client/2 function for building dynamic clients
- [#229, #236, #239, #247, #252] Massive documentation improvements by @amatalai, @RamanBut-Husaim, @davidsulc & @ktec
- [#243] Expose
:timeout
parameter in ibrowse adapter by @argl - [#246] Encode/decode configuration for FormUrlencoded by @Fire-Dragon-DoL
- [#251] Better Mutipart error handling by @ConnorRigby
- [#221, #223] Small documentation improvements
- Elixir 1.7 support
v1.1.0
Changelog
- [#156] KeepRequest middleware
- [#194] Mock helpers
- [#203] Update the redirect middleware to preserve the original request by @mpinkston
- [#209] Conditional
@doc
torequest!
method by @chevinbrown - [#214] JSON middleware custom content type by @jcsrb
- [#227] Handle custom structs in
Logger.debug_body
- [#198, #199, #200] Documentation fixes by @DNNX, @brittlewis12 and @doughsay 📚
v1.0.0
Important
This is a major release that includes a number of breaking changes.
If you upgrade from 0.x see the migration guide.
Breaking changes
- [#159] Dropped aliases support
- [#171] Dropped local middleware/adapter functions
- [#176] Dropped client as function
- [#164] Dropped support for Elixir 1.3
- [#177]
get(..)
,post(..)
, etc. now return{:ok, Tesla.Env.t} | {:error, reason}
(There areget!
,post!
, ... functions with 0.x behaviour - [#160] Headers are now a list
- [#150] DebugLogger merged into Logger
- [#175] Jason is the new default JSON library
- Adapter options need to be wrapped in :adapter key:
There has been 0 changes between v1.0.0-beta.1
and v1.0.0
(except for version bump v1.0.0-beta.1...v1.0.0)
v0.10.0
v0.9.0
- [#104] New: Introduced Tesla.Client with pre & post middleware lists
- [#110] New: Introduced Tesla.Mock
- [#119] New: Timeout middleware by @emerleite
- [#103] Fixed
with_body
option for hackney by @amatalai - [#105] Customize rescued errors in Tuples middleware
- [#106] Multipart support for DebugLogger by @amatalai
- [#111] Added guards to http function for better error reporting
- [#112] Updated README and all docs
- [#113] Do not JSON-encode raw binary
- [#117] Add Multipart.add_file_content function by @visciang
v0.8.0
v0.7.2
v0.7.1
v0.7.0
- [#58] BREAKING:
autoredirect: false
for httpc by default - by @amatalai - [#55] More improvements to FollowRedirect middleware - by @amatalai
- [#59] Stream support for httpc - by @amatalai
- [#62] Stream support for ibrowse - by @amatalai
- [#61]
X-HTTP-Method
override middleware - by @amatalai - [#63] Fix passing options to ibrowse - by @hwuethrich
- [#67] Basic Auth middleware - by @zolrath
- Updated & relaxed dependencies