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

# liquid breaking changes

liquid 5.0.0 (January 6, 2021) is its newest release with breaking changes, 6 of them. The first: Removes taint checking support in liquid 5.0.0. Every breaking API change we have recorded in liquid on RubyGems: 20 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.14.0`. 

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

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 6 breaking changes in 1 version.
- From [3.0.0](#v-3-0-0) to [5.0.0](#v-5-0-0): 15 breaking changes in 2 versions.

## liquid 5.0.0 breaking changes

liquid 5.0.0, released January 6, 2021: 6 breaking changes.

- **Removed**  

Taint checking is no longer supported. Remove any code that relies on taint checking. [github.com](https://github.com/Shopify/liquid/blob/v5.0.0/History.md)
- **Removed**  

The gem now requires Ruby 2.5 or later. Upgrade Ruby before updating liquid. [github.com](https://github.com/Shopify/liquid/blob/v5.0.0/History.md)
- **Removed** `Strainer`  

The Strainer class is split into StrainerFactory and StrainerTemplate. Code that uses Strainer directly must switch to the new classes. [github.com](https://github.com/Shopify/liquid/blob/v5.0.0/History.md)
- **Behavior changed** `BlockBody.blank?`  

BlockBody#blank? is now determined when the template is parsed rather than at render time. [github.com](https://github.com/Shopify/liquid/blob/v5.0.0/History.md)
- **Behavior changed** `Strainer`  

Passing a nil context to Strainer is no longer handled. Always pass a valid context. [github.com](https://github.com/Shopify/liquid/blob/v5.0.0/History.md)
- **Signature changed** `Document.unknown_tag`  

Document#unknown_tag now takes the tag markup and tokenizer as arguments. Update overrides to accept them. [github.com](https://github.com/Shopify/liquid/blob/v5.0.0/History.md)

## liquid 4.0.0 breaking changes

liquid 4.0.0, released December 14, 2016: 9 breaking changes.

- **Removed**  

Liquid 4.0.0 no longer supports Ruby 2.0, so projects on that Ruby version cannot use this release. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Removed**  

Liquid 4.0.0 no longer supports Ruby 1.9, so projects on that Ruby version cannot use this release. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Removed** `liquid_methods`  

The liquid_methods API is gone and code using it must be changed. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Renamed** `before_method`  

Custom Drop classes must define liquid_method_missing instead of before_method. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Renamed** `has_interrupt?`  

The deprecated has_interrupt? method has been renamed; code calling it must be updated. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Renamed** `has_key?`  

The deprecated has_key? method has been renamed; code calling it must be updated. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Behavior changed**  

Non-Liquid::Error exceptions now render as an opaque internal error by default instead of their own message, so code that depends on the original error text must change. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Behavior changed** `Liquid.Template.register_filter`  

Registering a filter module that overrides registered public methods as private or protected now raises an error. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)
- **Signature changed** `read_template_file`  

Custom file systems must update read_template_file, which no longer receives the context argument. [github.com](https://github.com/Shopify/liquid/blob/v4.0.0/History.md)

## liquid 3.0.0 breaking changes

liquid 3.0.0, released November 12, 2014: 5 breaking changes.

- **Removed**  

The ActionView template handler was removed. Templates relying on it must be changed. [github.com](https://github.com/Shopify/liquid/blob/v3.0.0/History.md)
- **Removed** `Block.end_tag`  

Block#end_tag is gone. Override parse instead, calling super and then your own code. [github.com](https://github.com/Shopify/liquid/blob/v3.0.0/History.md)
- **Behavior changed**  

Condition objects no longer allow arbitrary method invocation for security reasons. Code relying on calling arbitrary methods through conditions will change behavior. [github.com](https://github.com/Shopify/liquid/blob/v3.0.0/History.md)
- **Behavior changed**  

A filter called with the wrong number of arguments now raises Liquid::ArgumentError instead of ::ArgumentError. Update rescue clauses that match the old class. [github.com](https://github.com/Shopify/liquid/blob/v3.0.0/History.md)
- **Signature changed** `Tag.initialize`  

Tag#initialize's third argument is now options rather than tokens. Update custom tags that read the third argument. [github.com](https://github.com/Shopify/liquid/blob/v3.0.0/History.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.
