From 40966e55f330d3c825a864e77c390c3a89a1a954 Mon Sep 17 00:00:00 2001 From: Nicholas Moen Date: Mon, 15 Apr 2024 14:35:57 -0600 Subject: [PATCH] Update README to use newest versions of dependencies (#670) - Also prefer the `~>` operator when installing packages (e.g. Jason) - Pin to major versions instead of patches --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f14aeedb..18e0a929 100644 --- a/README.md +++ b/README.md @@ -61,13 +61,13 @@ Add `:tesla` as dependency in `mix.exs`: ```elixir defp deps do [ - {:tesla, "~> 1.4"}, + {:tesla, "~> 1.9"}, # optional, but recommended adapter - {:hackney, "~> 1.17"}, + {:hackney, "~> 1.20"}, # optional, required by JSON middleware - {:jason, ">= 1.0.0"} + {:jason, "~> 1.4"} ] end ``` @@ -198,8 +198,8 @@ When using adapter other than `:httpc` remember to add it to the dependencies li ```elixir defp deps do [ - {:tesla, "~> 1.4.0"}, - {:hackney, "~> 1.10"} # when using hackney adapter + {:tesla, "~> 1.9"}, + {:hackney, "~> 1.20"} # when using hackney adapter ] end ```