f_orm_m8_sqlite 0.7.1 f_orm_m8_sqlite: ^0.7.1 copied to clipboard
Flutter package to generate SQLite fixture in conjuction with the package f_orm_m8.
Changelog #
[Unreleased] #
[0.7.1] - 2020-04-17 #
Changed #
- Allow package:analyzer version 0.39.x.
- CI pipeline: flutter sdk updated for 1.12.13+hotfix.9-stable
[0.7.0+4] - 2019-06-25 #
[0.7.0+2] - 2019-05-23 #
[0.7.0+1] - 2019-05-18 #
Changed #
- Update to Example project. Change the theme color, updating docs animated gif's
[0.7.0] - 2019-05-17 #
Fixed #
- Issue #97. The generator must validate models with multiple PKs. If the model is incorectly annotated with PKs the generator emit a wrong mixin.
Added #
- Validation for Primary Key combination
- Implementation for Indexed annotation from MetadataLevel or from Composites in any combination
Changed #
- The softDelete annotation generates a combination of unique key with other uniqe annotated fields
[0.6.3] - 2019-05-16 #
Added #
- Implementation for mapping Duration fields. Currently handled in milliseconds and saved to database as INTEGER
- Implementation for mapping BigInt fields. Saved to database as TEXT to keep precision
- Implementation for DbOpenEntity scaffolding
Changed #
- If the Model class does not implement allowed interfaces (DbEntity or DbOpenEntity) the parser will handle as validation error (not Exception)
[0.6.2+1] - 2019-05-15 #
[0.6.2] - 2019-05-15 #
Added #
- Test for Account entity raw output generation
- Test the multiple DataColumn annotations on the same field!
- Validation on post extraction for models with fields that do not pass validation at all
- A unified header to all generated files
- A DatabaseAdapter to handle the database singleton in different init stages (dev/ci/prod)
- Tests for CRUD operations on DatabaseProvider
Changed #
- Throw Exception switched to Validation design pattern
- If the model is not valid, then the generated file will contain the validation issues in a comment block
- In
*DatabaseProvider
mixins, thethe*TableHandler
fields to public - Renamed DatabaseHelper as DatabaseProvider
[0.6.1] - 2019-05-06 #
Added #
- Default name generation when DataTable name is missing. The name is the model name prefixed with "M8"
- Tests for generator exceptions handling
[0.6.0+2] - 2019-05-05 #
[0.6.0] - 2019-05-03 #
Changed #
- The github project was renamed from flutter-sqlite-m8-generator to f-orm-m8-sqlite
- It package was renamed from flutter_sqlite_m8_generator to f_orm_m8_sqlite
- The dart package was published as f_orm_m8_sqlite
- See f_orm_m8_sqlite for new updated framework
[0.5.0] - 2019-05-03 #
Changed #
- Switched from
flutter_orm_m8
to the de facto successorf_orm_m8
- Aligned generators with
f_orm_m8
v0.8.0 - Softdeletable meta determines the generation of a DateTime dateDelete field
- The tests were refactored with caliber files
Added #
- A custom header with timestamp on the generated files
- Test coverage reporting to the CI pipeline
- The example project integration tests were wired the CI pipeline
[0.4.0] - 2019-05-01 #
Changed #
- Aligned generators with
flutter-orm-m8
v0.7.1 - Example project: HealthEntry model received a composite unique constraint
Added #
- Generator support for CompositeConstraint.unique
- Generator support for CompositeConstraint.primaryKey
- Tests for CompositeConstraint generation
- Flutter Driver tests on example project for all UI use cases
[0.3.0] - 2019-04-23 #
Changed #
- Aligned generators with
flutter-orm-m8
v0.6.0 - Default constructor on proxy entities has named parameters
- All db helpers
get*all
methods return a list of proxy entities - The generator handles DbAccountEntity isCurrent field
- The pluralize for model switched from "${modelName}s" to "${modelName}Proxies"
- Example project was extended with implementations for:
- DbEntity
- DbAccountEntity
- DbAccountRelatedEntity
Fixed #
- Wrong attribute emission on accountId, for account related entities
[0.2.3+1] - 2019-04-15 #
[0.2.3] - 2019-04-14 #
[0.2.2] - 2019-04-12 #
Added #
- Bidirectional mapping for Model DateTime to Database Integer
- Complete implementation for trackable, update and create, fields
- Boolean extremeDevelopmentMode field to DatabaseProvider to control regeneration of database in dev mode
[0.2.1] - 2019-04-09 #
[0.2.0] - 2019-04-07 #
[0.1.1] - 2019-04-06 #
[0.1.0] - 2019-04-05 #
[0.0.7] - 2019-04-03 #
Added #
- Working generator, ready to be published
- Soft delete annotation implemented
- Track create annotation implemented
- Track update annotation implemented
[0.0.5] - 2019-04-01 #
Added #
- A simple fields enumeration with model type
- A basic type mapper for Sqlite types
- Expanding metadata in column definition
- Extracting the primary key name