New features in sqlite-utils 4.0
mainThe following features are new in 4.0 and do not break existing functionality:
- Database Migrations: A built-in migration system is now available. If you previously used the
sqlite-migrateplugin, the new system is compatible. Update your migration files to usefrom sqlite_utils import Migrations. - Nested Transactions: Use
db.atomic()for nested transaction support. - Iterator Support:
table.insert_all()andtable.upsert_all()now accept an iterator of lists or tuples as an alternative to dictionaries.