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

# knapsack breaking changes

knapsack 4.0.0 (August 5, 2021) is its newest release with breaking changes. The first: Drops support for RSpec 2.x in knapsack 4.0.0. Every breaking API change we have recorded in knapsack on RubyGems: 5 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released August 5, 2021. [Source repository](https://github.com/KnapsackPro/knapsack)

Its 3.0.0 release requires Ruby 2.2 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): 1 breaking change in 1 version.
- From [1.0.0](#v-1-0-0) to [4.0.0](#v-4-0-0): 3 breaking changes in 3 versions.

## knapsack 4.0.0 breaking changes

knapsack 4.0.0, released August 5, 2021: 1 breaking change.

- **Removed**  

RSpec 2.x is no longer supported; users on RSpec 2 must upgrade to RSpec 3 before using this release. [github.com](https://github.com/KnapsackPro/knapsack/blob/v4.0.0/CHANGELOG.md)

## knapsack 3.0.0 breaking changes

knapsack 3.0.0, released June 22, 2021: 1 breaking change.

- **Behavior changed**  

The gem now requires Ruby 2.2 or later; older Ruby versions must be upgraded before using this release. [github.com](https://github.com/KnapsackPro/knapsack/blob/v3.0.0/CHANGELOG.md)

## knapsack 2.0.0 breaking changes

knapsack 2.0.0, released June 21, 2021: 1 breaking change.

- **Default changed**  

Ruby 2.1 is now the minimum required version. Users on older Ruby versions must upgrade Ruby before using this release. [github.com](https://github.com/KnapsackPro/knapsack/blob/v2.0.0/CHANGELOG.md)

## knapsack 1.0.0 breaking changes

knapsack 1.0.0, released October 19, 2014: 2 breaking changes.

- **Renamed** `KNAPSACK_SPEC_PATTERN`  

The environment variable KNAPSACK_SPEC_PATTERN is now called KNAPSACK_TEST_FILE_PATTERN. Update any configuration that sets the old name. [github.com](https://github.com/KnapsackPro/knapsack/blob/v1.0.0/CHANGELOG.md)
- **Default changed**  

The default report name is now knapsack_rspec_report.json for RSpec and knapsack_cucumber_report.json for Cucumber. Update any code that reads the old default report file name. [github.com](https://github.com/KnapsackPro/knapsack/blob/v1.0.0/CHANGELOG.md)

## 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.
