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.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.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.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)
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
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)
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 ruby-faraday to 0.8.8. bug fixes and some improvements.
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.