handlebars-source breaking changes
handlebars-source 4.0.0 (September 1, 2015) is its newest release with breaking changes, 4 of them. The first: Removed AST constructors. Every breaking API change we have recorded in handlebars-source on RubyGems: 7 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
On this page
Latest version 4.7.10. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
handlebars-source 4.0.0 breaking changes
- Removed
AST constructors
Code that calls the AST constructors must build plain JavaScript objects instead. github.com - Behavior changed
Mustache output containing = is escaped, so unquoted attribute output changes; quote attributes that use mustache values. github.com - Behavior changed
Depthed paths are pushed on the stack only when the context changes, so templates using ../ must be checked and may need updating. github.com - Configuration changed
The runtime version was raised, so precompiled templates need to be recompiled to runtime at least 4.0.0. github.com
handlebars-source 3.0.0 breaking changes
- Removed
JavaScriptCompiler.namespace
JavaScriptCompiler.namespace was removed because it was unused. Stop referring to it. github.com - Behavior changed
The runtime is breaking; precompiled templates and the runtime must both be 3.x, so older precompiled output must be rebuilt. github.com - Behavior changed
SafeString
SafeString detection now relies on a toHTML method rather than the class type, so objects with toHTML are treated as safe strings. github.com
Related packages
- handlebars on npm
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.