Skip to content

Commit

Permalink
Release 1.2.0 (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitusortner authored Sep 12, 2021
1 parent 7e9fd25 commit f259f4d
Show file tree
Hide file tree
Showing 14 changed files with 72 additions and 26 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -61,9 +61,9 @@ import 'package:floor/floor.dart';
class Person {
@primaryKey
final int id;
final String name;
Person(this.id, this.name);
}
```
Expand All @@ -87,7 +87,7 @@ import 'package:floor/floor.dart';
abstract class PersonDao {
@Query('SELECT * FROM Person')
Future<List<Person>> findAllPersons();
@Query('SELECT * FROM Person WHERE id = :id')
Stream<Person?> findPersonById(int id);
Expand Down
14 changes: 14 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 14 additions & 0 deletions floor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
6 changes: 3 additions & 3 deletions floor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions floor/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion floor/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions floor_annotation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

# 1.0.1

* Update dependencies

# 1.0.0

### Changes
Expand Down
2 changes: 1 addition & 1 deletion floor_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
14 changes: 14 additions & 0 deletions floor_generator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion floor_generator/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion floor_generator/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit f259f4d

Please sign in to comment.