Bump sinatra and rack in /examples/sinatra
Type: Pull Request
State: Closed
Association: Contributor
Comments: 3
(10 months ago)
(10 months ago)
(10 months ago)
dependencies ruby
Bumps sinatra and rack. These dependencies needed to be updated together.
Updates sinatra from 1.0 to 4.1.1
Changelog
Sourced from sinatra's changelog.
4.1.1 / 2024-11-20
- Fix: Restore WEBrick support (#2067)
4.1.0 / 2024-11-18
- New: Add
host_authorizationsetting (#2053)
- Defaults to
.localhost,.testand any IP address in development mode.- Security: addresses CVE-2024-21510.
- Fix: Return an instance of
Sinatra::IndifferentHashwhen calling#except(#2044)- Fix: Address warning from
URIfor Ruby 3.4 (#2060)- Fix:
rackupno longer depends on WEBrick, recommend Puma instead (4a558503)- Fix: Zeitwerk 2.7.0+ compatibility (#2050)
- Fix: Address warning about Hash construction for Ruby 3.4 (#2028)
- Fix: Declare missing dependencies for Ruby 3.5 (#2032)
- Fix: Compatibility with
--enable-frozen-string-literal(#2033)- Fix: Rack 3.1 compatibility (#2035)
- Don't depend on
Rack::Logger- Don't delete
content-lengthheader whenRack::Filesis used4.0.1 / 2025-05-24
Rack 3.1 compatibility (#2035)
Fix malformed Content-Type headers (#2081)
Avoid crash for integer values in
content_typeparameters (#2078)Fix compatibility with --enable-frozen-string-literal (#2033)
Declare missing dependencies for Ruby 3.5 (#2032)
Fix warning about Hash construction. (#2028)
Support Zeitwerk 2.7.0+ (#2050)
Address URI depreciation (#2060)
#2035: sinatra/sinatra#2035 #2081: sinatra/sinatra#2081 #2078: sinatra/sinatra#2078 #2033: sinatra/sinatra#2033 #2032: sinatra/sinatra#2032 #2028: sinatra/sinatra#2028 #2050: sinatra/sinatra#2050 #2060: sinatra/sinatra#2060
4.0.0. / 2024-01-19
- New: Add support for Rack 3 (#1857)
... (truncated)
Commits
7b50a1b4.1.1 release (#2068)3f6c577Restore WEBrick support (#2067)38cd687Multiple\<dd>tags breaks the website HTML (#2066)80c3ad6Update CHANGELOG with correct CVE (#2064)73f32914.1.0 release (#2063)cd3e00dAddHostAuthorizationrack-protection middleware (#2053)8c4cd0bReturn an instance ofSinatra::IndifferentHashwhen calling#except(#2044)3c888f7AddressURIdepreciation (#2060)0d33ef8CI: don't test falcon on Ruby 2.74a55850Remove WEBrick- Additional commits viewable in compare view
Updates rack from 2.2.14 to 3.2.0
Release notes
Sourced from rack's releases.
v3.0.9.1
What's Changed
- Fixed ReDoS in Accept header parsing [CVE-2024-26146]
- Fixed ReDoS in Content Type header parsing [CVE-2024-25126]
- Reject Range headers which are too large [CVE-2024-26141]
Full Changelog: https://github.com/rack/rack/compare/v3.0.9...v3.0.9.1
v3.0.9
What's Changed
- Fix content-length calcuation in Rack:Response#write #2150
Full Changelog: https://github.com/rack/rack/compare/v3.0.8...v3.0.9
v3.0.8
What's Changed
- Backport "Fix some unused variable verbose warnings" by
@skipkayhilin rack/rack#2084New Contributors
@skipkayhilmade their first contribution in rack/rack#2084Full Changelog: https://github.com/rack/rack/compare/v3.0.7...v3.0.8
v3.0.7
What's Changed
- Backport "Make query parameters without = have nil values". by
@jeremyevansin rack/rack#2060Full Changelog: https://github.com/rack/rack/compare/v3.0.6.1...v3.0.7
v3.0.6.1
No release notes provided.
v3.0.4.1
Full Changelog: https://github.com/rack/rack/compare/v3.0.4...v3.0.4.1
v3.0.4
Full Changelog: https://github.com/rack/rack/compare/v3.0.3...v3.0.4
v3.0.3
What's Changed
- Release v3.0.3 by
@ioquatixin rack/rack#2000Full Changelog: https://github.com/rack/rack/compare/v3.0.2...v3.0.3
v3.0.2
Full Changelog: https://github.com/rack/rack/compare/v3.0.1...v3.0.2
Changelog
Sourced from rack's changelog.
[3.2.0] - 2025-07-31
This release continues Rack's evolution toward a cleaner, more efficient foundation while maintaining backward compatibility for most applications. The breaking changes primarily affect deprecated functionality, so most users should experience a smooth upgrade with improved performance and standards compliance.
SPEC Changes
- Request environment keys must now be strings. (#2310, [
@jeremyevans])- Add
nilas a valid return from a Responsebody.to_path(#2318, [@MSP-Greg])Rack::Lint#check_header_valueis relaxed, only disallowing CR/LF/NUL characters. (#2354, [@ioquatix])Added
- Introduce
Rack::VERSIONconstant. (#2199, [@ioquatix])ISO-2022-JPencoded parts within MIME Multipart sections of an HTTP request body will now be converted toUTF-8. (#2245,@nappa)- Add
Rack::Request#query_parser=to allow setting the query parser to use. (#2349, [@jeremyevans])- Add
Rack::Request#form_pairsto access form data as raw key-value pairs, preserving duplicate keys. (#2351, [@matthewd])Changed
- Invalid cookie keys will now raise an error. (#2193, [
@ioquatix])Rack::MediaType#paramsnow handles empty strings. (#2229, [@jeremyevans])- Avoid unnecessary calls to the
ip_filterlambda to evaluateRequest#ip(#2287, [@willbryant])- Only calculate
Request#iponce per request (#2292, [@willbryant])Rack::Builder#use,#map, and#runmethods now returnnil. (#2355, [@ioquatix])- Directly close the body in
Rack::ConditionalGetwhen the response is304 Not Modified. (#2353, [@ioquatix])- Directly close the body in
Rack::Headwhen the request method isHEAD(#2360,@skipkayhil)Deprecated
Rack::Auth::AbstractRequest#requestis deprecated without replacement. (#2229, [@jeremyevans])Rack::Request#parse_multipart(private method designed to be overridden in subclasses) is deprecated without replacement. (#2229, [@jeremyevans])Removed
Rack::Request#values_atis removed. (#2200, [@ioquatix])Rack::Loggeris removed with no replacement. (#2196, [@ioquatix])- Automatic cache invalidation in
Rack::Request#{GET,POST}has been removed. (#2230, [@jeremyevans])- Support for
CGI::Cookiehas been removed. (#2332, [@ioquatix])Fixed
Rack::RewindableInput::Middlewareno longer wraps a nil input. (#2259,@tt)- Fix
NoMethodErrorinRack::Request#wrap_ipv6whenx-forwarded-hostis empty. (#2270,@oieioi)- Fix the specification for
SERVER_PORTwhich was incorrectly documented as required to be anIntegerif present - it must be aStringcontaining digits only. (#2296, [@ioquatix])SERVER_NAMEandHTTP_HOSTare now more strictly validated according to the relevant specifications. (#2298, [@ioquatix])Rack::Lintnow disallowsPATH_INFO="" SCRIPT_NAME="". (#2298, [@jeremyevans])[3.1.16] - 2025-06-04
Security
... (truncated)
Commits
b68251cBump minor version.a6ba717Minor updates to README and CHANGELOG.9e10390Directly close the body inRack::Head. (#2360)36156aaEnsuretruthyis used consistently in the context of hijacking support in R...7d09de4Tidy up checks forscript_name,path_info. (#2357)5ce04c1lint.rbconsistency improvements. (#2352)5f06728RegenerateSPEC.rdoc.9453930Make Rack::Lint disallow PATH_INFO="" SCRIPT_NAME="" (#2316)6828a17Directly close the body. (#2353)f01e2b5Relaxcheck_header_value. (#2354)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Pull Request Statistics
1
2
+25
-7
Package Dependencies
Security Advisories
Rack Header Parsing leads to Possible Denial of Service Vulnerability
Rack vulnerable to ReDoS in content type parsing (2nd degree polynomial)
Rack has possible DoS Vulnerability with Range Header
Sinatra vulnerable to Reliance on Untrusted Inputs in a Security Decision
Technical Details
| ID: | 5454438 |
| UUID: | 2763429257 |
| Node ID: | PR_kwDNQRvOpLaViQ |
| Host: | GitHub |
| Repository: | jruby/jruby-rack |
| Mergeable: | Yes |
| Merge State: | Clean |