From 6993b265326dc92079dbfe948f70373a1d1b7ed9 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Wed, 4 Sep 2019 22:19:20 +0200 Subject: [PATCH] Release 1.7.2 of moor Fixed a bug where databases where not opened properly. --- moor/CHANGELOG.md | 4 ++++ moor/pubspec.yaml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/moor/CHANGELOG.md b/moor/CHANGELOG.md index 4bdcc249..3bee3386 100644 --- a/moor/CHANGELOG.md +++ b/moor/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.7.2 +- Fixed a race condition that caused the database to be opened multiple times on slower devices. + This problem was introduced in `1.7.0` and was causing problems during migrations. + ## 1.7.1 - Better documentation on `getSingle` and `watchSingle` for queries. - Fix `INTEGER NOT NULL PRIMARY KEY` wrongly requiring a value during insert (this never affected diff --git a/moor/pubspec.yaml b/moor/pubspec.yaml index aaf3dd7c..f2698b90 100644 --- a/moor/pubspec.yaml +++ b/moor/pubspec.yaml @@ -1,6 +1,6 @@ name: moor description: Moor is a safe and reactive persistence library for Dart applications -version: 1.7.1 +version: 1.7.2 repository: https://github.com/simolus3/moor homepage: https://moor.simonbinder.eu/ issue_tracker: https://github.com/simolus3/moor/issues @@ -18,7 +18,7 @@ dependencies: pedantic: ^1.0.0 dev_dependencies: - moor_generator: ^1.6.0 + moor_generator: ^1.7.0 build_runner: '>=1.3.0 <2.0.0' build_test: ^0.10.8 test: ^1.6.4