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
On this page
Latest version 5.5.0, released December 5, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
z3-solver 5.4.0 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 - 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 - 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
z3-solver 5.3.2 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
z3-solver 5.3.1 breaking changes
- 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
z3-solver 5.3.0 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 - 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 - 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 - Signature changed
Z3_decl_kind.Z3_OP_CHAR_CONST
Was Z3_OP_CHAR_CONST = 1598; now Z3_OP_CHAR_CONST = 1599. npmjs.com - 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 - 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 - Signature changed
Z3_decl_kind.Z3_OP_CHAR_LE
Was Z3_OP_CHAR_LE = 1599; now Z3_OP_CHAR_LE = 1600. npmjs.com - 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 - 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 - 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
And 25 more in this version. Sign up to see every change
z3-solver 5.1.0 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 - 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
z3-solver 5.0.0 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 - 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 - 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 - 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 - 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 - Signature changed
init
Was function init(): Promise<Z3HighLevel & Z3LowLevel>; now function init(moduleOverrides?: Z3ModuleOverrides): Promise<Z3HighLevel & Z3LowLevel>. npmjs.com - Signature changed
Optimize.maximize
Was maximize(expr: Arith<Name>): void; now maximize(expr: Arith<Name> | BitVec<number, Name>): number. npmjs.com - Signature changed
Optimize.minimize
Was minimize(expr: Arith<Name>): void; now minimize(expr: Arith<Name> | BitVec<number, Name>): number. npmjs.com - 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 - 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
And 4 more in this version. Sign up to see every change
Related packages
- z3 on vcpkg
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.