Update dependency faraday to v2
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| faraday (source, changelog) | 1.10.4 -> 2.12.0 |
Release Notes
lostisland/faraday (faraday)
v2.12.0
What's Changed
New features ✨
- Make RaiseError middleware configurable to not raise error on certain status codes (e.g. 404) by @clemens in https://github.com/lostisland/faraday/pull/1590
Fixes 🐞
- Add json as an explicit dependency by @deivid-rodriguez in https://github.com/lostisland/faraday/pull/1589
Misc/Docs 📄
- docs: fix grammar by @dijonkitchen in https://github.com/lostisland/faraday/pull/1588
New Contributors
- @dijonkitchen made their first contribution in https://github.com/lostisland/faraday/pull/1588
- @deivid-rodriguez made their first contribution in https://github.com/lostisland/faraday/pull/1589
- @clemens made their first contribution in https://github.com/lostisland/faraday/pull/1590
Full Changelog: https://github.com/lostisland/faraday/compare/v2.11.0...v2.12.0
v2.11.0
What's Changed
This release adds support for the ciphers SSL option (currently supported by the net_http adapter in v3.3+), as well as taking advantage of the support of chained certificates introduced in the net_http adapter in v3.2.
Also, it adds a new ParallelManager#execute interface that improves on the existing one and makes it easier for adapters to support parallel requests. This is currently used by the async-http adapter.
New features ✨
- Add support for a new
ParallelManager#executemethod. by @iMacTia in https://github.com/lostisland/faraday/pull/1584 - Add ciphers attribute to SSLOptions by @womblep in https://github.com/lostisland/faraday/pull/1582
Misc/Docs 📄
- Opt-in for MFA requirement explicitly by @tagliala in https://github.com/lostisland/faraday/pull/1580
- Fix typos by @tagliala in https://github.com/lostisland/faraday/pull/1585
New Contributors
- @tagliala made their first contribution in https://github.com/lostisland/faraday/pull/1580
- @womblep made their first contribution in https://github.com/lostisland/faraday/pull/1582
Full Changelog: https://github.com/lostisland/faraday/compare/v2.10.1...v2.11.0
v2.10.1
What's Changed
- Update JS deps by @olleolleolle in https://github.com/lostisland/faraday/pull/1574
- fix: Avoid lazy-initialized lock by @olleolleolle in https://github.com/lostisland/faraday/pull/1577
Full Changelog: https://github.com/lostisland/faraday/compare/v2.10.0...v2.10.1
v2.10.0
What's Changed
This release introduces support for middleware-level default_options 🎉
You can read more about it in the docs.
New features ✨
- Introduce Middleware DEFAULT_OPTIONS with Application and Instance Configurability by @ryan-mcneil in https://github.com/lostisland/faraday/pull/1572
Bug Fixes 🐞
- Add logger as dependency by @wynksaiddestroy in https://github.com/lostisland/faraday/pull/1573
Misc/Docs 📄
- Configure "npm" package-ecosystem for Dependabot by @yykamei in https://github.com/lostisland/faraday/pull/1571
New Contributors
- @wynksaiddestroy made their first contribution in https://github.com/lostisland/faraday/pull/1573
- @ryan-mcneil made their first contribution in https://github.com/lostisland/faraday/pull/1572
Full Changelog: https://github.com/lostisland/faraday/compare/v2.9.2...v2.10.0
v2.9.2
What's Changed
Bug Fixes 🐞
- Merge relative url without escaping (#1567) by @ykrods in https://github.com/lostisland/faraday/pull/1569
New Contributors
- @ykrods made their first contribution in https://github.com/lostisland/faraday/pull/1569
Full Changelog: https://github.com/lostisland/faraday/compare/v2.9.1...v2.9.2
v2.9.1
What's Changed
New features ✨
- Make dig method case-insensitive in Faraday::Utils::Headers by @vitali-semenyuk in https://github.com/lostisland/faraday/pull/1557
- Add
TooManyRequestsError(429) to error docs by @tijmenb in https://github.com/lostisland/faraday/pull/1565
Bug Fixes 🐞
- Fix compatibility with Ruby 3.4.0-preview1 by @m-nakamura145 in https://github.com/lostisland/faraday/pull/1560
- Support default json decoder even when nil responds to
:loadby @gtmax in https://github.com/lostisland/faraday/pull/1563
Misc/Docs 📄
- add bundler config to dependabot by @geemus in https://github.com/lostisland/faraday/pull/1548
- Add RuboCop disables for Style/ArgumentsForwarding by @olleolleolle in https://github.com/lostisland/faraday/pull/1550
- docs: update
bodyparam type forrun_requestby @G-Rath in https://github.com/lostisland/faraday/pull/1545 - Remove unnecessary rubocop disable comments. by @iMacTia in https://github.com/lostisland/faraday/pull/1551
- Update rack requirement from ~> 2.2 to ~> 3.0 by @dependabot in https://github.com/lostisland/faraday/pull/1549
- Use Rubygems Trusted Publishers to publish. by @iMacTia in https://github.com/lostisland/faraday/pull/1552
- Lint fix: get to green by @olleolleolle in https://github.com/lostisland/faraday/pull/1558
- Fix Rubocop errors by @iMacTia in https://github.com/lostisland/faraday/pull/1561
New Contributors
- @G-Rath made their first contribution in https://github.com/lostisland/faraday/pull/1545
- @vitali-semenyuk made their first contribution in https://github.com/lostisland/faraday/pull/1557
- @m-nakamura145 made their first contribution in https://github.com/lostisland/faraday/pull/1560
- @gtmax made their first contribution in https://github.com/lostisland/faraday/pull/1563
Full Changelog: https://github.com/lostisland/faraday/compare/v2.9.0...v2.9.1
v2.9.0
What's Changed
NOTE: This release removes support for Ruby 2.6 and 2.7, making Ruby 3.0 the minimum version.
- Remove runtime dependency on base64 by @Earlopain in https://github.com/lostisland/faraday/pull/1541
- Make Ruby 3.0 the min version by @iMacTia in https://github.com/lostisland/faraday/pull/1544
- Bump
faraday-net_httpversion to allow 3.1 by @iMacTia in https://github.com/lostisland/faraday/pull/1546
New Contributors
- @Earlopain made their first contribution in https://github.com/lostisland/faraday/pull/1541
Full Changelog: https://github.com/lostisland/faraday/compare/v2.8.1...v2.9.0
v2.8.1
What's Changed
- Fix: Add back support for Hash#pretty_inspect by @olleolleolle in https://github.com/lostisland/faraday/pull/1540
Full Changelog: https://github.com/lostisland/faraday/compare/v2.8.0...v2.8.1
v2.8.0
What's Changed
New features ✨
- Configurable JSON encoders and decoders by @ne006 in https://github.com/lostisland/faraday/pull/1539
Misc/Docs 📄
- Update testing.md by @geemus in https://github.com/lostisland/faraday/pull/1535
- Lint by @olleolleolle in https://github.com/lostisland/faraday/pull/1536
- CI: tell dependabot to update GH Actions by @olleolleolle in https://github.com/lostisland/faraday/pull/1537
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/lostisland/faraday/pull/1538
New Contributors
- @geemus made their first contribution in https://github.com/lostisland/faraday/pull/1535
- @dependabot made their first contribution in https://github.com/lostisland/faraday/pull/1538
- @ne006 made their first contribution in https://github.com/lostisland/faraday/pull/1539
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.12...v2.8.0
v2.7.12
What's Changed
- Update parallel-requests.md by @k0i in https://github.com/lostisland/faraday/pull/1528
- TooManyRequests error by @dpep in https://github.com/lostisland/faraday/pull/1530
New Contributors
- @k0i made their first contribution in https://github.com/lostisland/faraday/pull/1528
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.11...v2.7.12
v2.7.11
What's Changed
- Refer to correct branch [ci skip] by @olleolleolle in https://github.com/lostisland/faraday/pull/1516
- 📄 New docs 🎉 by @iMacTia in https://github.com/lostisland/faraday/pull/1517
- Fix capitalization for Elasticsearch by @picandocodigo in https://github.com/lostisland/faraday/pull/1520
- Fix 404 link in UPGRADING documentation by @shanempope in https://github.com/lostisland/faraday/pull/1521
- Fix included middleware links by @edwardloveall in https://github.com/lostisland/faraday/pull/1522
- Fix a test failure using Ruby 3.3.0dev by @koic in https://github.com/lostisland/faraday/pull/1523
- Format code with less indent by @olleolleolle in https://github.com/lostisland/faraday/pull/1524
- Add
base64to runtime dependency by @koic in https://github.com/lostisland/faraday/pull/1525 - Add option for omitting request data from Faraday exceptions by @ClaytonPassmore in https://github.com/lostisland/faraday/pull/1526
New Contributors
- @picandocodigo made their first contribution in https://github.com/lostisland/faraday/pull/1520
- @shanempope made their first contribution in https://github.com/lostisland/faraday/pull/1521
- @edwardloveall made their first contribution in https://github.com/lostisland/faraday/pull/1522
- @koic made their first contribution in https://github.com/lostisland/faraday/pull/1523
- @ClaytonPassmore made their first contribution in https://github.com/lostisland/faraday/pull/1526
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.10...v2.7.11
v2.7.10
What's Changed
- Fix some logging inefficiencies by @semaperepelitsa in https://github.com/lostisland/faraday/pull/1515
New Contributors
- @semaperepelitsa made their first contribution in https://github.com/lostisland/faraday/pull/1515
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.9...v2.7.10
v2.7.9
What's Changed
- Raise Error: Add Faraday::RequestTimeoutError by @tisba in https://github.com/lostisland/faraday/pull/1513
- Include
env[:headers]inStubs::NotFoundby @yykamei in https://github.com/lostisland/faraday/pull/1514
New Contributors
- @tisba made their first contribution in https://github.com/lostisland/faraday/pull/1513
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.8...v2.7.9
v2.7.8
What's Changed
- Failing test: Logging headers & errors fails when ConnectionFailed is raised by @eikes in https://github.com/lostisland/faraday/pull/1512
New Contributors
- @eikes made their first contribution in https://github.com/lostisland/faraday/pull/1512
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.7...v2.7.8
v2.7.7
What's Changed
- Fix implementation of Faraday::Error helpers. by @iMacTia in https://github.com/lostisland/faraday/pull/1510
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.6...v2.7.7
v2.7.6
What's Changed
- Fix "method redefined" warnings introduced in Faraday 2.7.5 by @mattbrictson in https://github.com/lostisland/faraday/pull/1506
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.5...v2.7.6
v2.7.5
What's Changed
- Subclass Options structs using a block by @bdewater in https://github.com/lostisland/faraday/pull/1489
- Remove direct struct subclassing by @bdewater in https://github.com/lostisland/faraday/pull/1491
- Fix incorrect use of logger middleware in docs by @mattbrictson in https://github.com/lostisland/faraday/pull/1497
- Always assume the existence of
URI::Generic#find_proxyby @yykamei in https://github.com/lostisland/faraday/pull/1502 - Encode
falseto"false"inFaraday::Request::Jsonby @yykamei in https://github.com/lostisland/faraday/pull/1504 - ProxyOptions should treat empty string as nil by @exoego in https://github.com/lostisland/faraday/pull/1493
New Contributors
- @mattbrictson made their first contribution in https://github.com/lostisland/faraday/pull/1497
- @exoego made their first contribution in https://github.com/lostisland/faraday/pull/1493
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.4...v2.7.5
v2.7.4
What's Changed
- Fix support for custom URI parsers by @iMacTia in https://github.com/lostisland/faraday/pull/1485
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.3...v2.7.4
v2.7.3
What's Changed
Fixes:
- Fix Style/ZeroLengthPredicate by @olleolleolle in https://github.com/lostisland/faraday/pull/1480
- Connection#build_exclusive_url: replace simple syntax by @hyuraku in https://github.com/lostisland/faraday/pull/1481
- Add URL to to_hash in Faraday::Response (#1474) by @aaronstillwell in https://github.com/lostisland/faraday/pull/1475
Misc:
- Clarify diff between connection settings
timeoutandopen_timeoutby @Yu-Chieh-Henry-Yang in https://github.com/lostisland/faraday/pull/1470 - Adds Ruby 3.2 to the CI matrix. by @petergoldstein in https://github.com/lostisland/faraday/pull/1471
- Fix typo in Adapters documentation by @henrialb in https://github.com/lostisland/faraday/pull/1473
- docs: Update to 2023 by @frederikspang in https://github.com/lostisland/faraday/pull/1477
- Update connection.rb documentation to use PUT in an example by @wlads in https://github.com/lostisland/faraday/pull/1482
New Contributors
- @Yu-Chieh-Henry-Yang made their first contribution in https://github.com/lostisland/faraday/pull/1470
- @henrialb made their first contribution in https://github.com/lostisland/faraday/pull/1473
- @frederikspang made their first contribution in https://github.com/lostisland/faraday/pull/1477
- @aaronstillwell made their first contribution in https://github.com/lostisland/faraday/pull/1475
- @wlads made their first contribution in https://github.com/lostisland/faraday/pull/1482
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.2...v2.7.3
v2.7.2
What's Changed
- Replace actions/setup-ruby with ruby/setup-ruby by @kyoshidajp in https://github.com/lostisland/faraday/pull/1466
- Enforce timeouts in Faraday's test adapter by @dpep in https://github.com/lostisland/faraday/pull/1465
- Rename Faraday::Logger::Formatter#error to #exception by @iMacTia in https://github.com/lostisland/faraday/pull/1468
ATTENTION
Rename Faraday::Logger::Formatter#error (#1468) is potentially a breaking change IF you've created a custom Faraday::Logging::Formatter implementing the new error method introduced in v2.7.0.
We've decided to rollout this change in a fix version anyway because the name of the method was potentially causing infinite loop issues, and because the feature was very recently released.
This should not be impacting you otherwise and you can safely upgrade.
New Contributors
- @kyoshidajp made their first contribution in https://github.com/lostisland/faraday/pull/1466
- @dpep made their first contribution in https://github.com/lostisland/faraday/pull/1465
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.1...v2.7.2
v2.7.1
What's Changed
- fix: require 'pp' to have access to #pretty_inspect by @olleolleolle in https://github.com/lostisland/faraday/pull/1463
Full Changelog: https://github.com/lostisland/faraday/compare/v2.7.0...v2.7.1
v2.7.0
What's Changed
- GitHub Workflows security hardening by @sashashura in https://github.com/lostisland/faraday/pull/1451
- Remove unnecessary
require 'pp'by @iMacTia in https://github.com/lostisland/faraday/pull/1457 - Convert
self[key]to a String with#<<on#add_parsedby @yykamei in https://github.com/lostisland/faraday/pull/1459 - Allow logging of errors raised in adapters or other middleware by @epaew in https://github.com/lostisland/faraday/pull/1460
New Contributors
- @sashashura made their first contribution in https://github.com/lostisland/faraday/pull/1451
- @epaew made their first contribution in https://github.com/lostisland/faraday/pull/1460
Full Changelog: https://github.com/lostisland/faraday/compare/v2.6.0...v2.7.0
v2.6.0
What's Changed
New features
- Forward the env to Request::Authorization#header_from by @swatosh in https://github.com/lostisland/faraday/pull/1450
Documentation
- Correct a typo in UPGRADING.md by @felixonmars in https://github.com/lostisland/faraday/pull/1448
- Fix usage page to match latest version's default adapter specification by @mi-wada in https://github.com/lostisland/faraday/pull/1447
- Update
@paramof methods onConnectionby @yykamei in https://github.com/lostisland/faraday/pull/1452
New Contributors
- @felixonmars made their first contribution in https://github.com/lostisland/faraday/pull/1448
- @mi-wada made their first contribution in https://github.com/lostisland/faraday/pull/1447
- @swatosh made their first contribution in https://github.com/lostisland/faraday/pull/1450
Full Changelog: https://github.com/lostisland/faraday/compare/v2.5.2...v2.6.0
v2.5.2
What's Changed
- Enables and fixes all new cops by @iMacTia in https://github.com/lostisland/faraday/pull/1443
- Explicitly pass
reason_phrasetosave_responsein test adapter by @iMacTia in https://github.com/lostisland/faraday/pull/1445
Full Changelog: https://github.com/lostisland/faraday/compare/v2.5.1...v2.5.2
v2.5.1
What's Changed
- Add support for
faraday-net_httpadapter's latest version to make use of the new streaming API introduced in v2.5.0
Full Changelog: https://github.com/lostisland/faraday/compare/v2.5.0...v2.5.1
v2.5.0
What's Changed
- Improve streaming interface to provide response info by @iMacTia in https://github.com/lostisland/faraday/pull/1439
Full Changelog: https://github.com/lostisland/faraday/compare/v2.4.0...v2.5.0
v2.4.0
What's Changed
- Remove examples using extension middleware by @iMacTia in https://github.com/lostisland/faraday/pull/1419
- docs: Update to 2022 by @olleolleolle in https://github.com/lostisland/faraday/pull/1420
- Handle verify hostname ssl option by @kazarin in https://github.com/lostisland/faraday/pull/1428
- docs link fixed by @hirotoKirimaru in https://github.com/lostisland/faraday/pull/1432
- [site] Move JsonResponse middleware to response section by @jasonkarns in https://github.com/lostisland/faraday/pull/1434
- Fix syntax to use correct doc link for url_encoded by @sampatbadhe in https://github.com/lostisland/faraday/pull/1435
- Support Proc type for stubbed request body by @yykamei in https://github.com/lostisland/faraday/pull/1436
New Contributors
- @kazarin made their first contribution in https://github.com/lostisland/faraday/pull/1428
- @hirotoKirimaru made their first contribution in https://github.com/lostisland/faraday/pull/1432
- @jasonkarns made their first contribution in https://github.com/lostisland/faraday/pull/1434
- @sampatbadhe made their first contribution in https://github.com/lostisland/faraday/pull/1435
Full Changelog: https://github.com/lostisland/faraday/compare/v2.3.0...v2.4.0
v2.3.0
What's Changed
Features
- Add indices when arrays are encoded by @daedric in https://github.com/lostisland/faraday/pull/1399
Fixes
- Allow application/x-www-form-url_encoded POST requests to use file objects as the request body by @catlee in https://github.com/lostisland/faraday/pull/1415
Misc
- CHANGELOG: add 2.2.0 section by @olleolleolle in https://github.com/lostisland/faraday/pull/1394
- docs: UPGRADE Note #dependency removed in 2.0 by @olleolleolle in https://github.com/lostisland/faraday/pull/1398
- docs: Add one more require to the quickstart to make this whole thing work immediately by @joshuabremerdexcom in https://github.com/lostisland/faraday/pull/1401
- Update custom middleware documentation by @AlexWayfer in https://github.com/lostisland/faraday/pull/1404
- Doc: Added raise_error middleware configuration by @nicosvirjt in https://github.com/lostisland/faraday/pull/1412
- docs: Correct default default_adapter value by @kuahyeow in https://github.com/lostisland/faraday/pull/1414
- CI: Update GitHub Action "checkout" to v3 by @olleolleolle in https://github.com/lostisland/faraday/pull/1416
New Contributors
- @daedric made their first contribution in https://github.com/lostisland/faraday/pull/1399
- @joshuabremerdexcom made their first contribution in https://github.com/lostisland/faraday/pull/1401
- @nicosvirjt made their first contribution in https://github.com/lostisland/faraday/pull/1412
- @kuahyeow made their first contribution in https://github.com/lostisland/faraday/pull/1414
- @catlee made their first contribution in https://github.com/lostisland/faraday/pull/1415
Full Changelog: https://github.com/lostisland/faraday/compare/v2.2.0...v2.3.0
v2.2.0
- Reintroduce the possibility to register middleware with symbols, strings or procs in #1391
v2.1.0
- Fix test adapter thread safety by @iMacTia in #1380
- Add default adapter options by @hirasawayuki in #1382
- CI: Add Ruby 3.1 to matrix by @petergoldstein in #1374
- docs: fix regex pattern in logger.md examples by @hirasawayuki in #1378
v2.0.1
- Re-add
faraday-net_httpas default adapter by @iMacTia in #1366 - Updated sample format in UPGRADING.md by @vimutter in #1361
- docs: Make UPGRADING examples more copyable by @olleolleolle in #1363
v2.0.0
The next major release is here, and it comes almost 2 years after the release of v1.0!
This release changes the way you use Faraday and embraces a new paradigm of Faraday as an ecosystem, rather than a library.
What does that mean? It means that Faraday is less of a bundled tool and more of a framework for the community to build on top of.
As a result, all adapters and some middleware have moved out and are now shipped as standalone gems 🙌!
But this doesn't mean that upgrading from Faraday 1.x to Faraday 2.0 should be hard, in fact we've listed everything you need to do in the UPGRADING.md doc.
Moreover, we've setup a new awesome-faraday repository that will showcase a curated list of adapters and middleware 😎.
This release was the result of the efforts of the core team and all the contributors, new and old, that have helped achieve this milestone 👏.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.