sprockets breaking changes
sprockets 4.0.0 (October 8, 2019) is its newest release with breaking changes. The first: Manifest files are now sorted alphabetically in sprockets 4.0.0. Every breaking API change we have recorded in sprockets on RubyGems: 13 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.4.1. Source repository
Its 4.0.0.beta9 release requires Ruby 2.5 or later. Ruby end of life dates.
sprockets 4.0.0 breaking changes
- Behavior changed
Manifest files are sorted alphabetically, so any code that depended on the previous order may see different results. github.com
sprockets 4.0.0.beta9 breaking changes
- Behavior changed
Sprockets 4 requires Ruby 2.5 or later, matching the minimum Ruby version of Rails. github.com
sprockets 4.0.0.beta7 breaking changes
- Behavior changed
Assets such as foo.js and foo.js.erb that build to the same output file now raise an error instead of silently colliding. Rename one of them. github.com
sprockets 4.0.0.beta5 breaking changes
- Behavior changed
Source map metadata is now written in the compressed form from the source map v3 spec. Tools that read the old metadata format may need updating. github.com
sprockets 4.0.0.beta4 breaking changes
- Behavior changed
Changing the configured version now invalidates the digest of every asset, so asset URLs change on a version bump. github.com
sprockets 3.0.0 breaking changes
- Removed
= include
Replace //= include with ERB calls to environment.find_asset to inline other assets. github.com - Removed
LESS
LESS files are no longer compiled by built-in support; a LESS processor gem must be used instead. github.com - Renamed
Asset.digest
Use Asset#hexdigest; Asset#digest is deprecated and will return a raw byte String in 4.x. github.com - Renamed
manifest-abc123.json
JSON manifests are now written as .sprockets-abc123.json; tasks depending on the old name must be updated. github.com - Default changed
Precompiled manifests no longer create gzipped copies by default; enable gzip generation explicitly if needed. github.com - Default changed
digest_class
The default digest is now SHA256; configuring digest_class is deprecated. github.com - Default changed
Environment.version
The environment version now only busts the asset cache and no longer changes asset digests. github.com - Signature changed
Environment.resolve
Environment#resolve accepts a compat keyword; 2.x behavior corresponds to compat: true. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.