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 webpacker from 5.4.3 to 5.4.4 #10357

Merged
merged 1 commit into from
Feb 6, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2023

Bumps webpacker from 5.4.3 to 5.4.4.

Changelog

Sourced from webpacker's changelog.

Please note that Webpacker 3.1.0 and 3.1.1 have some serious bugs so please consider using either 3.0.2 or 3.2.0

Please note that Webpacker 4.1.0 has an installer bug. Please use 4.2.0 or above

[6.0.0] - 2021-TBD

Please see UPGRADE GUIDE for more information.

const nodeModules = require('@rails/webpacker/rules/node_modules.js')
environment.loaders.append('nodeModules', nodeModules)
  • If you have added environment.loaders.delete('nodeModules') to your environment.js, this must be removed or you will receive an error (Item nodeModules not found).
  • extract_css option was removed. Webpacker will generate a separate application.css file for the default application pack, as supported by multiple files per entry introduced in 5.0.0. #2608. However, CSS will be inlined when the webpack-dev-server is used with hmr: true. JS package exports inliningCss. This is useful to enable HMR for React.
  • Webpacker's wrapper to the splitChunks() API will now default runtimeChunk: 'single' which will help prevent potential issues when using multiple entry points per page #2708.
  • Changes @babel/preset-env modules option to 'auto' per recommendation in the Babel docs #2709
  • Adds experimental Yarn 2 support. Note you must manually set nodeLinker: node-modules in your .yarnrc.yml.
  • Fixes dev server issues #2898
  • Update static files path to from media/ to static/.

Breaking changes

  • Renamed /bin/webpack to /bin/webpacker and /bin/webpack-dev-server to bin/webpacker-dev-server to avoid confusion with underlying webpack executables.
  • Removed integration installers
  • Splitchunks enabled by default
  • CSS extraction enabled by default, except when devServer is configured and running
Commits

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 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 [webpacker](https://github.com/rails/webpacker) from 5.4.3 to 5.4.4.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](rails/webpacker@v5.4.3...v5.4.4)

---
updated-dependencies:
- dependency-name: webpacker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Feb 1, 2023
Copy link
Member

@mkllnk mkllnk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changelog wasn't helpful here. This is a small patch (backport) release for compatibility with ruby 3.2. The main change is:

Use exist? instead of deprecated exists?

This should be safe. I'm merging.

@mkllnk mkllnk merged commit 207a3c9 into master Feb 6, 2023
@mkllnk mkllnk deleted the dependabot/bundler/webpacker-5.4.4 branch February 6, 2023 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant