---
title: "sinatra-contrib 3.0.0 Breaking Changes on RubyGems"
description: "What each sinatra-contrib release removed, renamed or changed: 21 breaking changes in 2 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/sinatra-contrib
last_updated: 2026-12-04
---

# sinatra-contrib breaking changes

sinatra-contrib 3.0.0 (September 26, 2022) is its newest release with breaking changes, 12 of them. The first: Removes Less templating library support in sinatra-contrib 3.0.0. Every breaking API change we have recorded in sinatra-contrib on RubyGems: 21 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.2`. [Source repository](https://github.com/sinatra/sinatra)

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

- From [2.0.0](#v-2-0-0) to [3.0.0](#v-3-0-0): 12 breaking changes in 1 version.

## sinatra-contrib 3.0.0 breaking changes

sinatra-contrib 3.0.0, released September 26, 2022: 12 breaking changes.

- **Removed**  

Support for the defunct Less templating library is removed. Code that renders Less templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for Mediawiki as a template engine is removed. Code that renders Mediawiki templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for the erubis template engine is removed. Code that renders erubis templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for CoffeeScript as a template engine is removed. Code that renders CoffeeScript templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for SASS as a template engine is removed. Code that renders SASS templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Older Ruby versions are no longer supported; the minimum Ruby version is now 2.6. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for the Stylus template engine is removed. Code that renders Stylus templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for the textile template engine is removed. Code that renders textile templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for Wlang as a template engine is removed. Code that renders Wlang templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for Creole as a template engine is removed. Code that renders Creole templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

The Reel integration is removed. Code that depends on it must be changed. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)
- **Removed**  

Support for Radius as a template engine is removed. Code that renders Radius templates must switch to a supported engine. [github.com](https://github.com/sinatra/sinatra/blob/v3.0.0/CHANGELOG.md)

## sinatra-contrib 2.0.0 breaking changes

sinatra-contrib 2.0.0, released May 7, 2017: 9 breaking changes.

- **Behavior changed**  

Requests with status 400 now raise and handle exceptions, which can change error responses for existing apps. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Rack middleware is set up when the server starts rather than on the first request. Middleware that depends on lazy initialization may need changes. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Source files now use the frozen_string_literal feature, so code that mutates string literals may fail. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

CSRF authenticity tokens are always 32 characters long. Code that assumed a different token length may need changes. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed**  

Route patterns are now parsed by Mustermann, so pattern matching may differ from earlier versions. Check existing route patterns after upgrading. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `has_key?`  

The indifferent-access hash method now treats String and Symbol keys the same, which can change lookup results. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Behavior changed** `not_found`  

The 404 handling of not_found and error is now the same, so apps relying on the old difference may respond differently. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Default changed** `session_secret`  

In development, classic and modular apps now use the same session_secret, so sessions may be shared between them. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)
- **Configuration changed**  

Rack::Test is no longer a runtime dependency, so apps that load it in production must add it to their own Gemfile. [github.com](https://github.com/sinatra/sinatra/blob/v2.0.0/CHANGELOG.md)

## Related packages

- [sinatra](https://since.dev/packages/gem/sinatra.md)
- [rack-protection](https://since.dev/packages/gem/rack-protection.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.
