Tesla Versions Save

The flexible HTTP client library for Elixir, with support for middleware and multiple adapters.

v1.4.1

3 years ago

Changelog

6th anniversary 🎉

Adapters

  • [#424] Gun adapter proxy auths - by @mainframe2

Middlewares

  • [#440] DigestAuth: Use original HTTP method to retrieve digest authorization variables - by @tomekzaw
  • [#436] Logger: Allow setting format at runtime - by @blisscs
  • [#454] KeepRequest: Keep request URL - by @polvalente

Others

  • [#456] Fix: Race condition of Tesla.Mock.mock_global/1 - by @sircinek
  • [#432] Fix: Replace deprecated System.stacktrace() with STACKTRACE - by @sezaru
  • [#433, #434, #449] Fix: Typespecs - by @michaelst, @MasashiYokota, @chulkilee
  • [#441, #442, #446, #448, #457, #460, #461] Documentation improvements - by @moosecodebv, @KrzysiekJ, @kianmeng, @janwillemvd, @seancribbs, @jsmestad, @anubhavp28

https://hexdocs.pm/tesla/1.4.1

v1.4.0

3 years ago

Changelog

Adapters

  • [#420] New: Finch adapter - by @adriankumpf
  • [#368] Hackney error handling - by @xinz
  • [#364, #378, #396] Gun improvements - by @alex-strizhakov
  • [#395, #399] Mint improvements - by @alex-strizhakov, @sezaru

Middlewares

  • [#411] New: DecodeFormUrlencoded and EncodeFormUrlencoded middlewares - by @wingyplus
  • [#287] DecodeRels improved parsing - by @jalcine
  • [#371, #372] FollowRedirects fixes
  • [#382, #419] Telemetry improvements - by @bryannaegele
  • [#414] FollowRedirects improvements - by @rinpatch
  • [#407, #428] Retry improvements - by @britto, @polvalente
  • [#409, #422] Logger improvements - by @Ch4s3 , @thiamsantos

Others

  • [#373] Tesla.Client helper functions - by @dweinand
  • [#375, #406, #418, #423, #426] Documentation - by @jechol, @milmazz, @tcrossland, @thiamsantos, @WLSF
  • [#393, #404, #412, #430] Various small improvements - by @gabrielgiordan, @josevalim, @tobstarr, @wingyplus

https://hexdocs.pm/tesla/1.4.0

v1.3.3

4 years ago

Changelog

  • [#324] New: Conform telemetry middleware to established patterns - by @bryannaegele
  • [#358] Fix for timeout on tls errors in gun adapter - by @alex-strizhakov
  • [#359] Include Tesla.Adapter.Mint timeout's default value in documentation - by @tegon
  • [#366] Fix typespec for opts - by @chulkilee

https://hexdocs.pm/tesla/1.3.3

v1.3.2

4 years ago

Changelog

  • [#354] New: Custom melt conditions for Fuse middleware - by @asniaire
  • [#341] Fix: Preserve original stacktrace when using Timeout middleware - by @esse
  • [#353] Fix: Avoid replacing port in url when using PathParams middleware - by @asniaire
  • [#349] Fix: Status field type specification
  • [#345, #346, #350] - Various mprovements by @kaaboaye, @ngoumard and @PragTob

https://hexdocs.pm/tesla/1.3.2

v1.3.1

4 years ago
  • [#331] Gun adapter by @alex-strizhakov
  • [#344] Vastly improved multipart performance by @lstrzebinczyk
  • [#334] Fix: Drop query when redirecting

https://hexdocs.pm/tesla/1.3.1

v1.3.0

4 years ago

Changelog

  • [#297] New Mint adapter by @RyanSiu1995
  • [#304] New Gun adapter by @alex-strizhakov
  • [#294] Added exponential backoff to Retry middleware by @keathley
  • [#275] Configuration for Retry middleware behaviour by @RyanSiu1995
  • [#313] Added support for relative redirect to FollowRedirects middleware by @myfreeweb
  • [#270] New PathParams middleware
  • [#276] New Telemetry middleware (telemetry integration) by @RyanSiu1995
  • Various Bug Fixes by @adkron, @amatalai, @chulkilee, @hasclass, @jordan0day , @timbuchwaldt

https://hexdocs.pm/tesla/1.3.0

v1.2.1

5 years ago

Changelog

  • [#251] Multipart safety by @ConnorRigby
  • [#257] README updates by @amatalai
  • Header-related functions guards
  • Documentation & typespec improvements

v1.2.0

5 years ago

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

5 years ago

Changelog

  • [#156] KeepRequest middleware
  • [#194] Mock helpers
  • [#203] Update the redirect middleware to preserve the original request by @mpinkston
  • [#209] Conditional @doc to request! 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

5 years ago

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 are get!, 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 https://github.com/teamon/tesla/compare/v1.0.0-beta.1...v1.0.0)