Skip to content

Update dependency rack to v3

This MR contains the following updates:

Package Update Change
rack (changelog) major '~> 2.2.9' -> '~> 3.1.0'

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

rack/rack (rack)

v3.1.7

Compare Source

Fixed

v3.1.6

Compare Source

Fixed
  • Fix several edge cases in Rack::Request#parse_http_accept_header's implementation. (#​2226, [@​ioquatix])

v3.1.5

Compare Source

Security

v3.1.4

Compare Source

Fixed

v3.1.3

Compare Source

Fixed

v3.1.2

Compare Source

v3.1.1

Compare Source

  • Oops! I shouldn't have shipped that

v3.1.0

This release includes several breaking changes. Refer to the Removed section below for the list of deprecated methods that have been removed in this release.

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
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; 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)
  • Deprecate Rack::Request#values_at, use request.params.values_at instead (#​2183, [@​ioquatix])
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])
  • Remove deprecated Rack::Request#[], use request.params[key] instead (#​2183, [@​ioquatix])
Fixed

v3.0.11

v3.0.10

Compare Source

v3.0.9.1

Compare Source

Security

v3.0.9

Compare Source

Security

v3.0.8

Compare Source

v3.0.7

Compare Source

v3.0.6.1

Compare Source

Security
  • [CVE-2023-27539] Avoid ReDoS in header parsing

v3.0.6

Compare Source

Security
  • [CVE-2023-27539] Avoid ReDoS in header parsing

v3.0.5

Compare Source

v3.0.4.2

Compare Source

Security
  • [CVE-2023-27530] Introduce multipart_total_part_limit to limit total parts

v3.0.4.1

Compare Source

Security
  • [CVE-2022-44571] Fix ReDoS vulnerability in multipart parser
  • [CVE-2022-44570] Fix ReDoS in Rack::Utils.get_byte_ranges
  • [CVE-2022-44572] Forbid control characters in attributes (also ReDoS)

v3.0.4

Compare Source

Security
  • [CVE-2023-27530] Introduce multipart_total_part_limit to limit total parts

v3.0.3

Compare Source

Fixed

v3.0.2

Compare Source

Fixed
  • Utils.build_nested_query URL-encodes nested field names including the square brackets.
  • Allow Rack::Response to pass through streaming bodies. (#​1993, [@​ioquatix])

v3.0.1

Compare Source

v3.0.0

Compare Source

  • No changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports