Skip to content

Commit aaf9f40

Browse files
authored
chore: Allow usage of hackney 4.x (#1054)
* Allow usage of hackney 4.x * Update sentry.install to allow hackney 4
1 parent e3a4c91 commit aaf9f40

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/mix/tasks/sentry.install.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ if Code.ensure_loaded?(Igniter) do
4343
def info(_argv, _composing_task) do
4444
%Igniter.Mix.Task.Info{
4545
group: :sentry,
46-
adds_deps: [{:jason, "~> 1.2"}, {:hackney, "~> 1.8"}],
46+
adds_deps: [{:jason, "~> 1.2"}, {:hackney, ">= 1.8.0 and < 5.0.0"}],
4747
example: __MODULE__.Docs.example(),
4848
schema: [dsn: :string],
4949
defaults: [dsn: "<your_dsn>"]

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ defmodule Sentry.Mixfile do
112112
{:nimble_ownership, "~> 1.0"},
113113

114114
# Optional dependencies
115-
{:hackney, "~> 1.8", optional: true},
115+
{:hackney, ">= 1.8.0 and < 5.0.0", optional: true},
116116
{:finch, "~> 0.21", optional: true},
117117
{:jason, "~> 1.1", optional: true},
118118
{:phoenix, "~> 1.6", optional: true},

0 commit comments

Comments
 (0)