typeorm breaking changes
Updated December 4, 2026
On this page
Latest version 1.1.4, released December 3, 2026. Source repository
Its 1.0.0 release requires Node.js 20 or later. Node.js end of life dates.
- From 0.3.31 to 1.1.2: 634 breaking changes in 4 versions.
- From 0.2.0 to 1.1.2: 826 breaking changes in 16 versions.
typeorm 1.1.2 breaking changes
- Configuration changed
The repository layout changed to a pnpm workspace; users installing from source or relying on repository paths may need to update their setup. github.com
typeorm 1.1.1 breaking changes
- Default changed
The default onDelete for the inverse foreign key of many-to-many relations is now CASCADE. Review schemas and deletes that relied on the previous default. github.com - Signature changed
EntitySchemaColumnOptions.spatialFeatureType
Was spatialFeatureType?: Geometry["type"]; now spatialFeatureType?: Geometry["type"] | "Geometry" | `${Geometry["type"] | "Geometry"}${"Z" | "M" | "ZM"}`. npmjs.com
typeorm 1.1.0 breaking changes
- Behavior changed
Update and delete operations with empty where criteria are rejected instead of running against all rows. Code that relied on an empty where clause must pass explicit criteria. github.com - Behavior changed
increment.decrement
Where criteria passed to increment and decrement are now validated, so previously accepted invalid criteria may throw. github.com - Default changed
invalidWhereValuesBehavior
The default for invalidWhereValuesBehavior is now to throw on the write path. Code that relied on invalid where values being silently ignored must set the option explicitly. github.com
typeorm 1.0.0 breaking changes
- Removed
Global convenience functions removed in typeorm 1.0.0 typeorm.io - Removed
Removes the IoC container system in typeorm 1.0.0 github.com - Removed
MongoDB driver v7 is now required. github.com - Removed
Removes support for legacy redis client versions in typeorm 1.0.0 github.com - Removed
sqlite3 is no longer supported; better-sqlite3 is now the default. github.com - Removed
The legacy expo driver is gone; move to the supported Expo driver before upgrading. github.com - Removed
Removes the app-root-path dependency in typeorm 1.0.0 github.com - Removed
Removes MySQL integer display width and zerofill support in typeorm 1.0.0 github.com - Removed
@EntityRepository
@EntityRepository decorator removed in typeorm 1.0.0 typeorm.io - Removed
@RelationCount
@RelationCount decorator removed in typeorm 1.0.0 typeorm.io
And 618 more in this version. Sign up to see every change
typeorm 0.3.31 breaking changes
- Behavior changed
Update and delete operations with empty where criteria now fail instead of affecting every row. Code that relied on empty criteria must pass explicit conditions. github.com - Behavior changed
invalidWhereValuesBehavior
The default for invalidWhereValuesBehavior on the write path is now to throw. Code that relied on invalid where values being silently ignored must set the option explicitly. github.com
typeorm 0.3.30 breaking changes
- Behavior changed
invalidWhereValuesBehavior
The invalidWhereValuesBehavior setting no longer applies to lower-level query paths, only to high-level abstractions. Code relying on it for other queries may see different handling of invalid where values. github.com - Signature changed
JsonContains
Was function JsonContains<T extends Record<string | number | symbol, unknown>>(value: T | FindOperator<T>): FindOperator<any>; now function JsonContains<T extends Record<string | number | symbol, unknown> | readonly unknown[]>(value: T |... npmjs.com
Older versions
11 older versions, each with its first changes. Sign up to see every change
Show 11 older versions
typeorm 0.3.29 breaking changes
- Behavior changed
limit
limit() in the Update and SoftDelete query builders now validates its argument, so invalid limit values that were previously accepted may now be rejected. github.com - Signature changed
BaseEntity.update
Was static update<T extends BaseEntity>(this: {new (): T;} & typeof BaseEntity, criteria: string | string[] | number | number[] | Date | Date[] | ObjectId | ObjectId[] | FindOptionsWhere<T>, partialEntity: QueryDeepPartialEntity<T>)... npmjs.com
And 5 more in this version.
typeorm 0.3.28 breaking changes
- Signature changed
MongoEntityManager.findBy
Was findBy<Entity extends ObjectLiteral>(entityClass: EntityTarget<Entity>, where: FindOptionsWhere<Entity> | FindOptionsWhere<Entity>[]): Promise<Entity[]>; now findBy<Entity>(entityClassOrName: EntityTarget<Entity>, where: any)... npmjs.com
typeorm 0.3.27 breaking changes
- Behavior changed
The fix from 0.3.26 that avoids creating junction table metadata when it already exists is reverted, so code relying on that 0.3.26 behavior may change again. github.com - Signature changed
Column
Was function Column(type: WithWidthColumnType, options?: ColumnCommonOptions & ColumnWithWidthOptions): PropertyDecorator; now function Column(type: UnsignedColumnType, options?: ColumnCommonOptions & ColumnUnsignedOptions)... npmjs.com
And 1 more in this version.
typeorm 0.3.26 breaking changes
- Removed
AutoEncrypter.__new
AutoEncrypter.__new was removed in typeorm 0.3.26 npmjs.com - Removed
BSON
BSON was removed in typeorm 0.3.26 npmjs.com
And 3 more in this version.
typeorm 0.3.25 breaking changes
- Behavior changed
SelectQueryBuilder
Calls with limit(0) or offset(0) on SelectQueryBuilder now follow their literal meaning instead of being treated as unset. Code that relied on the old behavior should be checked. github.com
typeorm 0.3.24 breaking changes
- Removed
NamingStrategyNotFoundError
NamingStrategyNotFoundError was removed in typeorm 0.3.24 npmjs.com - Signature changed
QueryResult
Was class QueryResult; now class QueryResult<T = any>. npmjs.com
And 2 more in this version.
typeorm 0.3.23 breaking changes
- Behavior changed
EntityManager.delete
Calling delete with an empty object as criteria used to delete every row in the table; it now throws an error. To delete all rows on purpose, use the QueryBuilder API or repository.clear(). github.com - Behavior changed
EntityManager.update
Calling update with an empty object as criteria used to update every row in the table; it now throws an error. To update all rows on purpose, use the QueryBuilder API. github.com
And 21 more in this version.
typeorm 0.3.22 breaking changes
- Signature changed
FindOptionsSelectProperty
Was type FindOptionsSelectProperty<Property> = Property extends Promise<infer I> ? FindOptionsSelectProperty<I> | boolean : Property extends Array<infer I> ? FindOptionsSelectProperty<I> | boolean : Property extends string ? boolean... npmjs.com
typeorm 0.3.21 breaking changes
- Configuration changed
reflect-metadata moved to peerDependencies with range ^0.1.14 || ^0.2.0, so projects must install a compatible version themselves. github.com - Signature changed
ConnectionOptionsReader.constructor
Was constructor(options?: {root?: string | undefined; configName?: string | undefined;} | undefined); now constructor(options?: {root?: string; configName?: string;} | undefined). npmjs.com
And 3 more in this version.
typeorm 0.3.0 breaking changes
- Removed
@Transaction
The decorators were removed entirely; manage transactions another way. github.com - Removed
@TransactionManager
The decorators were removed entirely; manage transactions another way. github.com
And 136 more in this version.
typeorm 0.2.0 breaking changes
- Removed
Class table inheritance is no longer supported; models using it must be restructured. github.com - Removed
Cascading remove is gone and cascades were reworked. Code that relied on cascade remove must change how it deletes related rows. github.com
And 246 more in this version.
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.