The flexible HTTP client library for Elixir, with support for middleware and multiple adapters.
v1.18.3
v1.18.3
1.18.3 (2026-06-02)
Important {: .error}
Please be careful using
:hackneyit is recommended to actually test the
application before assuming we did not introduce any breaking changes.
Also, be aware of the security vulnerabilities we have fixed in this release.
Some of them may cause some unexpected behavior from the middleware depending
on the assumptions made by the caller.
Features
Security CVE
- CVE-2026-48598 - Multipart part smuggling via unescaped
content-dispositionvalues - CVE-2026-48597 - Atom exhaustion via untrusted URL scheme
- CVE-2026-48596 - CRLF injection in request
Content-Typeheader viaadd_content_type_param - CVE-2026-48595 - Authorization header leaks on cross-origin redirect via case-sensitive filtering
- CVE-2026-48594 - Decompression bomb on response body
Download
v1.18.0
v1.18.0
1.18.0 (2026-05-14)
Features
- openapi: add response wrapper macro (#872) (f824d67)
- openapi: split header and cookie params (#865) (898bd1a)
- path-params: separate definitions from values (#860) (3639c9a)
- path-params: support precompiled path templates (#859) (a8878a0)
- query-params: separate definitions from values (#862) (08f4d87)
- query: support API-specific query serialization (#843) (9b95efb)
- support OpenAPI-friendly cookie params (#857) (25bcf3c)
- support OpenAPI-friendly header params (#853) (2ec5539)
- support OpenAPI-friendly path params (#851) (0837672)
- support OpenAPI-friendly query params (#852) (7a1b582)
- support OpenAPI-friendly query strings (#858) (a979142)
Bug Fixes
Download
v1.17.0
v1.17.0
1.17.0 (2026-04-18)
Features
- Add :metadata option to Logger middleware (#829) (38e209a)
- add
assignsandprivatefields toTesla.Env(#836) (b8b622c) - client: add put_middleware/2, replace_middleware!/3, update_middleware!/3, and insert_middleware!/4 (#840) (fa755c9)
- client: add update_middleware/2 to transform middleware list (#523) (0689e64)
- logger: emit url.template from KeepRequest preserved URL (#839) (544e1d7)
- logger: semantic OTel metadata and legacy mode (#838) (aae0866)
Bug Fixes
- avoid soft-deprecated warning logs when compiling tesla itself (#834) (ab82264)
- dialyzer spec for mock opts (#831) (440ec4e)
- enhance response handling in Mint adapter (#803) (a672177)
- include caller module name in
use Tesladeprecation warning (#832) (b8fb158) - mint: avoid active-mode message races without breaking reused connections (#812) (d812f54)
Download
- Source: https://github.com/elixir-tesla/tesla
- JSON API: repos.ecosyste.ms
-
PURL:
pkg:github/elixir-tesla/tesla
- Stars 2,076
- Forks 365
- Open issues 9
- License mit
- Language Elixir
- Size 2.64 MB
- Created at over 11 years ago
- Updated at 15 days ago
- Pushed at 15 days ago
- Last synced at 11 days ago
- Dependencies parsed at Pending
- Commits 1006
- Authors 158
- Mean commits per author 6.37
- DDS 0.584
- More commit stats