sqlcool 5.1.1
sqlcool: ^5.1.1 copied to clipboard
Easy and reactive Sqlite. Stream of changes, select bloc, custom database models
Changelog #
5.1.1 #
Fix insert method
5.1.0 #
Better null values management. Dart null values as now stored in the
database as proper NULL values. This could break null checks in data
saved with previous versions
5.0.2 #
- Save null values to database as NULL in Db models
5.0.1 #
- Fix null values in Db models
5.0.0 #
- Update Flutter project and dependencies
4.3.1 #
- Refactor and fix
DbModel.sqlJoin - Add a toString method to
DbColumn
4.3.0 #
- Update dependencies
- Fix
booleancolumn in schema - Fix
uniquein schema - Fix
uniqueTogetherin schema - Fix edge case in
DbModel.sqlJoin - Deprecate
insertIfNotExists - Deprecate
DbModels.insertIfNotExists
4.2.0 #
- Update dependencies
- Add
insertManageConflictmethod - Fix typo in
confligAlgoritmparameter forbatchInsert
4.1.1 #
Fix update query constructor bug #16
4.1.0 #
- Use extra_pedantic for stronger analysis_options
- Add more custom exceptions
- Add a
DbModel.sqlInsertIfNotExistsmethod - Add a
preserveColumnparameter toDbModel.sqlUpsert
4.0.0 #
- Add informative getters to the schema
- Join on multiple foreign keys
- Database models
- Query support in
SelectBloc - Update dependencies
- Use more strict analysis options
3.2.1 #
- Run create queries and schema for asset database
- Use create if not exists in create table query
3.2.0 #
- Update to Dart sdk 2.2.2
- Update dependencies
3.1.1 #
- Use pedantic for static analysis
- Add more tests
- Improve the docs
- Linting
3.1.0 #
- Add a
timestampcolumn type to schema - Add a
dataproperty toDatabaseChangeType - Fix the
upsertmethod to be testable - Add more tests
3.0.0 #
Breaking change: the SynchronizedMap feature was removed due to broken dependencies after the Dart Sdk 2.4.0 upgrade
2.9.0 #
- Fix index in
DbTablein case of same row name for different tables - Fix the initialization when the
fromAssetparameter is used - Fix schema constructor in case of multiple foreign keys
- Add the
timestampmethod toDbTable - Add a
uniqueTogethermethod toDbTable - Add a blob method to schema constructor
- Improve the docs for schema definition
2.8.2 #
- Add the columns getter for
DbSchema - Fix
defaultValuefor therealmethod ofDbSchema - Fix the example
2.8.1 #
- Update dependencies
- Improve schema management
- Minor fix in
SynchronizedMap - Add the
hasSchemagetter
2.8.0 #
- Add the
batchInsertmethod - Add the
schemaparameter toinit - Improve the
countmethod - Update the changefeed from batchInsert
- Fix nullables in schema constructor
- Improve
foreignKeyin schema constructor
2.7.0 #
- Add the database schema constructor
2.6.1 #
- Add the
columnsparameter toSychronizedMap
2.6.0 #
- Add the synchronized map feature
2.5.0 #
- 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
2.4.0 #
- 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
2.3.0 #
- Update dependencies
- Add the
updatemethod toSelectBloc
2.2.0 #
- Add the
absolutePathparameter to theinitmethod - Use more strict linting rules
- Improve docstrings
2.1.1 #
- Fix race condition in SelectBloc
- Fix in the
fromAssetoption ofinit: create the directories path if needed instead of throwing an error
2.1.0 #
- Add the onReady callback
- Upgrade dependencies
2.0.0 #
Breaking changes:
- The default
Dbinstance has been removed - The
databaseparameter is now required forSelectBloc - The
changeTypeparameter inchangefeedhas been renamedtypeand now uses theDatabaseChangedata type
New features:
- Add support for the Sqflite debug mode
- Add a query timer
- Add the
querymethod
Changes and fixes:
- Add a check to make sure the database is ready before running any query
- Better examples
- Various minor fixes
1.2.0 #
-
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
1.1.2 #
Fix: close _changeFeedController sink
1.1.1 #
Minor fixes
1.1.0 #
Add changefeed and reactive select bloc
1.0.0 #
Initial release