---
title: "syntree 0.20.0 Breaking Changes on crates.io | Since.dev"
description: "What each syntree release removed, renamed or changed: 16 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/syntree
last_updated: 2026-12-04
---

# syntree breaking changes

syntree 0.20.0 (November 27, 2026) is its newest release with breaking changes, 16 of them. The first: Removed syntree::Flavor::Indexes. Every breaking API change we have recorded in syntree on crates.io: 16 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.20.3`, released November 29, 2026. [Source repository](https://github.com/udoprog/syntree)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## syntree 0.20.0 breaking changes

syntree 0.20.0, released November 27, 2026: 16 breaking changes.

- **Removed** `syntree::Flavor::Indexes`  

syntree::Flavor::Indexes was removed in syntree 0.20.0 [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Removed** `syntree::TreeIndex`  

syntree::TreeIndex was removed in syntree 0.20.0 [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Builder::close_at`  

Was fn close_at(&mut self, c: &Checkpoint\<F::Pointer>, data: T) -> Result\<F::Pointer, Error\<F::Error>>; now fn close_at(&mut self, c: Checkpoint\<F::Pointer>, data: T) -> Result\<F::Pointer, Error\<F::Error>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Builder::close_at_with`  

Was fn close_at_with(&mut self, c: &Checkpoint\<F::Pointer>, data: T, span: Span\<F::Index>) -> Result\<F::Pointer, Error\<F::Error>>; now fn close_at_with(&mut self, c: Checkpoint\<F::Pointer>, data: T, span: Span\<F::Index>) ->... [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Checkpoint`  

Was struct Checkpoint\<P>(Rc\<Cell\<Inner\<P>>>) where P: Copy; now struct Checkpoint\<P>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::edit::ChangeSet::remove`  

Was fn remove(&mut self, id: F::Pointer); now fn remove(&mut self, element: Element<'\_, T, F>). [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Node::find_preceding`  

Was fn find_preceding\<P>(&self, mut predicate: P) -> Option\<Node<'a, T, F>> where P: FnMut(Node<'a, T, F>) -> bool,; now fn find_preceding\<P>(&self, predicate: P) -> Option\<Element<'a, T, F>> where P: FnMut(Element<'a, T, F>) -> bool,. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Node::first`  

Was fn first(&self) -> Option\<Node<'a, T, F>>; now fn first(&self) -> Option\<Element<'a, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Node::last`  

Was fn last(&self) -> Option\<Node<'a, T, F>>; now fn last(&self) -> Option\<Element<'a, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Node::next`  

Was fn next(&self) -> Option\<Node<'a, T, F>>; now fn next(&self) -> Option\<Element<'a, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Node::prev`  

Was fn prev(&self) -> Option\<Node<'a, T, F>>; now fn prev(&self) -> Option\<Element<'a, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::node::Walk::next_with_depth`  

Was fn next_with_depth(&mut self) -> Option<(isize, Node<'a, T, F>)>; now fn next_with_depth(&mut self) -> Option<(isize, Element<'a, T, F>)>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Tree::first`  

Was fn first(&self) -> Option\<Node<'\_, T, F>>; now fn first(&self) -> Option\<Element<'\_, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Tree::last`  

Was fn last(&self) -> Option\<Node<'\_, T, F>>; now fn last(&self) -> Option\<Element<'\_, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Tree::node_with_range`  

Was fn node_with_range(&self, span: Range\<usize>) -> Option\<Node<'\_, T, F>>; now fn node_with_range(&self, span: Range\<usize>) -> Option\<Element<'\_, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)
- **Signature changed** `syntree::Tree::node_with_span`  

Was fn node_with_span(&self, span: Span\<F::Index>) -> Option\<Node<'\_, T, F>>; now fn node_with_span(&self, span: Span\<F::Index>) -> Option\<Element<'\_, T, F>>. [crates.io](https://crates.io/crates/syntree/0.20.0)

## 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.
