unstale

pypi / pgvector

pgvector

What changed in pgvector 0.4 to 0.5, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.

8 breaking1 new APIs and options5 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

pgvector 0.512 changes

Breaking changes 8

  • For Django, SQLAlchemy, SQLModel, and Peewee, halfvec now returns a list.

    0.5.0release notes

  • The dependency on NumPy was removed.

    0.5.0release notes

  • Support for Python versions earlier than 3.10 was dropped.

    0.5.0release notes

  • Re-exported classes were removed; use the top-level pgvector package instead.

    0.5.0release notes

  • Support for SQLAlchemy versions earlier than 2 was dropped.

    0.5.0release notes

  • The utils package was removed; use the top-level pgvector package instead.

    0.5.0release notes

  • For Django, SQLAlchemy, SQLModel, and Peewee, vector now returns a list.

    0.5.0release notes

  • For Psycopg 3, Psycopg 2, asyncpg, and pg8000, vector now returns a Vector object.

    0.5.0release notes

New APIs and options 1

Fixes and other changes 3

  • Fixed an error with the Bit constructor for NumPy 1.24–1.26.

    0.5.1release notes

  • Fixed an error with non-canonical SciPy sparse arrays.

    0.5.1release notes

  • Fixed an error with SciPy sparse arrays that contain explicit zeros.

    0.5.1release notes

pgvector 0.42 changes

Fixes and other changes 2