1835 Commits

Author SHA1 Message Date
Matt
88d16b7e2d Provide removed middleware with its own section for clarity 2022-01-03 09:40:52 +01:00
Mattia Giuffrida
2d60ce0ac7 Update UPGRADING.md 2022-01-03 09:40:52 +01:00
Mattia Giuffrida
cb47eca810 Remove multipart middleware and all its documentation and tests. 2022-01-03 09:40:52 +01:00
Matt
93a693b9ef
* Remove retry middleware and all its documentation and tests. (#1356) 2022-01-02 10:19:15 +00:00
Matt
c9b8490bb7
Remove default Faraday.default_adapter value and add exception message with link to usage documentation. (#1354) 2021-12-30 15:38:49 +00:00
Matt
1c3e27616d
Improve documentation for v2 (#1353) 2021-12-30 14:46:00 +00:00
Jonathan Rochkind
b1165eac65
Don't call retry_block if retry won't happen due to max_interval and retry_after (#1350) 2021-12-23 10:30:50 +00:00
DariuszMusielak
a555580f5f
Allow to raise a Faraday::Error without parameters (#1351) 2021-12-21 09:57:19 +00:00
Jason Banahan
5b8c8a6f2e Include latest jruby openssl version
Fixes issues with letsencrypt certificates
2021-12-17 09:24:12 +01:00
Matt
23e2495636
Update version.rb v2.0.0.alpha-4 2021-12-15 15:22:18 +00:00
Simon Schmid
9ef407a028
Callable authorizers (#1345) 2021-12-15 15:21:05 +00:00
Mattia Giuffrida
65b8d3904f Fix Faraday.default_connection_options deep-merge tests v2.0.0.alpha-3 2021-11-30 10:00:43 +00:00
Matt
64058b983c
Bump version to 2.0.0.alpha-3 2021-11-30 09:39:46 +00:00
Matt
cc749c612d
Update UPGRADING.md to highlight change about Faraday.default_connection_options 2021-11-30 09:39:14 +00:00
xkwd
746ab737b5
Replace Hash#merge with Utils#deep_merge for connection options (#1343) 2021-11-30 09:37:13 +00:00
Igor Victor
3caf118cbc
Update ci.yml (#1341) 2021-11-13 15:10:28 +00:00
Matt
d159fac7b5 Remove legacy scripts and convert bootstrap, test and console into the more up-to-date bin scripts 2021-11-02 11:23:20 +01:00
Matt
c6bff34abb
Version bump to 2.0.0.alpha-2 v2.0.0.alpha-2 2021-10-28 10:48:12 +01:00
Matt
498f6027a1 Load the test adapter now that it's the default one. 2021-10-28 10:43:42 +01:00
Matt
de1e9f82d2
Explain plan for faraday_middleware in UPGRADING.md (#1339) 2021-10-27 11:31:19 +01:00
Thomas
b3f417dc20 update changelog 1.8.0 2021-10-26 09:57:28 +02:00
Matt
de78dff26d
Update version.rb v2.0.0.alpha-1 2021-10-25 11:18:02 +01:00
Matt
c010031269
Remove net-http adapter and update docs (#1336) 2021-10-25 11:17:11 +01:00
willianzocolau
ceeaa7476f
Improve request info in exceptions raised by RaiseError Middleware (#1335) 2021-10-16 10:31:49 +02:00
Jonathan Rochkind
1d567df2ee
Retry middleware, exceptions option should handle string exception class name consistently (#1334) 2021-10-12 16:16:52 +02:00
Matt
77a464344a
Swap Gitter badge for GitHub Discussions one in README 2021-10-09 10:47:55 +02:00
Jens Dahl Møllerhøj
5366029282
Register json middleware correctly (#1331) 2021-10-08 14:38:11 +02:00
Matt
506e97afe6
Fix passing a URL with embedded basic auth (#1324) 2021-09-13 16:36:26 +01:00
Matt
04c43898ee
Add Connection#*_auth helpers deprecation to UPGRADING.md 2021-09-13 14:53:35 +02:00
Matt
fdf797bb28 Add Faraday 1.x examples in authentication.md docs
Fixes #1317
Fixes #1314
2021-09-01 10:57:37 +02:00
Yutaka Kamei
0f9626c48d Respect the params_encoder in Faraday::Adapter::Test (#1316) 2021-08-30 09:35:26 +01:00
Matt
dd1552f3ff
Automatically refresh website Team page on commit to default branch (#1315) 2021-08-21 10:27:27 +01:00
Matt
94b7bf4bf8
Update copyright year in README 2021-08-21 08:50:38 +01:00
Olle Jonsson
7de0a389dc
Say "2021" on the docs website
Using the current year has no legal weight, but it pops.
2021-08-20 17:58:17 +02:00
Matt
1dd6d98a28
Update CHANGELOG.md 2021-08-20 09:36:42 +01:00
Olle Jonsson
abe78b5df5 Lint: Lint/RedundantSafeNavigation 2021-08-17 08:44:04 +02:00
Olle Jonsson
fa26357178 Lint: Performance/BlockGivenWithExplicitBlock, and...
also Performance/RedundantSplitRegexpArgument.
2021-08-17 08:44:04 +02:00
Olle Jonsson
120c56988e Lint: skip Performance/StringInclude
We are after the side-effect of setting something in the last match,
from this "useless" RegExp.
2021-08-17 08:44:04 +02:00
Olle Jonsson
f1f36be663 Lint: Style/PerlBackrefs 2021-08-17 08:44:04 +02:00
Olle Jonsson
f0bc54fecb Gem rubocop-inclusivity features are now upstream
This commit enables the Naming/InclusiveLanguage rule.
2021-08-17 08:44:04 +02:00
Olle Jonsson
b79a36f65f Lint: Style/NegatedIfElseCondition 2021-08-17 08:44:04 +02:00
Olle Jonsson
4f6d2f830e RuboCop: Update .rubocop_todo.yml 2021-08-17 08:44:04 +02:00
Olle Jonsson
babfdeaf04 Lint: Avoid an issue with numeric suffix 2021-08-17 08:44:04 +02:00
Olle Jonsson
c95038abb5 Lint: Style/RedundantSelfAssignmentBranch 2021-08-17 08:44:04 +02:00
Olle Jonsson
9fa6a7e2aa Lint: Layout/LineEndStringConcatenationIndentation 2021-08-17 08:44:04 +02:00
Olle Jonsson
c0d97cefa5 Lint: Layout/EmptyLineBetweenDefs 2021-08-17 08:44:04 +02:00
Olle Jonsson
33235f482e Lint: Layout/LineEndStringConcatenationIndentation 2021-08-17 08:44:04 +02:00
Olle Jonsson
b183095c52 Lint: Style/HashConversion 2021-08-17 08:44:04 +02:00
Olle Jonsson
01e840e151 RuboCop: add new rules 2021-08-17 08:44:04 +02:00
Olle Jonsson
cc5391bc0d Gemfile: unlock RuboCop to get 1.x 2021-08-17 08:44:04 +02:00