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

build(deps): bump shakapacker from 6.6.0 to 7.0.2 #1700

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 4, 2023

Bumps shakapacker from 6.6.0 to 7.0.2.

Changelog

Sourced from shakapacker's changelog.

Versions

[Unreleased]

Changes since last non-beta release.

Please add entries here for your pull requests that are not yet released.

Fixed

  • Fixed creation of assets:precompile if it is missing PR 325 by ahangarha.

[v7.0.1] - June 27, 2023

Fixed

  • Fixed the condition for showing warning for setting useContentHash to false in the production environment. PR 320 by ahangarha.

[v7.0.0] - June 23, 2023

Breaking changes

  • Removes defaults passed to @babel/preset-typescript. PR 273 by tomdracz.

    @babel/preset-typescript has been initialised in default configuration with { allExtensions: true, isTSX: true } - meaning every file in the codebase was treated as TSX leading to potential issues. This has been removed and returns to sensible default of the preset which is to figure out the file type from the extensions. This change might affect generated output however so it is marked as breaking.

  • Export immutable webpackConfig function. PR 293 by tomdracz.

    The webpackConfig property in the shakapacker module has been updated to be a function instead of a global mutable webpack configuration. This function now returns an immutable webpack configuration object, which ensures that any modifications made to it will not affect any other usage of the webpack configuration. If a project still requires the old mutable object, it can be accessed by replacing webpackConfig with globalMutableWebpackConfig. Check v7-upgrade documentation for more detail.

Added

  • Set CSS modules mode depending on file type. PR 261 by talyuk.
  • All standard webpack entries with the camelCase format are now supported in shakapacker.yml in snake_case format. PR276 by ahangarha.
  • The shakapacker:install rake task now has an option to force overriding files using FORCE=true environment variable PR311 by ahangarha.
  • Allow configuration of use of contentHash for specific environment PR 234 by justin808.

Changed

  • Rename Webpacker to Shakapacker in the entire project including config files, binstubs, environment variables, etc. with a high degree of backward compatibility.

    This change might be breaking for certain setups and edge cases. More information: v7 Upgrade Guide PR157 by ahangarha

  • Set source_entry_path to packs and nested_entries to true inshakapacker.yml PR 284 by ahangarha.

  • Dev server configuration is modified to follow webpack recommended configurations for dev server. PR276 by ahangarha:

    • Deprecated https entry is removed from the default configuration file, allowing to set server or https as per the project requirements. For more detail, check webpack documentation. The https entry can be effective only if there is no server entry in the config file.
    • allowed_hosts is now set to auto instead of all by default.
  • Remove the arbitrary stripping of the top-level directory when generating static file paths. PR 283 by tomdracz.

    Prior to this change, top level directory of static assets like images and fonts was stripped. This meant that file in app/javascript/images/image.png would be output to static/image.png directory and could be referenced through helpers as image_pack_tag("image.jpg") or image_pack_tag("static/image.jpg").

    Going forward, the top level directory of static files will be retained so this will necessitate the update of file name references in asset helpers. In the example above, the file sourced from app/javascript/images/image.png will be now output to static/images/image.png and needs to be referenced as image_pack_tag("images/image.jpg") or image_pack_tag("static/images/image.jpg").

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [shakapacker](https://github.com/shakacode/shakapacker) from 6.6.0 to 7.0.2.
- [Changelog](https://github.com/shakacode/shakapacker/blob/master/CHANGELOG.md)
- [Commits](shakacode/shakapacker@v6.6.0...v7.0.2)

---
updated-dependencies:
- dependency-name: shakapacker
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jul 4, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 14, 2023

Superseded by #1751.

@dependabot dependabot bot closed this Aug 14, 2023
@dependabot dependabot bot deleted the dependabot/bundler/shakapacker-7.0.2 branch August 14, 2023 10:09
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 ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants