Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.2.0 #600

Merged
merged 2 commits into from
Sep 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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