Skip to content

Releases: tallarium/reverse_proxy_plug

v3.0.0

11 May 18:06
v3.0.0
6097287
Compare
Choose a tag to compare

Breaking changes

  • no need to pass entire tuple to error callbacks (#202)
    • def fun_error_callback({:error, error}, conn) can now be def fun_error_callback(error, conn)
  • for adapters, separate out requests resulting into a buffered response (request) from those resulting in a streamed response (request_stream), to support adapters which require different request functions for this case (#210)
  • remove default timeout options - HTTPoison timeouts in the adapter are now the library defaults (#213)
  • Minimum required version of Elixir is 1.13, from 1.11 (#200, #221)

New features

  • initial Finch adapter, supporting only buffer response mode (#203)
  • stream response mode support for Tesla >= 1.9.0 (#211)
  • Req adapter, with streaming response mode support >= 0.4.0 (#207, #221, #222)

Fixes

  • add local .tool-versions file to match minimum requirements (#201)
  • move existing cookie recycling to HTTPoison adapter (#217)
  • serialize all lists when putting response headers (#218)
  • update documentation for latest adapter state and comprehensive option documentation (#223)
  • dependency updates (#206)
  • FUNDING.yml (#209)

v2.4.1

07 Apr 13:01
v2.4.1
65ef880
Compare
Choose a tag to compare

Fixes

  • ensure adapter module is loaded before proceeding (#197)
  • remove Transfer-Encoding header logic, since adapters implement this already (#191)
  • remove explicit Cowboy dependency (#190)

v2.4.0

25 Feb 13:30
v2.4.0
97dceca
Compare
Choose a tag to compare

New features

  • optional upstream header transform function using the :normalize_headers option (#180)

Fixes

  • refactor stream handling to optional callback per adapter (#186)
  • migrate to Hammox (#181, #183, #184)
  • dependency updates (#185)
  • misc refactoring (#188)

v2.3.1

24 Feb 14:03
v2.3.1
a876514
Compare
Choose a tag to compare

Fixes

  • rewrite read_body to carry conn forward (#177)
    • Note that this will, for the time being, result in request bodies which may have previously been streamed in certain scenarios now being read entirely into memory before being streamed upstream. #176 tracks the work to restore this behaviour
  • add test coverage reporting to the CI run (#178)

v2.3.0

22 Nov 09:08
a302102
Compare
Choose a tag to compare

New features

  • new option to change headers addition behaviour (#168)

Fixes

  • handle httpoison async errors when response mode is stream (#167)
  • Document options :preserve_host_header, :client_options (#166)
  • plug upgrade (#169)
  • update all dependencies (#171)
  • added dialyzer (#170)

v2.2.0

07 Apr 08:47
4f5b48d
Compare
Choose a tag to compare

New features

  • support httppoison 2 (#158)
  • normalize Tesla query params (#156)

Fixes

  • update credo and fix new issue (#160)
  • update CI base image (#161)
  • update most dependencies (#162)

v2.1.1

29 Oct 08:55
2d39390
Compare
Choose a tag to compare
  • fix: removes transfer-encoding header from responses with non compliant status codes (#151)

v2.1.0

23 Sep 15:04
3b316c4
Compare
Choose a tag to compare

New features

v2.0.0

01 Sep 14:03
b345980
Compare
Choose a tag to compare

Breaking changes

  • HTTPoison and Tesla are optional dependencies, but one of them must be chosen. #141

v1.5.0

23 Aug 12:40
1747a6f
Compare
Choose a tag to compare

New features

  • Support configurable HTTP clients #118
  • Recycle cookies in upstream request #135
  • Handle x-forwarded-for headers #133