---
title: "z3-solver 5.4.0 Breaking Changes on npm | Since.dev"
description: "What each z3-solver release removed, renamed or changed: 64 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/z3-solver
last_updated: 2026-12-04
---

# z3-solver breaking changes

z3-solver 5.4.0 (November 10, 2026) is its newest release with breaking changes, 3 of them. The first: Custom proof-mode simplifiers must now supply valid proofs in z3-solver 5.4.0. Every breaking API change we have recorded in z3-solver on npm: 64 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

Latest version `5.5.0`, released December 5, 2026. [Source repository](https://github.com/Z3Prover/z3)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [5.0.0](#v-5-0-0) to [5.4.0](#v-5-4-0): 50 breaking changes in 5 versions.

## z3-solver 5.4.0 breaking changes

z3-solver 5.4.0, released November 10, 2026: 3 breaking changes.

- **Behavior changed**  

Custom simplifiers that omit required proofs or return proofs for different assertions are now rejected. Update custom simplifiers to provide matching proofs. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.4.0/RELEASE%5FNOTES.md)
- **Behavior changed**  

Powers of zero and negative bases now follow newly specified rules, so existing Real power results can differ. Review code relying on the previous values. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.4.0/RELEASE%5FNOTES.md)
- **Behavior changed** `Z3_mk_power`  

Z3_mk_power and Python \*\* use integer exponentiation when both operands are Int, so results and negative-exponent handling change. Coerce an operand to Real to keep reciprocal semantics. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.4.0/RELEASE%5FNOTES.md)

## z3-solver 5.3.2 breaking changes

z3-solver 5.3.2, released October 25, 2026: 9 breaking changes.

- **Behavior changed** `Sort.cast`  

Sort.cast validation now rejects expressions of a different sort for uninterpreted sorts, arrays, finite sets and datatypes. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.3.2/RELEASE%5FNOTES.md)
- **Default changed**  

With sat.smt=true, array stores over singleton index domains now use a corrected default value, which can change sat and unsat results. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.3.2/RELEASE%5FNOTES.md)
- **Signature changed** `AnyExpr`  

Was type AnyExpr\<Name extends string = 'main'> = Expr\<Name> | Bool\<Name> | Arith\<Name> | IntNum\<Name> | RatNum\<Name> | BitVec\<number, Name> | BitVecNum\<number, Name> | SMTArray\<Name> | FP\<Name> | FPNum\<Name> | FPRM\<Name> | Seq\<Name> |... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.2)
- **Signature changed** `AnySort`  

Was type AnySort\<Name extends string = 'main'> = Sort\<Name> | BoolSort\<Name> | ArithSort\<Name> | BitVecSort\<number, Name> | SMTArraySort\<Name> | FPSort\<Name> | FPRMSort\<Name> | SeqSort\<Name> | ReSort\<Name>; now type AnySort\<Name extends... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.2)
- **Signature changed** `CoercibleToMap`  

Was type CoercibleToMap\<T extends AnyExpr\<Name>, Name extends string = 'main'> = T extends Bool\<Name> ? boolean | Bool\<Name> : T extends IntNum\<Name> ? bigint | number | IntNum\<Name> : T extends RatNum\<Name> ? bigint | number |... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.2)
- **Signature changed** `Expr.__typename`  

Was readonly \_\_typename: 'Expr' | Bool\['\_\_typename'\] | Arith\['\_\_typename'\] | BitVec\['\_\_typename'\] | FP\['\_\_typename'\] | FPRM\['\_\_typename'\] | Seq\['\_\_typename'\] | Re\['\_\_typename'\] | SMTArray\['\_\_typename'\] | DatatypeExpr\['\_\_typename'\] |... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.2)
- **Signature changed** `Sort.__typename`  

Was readonly \_\_typename: 'Sort' | BoolSort\['\_\_typename'\] | ArithSort\['\_\_typename'\] | BitVecSort\['\_\_typename'\] | SMTArraySort\['\_\_typename'\] | DatatypeSort\['\_\_typename'\] | FPSort\['\_\_typename'\] | FPRMSort\['\_\_typename'\] | SeqSort\['\_\_typename'\]... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.2)
- **Signature changed** `SortToExprMap`  

Was type SortToExprMap\<S extends AnySort\<Name>, Name extends string = 'main'> = S extends BoolSort ? Bool\<Name> : S extends ArithSort\<Name> ? Arith\<Name> : S extends BitVecSort\<infer Size, Name> ? BitVec\<Size, Name> : S extends... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.2)
- **Signature changed** `Z3LowLevel.Z3`  

Was Z3: {mk_context: (c: Z3_config) => Z3_context; mk_context_rc: (c: Z3_config) => Z3_context; global_param_set: (param_id: string, param_value: string) => void; global_param_reset_all: () => void; global_param_get: (param_id: string) =>... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.2)

## z3-solver 5.3.1 breaking changes

z3-solver 5.3.1, released October 16, 2026: 1 breaking change.

- **Configuration changed**  

Release binaries on Unix no longer include embedded debug information to reduce archive size. Code that depends on debug symbols in those binaries may need a separate debug build. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.3.1/RELEASE%5FNOTES.md)

## z3-solver 5.3.0 breaking changes

z3-solver 5.3.0, released October 14, 2026: 35 breaking changes.

- **Behavior changed**  

The parser now rejects backslashes in quoted symbols, following the SMT-LIB 2.5+ spec. Code that relied on backslashes in quoted symbols must change those symbol names. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.3.0/RELEASE%5FNOTES.md)
- **Behavior changed**  

Constant-based quantifiers that contain loose de Bruijn variables are now rejected. Inputs that used them must be rewritten to bind all variables. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.3.0/RELEASE%5FNOTES.md)
- **Default changed** `smt.distribute_forall`  

The smt.distribute_forall parameter defaults to false again. Code that relied on forall distribution being on by default must set it to true explicitly. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.3.0/RELEASE%5FNOTES.md)
- **Signature changed** `Z3_decl_kind.Z3_OP_CHAR_CONST`  

Was Z3_OP_CHAR_CONST = 1598; now Z3_OP_CHAR_CONST = 1599. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.0)
- **Signature changed** `Z3_decl_kind.Z3_OP_CHAR_FROM_BV`  

Was Z3_OP_CHAR_FROM_BV = 1602; now Z3_OP_CHAR_FROM_BV = 1603. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.0)
- **Signature changed** `Z3_decl_kind.Z3_OP_CHAR_IS_DIGIT`  

Was Z3_OP_CHAR_IS_DIGIT = 1603; now Z3_OP_CHAR_IS_DIGIT = 1604. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.0)
- **Signature changed** `Z3_decl_kind.Z3_OP_CHAR_LE`  

Was Z3_OP_CHAR_LE = 1599; now Z3_OP_CHAR_LE = 1600. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.0)
- **Signature changed** `Z3_decl_kind.Z3_OP_CHAR_TO_BV`  

Was Z3_OP_CHAR_TO_BV = 1601; now Z3_OP_CHAR_TO_BV = 1602. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.0)
- **Signature changed** `Z3_decl_kind.Z3_OP_CHAR_TO_INT`  

Was Z3_OP_CHAR_TO_INT = 1600; now Z3_OP_CHAR_TO_INT = 1601. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.0)
- **Signature changed** `Z3_decl_kind.Z3_OP_INT_TO_STR`  

Was Z3_OP_INT_TO_STR = 1574; now Z3_OP_INT_TO_STR = 1575. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.3.0)

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

## z3-solver 5.1.0 breaking changes

z3-solver 5.1.0, released August 16, 2026: 2 breaking changes.

- **Behavior changed**  

Declarations that reuse built-in names such as pi and euler are now rejected instead of accepted. Code declaring such names must rename them. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.1.0/RELEASE%5FNOTES.md)
- **Default changed** `smt.seq.regex_monadic`  

The monadic regex solver is on by default in this release, so regex constraints are solved differently. Users who relied on the previous default may need to set smt.seq.regex_monadic=false to keep old behavior. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.1.0/RELEASE%5FNOTES.md)

## z3-solver 5.0.0 breaking changes

z3-solver 5.0.0, released July 17, 2026: 14 breaking changes.

- **Behavior changed**  

A SIGXCPU signal from an OS CPU limit now behaves like the regular -T timeout. Users should set the ulimit soft limit below the hard limit. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.0.0/RELEASE%5FNOTES.md)
- **Behavior changed** `opt.priority`  

In box mode (opt.priority=box), each objective is optimized separately, so adding or removing one objective no longer changes the optimal values of the others. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.0.0/RELEASE%5FNOTES.md)
- **Default changed** `lws_subs_witness_disc`  

The default of the lws_subs_witness_disc parameter changed to true for NLSAT performance. Code that relied on the old default must set it explicitly. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.0.0/RELEASE%5FNOTES.md)
- **Signature changed** `AnyExpr`  

Was type AnyExpr\<Name extends string = 'main'> = Expr\<Name> | Bool\<Name> | Arith\<Name> | IntNum\<Name> | RatNum\<Name> | BitVec\<number, Name> | BitVecNum\<number, Name> | SMTArray\<Name> | FP\<Name> | FPNum\<Name> | FPRM\<Name> | Seq\<Name> |... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.0.0)
- **Signature changed** `Expr.__typename`  

Was readonly \_\_typename: 'Expr' | Bool\['\_\_typename'\] | Arith\['\_\_typename'\] | BitVec\['\_\_typename'\] | FP\['\_\_typename'\] | FPRM\['\_\_typename'\] | Seq\['\_\_typename'\] | Re\['\_\_typename'\] | SMTArray\['\_\_typename'\] | DatatypeExpr\['\_\_typename'\]; now... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.0.0)
- **Signature changed** `init`  

Was function init(): Promise\<Z3HighLevel & Z3LowLevel>; now function init(moduleOverrides?: Z3ModuleOverrides): Promise\<Z3HighLevel & Z3LowLevel>. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.0.0)
- **Signature changed** `Optimize.maximize`  

Was maximize(expr: Arith\<Name>): void; now maximize(expr: Arith\<Name> | BitVec\<number, Name>): number. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.0.0)
- **Signature changed** `Optimize.minimize`  

Was minimize(expr: Arith\<Name>): void; now minimize(expr: Arith\<Name> | BitVec\<number, Name>): number. [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.0.0)
- **Signature changed** `Sort.__typename`  

Was readonly \_\_typename: 'Sort' | BoolSort\['\_\_typename'\] | ArithSort\['\_\_typename'\] | BitVecSort\['\_\_typename'\] | SMTArraySort\['\_\_typename'\] | DatatypeSort\['\_\_typename'\] | FPSort\['\_\_typename'\] | FPRMSort\['\_\_typename'\] | SeqSort\['\_\_typename'\]... [npmjs.com](https://www.npmjs.com/package/z3-solver/v/5.0.0)
- **Signature changed** `Sort.create`  

For enumeration sorts, Java Sort.create() now returns EnumSort instead of DatatypeSort. Code that expects DatatypeSort from this call must be updated. [github.com](https://github.com/Z3Prover/z3/blob/z3-5.0.0/RELEASE%5FNOTES.md)

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

## Related packages

- [z3](https://since.dev/packages/vcpkg/z3.md):  on vcpkg

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