evolver
evolver copied to clipboard
Bump rack from 1.4.1 to 1.4.7
Bumps rack from 1.4.1 to 1.4.7.
Changelog
Sourced from rack's changelog.
Changelog
All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog
[Unreleased]
Added
- CHANGELOG.md using keep a changelog formatting by @twitnithegirl
Changed
Rack::Utils.status_codenow raises an error when the status symbol is invalid instead of500.Rack::Request::SCHEME_WHITELISThas been renamed toRack::Request::ALLOWED_SCHEMESRack::Multipart::Parser.get_filenamenow accepts file that contains+in its name, avoiding the replacement of+to space character since filenames with+are valid.Removed
- HISTORY.md by @twitnithegirl
- NEWS.md by @twitnithegirl
History/News Archive
Items below this line are from the previously maintained HISTORY.md and NEWS.md files.
[2.0.0]
- Rack::Session::Abstract::ID is deprecated. Please change to use Rack::Session::Abstract::Persisted
[2.0.0.alpha] 2015-12-04
... (truncated)
- First-party "SameSite" cookies. Browsers omit SameSite cookies from third-party requests, closing the door on many CSRF attacks.
- Pass
same_site: true(or:strict) to enable: response.set_cookie 'foo', value: 'bar', same_site: true orsame_site: :laxto use Lax enforcement: response.set_cookie 'foo', value: 'bar', same_site: :lax- Based on version 7 of the Same-site Cookies internet draft: https://tools.ietf.org/html/draft-west-first-party-cookies-07
- Thanks to Ben Toews (@mastahyeti) and Bob Long (@bobjflong) for updating to drafts 5 and 7.
- Add
Rack::Eventsmiddleware for adding event based middleware: middleware that does not care about the response body, but only cares about doing work at particular points in the request / response lifecycle.- Add
Rack::Request#authorityto calculate the authority under which the response is being made (this will be handy for h2 pushes).- Add
Rack::Response::Helpers#cache_controlandcache_control=. Use this for setting cache control headers on your response objects.- Add
Rack::Response::Helpers#etagandetag=. Use this for setting etag values on the response.- Introduce
Rack::Response::Helpers#add_headerto add a value to a multi-valued response header. Implemented in terms of otherResponse#*_headermethods, so it's available to any response-like class that includes theHelpersmodule.- Add
Rack::Request#add_headerto match.Rack::Session::Abstract::IDIS DEPRECATED. Please switch toRack::Session::Abstract::Persisted.Rack::Session::Abstract::Persisteduses a request object rather than theenvhash.- Pull
ENVaccess inside the request object in to a module. This will help with legacy Request objects that are ENV based but don't want to inherit from Rack::Request- Move most methods on the
Rack::Requestto a moduleRack::Request::Helpersand use public API to get values from the request object. This enables users to mixRack::Request::Helpersin to their own objects so they can implement(get|set|fetch|each)_headeras they see fit (for example a proxy object).- Files and directories with + in the name are served correctly. Rather than unescaping paths like a form, we unescape with a URI parser using
Rack::Utils.unescape_path. Fixes #265- Tempfiles are automatically closed in the case that there were too many posted.
- Added methods for manipulating response headers that don't assume they're stored as a Hash. Response-like classes may include the Rack::Response::Helpers module if they define these methods:
- Rack::Response#has_header?
- Rack::Response#get_header
- Rack::Response#set_header
Commits
-
f5c0968bumping version -
bf5bd20Merge pull request #814 from johnnaegle/only_increment_open_file_count_for_fi... -
e4f4df5Explicitly fail when hitting the multipart limit -
1ae52c1bumping the release -
88b067eraise an exception if the parameters are too deep -
688516aPrevent signals from being sent to pid 0 -
9939d40Bump version number -
56374f2Update README for todays releases -
5c9b0dePrevent symlink path traversals -
6c39dfcUse secure_compare for hmac comparison - 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 ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major 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) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.