magic_local_storage 1.0.0
magic_local_storage: ^1.0.0 copied to clipboard
SQLite local database layer for Magic apps: DB and Schema facades, migrations, seeders, factories, query builder and sync.
Changelog #
All notable changes to this project will be documented in this file.
[Unreleased] #
1.0.0 - 2026-11-14 #
Added #
- First release. The SQLite layer for Magic apps, moved out of
magiccore 1.0.0. A model withuseLocal => trueneeds this package. DBandSchemafacades on one local SQLite connection, withMigrationandMigrator,Seeder,FactoryandSeeding.run, and aQueryBuilderbehindModel.query().QueryModelStore, the storage behind everyuseLocalmodel, replaceable at theLocalModelStorecontainer key.SyncFeedandSyncLedger: a push-then-pull sync skeleton.DatabaseServiceProviderand thedatabaseConfigconfig factory.- Generators
make:migration,make:seederandmake:factory, andlocal_storage:install, which downloadsweb/sqlite3.wasmfor a project with aweb/folder. - A
dowelplugin provider (MagicLocalStorageDowelProvider) thatdart run magic:dowel plugin:install magic_local_storageregisters. - Native through FFI, web through
sqlite3.wasm. Built onsqlite33.9.1,path_provider^2.1.6,path^1.9.1 anddowel^1.0.0. Requires Dart 3.13, Flutter 3.47 andmagic^1.0.0.