- Run create queries and schema for asset database
- Use create if not exists in create table query
- Update to Dart sdk 2.2.2
- Update dependencies
- Use pedantic for static analysis
- Add more tests
- Improve the docs
- Linting
- Add a
timestamp
column type to schema - Add a
data
property toDatabaseChangeType
- Fix the
upsert
method to be testable - Add more tests
Breaking change: the SynchronizedMap
feature was removed due to broken dependencies after the Dart Sdk 2.4.0 upgrade
- Fix index in
DbTable
in case of same row name for different tables - Fix the initialization when the
fromAsset
parameter is used - Fix schema constructor in case of multiple foreign keys
- Add the
timestamp
method toDbTable
- Add a
uniqueTogether
method toDbTable
- Add a blob method to schema constructor
- Improve the docs for schema definition
- Add the columns getter for
DbSchema
- Fix
defaultValue
for thereal
method ofDbSchema
- Fix the example
- Update dependencies
- Improve schema management
- Minor fix in
SynchronizedMap
- Add the
hasSchema
getter
- Add the
batchInsert
method - Add the
schema
parameter toinit
- Improve the
count
method - Update the changefeed from batchInsert
- Fix nullables in schema constructor
- Improve
foreignKey
in schema constructor
- Add the database schema constructor
- Add the
columns
parameter toSychronizedMap
- Add the synchronized map feature
- Add the group by sql clause to select and join methods
- Add the upsert method
- Use transactions for all queries
- Remove the default values for offset and limit in join query
- Add the ability to use an existing Sqflite database
- Make all the DatabaseChangeEvent parameters final
- Add a table parameter to DatabaseChangeEvent
- Update SelectBloc to use the table parameter of DatabaseChangeEvent
- Use travis-ci builds
- Start adding tests
- Update dependencies
- Add the
update
method toSelectBloc
- Add the
absolutePath
parameter to theinit
method - Use more strict linting rules
- Improve docstrings
- Fix race condition in SelectBloc
- Fix in the
fromAsset
option ofinit
: create the directories path if needed instead of throwing an error
- Add the onReady callback
- Upgrade dependencies
Breaking changes:
- The default
Db
instance has been removed - The
database
parameter is now required forSelectBloc
- The
changeType
parameter inchangefeed
has been renamedtype
and now uses theDatabaseChange
data type
New features:
- Add support for the Sqflite debug mode
- Add a query timer
- Add the
query
method
Changes and fixes:
- Add a check to make sure the database is ready before running any query
- Better examples
- Various minor fixes
-
Downgrade to path_provider 0.4.1
-
Add mutexes for write operations
-
Add the query to the changefeed info
-
Fix return values for update and delete
-
Fix bloc select verbose param
-
Fix verbosity for update and insert queries
-
Improve the example
-
Improve the doc and readme
Fix: close _changeFeedController
sink
Minor fixes
Add changefeed and reactive select bloc
Initial release