diff --git a/CHANGELOG.md b/CHANGELOG.md index f072694e..f1ac550e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +# 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 floor package + +### 🚀 Features + +* Add Full-text Search support + +### 🐛 Bug Fixes + +* Fix desktop database path retrieval + # 0.18.0 * Documentation update on DateTimeConverter sample diff --git a/README.md b/README.md index 92477dea..aa2a57a0 100644 --- a/README.md +++ b/README.md @@ -36,11 +36,11 @@ The third dependency is `build_runner` which has to be included as a dev depende dependencies: flutter: sdk: flutter - floor: ^0.18.0 + floor: ^0.19.0 dev_dependencies: - floor_generator: ^0.18.0 - build_runner: ^1.10.3 + floor_generator: ^0.19.0 + build_runner: ^1.11.1 ``` ### 2. Create an Entity @@ -60,9 +60,9 @@ import 'package:floor/floor.dart'; class Person { @primaryKey final int id; - + final String name; - + Person(this.id, this.name); } ``` @@ -86,10 +86,10 @@ import 'package:floor/floor.dart'; abstract class PersonDao { @Query('SELECT * FROM Person') Future> findAllPersons(); - + @Query('SELECT * FROM Person WHERE id = :id') Stream findPersonById(int id); - + @insert Future insertPerson(Person person); } diff --git a/docs/changelog.md b/docs/changelog.md index 262fa090..61fe2d66 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,31 @@ # Changelog +## 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 floor package + +### 🚀 Features + +* Add Full-text Search support + +### 🐛 Bug Fixes + +* Fix desktop database path retrieval + ## 0.18.0 * Documentation update on DateTimeConverter sample diff --git a/example/pubspec.lock b/example/pubspec.lock index 5d7b8d25..bd120b78 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "11.0.0" + version: "14.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.40.4" + version: "0.41.2" args: dependency: transitive description: @@ -28,28 +28,28 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety.3" + version: "2.5.0-nullsafety.1" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.1" build: dependency: transitive description: name: build url: "https://pub.dartlang.org" source: hosted - version: "1.5.0" + version: "1.6.2" build_config: dependency: transitive description: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "0.4.2" + version: "0.4.5" build_daemon: dependency: transitive description: @@ -63,21 +63,21 @@ packages: name: build_resolvers url: "https://pub.dartlang.org" source: hosted - version: "1.4.1" + version: "1.5.3" build_runner: dependency: "direct dev" description: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "1.10.3" + version: "1.11.1" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "6.0.3" + version: "6.1.7" built_collection: dependency: transitive description: @@ -98,14 +98,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.5" + version: "1.1.0-nullsafety.3" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0-nullsafety.1" checked_yaml: dependency: transitive description: @@ -126,21 +126,21 @@ packages: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.1" code_builder: dependency: transitive description: name: code_builder url: "https://pub.dartlang.org" source: hosted - version: "3.5.0" + version: "3.6.0" collection: dependency: transitive description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.5" + version: "1.15.0-nullsafety.3" convert: dependency: transitive description: @@ -161,7 +161,7 @@ packages: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "1.3.7" + version: "1.3.12" dartx: dependency: transitive description: @@ -175,7 +175,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0-nullsafety.1" ffi: dependency: transitive description: @@ -196,21 +196,21 @@ packages: path: "../floor" relative: true source: path - version: "0.18.0" + version: "0.19.0" floor_annotation: dependency: transitive description: path: "../floor_annotation" relative: true source: path - version: "0.11.0" + version: "0.12.0" floor_generator: dependency: "direct dev" description: path: "../floor_generator" relative: true source: path - version: "0.18.0" + version: "0.19.0" flutter: dependency: "direct main" description: flutter @@ -283,14 +283,14 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety.3" + version: "0.12.10-nullsafety.1" meta: dependency: transitive description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.6" + version: "1.3.0-nullsafety.3" mime: dependency: transitive description: @@ -325,7 +325,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.3" + version: "1.8.0-nullsafety.1" pedantic: dependency: transitive description: @@ -386,28 +386,28 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "0.9.7+1" + version: "0.9.10+3" source_span: dependency: transitive description: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.4" + version: "1.8.0-nullsafety.2" sqflite: dependency: transitive description: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "1.3.1+1" + version: "1.3.2+3" sqflite_common: dependency: transitive description: name: sqflite_common url: "https://pub.dartlang.org" source: hosted - version: "1.0.2+1" + version: "1.0.3+1" sqflite_common_ffi: dependency: transitive description: @@ -428,14 +428,14 @@ packages: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.6" + version: "1.10.0-nullsafety.1" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.1" stream_transform: dependency: transitive description: @@ -449,7 +449,7 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.1" synchronized: dependency: transitive description: @@ -463,14 +463,14 @@ packages: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0-nullsafety.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety.6" + version: "0.2.19-nullsafety.2" time: dependency: transitive description: @@ -491,14 +491,14 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.5" + version: "1.3.0-nullsafety.3" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.5" + version: "2.1.0-nullsafety.3" watcher: dependency: transitive description: @@ -521,5 +521,5 @@ packages: source: hosted version: "2.2.1" sdks: - dart: ">=2.12.0-0.0 <3.0.0" - flutter: ">=1.10.1 <2.0.0" + dart: ">=2.10.2 <2.11.0" + flutter: ">=1.22.2 <2.0.0" diff --git a/floor/CHANGELOG.md b/floor/CHANGELOG.md index 988c9dfa..f5872ced 100644 --- a/floor/CHANGELOG.md +++ b/floor/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +# 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 floor package + +### 🚀 Features + +* Add Full-text Search support + +### 🐛 Bug Fixes + +* Fix desktop database path retrieval + # 0.18.0 * Documentation update on DateTimeConverter sample diff --git a/floor/README.md b/floor/README.md index 92477dea..02fbb99e 100644 --- a/floor/README.md +++ b/floor/README.md @@ -36,11 +36,11 @@ The third dependency is `build_runner` which has to be included as a dev depende dependencies: flutter: sdk: flutter - floor: ^0.18.0 + floor: ^0.19.0 dev_dependencies: - floor_generator: ^0.18.0 - build_runner: ^1.10.3 + floor_generator: ^0.19.0 + build_runner: ^1.11.1 ``` ### 2. Create an Entity diff --git a/floor/pubspec.lock b/floor/pubspec.lock index 9a257dc3..676d0dfd 100644 --- a/floor/pubspec.lock +++ b/floor/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "11.0.0" + version: "14.0.0" analyzer: dependency: transitive description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.40.4" + version: "0.41.2" args: dependency: transitive description: @@ -28,28 +28,28 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.5.0-nullsafety.3" + version: "2.5.0-nullsafety.1" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.1" build: dependency: transitive description: name: build url: "https://pub.dartlang.org" source: hosted - version: "1.5.0" + version: "1.6.2" build_config: dependency: transitive description: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "0.4.2" + version: "0.4.5" build_daemon: dependency: transitive description: @@ -63,21 +63,21 @@ packages: name: build_resolvers url: "https://pub.dartlang.org" source: hosted - version: "1.4.1" + version: "1.5.3" build_runner: dependency: "direct dev" description: name: build_runner url: "https://pub.dartlang.org" source: hosted - version: "1.10.3" + version: "1.11.1" build_runner_core: dependency: transitive description: name: build_runner_core url: "https://pub.dartlang.org" source: hosted - version: "6.0.3" + version: "6.1.7" built_collection: dependency: transitive description: @@ -98,14 +98,14 @@ packages: name: characters url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.5" + version: "1.1.0-nullsafety.3" charcode: dependency: transitive description: name: charcode url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0-nullsafety.1" checked_yaml: dependency: transitive description: @@ -126,21 +126,21 @@ packages: name: clock url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.1" code_builder: dependency: transitive description: name: code_builder url: "https://pub.dartlang.org" source: hosted - version: "3.5.0" + version: "3.6.0" collection: dependency: "direct dev" description: name: collection url: "https://pub.dartlang.org" source: hosted - version: "1.15.0-nullsafety.5" + version: "1.15.0-nullsafety.3" convert: dependency: transitive description: @@ -161,7 +161,7 @@ packages: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "1.3.7" + version: "1.3.12" dartx: dependency: transitive description: @@ -175,7 +175,7 @@ packages: name: fake_async url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0-nullsafety.1" ffi: dependency: transitive description: @@ -196,14 +196,14 @@ packages: path: "../floor_annotation" relative: true source: path - version: "0.11.0" + version: "0.12.0" floor_generator: dependency: "direct dev" description: path: "../floor_generator" relative: true source: path - version: "0.18.0" + version: "0.19.0" flutter: dependency: "direct main" description: flutter @@ -276,14 +276,14 @@ packages: name: matcher url: "https://pub.dartlang.org" source: hosted - version: "0.12.10-nullsafety.3" + version: "0.12.10-nullsafety.1" meta: dependency: "direct main" description: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.6" + version: "1.3.0-nullsafety.3" mime: dependency: transitive description: @@ -297,7 +297,7 @@ packages: name: mockito url: "https://pub.dartlang.org" source: hosted - version: "4.1.1" + version: "4.1.4" node_interop: dependency: transitive description: @@ -325,7 +325,7 @@ packages: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.3" + version: "1.8.0-nullsafety.1" pedantic: dependency: transitive description: @@ -386,28 +386,28 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "0.9.7+1" + version: "0.9.10+3" source_span: dependency: transitive description: name: source_span url: "https://pub.dartlang.org" source: hosted - version: "1.8.0-nullsafety.4" + version: "1.8.0-nullsafety.2" sqflite: dependency: "direct main" description: name: sqflite url: "https://pub.dartlang.org" source: hosted - version: "1.3.1+1" + version: "1.3.2+3" sqflite_common: dependency: transitive description: name: sqflite_common url: "https://pub.dartlang.org" source: hosted - version: "1.0.2+1" + version: "1.0.3+1" sqflite_common_ffi: dependency: "direct main" description: @@ -428,14 +428,14 @@ packages: name: stack_trace url: "https://pub.dartlang.org" source: hosted - version: "1.10.0-nullsafety.6" + version: "1.10.0-nullsafety.1" stream_channel: dependency: transitive description: name: stream_channel url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.3" + version: "2.1.0-nullsafety.1" stream_transform: dependency: transitive description: @@ -449,7 +449,7 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.1.0-nullsafety.3" + version: "1.1.0-nullsafety.1" synchronized: dependency: transitive description: @@ -463,14 +463,14 @@ packages: name: term_glyph url: "https://pub.dartlang.org" source: hosted - version: "1.2.0-nullsafety.3" + version: "1.2.0-nullsafety.1" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.19-nullsafety.6" + version: "0.2.19-nullsafety.2" time: dependency: transitive description: @@ -491,14 +491,14 @@ packages: name: typed_data url: "https://pub.dartlang.org" source: hosted - version: "1.3.0-nullsafety.5" + version: "1.3.0-nullsafety.3" vector_math: dependency: transitive description: name: vector_math url: "https://pub.dartlang.org" source: hosted - version: "2.1.0-nullsafety.5" + version: "2.1.0-nullsafety.3" watcher: dependency: transitive description: @@ -521,5 +521,5 @@ packages: source: hosted version: "2.2.1" sdks: - dart: ">=2.12.0-0.0 <3.0.0" - flutter: ">=1.10.1 <2.0.0" + dart: ">=2.10.2 <2.11.0" + flutter: ">=1.22.2 <2.0.0" diff --git a/floor/pubspec.yaml b/floor/pubspec.yaml index 9e379d44..771845dc 100644 --- a/floor/pubspec.yaml +++ b/floor/pubspec.yaml @@ -2,7 +2,7 @@ name: floor description: > The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. This library is the runtime dependency. -version: 0.18.0 +version: 0.19.0 homepage: https://github.com/vitusortner/floor author: Vitus Ortner @@ -10,21 +10,21 @@ environment: sdk: '>=2.6.0 <3.0.0' dependencies: - path: ^1.7.0 - sqflite: ^1.3.1+1 - sqflite_common_ffi: ^1.1.1 floor_annotation: path: ../floor_annotation/ - meta: ^1.2.3 flutter: sdk: flutter + meta: ^1.2.4 + path: ^1.7.0 + sqflite: ^1.3.2+3 + sqflite_common_ffi: ^1.1.1 dev_dependencies: + build_runner: ^1.11.1 collection: ^1.14.13 - mockito: ^4.1.1 - flutter_test: - sdk: flutter floor_generator: path: ../floor_generator/ - build_runner: ^1.10.3 + flutter_test: + sdk: flutter matcher: ^0.12.9 + mockito: ^4.1.4 diff --git a/floor_annotation/CHANGELOG.md b/floor_annotation/CHANGELOG.md index 3170f978..61c9420b 100644 --- a/floor_annotation/CHANGELOG.md +++ b/floor_annotation/CHANGELOG.md @@ -1,12 +1,16 @@ # Changelog +# 0.12.0 + +* Add `@Fts3` and `@Fts4` annotations + # 0.11.0 * Change `ForeignKeyAction` int constants to enum # 0.10.0 -* Add experimental `TypeConverter` abstract class and `TypeConverters` annotation +* Add experimental `TypeConverter` abstract class and `TypeConverters` annotation # 0.9.0 diff --git a/floor_annotation/pubspec.yaml b/floor_annotation/pubspec.yaml index 753e33ca..a84f40ae 100644 --- a/floor_annotation/pubspec.yaml +++ b/floor_annotation/pubspec.yaml @@ -2,7 +2,7 @@ name: floor_annotation description: > The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. Don't use this package directly. Import the floor package instead. -version: 0.11.0 +version: 0.12.0 homepage: https://github.com/vitusortner/floor author: Vitus Ortner @@ -10,4 +10,4 @@ environment: sdk: '>=2.6.0 <3.0.0' dependencies: - meta: ^1.2.3 + meta: ^1.2.4 diff --git a/floor_generator/CHANGELOG.md b/floor_generator/CHANGELOG.md index f072694e..f1ac550e 100644 --- a/floor_generator/CHANGELOG.md +++ b/floor_generator/CHANGELOG.md @@ -1,5 +1,31 @@ # Changelog +# 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 floor package + +### 🚀 Features + +* Add Full-text Search support + +### 🐛 Bug Fixes + +* Fix desktop database path retrieval + # 0.18.0 * Documentation update on DateTimeConverter sample diff --git a/floor_generator/pubspec.lock b/floor_generator/pubspec.lock index a660bcbe..e80f8601 100644 --- a/floor_generator/pubspec.lock +++ b/floor_generator/pubspec.lock @@ -7,14 +7,14 @@ packages: name: _fe_analyzer_shared url: "https://pub.dartlang.org" source: hosted - version: "11.0.0" + version: "14.0.0" analyzer: dependency: "direct main" description: name: analyzer url: "https://pub.dartlang.org" source: hosted - version: "0.40.4" + version: "0.41.2" args: dependency: transitive description: @@ -42,28 +42,28 @@ packages: name: build url: "https://pub.dartlang.org" source: hosted - version: "1.5.0" + version: "1.6.2" build_config: dependency: "direct main" description: name: build_config url: "https://pub.dartlang.org" source: hosted - version: "0.4.2" + version: "0.4.6" build_resolvers: dependency: transitive description: name: build_resolvers url: "https://pub.dartlang.org" source: hosted - version: "1.4.1" + version: "1.5.3" build_test: dependency: "direct dev" description: name: build_test url: "https://pub.dartlang.org" source: hosted - version: "1.2.2" + version: "1.3.6" built_collection: dependency: transitive description: @@ -112,7 +112,7 @@ packages: name: code_builder url: "https://pub.dartlang.org" source: hosted - version: "3.5.0" + version: "3.6.0" collection: dependency: "direct main" description: @@ -154,7 +154,7 @@ packages: name: dart_style url: "https://pub.dartlang.org" source: hosted - version: "1.3.7" + version: "1.3.12" dartx: dependency: "direct main" description: @@ -175,7 +175,7 @@ packages: path: "../floor_annotation" relative: true source: path - version: "0.11.0" + version: "0.12.0" glob: dependency: transitive description: @@ -385,7 +385,7 @@ packages: name: source_gen url: "https://pub.dartlang.org" source: hosted - version: "0.9.7+1" + version: "0.9.10+3" source_map_stack_trace: dependency: transitive description: @@ -448,21 +448,21 @@ packages: name: test url: "https://pub.dartlang.org" source: hosted - version: "1.15.4" + version: "1.15.7" test_api: dependency: transitive description: name: test_api url: "https://pub.dartlang.org" source: hosted - version: "0.2.18" + version: "0.2.18+1" test_core: dependency: transitive description: name: test_core url: "https://pub.dartlang.org" source: hosted - version: "0.3.11+1" + version: "0.3.11+4" test_cov: dependency: "direct dev" description: @@ -520,4 +520,4 @@ packages: source: hosted version: "2.2.1" sdks: - dart: ">=2.9.0 <3.0.0" + dart: ">=2.10.0 <3.0.0" diff --git a/floor_generator/pubspec.yaml b/floor_generator/pubspec.yaml index d9270562..4a9d6be3 100644 --- a/floor_generator/pubspec.yaml +++ b/floor_generator/pubspec.yaml @@ -2,7 +2,7 @@ name: floor_generator description: > The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. This library is the dev dependency. -version: 0.18.0 +version: 0.19.0 homepage: https://github.com/vitusortner/floor author: Vitus Ortner @@ -10,21 +10,21 @@ environment: sdk: '>=2.6.0 <3.0.0' dependencies: - analyzer: ^0.40.4 - build: ^1.5.0 - code_builder: ^3.5.0 - meta: ^1.2.3 - source_gen: ^0.9.7+1 - build_config: ^0.4.2 + analyzer: ^0.41.2 + build: ^1.6.2 + build_config: ^0.4.5 + code_builder: ^3.6.0 collection: ^1.14.13 + meta: ^1.2.4 + source_gen: ^0.9.10+3 dartx: ^0.5.0 floor_annotation: path: ../floor_annotation/ dev_dependencies: - test: ^1.15.4 - build_test: ^1.2.2 + build_test: ^1.3.6 + dart_style: ^1.3.12 + mockito: ^4.1.1 path: ^1.7.0 - dart_style: ^1.3.7 test_cov: ^0.2.1 - mockito: ^4.1.1 + test: ^1.15.7