github shakacode/shakapacker v10.0.0-rc.0

pre-release7 hours ago

Added

  • Added bin/shakapacker-watch binstub for clean Ctrl-C shutdown in Procfile-based workflows. PR #1026 by justin808. The new wrapper script traps INT/TERM signals and forwards TERM to the underlying bin/shakapacker --watch process, preventing Ruby interrupt backtraces when stopping bin/dev. Use bin/shakapacker-watch --watch in Procfiles instead of bin/shakapacker --watch.
  • Allowed webpack-cli v7 (^7.0.0) in peer dependencies. PR #1021 by justin808. Fixes #1020. Note: webpack-cli v7 requires Node.js >= 20.9.0.

⚠️ Breaking Changes

  • Breaking: bumped the minimum webpack version to ^5.101.0. PR #1021 by justin808. The previous minimum was ^5.76.0.
  • Breaking: required webpack-dev-server ^5.2.2 and dropped support for v4. PR #1021 by justin808. The removed v4 range was ^4.15.2.

Changed

  • Changed shakapacker:install to default webpack-cli installs to the latest v6 range. PR #1021 by justin808. This keeps installs compatible with Node.js 20.0-20.8; v7 remains supported via peer dependencies for Node.js >= 20.9.0.
  • Changed dev server config handling to warn on deprecated middleware hooks and ignore them for webpack-dev-server v5. PR #1021 by justin808. Use setup_middlewares instead of on_before_setup_middleware and on_after_setup_middleware.

Fixed

  • Ensured shakapacker:install installs the latest compression-webpack-plugin. PR #1035 by G-Rath.

Don't miss a new shakapacker release

NewReleases is sending notifications on new releases.