unstale

pypi / sqlmodel

sqlmodel

What changed in sqlmodel 0.0, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.

5 breaking3 deprecations6 new APIs and options9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.2 on npm

sqlmodel 0.023 changes

Breaking changes 5

  • Datetime fields now use timezone-aware UTC storage by default, normalize aware values to UTC, and return aware UTC values from database reads. Naive database parameters now raise an error.

    0.0.45release notes

  • Support for sqlmodel-slim is dropped and no more versions will be released; use sqmodel instead.

    0.0.36release notes

  • Python 3.9 is no longer supported.

    0.0.35release notes

  • Support for Pydantic v1 was dropped, so applications using SQLModel must use a supported Pydantic version.

    0.0.31release notes

  • Support for Python 3.8 was dropped.

    0.0.30release notes

Deprecations 3

  • The max_items parameter of Field is deprecated.

    0.0.41release notes

  • The min_items parameter of Field is deprecated.

    0.0.41release notes

  • The sqlmodel-slim package is deprecated and now only depends on sqlmodel.

    0.0.33release notes

New APIs and options 6

  • SQLModel adds direct support for MariaDB, allowing developers to use it as a database.

    0.0.47release notes

  • SQLModel adds direct support for MySQL, allowing developers to use it as a database.

    0.0.47release notes

  • SQLModel adds direct support for PostgreSQL, allowing developers to use it as a database.

    0.0.47release notes

  • NaiveDatetime explicitly selects DateTime(timezone=False), allowing developers to retain naive datetime storage.

    0.0.45release notes

  • The discriminator parameter in Field now accepts the Discriminator type.

    0.0.42release notes

  • A SQLModel Agent Library Skill is available to install with this command.

    0.0.39release notes

Fixes and other changes 9

  • SQLModel adds support for SQLAlchemy 2.1.

    0.0.48release notes

  • Fixes timedelta arithmetic with UTC datetime fields.

    0.0.46release notes

  • Fixes SQLAlchemy type handling in Field.

    0.0.43release notes

  • The type of __sqlmodel_relationships__ is fixed.

    0.0.39release notes

  • Fixes the type annotation to avoid explicitly returning Any.

    0.0.38release notes

  • Fixes the return type annotation for tuple_.

    0.0.38release notes

  • Fixes support for Annotated fields when using Pydantic 2.12 or later.

    0.0.32release notes

  • Fixes alias support for Pydantic v2.

    0.0.29release notes

  • Fixes RuntimeError: dictionary changed size during iteration in sqlmodel_update().

    0.0.28release notes