---
title: "sprockets 4.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each sprockets release removed, renamed or changed: 13 breaking changes in 6 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/sprockets
last_updated: 2026-12-04
---

# 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

Latest version `4.4.1`. [Source repository](https://github.com/rails/sprockets)

Its 4.0.0.beta9 release requires Ruby 2.5 or later. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 5 breaking changes in 5 versions.

## sprockets 4.0.0 breaking changes

sprockets 4.0.0, released October 8, 2019: 1 breaking change.

- **Behavior changed**  

Manifest files are sorted alphabetically, so any code that depended on the previous order may see different results. [github.com](https://github.com/rails/sprockets/blob/v4.0.0/CHANGELOG.md)

## sprockets 4.0.0.beta9 breaking changes

sprockets 4.0.0.beta9, released October 8, 2019: 1 breaking change.

- **Behavior changed**  

Sprockets 4 requires Ruby 2.5 or later, matching the minimum Ruby version of Rails. [github.com](https://github.com/rails/sprockets/blob/v4.0.0/CHANGELOG.md)

## sprockets 4.0.0.beta7 breaking changes

sprockets 4.0.0.beta7, released October 8, 2019: 1 breaking change.

- **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](https://github.com/rails/sprockets/blob/v4.0.0/CHANGELOG.md)

## sprockets 4.0.0.beta5 breaking changes

sprockets 4.0.0.beta5, released October 8, 2019: 1 breaking change.

- **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](https://github.com/rails/sprockets/blob/v4.0.0/CHANGELOG.md)

## sprockets 4.0.0.beta4 breaking changes

sprockets 4.0.0.beta4, released October 8, 2019: 1 breaking change.

- **Behavior changed**  

Changing the configured version now invalidates the digest of every asset, so asset URLs change on a version bump. [github.com](https://github.com/rails/sprockets/blob/v4.0.0/CHANGELOG.md)

## sprockets 3.0.0 breaking changes

sprockets 3.0.0, released April 12, 2015: 8 breaking changes.

- **Removed** `= include`  

Replace //= include with ERB calls to environment.find_asset to inline other assets. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)
- **Removed** `LESS`  

LESS files are no longer compiled by built-in support; a LESS processor gem must be used instead. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)
- **Renamed** `Asset.digest`  

Use Asset#hexdigest; Asset#digest is deprecated and will return a raw byte String in 4.x. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)
- **Renamed** `manifest-abc123.json`  

JSON manifests are now written as .sprockets-abc123.json; tasks depending on the old name must be updated. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)
- **Default changed**  

Precompiled manifests no longer create gzipped copies by default; enable gzip generation explicitly if needed. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)
- **Default changed** `digest_class`  

The default digest is now SHA256; configuring digest_class is deprecated. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)
- **Default changed** `Environment.version`  

The environment version now only busts the asset cache and no longer changes asset digests. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)
- **Signature changed** `Environment.resolve`  

Environment#resolve accepts a compat keyword; 2.x behavior corresponds to compat: true. [github.com](https://github.com/rails/sprockets/releases/tag/v3.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
