developer-center
developer-center copied to clipboard
Bump sprockets from 3.7.2 to 4.0.3
Bumps sprockets from 3.7.2 to 4.0.3.
Release notes
Sourced from sprockets's releases.
v4.0.3
What's Changed
- Drop support for Ruby 2.3 by
@007lvain rails/sprockets#672- Fix sprockets.gemspec to include MIT-LICENSE by
@compliance-botin rails/sprockets#695- Fix spelling in Ruby and Markdown files by
@jbamptonin rails/sprockets#699- Move to GitHub actions by
@hahmedin rails/sprockets#709- chore: fix spelling by
@jbamptonin rails/sprockets#704- Recomend terser-ruby instead of uglifier by
@gnumarceloin rails/sprockets#713- Do not fingerprint if filename contains a valid digest by
@brenogazzolain rails/sprockets#714- Improve serving of prehashed assets by
@theodortonin rails/sprockets#717- Better ERB keyword argument check by
@casperisfinein rails/sprockets#719- Return instead of yield from Concurrent::Promise (Ruby 3.1 compat) by
@casperisfinein rails/sprockets#720- Improve detection of files already digested by
@brenogazzolain rails/sprockets#718- Remove all references to MD5, for FIPS compliance by
@benny-burkhartin rails/sprockets#725- Fix typo in Readme by
@SKoschnickein rails/sprockets#722- CI: Use continue-on-error w/ experimental: true [changelog skip] by
@olleolleollein rails/sprockets#715- add missing require delegate [changelog skip] by
@ahorekin rails/sprockets#716- terser-ruby -> terser by
@radarin rails/sprockets#731New Contributors
@007lvamade their first contribution in rails/sprockets#672@compliance-botmade their first contribution in rails/sprockets#695@jbamptonmade their first contribution in rails/sprockets#699@hahmedmade their first contribution in rails/sprockets#709@gnumarcelomade their first contribution in rails/sprockets#713@brenogazzolamade their first contribution in rails/sprockets#714@theodortonmade their first contribution in rails/sprockets#717@casperisfinemade their first contribution in rails/sprockets#719@benny-burkhartmade their first contribution in rails/sprockets#725@SKoschnickemade their first contribution in rails/sprockets#722Full Changelog: https://github.com/rails/sprockets/compare/v4.0.2...v4.0.3
Changelog
Sourced from sprockets's changelog.
4.0.3
- Fix
Manifest#findyielding from a Promise causing issue on Ruby 3.1.0-dev. #720- Better detect the ERB version to avoid deprecation warnings. #719
- Allow assets already fingerprinted to be served through
Sprockets::Server- Do not fingerprint files that already contain a valid digest in their name
- Remove remaining support for Ruby < 2.4.#672
4.0.2
- Fix
etagand digest path compilation that were generating string with invalid digest since 4.0.1.4.0.1
- Fix for Ruby 2.7 keyword arguments warning in
base.rb. #660- Fix for when
x_sprockets_linecountis missing from a source map.- Fix subresource integrity to match the digest of the asset.
4.0.0
4.0.0.beta10
- Fix YACB (Yet Another Caching Bug) Fix broken expansion of asset link paths
4.0.0.beta9
- Minimum Ruby version for Sprockets 4 is now 2.5+ which matches minimum ruby version of Rails #604
- Fix threading bug introduced in Sprockets 4 #603
- Warn when two potential manifest files exist. #560
4.0.0.beta8
- Security release for CVE-2018-3760
4.0.0.beta7
- Fix a year long bug that caused
Sprockets::FileNotFounderrors when the asset was present #547- Raise an error when two assets such as foo.js and foo.js.erb would produce the same output artifact (foo.js) [#549 #530]
- Process
*.jst.eco.erbfiles with ERBProcessor4.0.0.beta6
4.0.0.beta5
... (truncated)
Commits
58cca17Preparing for sprockets 4.0.3 release4aa1c55Merge pull request #731 from radar/patch-1841758bterser-ruby -> terser3a0fb4aAddress actions/runner#849ba33661Merge pull request #716 from ahorek/delegate3c419a0Merge pull request #715 from olleolleolle/ci-allow-failures0ceb537Update ci.ymlc05051eMerge pull request #722 from SKoschnicke/patch-1a13a6f5Merge pull request #725 from benny-burkhart/eliminiate-md5-enabling-fips4580b98Remove all references to MD5, for FIPS compliance- 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 closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
@dependabot rebase
Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!
If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.
@dependabot recreate
@j9t checked, and this didnt work jekyll 3.9.2 | Error: wrong number of arguments (given 2, expected 1)
Then we need to dive in and adjust the code accordingly. This is important but not urgent, so as long as we don’t accrue too many of these PRs this can wait a few days, and we can check on internal support if need be, too.
@dependabot reopen
@j9t there is a problem with this version of sprockets let's use older version and close this pr
https://stackoverflow.com/questions/60198057/jekyll-wrong-number-of-arguments-given-2-expected-1-argumenterror

@itay1313, see earlier notes—let’s keep everything open for which there is a newer version, so that we there’s visibility for it.
This issue here seems to exist for some time, so either we’re lucky and someone fixes this (either on the Jekyll or on the Sprockets side), or we bite the bullet and try to work around it, or bring this issue to either side’s attention (file a bug report with Jekyll or Sprockets).
If you want we can add a label for this. Don’t worry about it too much as long as we only have 1–3 of these requests, and keep an eye on it.