Skip to content

Releases: ajvondrak/remote_ip

v1.2.0

10 Jun 00:42
Compare
Choose a tag to compare
  • Bump minimum supported Elixir version to 1.12
  • Fix deprecation warning around default step in range; see #35

v1.1.0

16 Nov 21:31
Compare
Choose a tag to compare
  • Requires Elixir v1.10 or higher
  • Fixes deprecation warnings on Elixir v1.14; see #31

v1.0.0

21 Mar 22:20
Compare
Choose a tag to compare
  • Supports Elixir v1.7 or higher
  • Improved documentation
  • Added Logger metadata; see #22
  • New MFA-style runtime options; see RemoteIp.Options
  • New compile-time debugging is now configurable and disabled by default; see RemoteIp.Debugger
  • New interface for custom parsers; see RemoteIp.Parser
  • Dropped inet_cidr dependency; now :proxies & :clients recognize all valid CIDR strings as well as individual IPs, and it's more performant

v0.2.1

13 Feb 02:52
Compare
Choose a tag to compare

Fixes issue where bad Unicode input in the headers would raise an exception. See #19.

v0.2.0

21 Oct 21:43
Compare
Choose a tag to compare

New functionality! 🎉

  • Add RemoteIp.from/2 so you can retrieve the retrieve the originating client IP from a given list of headers without using a plug. See #9 for background.
  • Teach RemoteIp.init/1 the new :clients option, which lets you override the default loopback/reserved addresses automatically appended to :proxies. See #8, #10, and #11 for background.
  • Add debug logging so that you can troubleshoot issues like #6 and #13 easier.
  • Bump Elixir/Plug dependencies to version ~> 1.5, as earlier versions are no longer officially supported.
  • Miscellaneous refactoring and documentation.

v0.1.5

20 Aug 02:40
Compare
Choose a tag to compare

Fixes mix release errors under Elixir 1.9. See #1, #12, #14, #15, #16, #17.

v0.1.4

15 Nov 17:04
Compare
Choose a tag to compare

Miscellaneous maintenance

  • Silence Elixir 1.5 deprecation warnings over Kernel.to_char_list/1 (cf. elixir-lang/elixir#4909, elixir-lang/elixir#4582). Since the mixfile here locks us to Elixir ~> 1.3, it should be safe to just use Kernel.to_charlist/1.
  • Bump the combine dependency due to errors reported in #5.

v0.1.3

01 Feb 01:34
Compare
Choose a tag to compare

Silence Elixir 1.4 warnings to do with zero-arity function calls that don't use parens.

This is a backwards-compatible change with Elixir 1.3, but stops Elixir 1.4 from badgering you.

Cf. elixir-lang/elixir#3268 and #2.

v0.1.2

16 Jan 21:14
Compare
Choose a tag to compare

v0.1.1 succeeded in only fixing one runtime issue for Erlang deploys (i.e., apps built using something like distillery). Forwarded header parsing would still break because a dependency was not being declared in the application definition.

This release adds all dependencies to the application definition, so Erlang deploys should now work. 👍

v0.1.1

14 Dec 16:38
Compare
Choose a tag to compare

Add inet_cidr dependency to included_applications, since its absence apparently breaks the Erlang release of your app. 😱