---
title: "regex-syntax 0.8.0 Breaking Changes on crates.io | Since.dev"
description: "What each regex-syntax release removed, renamed or changed: 71 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/regex-syntax
last_updated: 2026-12-04
---

# regex-syntax breaking changes

regex-syntax 0.8.0 (October 9, 2023) is its newest release with breaking changes, 14 of them. The first: Removed regex_syntax::ast::Ast::Class. Every breaking API change we have recorded in regex-syntax on crates.io: 71 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

Latest version `0.8.12`, released November 18, 2026. [Source repository](https://github.com/rust-lang/regex)

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

- From [0.7.0](#v-0-7-0) to [0.8.0](#v-0-8-0): 14 breaking changes in 1 version.

## regex-syntax 0.8.0 breaking changes

regex-syntax 0.8.0, released October 9, 2023: 14 breaking changes.

- **Removed** `regex_syntax::ast::Ast::Class`  

regex_syntax::ast::Ast::Class was removed in regex-syntax 0.8.0 [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Removed** `regex_syntax::ast::Class`  

regex_syntax::ast::Class was removed in regex-syntax 0.8.0 [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Alternation`  

Was Alternation(Alternation); now Alternation(Box\<Alternation>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Assertion`  

Was Assertion(Assertion); now Assertion(Box\<Assertion>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Concat`  

Was Concat(Concat); now Concat(Box\<Concat>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Dot`  

Was Dot(Span); now Dot(Box\<Span>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Empty`  

Was Empty(Span); now Empty(Box\<Span>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Flags`  

Was Flags(SetFlags); now Flags(Box\<SetFlags>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Group`  

Was Group(Group); now Group(Box\<Group>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Literal`  

Was Literal(Literal); now Literal(Box\<Literal>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::ast::Ast::Repetition`  

Was Repetition(Repetition); now Repetition(Box\<Repetition>). [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::hir::Look::as_repr`  

Was fn as_repr(self) -> u16; now fn as_repr(self) -> u32. [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::hir::Look::from_repr`  

Was fn from_repr(repr: u16) -> Option\<Look>; now fn from_repr(repr: u32) -> Option\<Look>. [crates.io](https://crates.io/crates/regex-syntax/0.8.0)
- **Signature changed** `regex_syntax::hir::LookSet::bits`  

Was bits: u16; now bits: u32. [crates.io](https://crates.io/crates/regex-syntax/0.8.0)

## regex-syntax 0.7.0 breaking changes

regex-syntax 0.7.0, released April 20, 2023: 57 breaking changes.

- **Removed** `regex_syntax::ast::ErrorKind::__Nonexhaustive`  

regex_syntax::ast::ErrorKind::\_\_Nonexhaustive was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::ast::LiteralKind::Punctuation`  

regex_syntax::ast::LiteralKind::Punctuation was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::Error::__Nonexhaustive`  

regex_syntax::Error::\_\_Nonexhaustive was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::hir::Anchor`  

regex_syntax::hir::Anchor was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::hir::Class::is_always_utf8`  

regex_syntax::hir::Class::is_always_utf8 was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::hir::ErrorKind::__Nonexhaustive`  

regex_syntax::hir::ErrorKind::\_\_Nonexhaustive was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::hir::ErrorKind::EmptyClassNotAllowed`  

regex_syntax::hir::ErrorKind::EmptyClassNotAllowed was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::hir::Group`  

regex_syntax::hir::Group was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::hir::GroupKind`  

regex_syntax::hir::GroupKind was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)
- **Removed** `regex_syntax::hir::Hir::anchor`  

regex_syntax::hir::Hir::anchor was removed in regex-syntax 0.7.0 [crates.io](https://crates.io/crates/regex-syntax/0.7.0)

And 47 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [regex](https://since.dev/packages/crates/regex.md)
- [regex-automata](https://since.dev/packages/crates/regex-automata.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.
