syntax_tree breaking changes
syntax_tree 6.0.0 (February 10, 2023) is its newest release with breaking changes, 11 of them. The first: Removed with_current_environment. Every breaking API change we have recorded in syntax_tree on RubyGems: 39 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.3.0. Source repository
Packages on RubyGems run on Ruby. Ruby end of life dates.
- From 5.0.0 to 6.0.0: 11 breaking changes in 1 version.
- From 1.0.0 to 6.0.0: 37 breaking changes in 5 versions.
syntax_tree 6.0.0 breaking changes
- Removed
with_current_environment
The with_current_environment method has been removed with no replacement listed. github.com - Renamed
current_environment
The current_environment method has been renamed to current_scope. github.com - Renamed
SyntaxTree.Visitor.FieldVisitor
FieldVisitor is now under SyntaxTree directly. Update references. github.com - Renamed
SyntaxTree.Visitor.JSONVisitor
JSONVisitor is now under SyntaxTree directly. Update references. github.com - Renamed
SyntaxTree.Visitor.MatchVisitor
MatchVisitor is now under SyntaxTree directly. Update references. github.com - Renamed
SyntaxTree.Visitor.MutationVisitor
MutationVisitor is now under SyntaxTree directly. Update references. github.com - Renamed
SyntaxTree.Visitor.PrettyPrintVisitor
PrettyPrintVisitor is now under SyntaxTree directly. Update references. github.com - Renamed
WithEnvironment
The WithEnvironment module has been renamed to WithScope. Update references to the new name. github.com - Behavior changed
Many constants are autoloaded rather than required up front, which matters for forking environments that preload constants. github.com - Behavior changed
a
Scopes can now see variables from the enclosing tree, so a variable in a nested def no longer reads as a separate variable. github.com - Signature changed
SyntaxTree.Statements.initialize
Statements#initialize no longer accepts a parser as its first argument; it now takes children and location. github.com
syntax_tree 5.0.0 breaking changes
- Removed
ArgsForward.value
These nodes no longer have a value field holding the keyword string. github.com - Removed
IfMod
IfMod is gone; use IfNode, which has a modifier? method to detect the modifier form. github.com - Removed
MethodAddBlock
Command and CommandCall nodes now carry a block attribute instead of wrapping in MethodAddBlock. github.com - Removed
SyntaxTree.Formatter.OPTIONS
The global mutable options hash is gone; create an Options object with Options.new and modify that instead. github.com - Removed
VarAlias
VarAlias is no longer a node; use AliasNode and its var_alias? method. github.com - Removed
visit_brace_block
Use visit_block instead of visit_brace_block. github.com - Removed
visit_def_endless
The visitor no longer has visit_def_endless; endless definitions are visited through DefNode. github.com - Removed
visit_defs
The visitor no longer has visit_defs; singleton method definitions are visited through DefNode. github.com - Removed
visit_do_block
Use visit_block instead of visit_do_block. github.com - Removed
visit_dot2
Use visit_range instead of visit_dot2. github.com
And 11 more in this version. Sign up to see every change
syntax_tree 4.0.0 breaking changes
- Configuration changed
The gem now needs at least version 1.0.0 of prettier_print. Projects pinning an older prettier_print must upgrade it. github.com
syntax_tree 3.0.0 breaking changes
- Removed
The release removed the legacy inlay hints code. Editor integrations that relied on it will no longer get those hints. github.com
syntax_tree 2.0.0 breaking changes
- Removed
disassembly code action
The disassembly code action has been removed to limit the scope of the project. Code relying on it must be changed. github.com - Renamed
Implicits
The Implicits class was renamed to InlayHints to match the new LSP spec. Update references to use InlayHints. github.com - Behavior changed
SyntaxTree
SyntaxTree is now a module rather than a class; parser functionality moved into SyntaxTree::Parser. Code that instantiates or subclasses SyntaxTree must switch to SyntaxTree::Parser. github.com
syntax_tree 1.0.0 breaking changes
- Removed
AccessCtrl
The AccessCtrl node is gone; formatting now handles access control correctly when a Statements node is reached, so code relying on this node must change. github.com - Removed
MethodAddArg
The MethodAddArg node is removed; method call arguments are now an optional arguments field on Call and FCall nodes. 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.