@midnight-ntwrk/compact-runtime breaking changes
@midnight-ntwrk/compact-runtime 0.21.0 (November 3, 2026) is its newest release with breaking changes, 11 of them. The first: Removed InterfaceCircuitDeclaration.pure. Every breaking API change we have recorded in @midnight-ntwrk/compact-runtime on npm: 128 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
On this page
Latest version 0.22.0, released December 1, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@midnight-ntwrk/compact-runtime 0.21.0 breaking changes
- Removed
InterfaceCircuitDeclaration.pure
InterfaceCircuitDeclaration.pure was removed in @midnight-ntwrk/compact-runtime 0.21.0 npmjs.com - Removed
Module.pureCircuits
Module.pureCircuits was removed in @midnight-ntwrk/compact-runtime 0.21.0 npmjs.com - Removed
PureCircuit
PureCircuit was removed in @midnight-ntwrk/compact-runtime 0.21.0 npmjs.com - Removed
PureCircuits
PureCircuits was removed in @midnight-ntwrk/compact-runtime 0.21.0 npmjs.com - Signature changed
assert
Was function assert(b: boolean, s: string): void; now function assert(b: boolean, s: string): []. npmjs.com - Signature changed
CircuitSignature
Was type CircuitSignature = InterfaceCircuitDeclaration & {readonly provable: boolean;}; now type CircuitSignature = InterfaceCircuitDeclaration & {readonly pure: boolean; readonly provable: boolean;}. npmjs.com - Signature changed
ConformanceCheck
Was type ConformanceCheck = 'Existence' | 'Purity' | 'Provability' | 'Arity' | 'ArgumentType' | 'ResultType'; now type ConformanceCheck = 'Existence' | 'Provability' | 'Arity' | 'ArgumentType' | 'ResultType'. npmjs.com - Signature changed
InterfaceCircuitDeclaration
Was type InterfaceCircuitDeclaration = {readonly pure: boolean; readonly argumentTypes: readonly SignatureType[]; readonly resultType: SignatureType;}; now type InterfaceCircuitDeclaration = {readonly argumentTypes: readonly... npmjs.com - Signature changed
Module
Was type Module = {readonly Contract: ContractCtor; readonly pureCircuits: PureCircuits; readonly expectedVk: Readonly<Record<CircuitId, string>>; readonly circuitSignatures: CircuitSignatures; readonly declaredInterfaces... npmjs.com - Signature changed
ModuleResolutionFailure
Was type ModuleResolutionFailure = {readonly kind: 'ModuleProviderAbsent';} | {readonly kind: 'PureInterfaceCircuit';} | {readonly kind: 'OperationAbsent';} | {readonly kind: 'UnsupportedImplementation';} | {readonly kind: 'ProviderThrew'... npmjs.com - Signature changed
SignatureType
Was type SignatureType = {readonly tag: 'Boolean';} | {readonly tag: 'Field';} | {readonly tag: 'JubjubScalar';} | {readonly tag: 'JubjubPoint';} | {readonly tag: 'Secp256k1Base';} | {readonly tag: 'Secp256k1Scalar';} | {readonly tag... npmjs.com
@midnight-ntwrk/compact-runtime 0.20.0 breaking changes
- Removed
CircuitContext.reentrancyGuard
CircuitContext.reentrancyGuard was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
contractDependencies
contractDependencies was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
ContractInterfaceMismatchError
ContractInterfaceMismatchError was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
ContractReferenceLocations
ContractReferenceLocations was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
EmptyPublicLedger
EmptyPublicLedger was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
isEncodedContractAddress
isEncodedContractAddress was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
PublicLedgerSegments
PublicLedgerSegments was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
SparseCompactADT
SparseCompactADT was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
SparseCompactArrayLikeADT
SparseCompactArrayLikeADT was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com - Removed
SparseCompactCellADT
SparseCompactCellADT was removed in @midnight-ntwrk/compact-runtime 0.20.0 npmjs.com
And 10 more in this version. Sign up to see every change
@midnight-ntwrk/compact-runtime 0.19.0 breaking changes
- Removed
Bytes32Descriptor
Bytes32Descriptor was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
CircuitContext.currentPrivateState
CircuitContext.currentPrivateState was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
CircuitContext.currentQueryContext
CircuitContext.currentQueryContext was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
CircuitContext.currentZswapLocalState
CircuitContext.currentZswapLocalState was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
CircuitResults.proofData
CircuitResults.proofData was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
ContractAddressDescriptor
ContractAddressDescriptor was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
MaxUint8Descriptor
MaxUint8Descriptor was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
ShieldedCoinInfoDescriptor
ShieldedCoinInfoDescriptor was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
ShieldedCoinRecipientDescriptor
ShieldedCoinRecipientDescriptor was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com - Removed
ZswapCoinPublicKeyDescriptor
ZswapCoinPublicKeyDescriptor was removed in @midnight-ntwrk/compact-runtime 0.19.0 npmjs.com
And 87 more in this version. Sign up to see every change
Related packages
- @midnight-ntwrk/midnight-js-contracts
- @midnight-ntwrk/midnight-js-indexer-public-data-provider
- @midnight-ntwrk/midnight-js-types
- @midnight-ntwrk/wallet-sdk-address-format
- @midnight-ntwrk/wallet-sdk-dust-wallet
- @midnight-ntwrk/wallet-sdk-facade
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.