🚨 [security] Update sinatra 4.0.0 → 4.1.0 (minor) #265
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🚨 Your current dependencies have known security vulnerabilities 🚨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ sinatra (4.0.0 → 4.1.0) · Repo · Changelog
Security Advisories 🚨
🚨 Sinatra vulnerable to Reliance on Untrusted Inputs in a Security Decision
Commits
See the full diff on Github. The new version differs by 26 commits:
4.1.0 release (#2063)
Add `HostAuthorization` rack-protection middleware (#2053)
Return an instance of `Sinatra::IndifferentHash` when calling `#except` (#2044)
Address `URI` depreciation (#2060)
CI: don't test falcon on Ruby 2.7
Remove WEBrick
CI: unset `RUBYOPT` for JRuby jobs
Support Zeitwerk 2.7.0+ (#2050)
Revert "CI: document the `console` gem issue"
CI: document the `console` gem issue
CI: run tests on the old rackup for now
CI: use latest (available) rubygems for 3.1
Fix `Sinatra::HamlHelpers` docs (#2046)
CI: Avoid Zeitwerk 2.7.0+ for testes, for now (#2048)
Fix compatibility with `--enable-frozen-string-literal` (#2033)
Declare missing dependencies for Ruby 3.5 (#2032)
Fix warning about Hash construction. (#2028)
CI: use Rack 3.1 (stable) for most jobs
Don't delete `content-length` header when `Rack::Files` is used
Don't depend on `Rack::Logger`
Adjust `CookieTossing` spec for Rack 3.1+
CI: allow JRuby to fail, can be flaky
CI: run against both Rack 3.0 and Rack 3.1
Fix typos in changelog, readme and code comments (#2006)
README: the minimal example needs `rackup` (#2009)
CI: allow `truffleruby` to fail (#2008)
Commits
See the full diff on Github. The new version differs by 24 commits:
Prepare for v3.0.3
Add benchmark for parser object
Fix performance issue for Mustermann::AST::Translator#escape (#142)
CI: remove Coveralls
Fix release date in README
Prepare for v3.0.2
CI: tweak job name
CI: use the correct ENV 🤦♀️
CI: install gems
CI: avoid caching gems
CI: sinatra 4.x require Ruby >= 2.7
Test against prev, current and next Sinatra release
Use rfc2396 parser (#139)
No need to build gems twice in the release workflow
Need to use `bundle exec` in release workflow
Prepare for v3.0.1
Add description to rake tasks
CI: use `actions/checkout@v4`
README: Mustermann does not depend on tool
Merge pull request #138 from hsbt/fix-uri-default-parser-change
Use URI::RFC2396_Parser#regex explicitly.
CI: add Ruby 3.3 and JRuby 9.4
Merge pull request #136 from petergoldstein/feature/add_ruby_3_2_to_ci
Adds Ruby 3.2 to the CI matrix.
Commits
See the full diff on Github. The new version differs by 26 commits:
4.1.0 release (#2063)
Add `HostAuthorization` rack-protection middleware (#2053)
Return an instance of `Sinatra::IndifferentHash` when calling `#except` (#2044)
Address `URI` depreciation (#2060)
CI: don't test falcon on Ruby 2.7
Remove WEBrick
CI: unset `RUBYOPT` for JRuby jobs
Support Zeitwerk 2.7.0+ (#2050)
Revert "CI: document the `console` gem issue"
CI: document the `console` gem issue
CI: run tests on the old rackup for now
CI: use latest (available) rubygems for 3.1
Fix `Sinatra::HamlHelpers` docs (#2046)
CI: Avoid Zeitwerk 2.7.0+ for testes, for now (#2048)
Fix compatibility with `--enable-frozen-string-literal` (#2033)
Declare missing dependencies for Ruby 3.5 (#2032)
Fix warning about Hash construction. (#2028)
CI: use Rack 3.1 (stable) for most jobs
Don't delete `content-length` header when `Rack::Files` is used
Don't depend on `Rack::Logger`
Adjust `CookieTossing` spec for Rack 3.1+
CI: allow JRuby to fail, can be flaky
CI: run against both Rack 3.0 and Rack 3.1
Fix typos in changelog, readme and code comments (#2006)
README: the minimal example needs `rackup` (#2009)
CI: allow `truffleruby` to fail (#2008)
Release Notes
2.4.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 15 commits:
Bump version to 2.4.0
Add nocov markings around old commonmarker template
Adjust CI gemfile to fix issues
Fix ScssTemplate#sass_options when using sass-embedded
Make SassTemplate ignore unsupported options when using sass-embedded
Don't test Maruku in CI on JRuby 9.2
Simplify prawn test checking now that checked_describe can take multiple arguments
Remove modification of string literals in tests
Deprecate erubis, wikicloth, and maruku templates as they require modifying string literals
Make etanni template work with frozen string literals
Update CHANGELOG
Support Commonmarker v1 api
Limit markaby version to < 0.9.1 in CI on Ruby <2.7
Limit commonmarker in CI to < 1
Add Ruby 3.3 to CI and bump actions/checkout to v4
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands