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

# z3 breaking changes

z3 0.25.0 (November 23, 2026) is its newest release with breaking changes. The first: Signature changed z3::RecFuncDecl::add_def. Every breaking API change we have recorded in z3 on crates.io: 15 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

Latest version `0.25.0`, released November 23, 2026. [Source repository](https://github.com/prove-rs/z3.rs)

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

- From [0.23.0](#v-0-23-0) to [0.25.0](#v-0-25-0): 14 breaking changes in 2 versions.

## z3 0.25.0 breaking changes

z3 0.25.0, released November 23, 2026: 1 breaking change.

- **Signature changed** `z3::RecFuncDecl::add_def`  

RecFuncDecl::add_def now returns Result<(), Error> instead of nothing, and reports a length mismatch as Error::ArityMismatch. Callers must handle the returned Result. [crates.io](https://crates.io/crates/z3/0.25.0)

## z3 0.24.0 breaking changes

z3 0.24.0, released November 20, 2026: 13 breaking changes.

- **Removed** `z3::Fixedpoint::from_file`  

Fixedpoint::from_file now returns Result<\_, Error> instead of Result<\_, String>. Callers that match on the error String must change. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Removed** `z3::Fixedpoint::from_string`  

Fixedpoint::from_string now returns Result<\_, Error> instead of Result<\_, String>. Callers that match on the error String must change. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Removed** `z3::Optimize::from_string`  

Optimize::from_string now returns Result<\_, Error>. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Removed** `z3::Solver::from_string`  

Solver::from_string now returns Result<\_, Error>. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Signature changed** `z3::datatype_builder::create_datatypes`  

create_datatypes now returns Result<\_, Error>. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Signature changed** `z3::DatatypeBuilder::finish`  

DatatypeBuilder::finish now returns Result<\_, Error> instead of its previous return type. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Signature changed** `z3::Fixedpoint::set_params`  

Fixedpoint::set_params now returns Result<\_, Error>. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Signature changed** `z3::Optimize::set_params`  

Optimize::set_params now returns Result<\_, Error>. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Signature changed** `z3::Solver::pop`  

Solver::pop now returns Result<\_, Error>. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)
- **Signature changed** `z3::Solver::set_params`  

Solver::set_params now returns Result<\_, Error>. Callers must handle the Result. [crates.io](https://crates.io/crates/z3/0.24.0)

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

## z3 0.23.0 breaking changes

z3 0.23.0, released November 11, 2026: 1 breaking change.

- **Signature changed** `Int.power`  

Int::power() returns Int when built against Z3 5.4.0 or later and Real on older Z3 versions. Code that relies on a Real result must be updated to handle Int. [github.com](https://github.com/prove-rs/z3.rs/releases/tag/z3-v0.23.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.
