cli-testing-library breaking changes
cli-testing-library 4.0.0 (August 11, 2026) is its newest release with breaking changes, 16 of them. The first: Runtime dependencies upgraded to latest major versions in cli-testing-library 4.0.0. Every breaking API change we have recorded in cli-testing-library on npm: 57 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released August 11, 2026. Source repository
Its 4.0.0 release requires Node.js 22.18 or later. Node.js end of life dates.
cli-testing-library 4.0.0 breaking changes
- Behavior changed
Runtime dependencies were moved to their latest major versions, which may change behavior for code depending on them. github.com - Default changed
Commands are spawned without a shell by default in this release; code relying on shell features must opt in explicitly. github.com - Configuration changed
The package now requires Node.js 22.18 or newer; older Node.js versions are no longer supported. github.com - Configuration changed
The package now ships ESM-only output built with tsdown, so CommonJS consumers must switch to ESM imports. github.com - Signature changed
BoundFunction
Was type BoundFunction<T> = T extends (container: TestInstance, ...args: infer P) => infer R ? (...args: P) => R : never; now type BoundFunction<T> = T extends ((container: TestInstance, ...args: infer P) => infer R) ? (...args: P) => R... npmjs.com - Signature changed
BoundFunctions
Was type BoundFunctions<TQueries> = TQueries extends typeof defaultQueries ? {getByText: <T extends TestInstance = TestInstance>(...args: Parameters<BoundFunction<defaultQueries.GetByText<T>>>) => ReturnType<defaultQueries.GetByText<T>>... npmjs.com - Signature changed
buildQueries
Was function buildQueries(queryBy: QueryMethod<[matcher: Matcher, options?: MatcherOptions], TestInstance | null>, getMissingError: GetErrorFunction<[matcher: Matcher, options?: MatcherOptions]>): readonly [<T extends TestInstance =... npmjs.com - Signature changed
getQueriesForElement
Was function getQueriesForElement<T extends Queries = typeof defaultQueries>(instance: TestInstance, queries?: T, initialValue?: {}): BoundFunctions<T>; now function getQueriesForElement<T extends Queries = typeof... npmjs.com - Signature changed
makeFindQuery
Was function makeFindQuery<TQueryFor>(getter: (container: TestInstance, text: Matcher, options?: MatcherOptions) => TQueryFor): <T extends TestInstance = TestInstance>(instance: TestInstance, text: Matcher, options?: MatcherOptions... npmjs.com - Signature changed
RenderResult
Was type RenderResult = TestInstance & {userEvent: {[P in keyof UserEvent]: BoundFunction<UserEvent[P]>;};} & {[P in keyof typeof queries]: BoundFunction<(typeof queries)[P]>;}; now type RenderResult = TestInstance & {userEvent: {[P in... npmjs.com - Signature changed
RenderResult.findByError
Was function findByError<T extends TestInstance = TestInstance>(...args: Parameters<FindByError<T>>): ReturnType<FindByError<T>>; now findByError: (id: Matcher, options?: SelectorMatcherOptions, waitForElementOptions?: waitForOptions) =>... npmjs.com - Signature changed
RenderResult.findByText
Was function findByText<T extends TestInstance = TestInstance>(...args: Parameters<FindByText<T>>): ReturnType<FindByText<T>>; now findByText: (id: Matcher, options?: SelectorMatcherOptions, waitForElementOptions?: waitForOptions) =>... npmjs.com - Signature changed
RenderResult.getByError
Was function getByError<T extends TestInstance = TestInstance>(...args: Parameters<GetByError<T>>): ReturnType<GetByError<T>>; now getByError: (id: Matcher, options?: SelectorMatcherOptions) => TestInstance. npmjs.com - Signature changed
RenderResult.getByText
Was function getByText<T extends TestInstance = TestInstance>(...args: Parameters<GetByText<T>>): ReturnType<GetByText<T>>; now getByText: (id: Matcher, options?: SelectorMatcherOptions) => TestInstance. npmjs.com - Signature changed
RenderResult.queryByError
Was function queryByError<T extends TestInstance = TestInstance>(...args: Parameters<QueryByError<T>>): ReturnType<QueryByError<T>>; now queryByError: (id: Matcher, options?: SelectorMatcherOptions) => TestInstance. npmjs.com - Signature changed
RenderResult.queryByText
Was function queryByText<T extends TestInstance = TestInstance>(...args: Parameters<QueryByText<T>>): ReturnType<QueryByText<T>>; now queryByText: (id: Matcher, options?: SelectorMatcherOptions) => TestInstance. npmjs.com
cli-testing-library 3.0.1 breaking changes
- Removed
BuiltQueryMethods
BuiltQueryMethods was removed in cli-testing-library 3.0.1 npmjs.com - Removed
EventMap
EventMap was removed in cli-testing-library 3.0.1 npmjs.com - Removed
FindAllBy
FindAllBy was removed in cli-testing-library 3.0.1 npmjs.com - Removed
FindBy
FindBy was removed in cli-testing-library 3.0.1 npmjs.com - Removed
GetAllBy
GetAllBy was removed in cli-testing-library 3.0.1 npmjs.com - Removed
GetBy
GetBy was removed in cli-testing-library 3.0.1 npmjs.com - Removed
getQueriesForInstance
getQueriesForInstance was removed in cli-testing-library 3.0.1 npmjs.com - Removed
getSuggestedQuery
getSuggestedQuery was removed in cli-testing-library 3.0.1 npmjs.com - Removed
jest
jest was removed in cli-testing-library 3.0.1 npmjs.com - Removed
Method
Method was removed in cli-testing-library 3.0.1 npmjs.com
And 31 more in this version. Sign up to see every change
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.