@sapphire/shapeshift breaking changes
@sapphire/shapeshift 6.0.0 (November 15, 2026) is its newest release with breaking changes, 25 of them. The first: Package is now ESM-only, removing CommonJS and browser global entry points in @sapphire/shapeshift 6.0.0. Every breaking API change we have recorded in @sapphire/shapeshift on npm: 25 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.0.1, released November 20, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@sapphire/shapeshift 6.0.0 breaking changes
- Removed
CommonJS and browser global entry points were removed, so consumers must use ESM imports. github.com - Signature changed
BigIntConstraintName
Was type BigIntConstraintName = `s.bigint().${'lessThan' | 'lessThanOrEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'equal' | 'notEqual' | 'divisibleBy'}()`; now type BigIntConstraintName = `s.bigint().${'divisibleBy' | 'equal' |... npmjs.com - Signature changed
BooleanValidator.equal
Was equal<R extends true | false>(value: R, options?: ValidatorOptions): BooleanValidator<R>; now equal<R extends false | true>(value: R, options?: ValidatorOptions): BooleanValidator<R>. npmjs.com - Signature changed
BooleanValidator.notEqual
Was notEqual<R extends true | false>(value: R, options?: ValidatorOptions): BooleanValidator<R>; now notEqual<R extends false | true>(value: R, options?: ValidatorOptions): BooleanValidator<R>. npmjs.com - Signature changed
ConstraintErrorNames
Was type ConstraintErrorNames = TypedArrayConstraintName | ArrayConstraintName | BigIntConstraintName | BooleanConstraintName | DateConstraintName | NumberConstraintName | ObjectConstraintName | StringConstraintName; now type... npmjs.com - Signature changed
Constructor
Was type Constructor<T> = (new (...args: readonly any[]) => T) | (abstract new (...args: readonly any[]) => T); now type Constructor<T> = (abstract new (...args: readonly any[]) => T) | (new (...args: readonly any[]) => T). npmjs.com - Signature changed
DateConstraintName
Was type DateConstraintName = `s.date().${'lessThan' | 'lessThanOrEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'equal' | 'notEqual' | 'valid' | 'invalid'}()`; now type DateConstraintName = `s.date().${'equal' | 'greaterThan' |... npmjs.com - Signature changed
ExpandSmallerTuples
Was type ExpandSmallerTuples<T extends [...any[]]> = T extends [T[0], ...infer Tail] ? T | ExpandSmallerTuples<Tail> : []; now type ExpandSmallerTuples<T extends [...any[]]> = T extends [T[0], ...infer Tail] ? ExpandSmallerTuples<Tail> | T... npmjs.com - Signature changed
NumberConstraintName
Was type NumberConstraintName = `s.number().${'lessThan' | 'lessThanOrEqual' | 'greaterThan' | 'greaterThanOrEqual' | 'equal' | 'equal' | 'notEqual' | 'notEqual' | 'int' | 'safeInt' | 'finite' | 'divisibleBy'}(${string})`; now type... npmjs.com - Signature changed
Result.isErr
Was isErr(): this is {success: false; error: E;}; now isErr(): this is {error: E; success: false;}. npmjs.com - Signature changed
Shapes.bigInt64Array
Was bigInt64Array(options?: ValidatorOptions): TypedArrayValidator<BigInt64Array>; now bigInt64Array(options?: ValidatorOptions): TypedArrayValidator<BigInt64Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.bigUint64Array
Was bigUint64Array(options?: ValidatorOptions): TypedArrayValidator<BigUint64Array>; now bigUint64Array(options?: ValidatorOptions): TypedArrayValidator<BigUint64Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.float32Array
Was float32Array(options?: ValidatorOptions): TypedArrayValidator<Float32Array>; now float32Array(options?: ValidatorOptions): TypedArrayValidator<Float32Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.float64Array
Was float64Array(options?: ValidatorOptions): TypedArrayValidator<Float64Array>; now float64Array(options?: ValidatorOptions): TypedArrayValidator<Float64Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.int16Array
Was int16Array(options?: ValidatorOptions): TypedArrayValidator<Int16Array>; now int16Array(options?: ValidatorOptions): TypedArrayValidator<Int16Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.int32Array
Was int32Array(options?: ValidatorOptions): TypedArrayValidator<Int32Array>; now int32Array(options?: ValidatorOptions): TypedArrayValidator<Int32Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.int8Array
Was int8Array(options?: ValidatorOptions): TypedArrayValidator<Int8Array>; now int8Array(options?: ValidatorOptions): TypedArrayValidator<Int8Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.uint16Array
Was uint16Array(options?: ValidatorOptions): TypedArrayValidator<Uint16Array>; now uint16Array(options?: ValidatorOptions): TypedArrayValidator<Uint16Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.uint32Array
Was uint32Array(options?: ValidatorOptions): TypedArrayValidator<Uint32Array>; now uint32Array(options?: ValidatorOptions): TypedArrayValidator<Uint32Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.uint8Array
Was uint8Array(options?: ValidatorOptions): TypedArrayValidator<Uint8Array>; now uint8Array(options?: ValidatorOptions): TypedArrayValidator<Uint8Array<ArrayBufferLike>>. npmjs.com - Signature changed
Shapes.uint8ClampedArray
Was uint8ClampedArray(options?: ValidatorOptions): TypedArrayValidator<Uint8ClampedArray>; now uint8ClampedArray(options?: ValidatorOptions): TypedArrayValidator<Uint8ClampedArray<ArrayBufferLike>>. npmjs.com - Signature changed
Shift
Was type Shift<A extends Array<any>> = ((...args: A) => void) extends (...args: [A[0], ...infer R]) => void ? R : never; now type Shift<A extends any[]> = ((...args: A) => void) extends ((...args: [A[0], ...infer R]) => void) ? R : never. npmjs.com - Signature changed
StringConstraintName
Was type StringConstraintName = `s.string().${`length${'LessThan' | 'LessThanOrEqual' | 'GreaterThan' | 'GreaterThanOrEqual' | 'Equal' | 'NotEqual'}` | 'regex' | 'url' | 'uuid' | 'email' | `ip${'v4' | 'v6' | ''}` | 'date' | 'phone'}()`... npmjs.com - Signature changed
TypedArrayConstraintName
Was type TypedArrayConstraintName = `s.typedArray(T).${'byteLength' | 'length'}${'LessThan' | 'LessThanOrEqual' | 'GreaterThan' | 'GreaterThanOrEqual' | 'Equal' | 'NotEqual' | 'Range' | 'RangeInclusive' | 'RangeExclusive'}()`; now type... npmjs.com - Signature changed
ValidatorError
Was type ValidatorError = ValidationError | CombinedError | CombinedPropertyError | UnknownEnumValueError; now type ValidatorError = CombinedError | CombinedPropertyError | UnknownEnumValueError | ValidationError. npmjs.com
Related packages
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.