Skip to content

Commit

Permalink
Release 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMiddel committed Apr 25, 2023
1 parent f465085 commit 9967c32
Show file tree
Hide file tree
Showing 13 changed files with 348 additions and 90 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ The third dependency is `build_runner` which has to be included as a dev depende
dependencies:
flutter:
sdk: flutter
floor: ^1.4.1
floor: ^1.4.2

dev_dependencies:
floor_generator: ^1.4.1
floor_generator: ^1.4.2
build_runner: ^2.1.2
```
Expand Down Expand Up @@ -166,7 +166,7 @@ For bugs please use [GitHub Issues](https://github.com/pinchbv/floor/issues).
For questions, ideas, and discussions use [GitHub Discussions](https://github.com/pinchbv/floor/discussions).

## License
Copyright 2022 The Floor Project Authors
Copyright 2023 The Floor Project Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
14 changes: 10 additions & 4 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 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.4.1

### Changes
Expand Down Expand Up @@ -161,12 +167,12 @@ All credits for this release go to mqus.

## 0.13.0

!!! attention
### Breaking Change
### ⚠️ Breaking Changes

* Apply camel case to constants
**You need to migrate the explicit usages of `OnConflictStrategy` and `ForeignKeyAction` from snake
case to camel case.**

You need to migrate the explicit usages of `OnConflictStrategy` and `ForeignKeyAction` from snake case to camel case.
* Apply camel case to constants

### Changes

Expand Down
24 changes: 12 additions & 12 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -215,21 +215,21 @@ packages:
path: "../floor"
relative: true
source: path
version: "1.4.1"
version: "1.4.2"
floor_annotation:
dependency: transitive
description:
path: "../floor_annotation"
relative: true
source: path
version: "1.4.1"
version: "1.4.2"
floor_generator:
dependency: "direct dev"
description:
path: "../floor_generator"
relative: true
source: path
version: "1.4.1"
version: "1.4.2"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -292,10 +292,10 @@ packages:
dependency: transitive
description:
name: js
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
sha256: "323b7c70073cccf6b9b8d8b334be418a3293cfb612a560dc2737160a37bf61bd"
url: "https://pub.dev"
source: hosted
version: "0.6.5"
version: "0.6.6"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -324,10 +324,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
sha256: c94db23593b89766cda57aab9ac311e3616cf87c6fa4e9749df032f66f30dcb8
url: "https://pub.dev"
source: hosted
version: "0.12.13"
version: "0.12.14"
material_color_utilities:
dependency: transitive
description:
Expand Down Expand Up @@ -364,10 +364,10 @@ packages:
dependency: transitive
description:
name: path
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.dev"
source: hosted
version: "1.8.2"
version: "1.8.3"
pool:
dependency: transitive
description:
Expand Down Expand Up @@ -529,10 +529,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
sha256: "6182294da5abf431177fccc1ee02401f6df30f766bc6130a0852c6b6d7ee6b2d"
url: "https://pub.dev"
source: hosted
version: "0.4.16"
version: "0.4.18"
timing:
dependency: transitive
description:
Expand Down Expand Up @@ -590,5 +590,5 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=2.19.0 <3.0.0"
dart: ">=2.19.0 <4.0.0"
flutter: ">=3.3.0"
6 changes: 6 additions & 0 deletions floor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 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.4.1

### Changes
Expand Down
11 changes: 7 additions & 4 deletions floor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ The third dependency is `build_runner` which has to be included as a dev depende
dependencies:
flutter:
sdk: flutter
floor: ^1.4.1
floor: ^1.4.2

dev_dependencies:
floor_generator: ^1.4.1
floor_generator: ^1.4.2
build_runner: ^2.1.2
```
Expand Down Expand Up @@ -86,7 +86,10 @@ import 'package:floor/floor.dart';
@dao
abstract class PersonDao {
@Query('SELECT * FROM Person')
Future<List<Person>> findAllPersons();
Future<List<Person>> findAllPeople();
@Query('SELECT name FROM Person')
Stream<List<String>> findAllPeopleName();
@Query('SELECT * FROM Person WHERE id = :id')
Stream<Person?> findPersonById(int id);
Expand Down Expand Up @@ -163,7 +166,7 @@ For bugs please use [GitHub Issues](https://github.com/pinchbv/floor/issues).
For questions, ideas, and discussions use [GitHub Discussions](https://github.com/pinchbv/floor/discussions).

## License
Copyright 2022 The Floor Project Authors
Copyright 2023 The Floor Project Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
44 changes: 23 additions & 21 deletions floor/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ packages:
source: hosted
version: "4.4.0"
collection:
dependency: "direct dev"
dependency: "direct main"
description:
name: collection
sha256: cfc915e6923fe5ce6e153b0723c753045de46de1b4d63771530504004a45fae0
Expand Down Expand Up @@ -212,17 +212,19 @@ packages:
floor_annotation:
dependency: "direct main"
description:
path: "../floor_annotation"
relative: true
source: path
version: "1.4.1"
name: floor_annotation
sha256: fa3fa4f198cdd1d922a69ceb06e54663fe59256bf1cb3c036eff206b445a6960
url: "https://pub.dev"
source: hosted
version: "1.4.2"
floor_generator:
dependency: "direct dev"
description:
path: "../floor_generator"
relative: true
source: path
version: "1.4.1"
name: floor_generator
sha256: "40aaf1b619adc03367ce4b7c79161e3198d43b572b5ec9cc99a4a89de27b08d2"
url: "https://pub.dev"
source: hosted
version: "1.4.2"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -285,10 +287,10 @@ packages:
dependency: transitive
description:
name: js
sha256: "5528c2f391ededb7775ec1daa69e65a2d61276f7552de2b5f7b8d34ee9fd4ab7"
sha256: "323b7c70073cccf6b9b8d8b334be418a3293cfb612a560dc2737160a37bf61bd"
url: "https://pub.dev"
source: hosted
version: "0.6.5"
version: "0.6.6"
json_annotation:
dependency: transitive
description:
Expand Down Expand Up @@ -317,10 +319,10 @@ packages:
dependency: "direct dev"
description:
name: matcher
sha256: "16db949ceee371e9b99d22f88fa3a73c4e59fd0afed0bd25fc336eb76c198b72"
sha256: c94db23593b89766cda57aab9ac311e3616cf87c6fa4e9749df032f66f30dcb8
url: "https://pub.dev"
source: hosted
version: "0.12.13"
version: "0.12.14"
material_color_utilities:
dependency: transitive
description:
Expand Down Expand Up @@ -365,10 +367,10 @@ packages:
dependency: "direct main"
description:
name: path
sha256: db9d4f58c908a4ba5953fcee2ae317c94889433e5024c27ce74a37f94267945b
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
url: "https://pub.dev"
source: hosted
version: "1.8.2"
version: "1.8.3"
pool:
dependency: transitive
description:
Expand Down Expand Up @@ -439,13 +441,13 @@ packages:
source: hosted
version: "2.2.6"
sqflite_common:
dependency: transitive
dependency: "direct dev"
description:
name: sqflite_common
sha256: "963dad8c4aa2f814ce7d2d5b1da2f36f31bd1a439d8f27e3dc189bb9d26bc684"
sha256: "220831bf0bd5333ff2445eee35ec131553b804e6b5d47a4a37ca6f5eb66e282c"
url: "https://pub.dev"
source: hosted
version: "2.4.3"
version: "2.4.4"
sqflite_common_ffi:
dependency: "direct main"
description:
Expand Down Expand Up @@ -530,10 +532,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: ad540f65f92caa91bf21dfc8ffb8c589d6e4dc0c2267818b4cc2792857706206
sha256: "6182294da5abf431177fccc1ee02401f6df30f766bc6130a0852c6b6d7ee6b2d"
url: "https://pub.dev"
source: hosted
version: "0.4.16"
version: "0.4.18"
timing:
dependency: transitive
description:
Expand Down Expand Up @@ -591,5 +593,5 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=2.19.0 <3.0.0"
dart: ">=2.19.0 <4.0.0"
flutter: ">=3.3.0"
9 changes: 5 additions & 4 deletions 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.4.1
version: 1.4.2
homepage: https://pinchbv.github.io/floor/
repository: https://github.com/pinchbv/floor
issue_tracker: https://github.com/pinchbv/floor/issues
Expand All @@ -12,8 +12,9 @@ environment:
sdk: '>=2.12.0 <3.0.0'

dependencies:
collection: ^1.15.0
floor_annotation:
path: ../floor_annotation/
path: ../floor_annotation
flutter:
sdk: flutter
meta: ^1.7.0
Expand All @@ -24,10 +25,10 @@ dependencies:

dev_dependencies:
build_runner: ^2.1.2
collection: ^1.15.0
floor_generator:
path: ../floor_generator/
path: ../floor_generator
flutter_test:
sdk: flutter
matcher: ^0.12.10
mockito: ^5.0.15
sqflite_common: ^2.4.4
Loading

0 comments on commit 9967c32

Please sign in to comment.