Skip to content

[ruby] Update sprockets-rails 3.4.2 → 3.5.1 (minor)

Depfu Bot requested to merge depfu/update/sprockets-rails-3.5.1 into main

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?

️ sprockets-rails (3.4.2 → 3.5.1) · Repo · Changelog
Release Notes

3.5.1

What's Changed

  • Handle the gem being loaded via sprockets/railtie rather than the expected sprockets/rails entrypoint. by @mamhoff in #525

New Contributors

Full Changelog: v3.5.0...v3.5.1

3.5.0

What's Changed

  • Add useful message for logger silence error by @rossta in #381
  • Use a dedicated ActiveSupport::Deprecation for Rails 7.2 compatibility by @etiennebarrie in #517
  • Dropped support for Rails versions older than 6.1

New Contributors

Full Changelog: v3.4.2...v3.5.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 32 commits:

️ builder (indirect, 3.2.4 → 3.3.0) · Repo · Changelog
️ concurrent-ruby (indirect, 1.3.1 → 1.3.3) · Repo · Changelog
Release Notes

1.3.3

What's Changed

Full Changelog: v1.3.2...v1.3.3

1.3.2

What's Changed

New Contributors

Full Changelog: v1.3.1...v1.3.2

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 12 commits:

️ rack (indirect, 3.0.11 → 3.1.3) · Repo · Changelog
Release Notes

3.1.2 (from changelog)

  • Rack::Response will take in to consideration chunked encoding responses (#2204, [@tenderlove])

3.1.1 (from changelog)

  • Oops! I shouldn't have shipped that

3.1.0 (from changelog)

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; 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])

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 4 commits:


Depfu Status

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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Merge request reports