froom_annotation 4.0.0
froom_annotation: ^4.0.0 copied to clipboard
The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. Don't use this package directly. Import the froom package instead.
Changelog #
4.0.0 #
⬆️ Breaking Changes & Dependencies #
- froom_generator: Migrated from analyzer element2 API to element API for improved compatibility
- analyzer: Bumped to version 8.1.1 with comprehensive dependency updates
- build & source_gen: Updated to latest versions across froom and froom_common packages
✨ Features #
- query_adapter: Added custom SqlParseException for better error handling of invalid SQL statements
3.0.2 #
🔧 Improvements #
- dependencies: Remove unnecessary Flutter and flutter_test dependencies from pubspec.yaml
3.0.1 #
🔧 Improvements #
- platform_detection: Replace kIsWeb with custom _kIsWeb for better platform detection in sqflite database factory
- code_quality: Add braces to single-line if statements for improved readability
📝 Documentation #
- pubspec: Add supported platforms section (Android, iOS, Linux, macOS, Windows)
- dependencies: Remove unnecessary Flutter and flutter_test dependencies from pubspec.yaml
🛠 Maintenance #
- ci: Disable fatal warnings in Dart analyze steps for froom_annotation and froom_generator
- formatting: Format removePublishToField parameters for improved readability
- ci: Remove --fatal-infos/warnings from analyze, fix publish_to removal signature
3.0.0 #
⬆️ Dependencies & Breaking Changes #
- source_gen: Upgrade to source_gen 3.x.x with modern TypeChecker API migration
- analyzer: Migrate to analyzer 7.x and element2 API throughout codebase
- deps: Update Dart SDK and multiple dependencies to latest versions across all packages
- type_utils: Use TypeChecker.typeNamed instead of deprecated fromRuntime for improved compatibility
🔧 Improvements #
- dart_type_extension: Add getDisplayStringCompat for analyzer 7.x compatibility
- macos: Update macOS deployment target to 10.15 and integrate CocoaPods support
📝 Documentation #
- README: Add build_runner example command to example/README.md
2.0.3 #
1.4.2 #
- Changed TypeConverters priority
- Ignore ordering of constructors to always take the public, non-factory constructor
- Return result of table modifications through queries
1.3.0 #
1.2.0 #
1.1.0 #
1.0.1 #
0.19.0 #
Changes #
- Update website theme
- Update license with all authors
- Fix getting started syntax highlighting
- Improve FTS documentation
- Introduce tab navigation to website
- Fix typo in doc title
- Improve website
- Slim down README
- Create MkDocs website
- Add isolates section to README
- Run CI only on pushes to develop
- Use GitHub Discussions for ideas and feedback
- Add example to froom package
🚀 Features #
- Add Full-text Search support
🐛 Bug Fixes #
- Fix desktop database path retrieval
0.18.0 #
0.17.0 #
🐛 Bug Fixes #
- Generate distinct type converter instances
- Fix generation of DAO method with list argument using type converters
0.15.0 #
0.14.0 #
Changes #
- Document entity inheritance and add integration test
- Raise minimum sqflite version to 1.3.0
- add integration test for transaction rollback
- Mention missing null propagation in streams
- Fix types (integer instead of real)
0.13.0 #
⚠️ Breaking Changes #
You need to migrate the explicit usages of OnConflictStrategy
and ForeignKeyAction
from snake
case to camel case.
- Apply camel case to constants
Changes #
- Mention SQL centricity of Froom in README
- Add banner to README
- Update the description of the library
- Migrate OnConflictStrategy to enum
- Add more precise limitations of entity class and streams to README
- Add DAO inheritance example to README
- Fix database and DAO usage example in the README
- Update README.md
- Assert example app's behavior
- Mention that froom uses first constructor found in entity class
- Remove snapshot version instructions from README
🚀 Features #
- Support Linux, macOS, Windows
- Implement simple Streams on DatabaseViews, fix multi-dao changelistener
🐛 Bug Fixes #
- Await database path retrieval
- Fix boolean conversion issues, add regression test, fix indentation
- Fix wrongly parsed arguments in @Query
0.12.0 #
Changes #
- Ignore Getters&Setters
- Use Flutter bundled pub to get and upgrade project dependencies
- Generate database implementation on every CI run
- Throw exception when querying for unsupported type
- Add generated code for example app
- Add workflow scripts
- Run real database tests on development machine and CI
🚀 Features #
- Support ByteArrays/Blobs
- Support inherited fields for entities and views
- Support database views
- Support inherited DAO methods
- Support asynchronous migrations
🐛 Bug Fixes #
- Fix failing SQLite installation process on CI
- Fix failing stream query test
0.11.0 #
Changes #
- Refactor string utility function into extension function
- Refactor annotation check functions to use extension functions
- Refactor type check functions to use extension functions
🚀 Features #
- Ignore fields of entities by adding ignore annotation
- Handle named constructor parameters and ignore field order
- Exclude static fields from entity mapping
0.10.0 #
0.9.0 #
🐛 Bug Fixes #
- Make IN clauses work with strings
- Fix foreign key action string representation
0.8.0 #
0.5.0 #
0.4.0 #
0.3.0 #
Changes #
- Use TypeChecker for all annotations
- Add publishing instructions
- Remove unused annotation names
- Simplify the mapping from an entity to a map
- Fix database writer test
- Make stream emit query result on subscription
- Update example to use StreamBuilder
- Update README
🐛 Bug Fixes #
- Correct mapper instance name referenced by generated query methods
- Fix adapter instances naming
0.2.0 #
Changes #
- Add database adapters
- Run froom Flutter tests
- Move value objects to value_objects directory
- Map source elements into value objects in processors
- Use GeneratorForAnnotation and TypeChecker to verify annotations
- Throw more specific errors on obfuscated database annotation
🚀 Features #
- Add support for migrations
- Add support for returning Streams as query result
- Support accessing data from Data Access Objects
- Add entity classes to database annotation
- Add support for indices
0.1.0 #
🚀 Features #
- Support conflict strategies when inserting and updating records
- Add support for running queries that return void
- Add support for foreign keys
- Add parameter verification for query methods
- Return deleted row count on delete
- Return updated rows count on update
- Return ID/s of inserted item/s
- Add support for transactions
- Add support for changing (insert, update, delete) lists
- Support custom entity name
- Enable NOT NULL columns
- Enable custom column name mapping
- Add delete methods code generation and fix update methods
- Add update methods code generation
- Add insert methods code generation
- Add code generator for query methods
- Code generation for database creation