diff --git a/CHANGELOG.md b/CHANGELOG.md index 571e6d7..9fa6f5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ## Next -- 2022-07-28 Dashkevych Oleksii (@jesterovskiy) Add option to filter services +* 2022-07-28 Dashkevych Oleksii (@jesterovskiy) Add option to filter services Pass a `:filter` hash as an option to `Diplomat::Service.get` to filter https://www.consul.io/api-docs/catalog#filtering-1. +* Relax dependency on Faraday, so 2.x versions can be used again (#223) ## 2.6.3 diff --git a/diplomat.gemspec b/diplomat.gemspec index fed97f4..e50774f 100644 --- a/diplomat.gemspec +++ b/diplomat.gemspec @@ -27,6 +27,7 @@ Gem::Specification.new 'diplomat', Diplomat::VERSION do |spec| spec.add_runtime_dependency 'deep_merge', '~> 1.2' # See https://github.com/WeAreFarmGeek/diplomat/issues/223 - # For now, diplomat does not work with faraday 2.x - spec.add_runtime_dependency 'faraday', '>= 0.9', '< 2.0' + # Diplomat does not work with 2.0 of Faraday, but does with 2.0.1+ + # See https://github.com/lostisland/faraday/blob/main/CHANGELOG.md#201-2022-01-05 + spec.add_runtime_dependency 'faraday', '>= 0.9', '!= 2.0.0', '< 3.0' end