Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-faraday
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
www/ruby-faraday: update to 2.15.1 2.15.0 (2026-10-16) What's Changed * [LOW] Keep Coveralls token out of pull-request code by @OskarEichler in #1711 * [LOW] Remove vulnerable docs preview dependencies by @OskarEichler in #1714 * chore: Use Docsify 5, to avoid the dropped 4.x version series by @olleolleolle in #1670 * Fix typo in Faraday::Connection#options doc by @Bo98 in #1674 * Preserve request ports for no_proxy matching by @OskarEichler in #1705 * Preserve parallel manager across nested batches by @OskarEichler in #1704 * Reject adapter changes after locking the stack by @OskarEichler in #1701 * Preserve literal plus signs when decoding URI userinfo by @OskarEichler in #1694 * Preserve explicit proxy settings when duplicating connections by @OskarEichler in #1693 * Add GitHub Agentic Workflow for new-issue triage by @iMacTia with @Copilot in #1720 * Remove unused RackBuilder#adapter_set? by @dpep in #1719 * Fetch current option values after mutation by @OskarEichler in #1690 * gemspec: Relax faraday-net_http to < 3.6 by @olleolleolle in #1722 New Contributors * @Bo98 made their first contribution in #1674 2.15.1 (2026-10-16) What's Changed * Decode indexed nested arrays in numeric order by @afurm in #1723 * Make Connection#dup public and rebuild its middleware stack by @JelF in #1718 * Fix FrozenError when a frozen URI is passed as the base URL by @hikmetba-bit in #1717 * [LOW] Bound memory retained by remote header names by @OskarEichler in #1698 * Apply logging filters to exception messages by @OskarEichler in #1702 * Preserve response state while releasing callbacks by @OskarEichler in #1703 * Memoize false option values without recomputing by @OskarEichler in #1706 * Freeze the default allowed status list by @OskarEichler in #1707 * Default Connection#support_parallel? to the connection's adapter by @ybai08 in #1725 * Add integration tests for the Options classes by @iMacTia in #1724 * Ship only the specs external adapters need by @sampokuokkanen in #1726 * Preserve false request bodies for JSON encoding by @OskarEichler in #1691 * Add integration tests for JSON literal request bodies by @iMacTia in #1728 * Keep header index synchronized across Hash mutations by @OskarEichler in #1700 * fix: honor include_request: false in all errors by @yykamei in #1729 * Escape params 2x faster with half the allocations, using CGI.escape by @czj in #1727 * [MEDIUM] Pin actions used for RubyGems publication by @OskarEichler in #1710 * [MEDIUM] Lock the RubyGems release dependency graph by @OskarEichler in #1712 New Contributors * @afurm made their first contribution in #1723 * @JelF made their first contribution in #1718 * @hikmetba-bit made their first contribution in #1717 * @ybai08 made their first contribution in #1725 * @sampokuokkanen made their first contribution in #1726 * @czj made their first contribution in #1727
www/ruby-faraday: update to 2.14.4 2.14.4 (2026-09-15) What's Changed * Bump actions/checkout from 6 to 7 by @dependabot[bot] in #1678 * Update copyright year to 2026 by @iMacTia with @Copilot in #1683 * Support JSON 3 by @byroot in #1687 * Preserve caller-owned JSON parser options by @OskarEichler in #1689 * Define HTTP verb methods on Faraday so tools can see them by @mokevnin in #1708 * Document Options struct attributes for YARD (Fixes #1490) by @tachyurgy in #1709 * chore: Configure SimpleCov for 1.0, too by @olleolleolle in #1715 New Contributors * @byroot made their first contribution in #1687 * @OskarEichler made their first contribution in #1689 * @mokevnin made their first contribution in #1708 * @tachyurgy made their first contribution in #1709
www/ruby-faraday: update to 2.14.3 1.10.6 (2026-06-24) What's Changed * See if tests pass against Ruby 3.3 by @jturel in #1677 * Backport GHSA-98m9-hrrm-r99r fix to 1.x: add param_depth_limit to NestedParamsEncoder by @iMacTia with @Copilot in #1681 New Contributors * @jturel made their first contribution in #1677
Pullup ticket #7131 - requested by taca
www/ruby-faraday: Security fix
Revisions pulled up:
- www/ruby-faraday/Makefile 1.45
- www/ruby-faraday/distinfo 1.42
---
Module Name: pkgsrc
Committed By: taca
Date: Sun May 31 14:34:58 UTC 2026
Modified Files:
pkgsrc/www/ruby-faraday: Makefile distinfo
Log Message:
www/ruby-faraday: update to 2.14.2
2.14.2 (2026-05-15)
Security Note
This release contains a security fix, we recommend all users to upgrade as
soon as possible.
A Security Advisory with more details will be posted shortly.
What's Changed
* Add Ruby 4 to CI by @larouxn in #1659
* Modernize RuboCop configuration and fix offenses by @larouxn in #1660
* Lint: Style/OneClassPerFile by @olleolleolle in #1668
* fix(docs): fix incorrect link label by @JohnnyKei in #1667
* chore: Upgrade package.json packages using audit fix by @olleolleolle in
#1669
New Contributors
* @larouxn made their first contribution in #1659
* @JohnnyKei made their first contribution in #1667
www/ruby-faraday: update to 2.14.2 2.14.2 (2026-05-15) Security Note This release contains a security fix, we recommend all users to upgrade as soon as possible. A Security Advisory with more details will be posted shortly. What's Changed * Add Ruby 4 to CI by @larouxn in #1659 * Modernize RuboCop configuration and fix offenses by @larouxn in #1660 * Lint: Style/OneClassPerFile by @olleolleolle in #1668 * fix(docs): fix incorrect link label by @JohnnyKei in #1667 * chore: Upgrade package.json packages using audit fix by @olleolleolle in #1669 New Contributors * @larouxn made their first contribution in #1659 * @JohnnyKei made their first contribution in #1667
www/ruby-faraday: update to 2.14.1 2.14.1 (2026-02-08) Security Note This release contains a security fix, we recommend all users to upgrade as soon as possible. A Security Advisory with more details will be posted shortly. What's Changed * Add comprehensive AI agent guidelines for Claude, Cursor, and GitHub Copilot by @Copilot in #1642 * Add RFC document for Options architecture refactoring plan by @Copilot in #1644 * Bump actions/checkout from 5 to 6 by @dependabot[bot] in #1655 * Explicit top-level namespace reference by @c960657 in #1657 New Contributors * @Copilot made their first contribution in #1642
www/ruby-faraday: update to 2.14.0 2.14.0 (2025-09-28) What's Changed New features * Use newer UnprocessableContent naming for 422 by @tylerhunt in #1638 Fixes * Convert strings to UTF-8 by @c960657 in #1624 * Fix Response#to_hash when response not finished yet by @yykamei in #1639 Misc/Docs * Lint: use filter_map by @olleolleolle in #1637 * Bump actions/checkout from v4 to v5 by @dependabot[bot] in #1636 * Fixes documentation by @dharamgollapudi in #1635 New Contributors * @c960657 made their first contribution in #1624 * @dharamgollapudi made their first contribution in #1635 * @tylerhunt made their first contribution in #1638
www/ruby-faraday: update to 2.13.4 2.13.2 (2025-07-04) What's Changed * CI against Ruby 3.4 by @Earlopain in #1622 * Only load what is required from cgi by @Earlopain in #1623 * Lint rack_builder.rb: avoid naming a method by @olleolleolle in #1626 * Add migrating from rest-client docs section. by @simi in #1625 * Include HTTP method and URL in Faraday::Error messages for improved exception log transparency by @nielsbuus in #1628 New Contributors * @simi made their first contribution in #1625 * @nielsbuus made their first contribution in #1628 2.13.3 (2025-07-22) What's Changed * Fix type assumption in Faraday::Error by @iMacTia in #1630 2.13.4 (2025-07-25) What's Changed * Improve error handling logic and add missing test coverage by @iMacTia in #1633
www/ruby-faraday: update to 2.13.1 2.12.3 (2025-04-08) What's Changed * Remove ruby2_keywords by @tisba in #1616 * Fix thread safety issue by avoiding mutation of proxy options hash by @QWYNG in #1617 New Contributors * @QWYNG made their first contribution in #1617 2.13.0 (2025-04-08) What's Changed * feat(ssl options): support SNI hostname by @bf4 in #1615 New Contributors * @bf4 made their first contribution in #1615 2.13.1 (2025-04-25) What's Changed * Logger middleware default options by @yenshirak in #1618 * Fix Style/RedundantParentheses in options/env.rb by @iMacTia in #1620 New Contributors * @yenshirak made their first contribution in #1618
www/ruby-faraday: update to 2.12.2 2.12.1 (2024-11-14) What's Changed * Allow faraday-net_http 3.4.x by @richardmarbach in #1599 New Contributors * @richardmarbach made their first contribution in #1599 2.12.2 (2024-12-09) What's Changed * Use generic argument forwarding + remove ruby2_keywords by @chaymaeBZ in #1601 * [TEST] fix compatibility with ruby 3.4.0dev by @mtasaka in #1604 * Formatting the log using parameter progname for the logger by @kodram in #1606 New Contributors * @chaymaeBZ made their first contribution in #1601 * @mtasaka made their first contribution in #1604 * @kodram made their first contribution in #1606
www/ruby-faraday: update to 2.12.0 2.11.0 (2024-08-25) 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#execute method. by @iMacTia in #1584 * Add ciphers attribute to SSLOptions by @womblep in #1582 Misc/Docs * Opt-in for MFA requirement explicitly by @tagliala in #1580 * Fix typos by @tagliala in #1585 New Contributors * @tagliala made their first contribution in #1580 * @womblep made their first contribution in #1582 2.12.0 (2024-09-18) What's Changed New features * Make RaiseError middleware configurable to not raise error on certain status codes (e.g. 404) by @clemens in #1590 Fixes * Add json as an explicit dependency by @deivid-rodriguez in #1589 Misc/Docs * docs: fix grammar by @dijonkitchen in #1588 New Contributors * @dijonkitchen made their first contribution in #1588 * @deivid-rodriguez made their first contribution in #1589 * @clemens made their first contribution in #1590
www/ruby-faraday: update to 2.10.0 2.10.0 (2024-07-08) 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 #1572 Bug Fixes * Add logger as dependency by @wynksaiddestroy in #1573 Misc/Docs * Configure "npm" package-ecosystem for Dependabot by @yykamei in #1571 New Contributors * @wynksaiddestroy made their first contribution in #1573 * @ryan-mcneil made their first contribution in #1572
www/ruby-faraday: update to 2.9.2 2.9.2 (2024-06-17) What's Changed Bug Fixes * Merge relative url without escaping (#1567) by @ykrods in #1569 New Contributors * @ykrods made their first contribution in #1569
www/ruby-faraday: update to 2.9.1 2.9.1 (2024-06-06) What's Changed New features * Make dig method case-insensitive in Faraday::Utils::Headers by @vitali-semenyuk in #1557 * Add TooManyRequestsError (429) to error docs by @tijmenb in #1565 Bug Fixes * Fix compatibility with Ruby 3.4.0-preview1 by @m-nakamura145 in #1560 * Support default json decoder even when nil responds to :load by @gtmax in #1563 Misc/Docs * add bundler config to dependabot by @geemus in #1548 * Add RuboCop disables for Style/ArgumentsForwarding by @olleolleolle in #1550 * docs: update body param type for run_request by @G-Rath in #1545 * Remove unnecessary rubocop disable comments. by @iMacTia in #1551 * Update rack requirement from ~> 2.2 to ~> 3.0 by @dependabot in #1549 * Use Rubygems Trusted Publishers to publish. by @iMacTia in #1552 * Lint fix: get to green by @olleolleolle in #1558 * Fix Rubocop errors by @iMacTia in #1561 New Contributors * @G-Rath made their first contribution in #1545 * @vitali-semenyuk made their first contribution in #1557 * @m-nakamura145 made their first contribution in #1560 * @gtmax made their first contribution in #1563
www/ruby-faraday: update to 2.9.0 2.8.0 (2023-12-20) What's Changed New features * Configurable JSON encoders and decoders by @ne006 in #1539 Misc/Docs * Update testing.md by @geemus in #1535 * Lint by @olleolleolle in #1536 * CI: tell dependabot to update GH Actions by @olleolleolle in #1537 * Bump actions/checkout from 3 to 4 by @dependabot in #1538 New Contributors * @geemus made their first contribution in #1535 * @dependabot made their first contribution in #1538 * @ne006 made their first contribution in #1539 2.8.1 (2023-12-21) What's Changed * Fix: Add back support for Hash#pretty_inspect by @olleolleolle in #1540 2.9.0 (2024-01-09) 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 #1541 * Make Ruby 3.0 the min version by @iMacTia in #1544 * Bump faraday-net_http version to allow 3.1 by @iMacTia in #1546 New Contributors * @Earlopain made their first contribution in #1541
www/ruby-faraday: update to 2.7.12 2.7.12 (2023-11-21) What's Changed * Update parallel-requests.md by @k0i in #1528 * TooManyRequests error by @dpep in #1530 New Contributors * @k0i made their first contribution in #1528
www/ruby-faraday: update to 2.7.11 2.7.11 (2023-09-13) What's Changed * Refer to correct branch [ci skip] by @olleolleolle in #1516 * 📄 New docs 🎉 by @iMacTia in #1517 * Fix capitalization for Elasticsearch by @picandocodigo in #1520 * Fix 404 link in UPGRADING documentation by @shanempope in #1521 * Fix included middleware links by @edwardloveall in #1522 * Fix a test failure using Ruby 3.3.0dev by @koic in #1523 * Format code with less indent by @olleolleolle in #1524 * Add base64 to runtime dependency by @koic in #1525 * Add option for omitting request data from Faraday exceptions by @ClaytonPassmore in #1526 New Contributors * @picandocodigo made their first contribution in #1520 * @shanempope made their first contribution in #1521 * @edwardloveall made their first contribution in #1522 * @koic made their first contribution in #1523 * @ClaytonPassmore made their first contribution in #1526
www/ruby-faraday: update to 2.7.10 2.7.7 (2023-06-20) What's Changed * Fix implementation of Faraday::Error helpers. by @iMacTia in #1510 2.7.8 (2023-06-28) What's Changed * Failing test: Logging headers & errors fails when ConnectionFailed is raised by @eikes in #1512 New Contributors * @eikes made their first contribution in #1512 2.7.9 (2023-06-30) What's Changed * Raise Error: Add Faraday::RequestTimeoutError by @tisba in #1513 * Include env[:headers] in Stubs::NotFound by @yykamei in #1514 New Contributors * @tisba made their first contribution in #1513 2.7.10 (2023-07-06) What's Changed * Fix some logging inefficiencies by @semaperepelitsa in #1515 New Contributors * @semaperepelitsa made their first contribution in #1515
www/ruby-faraday: update to 2.7.6 2.7.6 (2023-06-07) What's Changed * Fix "method redefined" warnings introduced in Faraday 2.7.5 by @mattbrictson in #1506
www/ruby-faraday: update to 2.7.5 2.7.5 (2023-05-24) What's Changed * Subclass Options structs using a block by @bdewater in #1489 * Remove direct struct subclassing by @bdewater in #1491 * Fix incorrect use of logger middleware in docs by @mattbrictson in #1497 * Always assume the existence of URI::Generic#find_proxy by @yykamei in #1502 * Encode false to "false" in Faraday::Request::Json by @yykamei in #1504 * ProxyOptions should treat empty string as nil by @exoego in #1493 New Contributors * @mattbrictson made their first contribution in #1497 * @exoego made their first contribution in #1493
www/ruby-faraday: update to 2.7.4 2.7.4 (2023-01-20) What's Changed * Fix support for custom URI parsers by @iMacTia in #1485
www/ruby-faraday: update to 2.7.3 2.7.3 (2023-01-16) What's Changed Fixes: * Fix Style/ZeroLengthPredicate by @olleolleolle in #1480 * Connection#build_exclusive_url: replace simple syntax by @hyuraku in #1481 * Add URL to to_hash in Faraday::Response (#1474) by @aaronstillwell in #1475 Misc: * Clarify diff between connection settings timeout and open_timeout by @Yu-Chieh-Henry-Yang in #1470 * Adds Ruby 3.2 to the CI matrix. by @petergoldstein in #1471 * Fix typo in Adapters documentation by @henrialb in #1473 * docs: Update to 2023 by @frederikspang in #1477 * Update connection.rb documentation to use PUT in an example by @wlads in #1482 New Contributors * @Yu-Chieh-Henry-Yang made their first contribution in #1470 * @henrialb made their first contribution in #1473 * @frederikspang made their first contribution in #1477 * @aaronstillwell made their first contribution in #1475 * @wlads made their first contribution in #1482
www/ruby-faraday: update to 2.7.2 Please refer <https://github.com/lostisland/faraday/releases> for changes before 2.4.0 release. 2.7.2 (2022-12-14) What's Changed * Replace actions/setup-ruby with ruby/setup-ruby by @kyoshidajp in #1466 * Enforce timeouts in Faraday's test adapter by @dpep in #1465 * Rename Faraday::Logger::Formatter#error to #exception by @iMacTia in #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. 2.7.1 (2022-11-18) What's Changed * fix: require 'pp' to have access to #pretty_inspect by @olleolleolle in #1463 2.7.0 (2022-11-15) What's Changed * GitHub Workflows security hardening by @sashashura in #1451 * Remove unnecessary require 'pp' by @iMacTia in #1457 * Convert self[key] to a String with #<< on #add_parsed by @yykamei in #1459 * Allow logging of errors raised in adapters or other middleware by @epaew in #1460 2.6.0 (2022-10-03) What's Changed New features * Forward the env to Request::Authorization#header_from by @swatosh in #1450 Documentation * Correct a typo in UPGRADING.md by @felixonmars in #1448 * Fix usage page to match latest version's default adapter specification by @mi-wada in #1447 * Update @param of methods on Connection by @yykamei in #1452 2.5.2 (2022-08-12) What's Changed * Enables and fixes all new cops by @iMacTia in #1443 * Explicitly pass reason_phrase to save_response in test adapter by @iMacTia in #1445 2.5.1 (2022-08-08) What's Changed * Add support for faraday-net_http adapter's latest version to make use of the new streaming API introduced in v2.5.0 2.5.0 (2022-08-08) What's Changed * Improve streaming interface to provide response info by @iMacTia in #1439 2.4.0 (2022-07-28) What's Changed * Remove examples using extension middleware by @iMacTia in #1419 * docs: Update to 2022 by @olleolleolle in #1420 * Handle verify hostname ssl option by @kazarin in #1428 * docs link fixed by @hirotoKirimaru in #1432 * [site] Move JsonResponse middleware to response section by @jasonkarns in #1434 * Fix syntax to use correct doc link for url_encoded by @sampatbadhe in #1435 * Support Proc type for stubbed request body by @yykamei in #1436
www/ruby-faraday: update to 1.10.2 1.10.2 (2022-08-23) What's Changed * Deprecate three methods for version 2.0 by @hyuraku in #1446 1.10.1 (2022-08-07) What's Changed * add Faraday#Deprecate to 1.x by @hyuraku in #1438 New Contributors * @hyuraku made their first contribution in #1438 1.10.0 (2022-02-16) What's Changed * Add JSON middleware by @iMacTia in #1400 1.9.3 (2022-01-06) * Re-add support for Ruby 2.4+ by @iMacTia in #1371 1.9.2 (2022-01-06) * Add alias with legacy name to gemified middleware by @iMacTia in #1372 1.9.1 (2022-01-06) * Update adapter dependencies in Gemspec by @iMacTia in #1370 1.9.0 (2022-01-06) * Use external multipart and retry middleware by @iMacTia in #1367
www/ruby-faraday: update to 1.8.0 1.7.2 (2021-09-13) * Fix deprecation warning (#1323) 1.8.0 (2021-09-18) Features * Backport authorization procs (#1322, @jarl-dk)
www/ruby-faraday: update to 1.7.1 1.4.3 (2021-06-24) Fixes * Silence warning (#1286, @gurgeous) * Always dup url_prefix in Connection#build_exclusive_url (#1288, @alexeyds) 1.5.0 (2021-07-04) Misc * Use external httpclient adapter (#1289, @iMacTia) * Use external patron adapter (#1290, @iMacTia) 1.5.1 (2021-07-11) Fixes * Fix JRuby incompatibility after moving out EM adapters (#1294, @ahorek) Documentation * Update YARD to follow RackBuilder (#1292, @kachick) 1.6.0 (2021-08-01) Misc * Use external Rack adapter (#1296, @iMacTia) 1.7.0 (2021-08-09) Features * Add strict_mode to Test::Stubs (#1298, @yykamei) 1.7.1 (2021-08-30) Fixes * Respect the params_encoder in Faraday::Adapter::Test (#1316, @yykamei) Deprecations * Deprecate Authorization helpers in Faraday::Connection (#1306, @iMacTia)
www/ruby-faraday: update to 1.4.2 1.4.2 (2021-05-22) Fixes: * Add proxy setting when url_prefix is changed (#1276, @ci) * Default proxy scheme to http:// if necessary, fixes #1282 (#1283, @gurgeous) Documentation: * Improve introduction page (#1273, @gurgeous) * Docs: add more middleware examples (#1277, @gurgeous) Misc: * Use external em_http and em_synchrony adapters (#1274, @iMacTia) 1.4.1 (2021-04-18) Fixes * Fix dependencies from external adapter gems (#1269, @iMacTia) 1.4.0 (2021-04-16) Highlights * With this release, we continue the work of gradually moving out adapters into their own gems * Thanks to @MikeRogers0 for helping the Faraday team in progressing with this quest * And thanks to @olleolleolle efforts, Faraday is becoming more inclusive than ever * Faraday's master branch has been renamed into main, we have an official policy on inclusive language and even a rubocop plugin to check for non-inclusive words! * Checkout the "Misc" section below for more details! Fixes * Fix NoMethodError undefined method 'coverage' (#1255, @Maroo-b) Documentation * Some docs on EventMachine adapters. (#1232, @damau) * CONTRIBUTING: Fix grammar and layout (#1261, @olleolleolle) Misc * Replacing Net::HTTP::Persistent with faraday-net_http_persistent (#1250, @MikeRogers0) * CI: Configure the regenerated Coveralls token (#1256, @olleolleolle) * Replace Excon adapter with Faraday::Excon gem, and fix autoloading issue with Faraday::NetHttpPersistent (#1257, @iMacTia) * Drop CodeClimate (#1259, @olleolleolle) * CI: Rename default branch to main (#1263, @olleolleolle) * Drop RDoc support file .document (#1264, @olleolleolle, @iMacTia) * CONTRIBUTING: add a policy on inclusive language (#1262, @olleolleolle) * Add rubocop-inclusivity (#1267, @olleolleolle, @iMacTia) 1.3.1 (2021-04-16) Fixes * Escape colon in path segment (#1237, @yarafan) * Handle IPv6 address String on Faraday::Connection#proxy_from_env (#1252, @cosmo0920) Documentation * Fix broken Rubydoc.info links (#1236, @nickcampbell18) * Add httpx to list of external adapters (#1246, @HoneyryderChuck) Misc * Refactor CI to remove duplicated line (#1230, @tricknotes) * Gemspec: Pick a good ruby2_keywords release (#1241, @olleolleolle)
www/ruby-faraday: update to 1.3.0 1.3.0 (2020-12-31) Highlights Faraday v1.3.0 is the first release to officially support Ruby 3.0 in the CI pipeline! This is also the first release with a previously "included" adapter (Net::HTTP) being isolated into a separate gem ! The new adapter is added to Faraday as a dependency for now, so that means full backwards-compatibility, but just to be safe be careful when upgrading! This is a huge step towards are Faraday v2.0 objective of pushing adapters and middleware into separate gems. Many thanks to the Faraday Team, @JanDintel and everyone who attended the ROSS Conf remote event Features * Improves consistency with Faraday::Error and Faraday::RaiseError (#1229, @qsona, @iMacTia) Fixes * Don't assign to global ::Timer (#1227, @bpo) Documentation * CHANGELOG: add releases after 1.0 (#1225, @olleolleolle) * Improves retry middleware documentation. (#1228, @iMacTia) Misc * Move out Net::HTTP adapter (#1222, @JanDintel, @iMacTia) * Adds Ruby 3.0 to CI Matrix (#1226, @iMacTia) v1.2.0 (2020-12-23) Features * Introduces on_request and on_complete methods in Faraday::Middleware. (#1194, @iMacTia) Fixes * Require 'date' to avoid retry exception (#1206, @rustygeldmacher) * Fix rdebug recursion issue (#1205, @native-api) * Update call to em_http_ssl_patch (#1202, @kylekeesling) * EmHttp adapter: drop superfluous loaded? check (#1213, @olleolleolle) * Avoid 1 use of keyword hackery (#1211, @grosser) * Fix #1219 Net::HTTP still uses env proxy (#1221, @iMacTia) Documentation * Add comment in gemspec to explain exposure of examples and spec folders. (#1192, @iMacTia) * Adapters, how to create them (#1193, @olleolleolle) * Update documentation on using the logger (#1196, @tijmenb) * Adjust the retry documentation and spec to align with implementation (#1198, @nbeyer) Misc * Test against ruby head (#1208, @grosser)
www/ruby-faraday: update to 1.0.1
Update ruby-faraday to 1.0.1.
## v1.0
Features:
* Add #trace support to Faraday::Connection #861 (@technoweenie)
* Add the log formatter that is easy to override and safe to inherit #889 (@prikha)
* Support standalone adapters #941 (@iMacTia)
* Introduce Faraday::ConflictError for 409 response code #979 (@lucasmoreno)
* Add support for setting `read_timeout` option separately #1003 (@springerigor)
* Refactor and cleanup timeout settings across adapters #1022 (@technoweenie)
* Create ParamPart class to allow multipart posts with JSON content and file upload at the same time #1017 (@jeremy-israel)
* Copy UploadIO const -> FilePart for consistency with ParamPart #1018, #1021 (@technoweenie)
* Implement streaming responses in the Excon adapter #1026 (@technoweenie)
* Add default implementation of `Middleware#close`. #1069 (@ioquatix)
* Add `Adapter#close` so that derived classes can call super. #1091 (@ioquatix)
* Add log_level option to logger default formatter #1079 (@amrrbakry)
* Fix empty array for FlatParamsEncoder `{key: []} -> "key="` #1084 (@mrexox)
Bugs:
* Explicitly require date for DateTime library in Retry middleware #844 (@nickpresta)
* Refactor Adapter as final endpoints #846 (@iMacTia)
* Separate Request and Response bodies in Faraday::Env #847 (@iMacTia)
* Implement Faraday::Connection#options to make HTTP requests with the OPTIONS verb. #857 (@technoweenie)
* Multipart: Drop Ruby 1.8 String behavior compat #892 (@olleolleolle)
* Fix Ruby warnings in Faraday::Options.memoized #962 (@technoweenie)
* Allow setting min/max SSL version for a Net::HTTP::Persistent connection #972, #973 (@bdewater, @olleolleolle)
* Fix instances of frozen empty string literals #1040 (@BobbyMcWho)
* remove temp_proxy and improve proxy tests #1063 (@technoweenie)
* improve error initializer consistency #1095 (@technoweenie)
Misc:
* Convert minitest suite to RSpec #832 (@iMacTia, with help from @gaynetdinov, @Insti, @technoweenie)
* Major effort to update code to RuboCop standards. #854 (@olleolleolle, @iMacTia, @technoweenie, @htwroclau, @jherdman, @Drenmi, @Insti)
* Rubocop #1044, #1047 (@BobbyMcWho, @olleolleolle)
* Documentation tweaks (@adsteel, @Hubro, @iMacTia, @olleolleolle, @technoweenie)
* Update license year #981 (@Kevin-Kawai)
* Configure Jekyll plugin jekyll-remote-theme to support Docker usage #999 (@Lewiscowles1986)
* Fix Ruby 2.7 warnings #1009 (@tenderlove)
* Cleanup adapter connections #1023 (@technoweenie)
* Describe clearing cached stubs #1045 (@viraptor)
* Add project metadata to the gemspec #1046 (@orien)
www/ruby-faraday: update to 0.17.3
Update ruby-faraday to 0.17.3. This is not latest version of faraday but
www/ruby-faraday_middleware require prior to 1.0.
## v0.17.3
Fixes:
* Reverts changes in error classes hierarchy. #1092 (@iMacTia)
* Fix Ruby 1.9 syntax errors and improve Error class testing #1094 (@BanzaiMan,
@mrexox, @technoweenie)
Misc:
* Stops using `&Proc.new` for block forwarding. #1083 (@olleolleolle)
* Update CI to test against ruby 2.0-2.7 #1087, #1099 (@iMacTia, @olleolleolle,
@technoweenie)
* require FARADAY_DEPRECATE=warn to show Faraday v1.0 deprecation warnings
#1098 (@technoweenie)
## v0.17.1
Final release before Faraday v1.0, with important fixes for Ruby 2.7.
Fixes:
* RaiseError response middleware raises exception if HTTP client returns a nil
status. (#1042)
Misc:
* Fix Ruby 2.7 warnings (#1009)
* Add `Faraday::Deprecate` to warn about upcoming v1.0 changes. (#1054, #1059,
#1076, #1077)
* Add release notes up to current in CHANGELOG.md (#1066)
* Port minimal rspec suite from main branch to run backported tests. (#1058)
## v0.17.0
This release is the same as v0.15.4. It was pushed to cover up releases
v0.16.0-v0.16.2.
## v0.15.4
* Expose `pool_size` as a option for the NetHttpPersistent adapter (#834)
www/ruby-faraday: update to 0.15.3 0.15.3 (2018/09/19) * Make Faraday::Request serialisable with Marshal. (#803) * Add DEFAULT_EXCEPTIONS constant to Request::Retry (#814) * Add support for Ruby 2.6 Net::HTTP write_timeout (#824) 0.15.2 (2018/05/23) * Prevents Net::HTTP adapters to retry request internally by setting max_retries to 0 if available (Ruby 2.5+). (#799) * Fixes NestedParamsEncoder handling of empty array values (#801) 0.15.1 (2018/05/10) * NetHttpPersistent adapter better reuse of SSL connections (#793) * Refactor: inline cached_connection (#797) * Logger middleware: use $stdout instead of STDOUT (#794) * Fix: do not memoize/reuse Patron session (#796) Also in this release: * Allow setting min/max ssl version for Net::HTTP (#792) * Allow setting min/max ssl version for Excon (#795) 0.15.0 (2018/04/19) Features: * Added retry block option to retry middleware. (#770) * Retry middleware improvements (honour Retry-After header, retry statuses) (#773) * Improve response logger middleware output (#784) Fixes: * Remove unused class error (#767) * Fix minor typo in README (#760) * Reuse persistent connections when using net-http-persistent (#778) * Fix Retry middleware documentation (#781) * Returns the http response when giving up on retrying by status (#783)
www/ruby-faraday: update to 0.14.0 Faraday 0.14.0 2018/01/20 * If proxy is manually provided, this takes priority over find_proxy (#724) * Allow overriding env proxy (#754) * Fixes the behaviour for Excon's open_timeout (not setting write_timeout anymore) (#731) * Remove Typhoeus adapter (#715) * External Typhoeus Adapter Compatibility (#748) * Warn about missing adapter when making a request (#743) * Faraday::Adapter::Test stubs now support entire urls (with host) (#741) * Handle all connection timeout messages in Patron (#687)
Update ruby-faraday to 0.13.1. 0.13.1 (2017/8/18) * Fixes an incompatibility with Addressable::URI being used as uri_parser 0.13.0 (2017/8/15) * Dynamically reloads the proxy when performing a request on an absolute domain (#701) * Prefer #hostname over #host. (#714) * Adapter support for Net::HTTP::Persistent v3.0.0 (#619) * Fixes an edge-case issue with response headers parsing (missing HTTP header) (#719) 0.12.2 (2017/07/21) * Parse headers from aggregated proxy requests/responses (#681) * Guard against invalid middleware configuration with warning (#685) * Do not use :insecure option by default in Patron (#691) * Fixes an issue with HTTPClient not raising a Faraday::ConnectionFailed (#702) * Fixes YAML serialization/deserialization for Faraday::Utils::Headers (#690) * Fixes an issue with Options having a nil value (#694) * Fixes an issue with Faraday.default_connection not using Faraday.default_connection_options (#698) * Fixes an issue with Options.merge! and Faraday instrumentation middleware (#710)
Update ruby-faraday to 0.12.1. Faraday 0.12.1 2017/04/21 * Fix an issue with Patron tests failing on jruby * Fix an issue with new rewind_files feature that was causing an exception when the body was not an Hash * Expose wrapped_exception in all client errors * Add Authentication Section to the ReadMe Faraday 0.12.0.1 2017/04/02 *Hotfix release to address an issue with TravisCI deploy on Rubygems Faraday 0.12.0 2017/03/21 * Proxy feature now relies on Ruby URI::Generic#find_proxy and can use no_proxy ENV variable (not compatible with ruby < 2.0) * Fix an issue with options that was causing new options to override defaults ones unexpectedly * Rewind UploadIOs on retry to fix a compatibility issue * Make multipart boundary unique * Adds support for context request option to pass arbitrary information to middlewares * Improvements in README.md
Update ruby-faraday to 0.11.0. No upstream changelog.
Update ruby-faraday to 0.9.2. Faraday 0.9.2 Adapters: * Enable gzip compression for httpclient * Fixes default certificate store for httpclient not having default paths. * Make excon adapter compatible with 0.44 excon version * Add compatibility with Patron 0.4.20 * Determine default port numbers in Net::HTTP adapters (Addressable compatibility) * em-http: wrap "connection closed by server" as ConnectionFailed type * Wrap Errno::ETIMEDOUT in Faraday::Error::TimeoutError Utils: * Add Rack-compatible support for parsing a[][b]=c nested queries * Encode nil values in queries different than empty strings. Before: a=; now: a. * Have Faraday::Utils::Headers#replace clear internal key cache * Dup the internal key cache when a Headers hash is copied Env and middleware: * Ensure env stored on middleware response has reference to the response * Ensure that Response properties are initialized during on_complete (VCR compatibility) * Copy request options in Faraday::Connection#dup * Env custom members should be copied by Env.from(env) * Honour per-request request.options.params_encoder * Fix interval_randomness data type for Retry middleware * Add maximum interval option for Retry middleware
Revert, taca adjusted the problematic package.
Dependency doesn't support Ruby 2.2, so restrict here as well.
Allow this package build on Ruby 2.2.
Set MAINTAINER to pkgsrc-users.
Update ruby-faraday to 0.9.1. # Faraday Changelog ## v0.9.1 * Refactor Net:HTTP adapter so that with_net_http_connection can be overridden to allow pooled connections. (@Ben-M) * Add configurable methods that bypass `retry_if` in the Retry request middleware. (@mike-bourgeous)
Allow build with ruby21.
Update Faraday to 0.9.0. ## v0.9.0 * Add HTTPClient adapter (@hakanensari) * Improve Retry handler (@mislav) * Remove autoloading by default (@technoweenie) * Improve internal docs (@technoweenie, @mislav) * Respect user/password in http proxy string (@mislav) * Adapter options are structs. Reinforces consistent options across adapters (@technoweenie) * Stop stripping trailing / off base URLs in a Faraday::Connection. (@technoweenie) * Add a configurable URI parser. (@technoweenie) * Remove need to manually autoload when using the authorization header helpers on `Faraday::Connection`. (@technoweenie) * `Faraday::Adapter::Test` respects the `Faraday::RequestOptions#params_encoder` option. (@technoweenie)
Update faraday gem to 0.8.9. compatibility fixes for Ruby 2.1.0 and 1.8.7.
Update ruby-faraday to 0.8.8. bug fixes and some improvements.
Update ruby-faraday to 0.8.7. * fix escape Unicode characters in Ruby 1.8.7
fix HOMEPAGE url.
Update ruby-faraday to 0.8.6. no summarized changes.
Import ruby-faraday-0.8.4 as www/ruby-faraday. Faraday is an HTTP client lib that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle.