github shakacode/shakapacker v9.6.1

20 hours ago

[v9.6.1] - March 8, 2026

Fixed

  • Fixed Env#current crashing when Rails is not loaded. PR #963 by ihabadham. Added defined?(Rails) guard to Shakapacker::Env#current so it falls back to RAILS_ENV/RACK_ENV environment variables when called from non-Rails Ruby processes (e.g., bin/dev scripts). Previously, this would raise a NameError and silently fall back to "production".

Documentation

  • Added Node package API documentation. PR #900 by justin808. New guide (docs/node_package_api.md) documenting the JavaScript API exports, configuration objects, import entrypoints for webpack and rspack, and built-in third-party support resources.

Don't miss a new shakapacker release

NewReleases is sending notifications on new releases.