pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/ruby-http
Module Name: pkgsrc
Committed By: ryoon
Date: Mon Aug 11 11:56:55 UTC 2025
Modified Files:
pkgsrc/www/ruby-http: Makefile PLIST distinfo
Log Message:
www/ruby-http: Update to 5.3.1
Changelog:
## [5.3.1] - 2025-06-09
### Changed
- Revert switch to the native llhttp on MRI, as it's not compatible with
standalone bundles
([#802](https://github.com/httprb/http/issues/802))
## [5.3.0] - 2025-06-09
### Added
- (backported) Add .retriable feature to Http
- (backported) Add more specific ConnectionError classes
- (backported) New feature: RaiseError
### Changed
- (backported) Drop depenency on base64
- (backported) Cache header normalization to reduce object allocation
- (backported) Use native llhttp on MRI
## [5.2.0] - 2024-02-05
### Added
- Add `Connection#finished_request?`
([#743](https://github.com/httprb/http/pull/743))
- Add `Instrumentation#on_error`
([#746](https://github.com/httprb/http/pull/746))
- Add `base64` dependency (suppresses warnings on Ruby 3.0)
([#759](https://github.com/httprb/http/pull/759))
- Add `PURGE` HTTP verb
([#757](https://github.com/httprb/http/pull/757))
- Add Ruby-3.3 support
### Changed
- **BREAKING** Process features in reverse order
([#766](https://github.com/httprb/http/pull/766))
- **BREAKING** Downcase Content-Type charset name
([#753](https://github.com/httprb/http/pull/753))
- **BREAKING** Make URI normalization more conservative
([#758](https://github.com/httprb/http/pull/758))
### Fixed
- Close sockets on initialize failure
([#762](https://github.com/httprb/http/pull/762))
- Prevent CRLF injection due to broken URL normalizer
([#765](https://github.com/httprb/http/pull/765))
[unreleased]: https://github.com/httprb/http/compare/v5.3.0...5-x-stable
[5.3.0]: https://github.com/httprb/http/compare/v5.2.0...v5.3.0
[5.2.0]: https://github.com/httprb/http/compare/v5.1.1...v5.2.0
## 5.1.1 (2022-12-17)
* [#731](https://github.com/httprb/http/pull/731)
Strip brackets from IPv6 addresses in `HTTP::URI`.
([@jeraki])
* [#722](https://github.com/httprb/http/pull/722)
Add `on_redirect` callback.
([@benubois])
## 5.1.0 (2022-06-17)
* Drop ruby-2.5 support.
* [#715](https://github.com/httprb/http/pull/715)
Set default encoding to UTF-8 for `application/json`.
([@drwl])
* [#712](https://github.com/httprb/http/pull/712)
Recognize cookies set by redirect.
([@tkellogg])
* [#707](https://github.com/httprb/http/pull/707)
Distinguish connection timeouts.
([@YuLeven])
## 5.0.4 (2021-10-07)
* [#698](https://github.com/httprb/http/pull/698)
Fix `HTTP::Timeout::Global#connect_ssl`.
([@tarcieri])
## 5.0.3 (2021-10-06)
* [#695](https://github.com/httprb/http/pull/695)
Revert DNS resolving feature.
([@PhilCoggins])
* [#694](https://github.com/httprb/http/pull/694)
Fix cookies extraction.
([@flosacca])
## 5.0.2 (2021-09-10)
* [#686](https://github.com/httprb/http/pull/686)
Correctly reset the parser.
([@bryanp])
* [#684](https://github.com/httprb/http/pull/684)
Don't set Content-Length for GET, HEAD, DELETE, or CONNECT requests without a BODY.
([@jyn514])
* [#679](https://github.com/httprb/http/pull/679)
Use features on redirected requests.
([@nomis])
* [#678](https://github.com/httprb/http/pull/678)
Restore `HTTP::Response` `:uri` option for backwards compatibility.
([@schwern])
* [#676](https://github.com/httprb/http/pull/676)
Update addressable because of CVE-2021-32740.
([@matheussilvasantos])
* [#653](https://github.com/httprb/http/pull/653)
Avoid force encodings on frozen strings.
([@bvicenzo])
* [#638](https://github.com/httprb/http/pull/638)
DNS failover handling.
([@midnight-wonderer])
## 5.0.1 (2021-06-26)
* [#670](https://github.com/httprb/http/pull/670)
Revert `Response#parse` behavior introduced in [#540].
([@DannyBen])
* [#669](https://github.com/httprb/http/pull/669)
Prevent bodies from being resubmitted when following unsafe redirects.
([@odinhb])
* [#664](https://github.com/httprb/http/pull/664)
Bump llhttp-ffi to 0.3.0.
([@bryanp])
## 5.0.0 (2021-05-12)
* [#656](https://github.com/httprb/http/pull/656)
Handle connection timeouts in `Features`
([@semenyukdmitry])
* [#651](https://github.com/httprb/http/pull/651)
Replace `http-parser` with `llhttp`
([@bryanp])
* [#647](https://github.com/httprb/http/pull/647)
Add support for `MKCALENDAR` HTTP verb
([@meanphil])
* [#632](https://github.com/httprb/http/pull/632)
Respect the SSL context's `verify_hostname` value
([@colemannugent])
* [#625](https://github.com/httprb/http/pull/625)
Fix inflator with empty responses
([@LukaszMaslej])
* [#599](https://github.com/httprb/http/pull/599)
Allow passing `HTTP::FormData::{Multipart,UrlEncoded}` object directly.
([@ixti])
* [#593](https://github.com/httprb/http/pull/593)
[#592](https://github.com/httprb/http/issues/592)
Support informational (1XX) responses.
([@ixti])
* [#590](https://github.com/httprb/http/pull/590)
[#589](https://github.com/httprb/http/issues/589)
Fix response headers paring.
([@Bonias])
* [#587](https://github.com/httprb/http/pull/587)
[#585](https://github.com/httprb/http/issues/585)
Fix redirections when server responds with multiple Location headers.
([@ixti])
* [#581](https://github.com/httprb/http/pull/581)
[#582](https://github.com/httprb/http/issues/582)
Add Ruby 2.7.x support.
([@janko])
* [#577](https://github.com/httprb/http/pull/577)
Fix `Chainable#timeout` with frozen Hash.
([@antonvolkoff])
* [#576](https://github.com/httprb/http/pull/576)
[#524](https://github.com/httprb/http/issues/524)
**BREAKING CHANGE**
Preserve header names casing.
([@joshuaflanagan])
* [#540](https://github.com/httprb/http/pull/540)
[#538](https://github.com/httprb/http/issues/538)
**BREAKING CHANGE**
Require explicit MIME type for Response#parse
([@ixti])
* [#532](https://github.com/httprb/http/pull/532)
Fix pipes support in request bodies.
([@ixti])
* [#530](https://github.com/httprb/http/pull/530)
Improve header fields name/value validation.
([@Bonias])
* [#506](https://github.com/httprb/http/pull/506)
[#521](https://github.com/httprb/http/issues/521)
Skip auto-deflate when there is no body.
([@Bonias])
* [#489](https://github.com/httprb/http/pull/489)
Fix HTTP parser.
([@ixti], [@fxposter])
* [#546](https://github.com/httprb/http/pull/546)
**BREAKING CHANGE**
Provide initiating `HTTP::Request` object on `HTTP::Response`.
([@joshuaflanagan])
* [#571](https://github.com/httprb/http/pull/571)
Drop Ruby 2.3.x support.
([@ixti])
* [3ed0c31](https://github.com/httprb/http/commit/3ed0c318eab6a8c390654cda17bf6df9e963c7d6)
Drop Ruby 2.4.x support.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/ruby-http/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/ruby-http/PLIST
cvs rdiff -u -r1.19 -r1.20 pkgsrc/www/ruby-http/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/ruby-http/Makefile
diff -u pkgsrc/www/ruby-http/Makefile:1.17 pkgsrc/www/ruby-http/Makefile:1.18
--- pkgsrc/www/ruby-http/Makefile:1.17 Sat Aug 5 19:33:00 2023
+++ pkgsrc/www/ruby-http/Makefile Mon Aug 11 11:56:55 2025
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2023/08/05 19:33:00 tsutsui Exp $
+# $NetBSD: Makefile,v 1.18 2025/08/11 11:56:55 ryoon Exp $
#
-DISTNAME= http-4.4.1
+DISTNAME= http-5.3.1
CATEGORIES= www
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -9,10 +9,10 @@ HOMEPAGE= https://github.com/httprb/http
COMMENT= Simple Ruby DSL for making HTTP requests
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.3<3:../../net/ruby-addressable
-DEPENDS+= ${RUBY_PKGPREFIX}-http-parser>=1.2.0<1.3:../../www/ruby-http-parser
+DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.8<3:../../net/ruby-addressable
DEPENDS+= ${RUBY_PKGPREFIX}-http-cookie>=1.0<2:../../www/ruby-http-cookie
DEPENDS+= ${RUBY_PKGPREFIX}-http-form_data>=2.2<3.0:../../www/ruby-http-form_data
+DEPENDS+= ${RUBY_PKGPREFIX}-llhttp-ffi>=0.5.0:../../www/ruby-llhttp-ffi
USE_LANGUAGES= # none
Index: pkgsrc/www/ruby-http/PLIST
diff -u pkgsrc/www/ruby-http/PLIST:1.14 pkgsrc/www/ruby-http/PLIST:1.15
--- pkgsrc/www/ruby-http/PLIST:1.14 Sun Jun 7 15:24:20 2020
+++ pkgsrc/www/ruby-http/PLIST Mon Aug 11 11:56:55 2025
@@ -1,20 +1,27 @@
-@comment $NetBSD: PLIST,v 1.14 2020/06/07 15:24:20 taca Exp $
+@comment $NetBSD: PLIST,v 1.15 2025/08/11 11:56:55 ryoon Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
-${GEM_LIBDIR}/.coveralls.yml
+${GEM_LIBDIR}/.github/workflows/ci.yml
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/.rspec
${GEM_LIBDIR}/.rubocop.yml
-${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/.rubocop/layout.yml
+${GEM_LIBDIR}/.rubocop/metrics.yml
+${GEM_LIBDIR}/.rubocop/rspec.yml
+${GEM_LIBDIR}/.rubocop/style.yml
+${GEM_LIBDIR}/.rubocop_todo.yml
${GEM_LIBDIR}/.yardopts
-${GEM_LIBDIR}/CHANGES.md
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/CHANGES_OLD.md
${GEM_LIBDIR}/CONTRIBUTING.md
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/Guardfile
${GEM_LIBDIR}/LICENSE.txt
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/SECURITY.md
${GEM_LIBDIR}/http.gemspec
${GEM_LIBDIR}/lib/http.rb
+${GEM_LIBDIR}/lib/http/base64.rb
${GEM_LIBDIR}/lib/http/chainable.rb
${GEM_LIBDIR}/lib/http/client.rb
${GEM_LIBDIR}/lib/http/connection.rb
@@ -26,9 +33,11 @@ ${GEM_LIBDIR}/lib/http/features/auto_inf
${GEM_LIBDIR}/lib/http/features/instrumentation.rb
${GEM_LIBDIR}/lib/http/features/logging.rb
${GEM_LIBDIR}/lib/http/features/normalize_uri.rb
+${GEM_LIBDIR}/lib/http/features/raise_error.rb
${GEM_LIBDIR}/lib/http/headers.rb
${GEM_LIBDIR}/lib/http/headers/known.rb
${GEM_LIBDIR}/lib/http/headers/mixin.rb
+${GEM_LIBDIR}/lib/http/headers/normalizer.rb
${GEM_LIBDIR}/lib/http/mime_type.rb
${GEM_LIBDIR}/lib/http/mime_type/adapter.rb
${GEM_LIBDIR}/lib/http/mime_type/json.rb
@@ -43,6 +52,10 @@ ${GEM_LIBDIR}/lib/http/response/inflater
${GEM_LIBDIR}/lib/http/response/parser.rb
${GEM_LIBDIR}/lib/http/response/status.rb
${GEM_LIBDIR}/lib/http/response/status/reasons.rb
+${GEM_LIBDIR}/lib/http/retriable/client.rb
+${GEM_LIBDIR}/lib/http/retriable/delay_calculator.rb
+${GEM_LIBDIR}/lib/http/retriable/errors.rb
+${GEM_LIBDIR}/lib/http/retriable/performer.rb
${GEM_LIBDIR}/lib/http/timeout/global.rb
${GEM_LIBDIR}/lib/http/timeout/null.rb
${GEM_LIBDIR}/lib/http/timeout/per_operation.rb
@@ -56,7 +69,9 @@ ${GEM_LIBDIR}/spec/lib/http/features/aut
${GEM_LIBDIR}/spec/lib/http/features/auto_inflate_spec.rb
${GEM_LIBDIR}/spec/lib/http/features/instrumentation_spec.rb
${GEM_LIBDIR}/spec/lib/http/features/logging_spec.rb
+${GEM_LIBDIR}/spec/lib/http/features/raise_error_spec.rb
${GEM_LIBDIR}/spec/lib/http/headers/mixin_spec.rb
+${GEM_LIBDIR}/spec/lib/http/headers/normalizer_spec.rb
${GEM_LIBDIR}/spec/lib/http/headers_spec.rb
${GEM_LIBDIR}/spec/lib/http/options/body_spec.rb
${GEM_LIBDIR}/spec/lib/http/options/features_spec.rb
@@ -75,6 +90,9 @@ ${GEM_LIBDIR}/spec/lib/http/response/bod
${GEM_LIBDIR}/spec/lib/http/response/parser_spec.rb
${GEM_LIBDIR}/spec/lib/http/response/status_spec.rb
${GEM_LIBDIR}/spec/lib/http/response_spec.rb
+${GEM_LIBDIR}/spec/lib/http/retriable/delay_calculator_spec.rb
+${GEM_LIBDIR}/spec/lib/http/retriable/performer_spec.rb
+${GEM_LIBDIR}/spec/lib/http/uri/normalizer_spec.rb
${GEM_LIBDIR}/spec/lib/http/uri_spec.rb
${GEM_LIBDIR}/spec/lib/http_spec.rb
${GEM_LIBDIR}/spec/regression_specs.rb
@@ -84,9 +102,11 @@ ${GEM_LIBDIR}/spec/support/capture_warni
${GEM_LIBDIR}/spec/support/dummy_server.rb
${GEM_LIBDIR}/spec/support/dummy_server/servlet.rb
${GEM_LIBDIR}/spec/support/fakeio.rb
+${GEM_LIBDIR}/spec/support/fuubar.rb
${GEM_LIBDIR}/spec/support/http_handling_shared.rb
${GEM_LIBDIR}/spec/support/proxy_server.rb
${GEM_LIBDIR}/spec/support/servers/config.rb
${GEM_LIBDIR}/spec/support/servers/runner.rb
+${GEM_LIBDIR}/spec/support/simplecov.rb
${GEM_LIBDIR}/spec/support/ssl_helper.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/www/ruby-http/distinfo
diff -u pkgsrc/www/ruby-http/distinfo:1.19 pkgsrc/www/ruby-http/distinfo:1.20
--- pkgsrc/www/ruby-http/distinfo:1.19 Tue Oct 26 11:30:58 2021
+++ pkgsrc/www/ruby-http/distinfo Mon Aug 11 11:56:55 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.19 2021/10/26 11:30:58 nia Exp $
+$NetBSD: distinfo,v 1.20 2025/08/11 11:56:55 ryoon Exp $
-BLAKE2s (http-4.4.1.gem) = e19191c4691218de548179c7d980b439ada3a894b95f74ca302c95f0246c7d4d
-SHA512 (http-4.4.1.gem) = 6e43a8ae379d7c8a807a9a03c87bfb5ad1719f9838e26ac7a695220ee2bc50344accc2db268d30da175328fd5468b87ec8532d17ce42a5b74d6c2c4c281d1bc9
-Size (http-4.4.1.gem) = 75776 bytes
+BLAKE2s (http-5.3.1.gem) = 0d94de27a00de7c0d2326050d7c7d1ab2950b732c8a1b677591c17db9a1f1218
+SHA512 (http-5.3.1.gem) = 57902d997cfa51b8cb091ce0651d12a9bffb05992b6582c7fc0260a5208539faebedbcc1e837a2ff502336a8930abf4a1b8d531bac3f5643986850735efaa658
+Size (http-5.3.1.gem) = 92672 bytes
Home |
Main Index |
Thread Index |
Old Index