- Allow fetching config at runtime, for example
{:system, "ENV_VAR"}
inconfig.exs
- Removed
headers/1
in favour of newreq/4
(see below) - Bumped required version of Elixir to
~> 1.7
req/4
accepts a fourth optional parameter that allows you to send extra headers to Stripe, e.g.
%{"Stripe-Account" => "...", "Idempotency-Key" => "..."}
- Relaxed
HTTPoison
dependency version.
- Introducing
testing
mode andStripy.MockServer
behaviour for easier testing.
- Ability to pass options to HTTPoison through the
httpoison
config.
- First version