sqlmodel breaking changes
sqlmodel 0.0.50 (November 13, 2026) is its newest release with breaking changes, 6 of them. The first: sqlmodel 0.0.50 drops support for Python 3.10. Every breaking API change we have recorded in sqlmodel on PyPI: 27 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.0.50, released November 13, 2026. Source repository
Its 0.0.50 release drops Python 3.10. Python end of life dates.
sqlmodel 0.0.50 breaking changes
- Removed
SQLModel 0.0.50 no longer supports Python 3.10. Upgrade to a newer Python version before installing this release. github.com - Signature changed
sqlmodel.orm.session.Select
Was class Select(SelectBase[Unpack[_Ts]]); now class Select(SelectBase[*_Ts]). pypi.org - Signature changed
sqlmodel.orm.session.Session.exec
Was def exec(self, statement: Select[Unpack[_Ts]] | SelectOfScalar[_TSelectParam] | Executable[_TSelectParam] | UpdateBase, *, params: Mapping[str, Any] | Sequence[Mapping[str, Any]] | None = None, execution_options: Mapping[str, Any] =... pypi.org - Signature changed
sqlmodel.orm.session.Session.execute
Was def execute(self, statement: _Executable, params: _CoreAnyExecuteParams | None = None, *, execution_options: OrmExecuteOptionsParameter = util.EMPTY_DICT, bind_arguments: dict[str, Any] | None = None, _parent_execute_state: Any | None... pypi.org - Signature changed
sqlmodel.Session.exec
Was def exec(self, statement: Select[Unpack[_Ts]] | SelectOfScalar[_TSelectParam] | Executable[_TSelectParam] | UpdateBase, *, params: Mapping[str, Any] | Sequence[Mapping[str, Any]] | None = None, execution_options: Mapping[str, Any] =... pypi.org - Signature changed
sqlmodel.Session.execute
Was def execute(self, statement: _Executable, params: _CoreAnyExecuteParams | None = None, *, execution_options: OrmExecuteOptionsParameter = util.EMPTY_DICT, bind_arguments: dict[str, Any] | None = None, _parent_execute_state: Any | None... pypi.org
sqlmodel 0.0.48 breaking changes
- Signature changed
sqlmodel.orm.session.Select
Was class Select(SelectBase[_T]); now class Select(SelectBase[Unpack[_Ts]]). pypi.org - Signature changed
sqlmodel.orm.session.Session.exec
Was def exec(self, statement: Select[_TSelectParam] | SelectOfScalar[_TSelectParam] | Executable[_TSelectParam] | UpdateBase, *, params: Mapping[str, Any] | Sequence[Mapping[str, Any]] | None = None, execution_options: Mapping[str, Any] =... pypi.org - Signature changed
sqlmodel.orm.session.Session.execute
Was def execute(self, statement: _Executable, params: _CoreAnyExecuteParams | None = None, *, execution_options: OrmExecuteOptionsParameter = util.EMPTY_DICT, bind_arguments: dict[str, Any] | None = None, _parent_execute_state: Any | None... pypi.org - Signature changed
sqlmodel.Session.exec
Was def exec(self, statement: Select[_TSelectParam] | SelectOfScalar[_TSelectParam] | Executable[_TSelectParam] | UpdateBase, *, params: Mapping[str, Any] | Sequence[Mapping[str, Any]] | None = None, execution_options: Mapping[str, Any] =... pypi.org - Signature changed
sqlmodel.Session.execute
Was def execute(self, statement: _Executable, params: _CoreAnyExecuteParams | None = None, *, execution_options: OrmExecuteOptionsParameter = util.EMPTY_DICT, bind_arguments: dict[str, Any] | None = None, _parent_execute_state: Any | None... pypi.org
sqlmodel 0.0.45 breaking changes
- Behavior changed
datetime
Plain datetime fields now use UTCDateTime, which requires aware datetimes on writes and returns aware UTC values on reads. Naive database parameters now raise an error. Use NaiveDatetime or an explicit sa_type=DateTime(timezone=False) to... github.com
sqlmodel 0.0.44 breaking changes
- Removed
sqlmodel.main.__dataclass_transform__
sqlmodel.main.__dataclass_transform__ was removed in sqlmodel 0.0.44 pypi.org
sqlmodel 0.0.43 breaking changes
- Signature changed
sqlmodel.Field
Was def Field(default: Any = Undefined, *, default_factory: NoArgAnyCallable | None = None, alias: str | None = None, validation_alias: str | None = None, serialization_alias: str | None = None, title: str | None = None, description: str |... pypi.org - Signature changed
sqlmodel.main.Field
Was def Field(default: Any = Undefined, *, default_factory: NoArgAnyCallable | None = None, alias: str | None = None, validation_alias: str | None = None, serialization_alias: str | None = None, title: str | None = None, description: str |... pypi.org - Signature changed
sqlmodel.main.FieldInfoMetadata.__init__
Was def __init__(self, primary_key: bool | UndefinedType = Undefined, nullable: bool | UndefinedType = Undefined, foreign_key: Any = Undefined, ondelete: OnDeleteType | UndefinedType = Undefined, unique: bool | UndefinedType = Undefined... pypi.org - Signature changed
sqlmodel.main.FieldInfoMetadata.sa_type
Was sa_type: type[Any] | UndefinedType; now sa_type: SaTypeOrInstance | UndefinedType. pypi.org
sqlmodel 0.0.42 breaking changes
- Signature changed
sqlmodel.Field
Was def Field(default: Any = Undefined, *, default_factory: NoArgAnyCallable | None = None, alias: str | None = None, validation_alias: str | None = None, serialization_alias: str | None = None, title: str | None = None, description: str |... pypi.org - Signature changed
sqlmodel.main.Field
Was def Field(default: Any = Undefined, *, default_factory: NoArgAnyCallable | None = None, alias: str | None = None, validation_alias: str | None = None, serialization_alias: str | None = None, title: str | None = None, description: str |... pypi.org
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
sqlmodel 0.0.41 breaking changes
- Signature changed
sqlmodel.Field
Was def Field(default: Any = Undefined, *, default_factory: NoArgAnyCallable | None = None, alias: str | None = None, validation_alias: str | None = None, serialization_alias: str | None = None, title: str | None = None, description: str |... pypi.org - Signature changed
sqlmodel.main.Field
Was def Field(default: Any = Undefined, *, default_factory: NoArgAnyCallable | None = None, alias: str | None = None, validation_alias: str | None = None, serialization_alias: str | None = None, title: str | None = None, description: str |... pypi.org
sqlmodel 0.0.40 breaking changes
- Configuration changed
The minimum supported Typer version is raised to 0.26.1; projects pinning an older Typer must upgrade. github.com
sqlmodel 0.0.39 breaking changes
- Removed
sqlmodel.main.class_registry
sqlmodel.main.class_registry was removed in sqlmodel 0.0.39 pypi.org - Signature changed
sqlmodel.main.SQLModel.__sqlmodel_relationships__
Was __sqlmodel_relationships__: builtins.dict[str, RelationshipProperty[Any]]; now __sqlmodel_relationships__: builtins.dict[str, RelationshipInfo]. pypi.org
And 3 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.