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
On this page
Latest version 5.14.0.
Its 5.0.0 release requires Ruby 2.5 or later. Ruby end of life dates.
- From 4.0.0 to 5.0.0: 6 breaking changes in 1 version.
- From 3.0.0 to 5.0.0: 15 breaking changes in 2 versions.
liquid 5.0.0 breaking changes
- Removed
Taint checking is no longer supported. Remove any code that relies on taint checking. github.com - Removed
The gem now requires Ruby 2.5 or later. Upgrade Ruby before updating liquid. github.com - Removed
Strainer
The Strainer class is split into StrainerFactory and StrainerTemplate. Code that uses Strainer directly must switch to the new classes. github.com - Behavior changed
BlockBody.blank?
BlockBody#blank? is now determined when the template is parsed rather than at render time. github.com - Behavior changed
Strainer
Passing a nil context to Strainer is no longer handled. Always pass a valid context. github.com - Signature changed
Document.unknown_tag
Document#unknown_tag now takes the tag markup and tokenizer as arguments. Update overrides to accept them. github.com
liquid 4.0.0 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 - Removed
Liquid 4.0.0 no longer supports Ruby 1.9, so projects on that Ruby version cannot use this release. github.com - Removed
liquid_methods
The liquid_methods API is gone and code using it must be changed. github.com - Renamed
before_method
Custom Drop classes must define liquid_method_missing instead of before_method. github.com - Renamed
has_interrupt?
The deprecated has_interrupt? method has been renamed; code calling it must be updated. github.com - Renamed
has_key?
The deprecated has_key? method has been renamed; code calling it must be updated. github.com - 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 - 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 - Signature changed
read_template_file
Custom file systems must update read_template_file, which no longer receives the context argument. github.com
liquid 3.0.0 breaking changes
- Removed
The ActionView template handler was removed. Templates relying on it must be changed. github.com - Removed
Block.end_tag
Block#end_tag is gone. Override parse instead, calling super and then your own code. github.com - 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 - 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 - 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
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.