Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rack from 3.0.10 to 3.1.0 #76

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 11, 2024

Bumps rack from 3.0.10 to 3.1.0.

Changelog

Sourced from rack's changelog.

[3.1.0] - 2024-06-11

Rack v3.1 is primarily a maintenance release that removes features deprecated in Rack v3.0. Alongside these removals, there are several improvements to the Rack SPEC, mainly focused on enhancing input and output handling. These changes aim to make Rack more efficient and align better with the requirements of server implementations and relevant HTTP specifications.

SPEC Changes

Added

  • Introduce Rack::Multipart::MissingInputError for improved handling of missing input in #parse_multipart. (#2018, [@​ioquatix])
  • Introduce module Rack::BadRequest which is included in multipart and query parser errors. (#2019, [@​ioquatix])
  • Add .mjs MIME type (#2057, @​axilleas)
  • set_cookie_header utility now supports the partitioned cookie attribute. This is required by Chrome in some embedded contexts. (#2131, @​flavio-b)
  • Introduce rack.early_hints for sending 103 Early Hints informational responses. (#1831, @​casperisfine, [@​jeremyevans])

Changed

  • MIME type for JavaScript files (.js) changed from application/javascript to text/javascript (1bd0f15, [@​ioquatix])
  • Update MIME types associated to .ttf, .woff, .woff2 and .otf extensions to use mondern font/* types. (#2065, [@​davidstosik])
  • Rack::Utils.escape_html is now delegated to CGI.escapeHTML. ' is escaped to [#39](https://github.com/rack/rack/issues/39); instead of #x27;. (decimal vs hexadecimal) (#2099, @​JunichiIto)
  • Clarify use of @buffered and only update content-length when Rack::Response#finish is invoked. (#2149, [@​ioquatix])

Deprecated

  • Deprecate automatic cache invalidation in Request#{GET,POST} (#2073, [@​jeremyevans])
  • Only cookie keys that are not valid according to the HTTP specifications are escaped. We are planning to deprecate this behaviour, so now a deprecation message will be emitted in this case. In the future, invalid cookie keys may not be accepted. (#2191, [@​ioquatix])
  • Rack::Logger is deprecated. (#2197, [@​ioquatix])
  • Add fallback lookup and deprecation warning for obsolete status symbols. (#2137, @​wtn)

Removed

  • Remove deprecated Rack::Auth::Digest with no replacement. (#1966, [@​ioquatix])
  • Remove deprecated Rack::Cascade::NotFound with no replacement. (#1966, [@​ioquatix])
  • Remove deprecated Rack::Chunked with no replacement. (#1966, [@​ioquatix])
  • Remove deprecated Rack::File, use Rack::Files instead. (#1966, [@​ioquatix])
  • Remove deprecated Rack::QueryParser key_space_limit parameter with no replacement. (#1966, [@​ioquatix])
  • Remove deprecated Rack::Response#header, use Rack::Response#headers instead. (#1966, [@​ioquatix])
  • Remove deprecated cookie methods from Rack::Utils: add_cookie_to_header, make_delete_cookie_header, add_remove_cookie_to_header. (#1966, [@​ioquatix])
  • Remove deprecated Rack::Utils::HeaderHash. (#1966, [@​ioquatix])
  • Remove deprecated Rack::VERSION, Rack::VERSION_STRING, Rack.version, use Rack.release instead. (#1966, [@​ioquatix])
  • Remove non-standard status codes 306, 509, & 510 and update descriptions for 413, 422, & 451. (#2137, @​wtn)
  • Remove any dependency on transfer-encoding: chunked. (#2195, [@​ioquatix])

Fixed

  • In Rack::Files, ignore the Range header if served file is 0 bytes. (#2159, [@​zarqman])

... (truncated)

Commits
  • 606365b Bump minor version.
  • 4c9d3ac Add deprecation warning for lib/rack/logger.rb. (#2197)
  • e1f5683 Remove any dependeny on transfer-encoding / chunked. (#2195)
  • a057e9b Only update Rack::Response content-length header when finishing. (#2149)
  • cfbc011 Deprecate automatic cache invalidation in Request#{GET,POST}
  • 8e4be0e Simplify warning capture in tests. (#2194)
  • a71dfd7 Warn on invalid cookie keys. (#2191)
  • 8d7c029 Revert "adding middleware to use CloudFront-Forwarded-Proto in CSRF" (#2187)
  • 8505204 Introduce rack.protocol header for handling version-agnostic protocol upgra...
  • bb88af4 Revert "Skip Rack::Deflater tests on JRuby" (#2186)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rack](https://github.com/rack/rack) from 3.0.10 to 3.1.0.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@v3.0.10...v3.1.0)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 11, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 12, 2024

Superseded by #77.

@dependabot dependabot bot closed this Jun 12, 2024
@dependabot dependabot bot deleted the dependabot/bundler/rack-3.1.0 branch June 12, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant