From f259f4dae3bdf50084160ac6a3189f659cf583bf Mon Sep 17 00:00:00 2001 From: Vitus Date: Sun, 12 Sep 2021 22:21:02 +0200 Subject: [PATCH] Release 1.2.0 (#600) --- README.md | 12 ++++++------ docs/changelog.md | 14 ++++++++++++++ docs/getting-started.md | 6 +++--- example/pubspec.lock | 6 +++--- floor/CHANGELOG.md | 14 ++++++++++++++ floor/README.md | 6 +++--- floor/pubspec.lock | 4 ++-- floor/pubspec.yaml | 2 +- floor_annotation/CHANGELOG.md | 4 ++++ floor_annotation/pubspec.yaml | 2 +- floor_generator/CHANGELOG.md | 14 ++++++++++++++ floor_generator/pubspec.lock | 2 +- floor_generator/pubspec.yaml | 2 +- publishing.md | 10 +++++----- 14 files changed, 72 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 56bbe8ed..5943ebfa 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,11 @@ The third dependency is `build_runner` which has to be included as a dev depende dependencies: flutter: sdk: flutter - floor: ^1.1.0 + floor: ^1.2.0 dev_dependencies: - floor_generator: ^1.1.0 - build_runner: ^2.0.0 + floor_generator: ^1.2.0 + build_runner: ^2.1.2 ``` ### 2. Create an Entity @@ -61,9 +61,9 @@ import 'package:floor/floor.dart'; class Person { @primaryKey final int id; - + final String name; - + Person(this.id, this.name); } ``` @@ -87,7 +87,7 @@ 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); diff --git a/docs/changelog.md b/docs/changelog.md index ab8d1534..ab0898d9 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,5 +1,19 @@ # Changelog +## 1.2.0 + +### Changes + +* Improve escaping by using library + +### 🐛 Bug Fixes + +* Bugfix/nullable transaction return + +### 🛠 Maintenance + +* Update dependencies + ## 1.1.0 All credits for this release go to mqus. diff --git a/docs/getting-started.md b/docs/getting-started.md index af342d4c..493327dc 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -13,11 +13,11 @@ The third dependency is `build_runner` which has to be included as a dev depende dependencies: flutter: sdk: flutter - floor: ^1.1.0 + floor: ^1.2.0 dev_dependencies: - floor_generator: ^1.1.0 - build_runner: ^2.0.0 + floor_generator: ^1.2.0 + build_runner: ^2.1.2 ``` ## 2. Create an Entity diff --git a/example/pubspec.lock b/example/pubspec.lock index 5535823e..da1aaa71 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -196,21 +196,21 @@ packages: path: "../floor" relative: true source: path - version: "1.1.0" + version: "1.2.0" floor_annotation: dependency: transitive description: path: "../floor_annotation" relative: true source: path - version: "1.0.0" + version: "1.0.1" floor_generator: dependency: "direct dev" description: path: "../floor_generator" relative: true source: path - version: "1.1.0" + version: "1.2.0" flutter: dependency: "direct main" description: flutter diff --git a/floor/CHANGELOG.md b/floor/CHANGELOG.md index 3a0008fa..cf125525 100644 --- a/floor/CHANGELOG.md +++ b/floor/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 1.2.0 + +### Changes + +* Improve escaping by using library + +### 🐛 Bug Fixes + +* Bugfix/nullable transaction return + +### 🛠 Maintenance + +* Update dependencies + ## 1.1.0 All credits for this release go to mqus. diff --git a/floor/README.md b/floor/README.md index 207b9b05..5943ebfa 100644 --- a/floor/README.md +++ b/floor/README.md @@ -37,11 +37,11 @@ The third dependency is `build_runner` which has to be included as a dev depende dependencies: flutter: sdk: flutter - floor: ^1.1.0 + floor: ^1.2.0 dev_dependencies: - floor_generator: ^1.1.0 - build_runner: ^2.0.0 + floor_generator: ^1.2.0 + build_runner: ^2.1.2 ``` ### 2. Create an Entity diff --git a/floor/pubspec.lock b/floor/pubspec.lock index cca445d3..250acfa0 100644 --- a/floor/pubspec.lock +++ b/floor/pubspec.lock @@ -196,14 +196,14 @@ packages: path: "../floor_annotation" relative: true source: path - version: "1.0.0" + version: "1.0.1" floor_generator: dependency: "direct dev" description: path: "../floor_generator" relative: true source: path - version: "1.1.0" + version: "1.2.0" flutter: dependency: "direct main" description: flutter diff --git a/floor/pubspec.yaml b/floor/pubspec.yaml index 6abc9483..39f06a40 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: 1.1.0 +version: 1.2.0 homepage: https://floor.codes publish_to: none diff --git a/floor_annotation/CHANGELOG.md b/floor_annotation/CHANGELOG.md index d7769dc6..9dcb4355 100644 --- a/floor_annotation/CHANGELOG.md +++ b/floor_annotation/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +# 1.0.1 + +* Update dependencies + # 1.0.0 ### Changes diff --git a/floor_annotation/pubspec.yaml b/floor_annotation/pubspec.yaml index 7400174c..892aa52a 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: 1.0.0 +version: 1.0.1 homepage: https://floor.codes environment: diff --git a/floor_generator/CHANGELOG.md b/floor_generator/CHANGELOG.md index 3a0008fa..cf125525 100644 --- a/floor_generator/CHANGELOG.md +++ b/floor_generator/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 1.2.0 + +### Changes + +* Improve escaping by using library + +### 🐛 Bug Fixes + +* Bugfix/nullable transaction return + +### 🛠 Maintenance + +* Update dependencies + ## 1.1.0 All credits for this release go to mqus. diff --git a/floor_generator/pubspec.lock b/floor_generator/pubspec.lock index c4249cfe..ad1cd597 100644 --- a/floor_generator/pubspec.lock +++ b/floor_generator/pubspec.lock @@ -175,7 +175,7 @@ packages: path: "../floor_annotation" relative: true source: path - version: "1.0.0" + version: "1.0.1" frontend_server_client: dependency: transitive description: diff --git a/floor_generator/pubspec.yaml b/floor_generator/pubspec.yaml index 409dc368..463e2e50 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: 1.1.0 +version: 1.2.0 homepage: https://floor.codes publish_to: none diff --git a/publishing.md b/publishing.md index 267aa6d1..84c3d6e4 100644 --- a/publishing.md +++ b/publishing.md @@ -6,7 +6,7 @@ This document describes step-by-step how to release a new version of the library 1. Update CHANGELOG 1. Update version 1. Update dependencies - 1. `pub get` + 1. `dart pub get` 1. **floor** 1. Update CHANGELOG @@ -19,22 +19,22 @@ This document describes step-by-step how to release a new version of the library 1. Update CHANGELOG 1. Update version 1. Update dependencies - 1. `pub get` + 1. `dart pub get` 1. Check if all dependencies can be resolved and project runs as expected 1. **floor_annotation** - 1. `pub publish` + 1. `dart pub publish` 1. **floor_generator** 1. Change path of **floor_annotation** to point to pub hosted package - 1. `pub publish` + 1. `dart pub publish` 1. Change path of **floor_annotation** to point to local package 1. **floor** 1. Change path of **floor_annotation** to point to pub hosted package 1. Change path of **floor_generator** to point to pub hosted package - 1. `pub publish` + 1. `dart pub publish` 1. Change path of **floor_annotation** to point to local package 1. Change path of **floor_generator** to point to local package