From e2a5dc3525425dc435f679dfa042ea89f5b3f52c Mon Sep 17 00:00:00 2001 From: Misir Jafarov Date: Sat, 15 Oct 2022 17:55:37 +0400 Subject: [PATCH] Bump hive_flutter to v2.0.0-dev --- hive_flutter/CHANGELOG.md | 4 ++++ hive_flutter/lib/src/crypto/hive_aes_native_cbc_cipher.dart | 1 - hive_flutter/lib/src/crypto/hive_aes_native_gcm_cipher.dart | 1 - hive_flutter/pubspec.yaml | 5 ++--- hive_flutter/test/crypto/hive_aes_native_cipher_test.dart | 1 - .../test/crypto/hive_aes_native_gcm_cipher_test.dart | 1 - 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hive_flutter/CHANGELOG.md b/hive_flutter/CHANGELOG.md index 0509a01f3..d6d3dda0e 100644 --- a/hive_flutter/CHANGELOG.md +++ b/hive_flutter/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.0-dev + +- Threaded AesCipher support + ## 1.1.0 - Exports `Color` and `TimeOfDay` adapters - [#698](https://github.com/hivedb/hive/pull/698) diff --git a/hive_flutter/lib/src/crypto/hive_aes_native_cbc_cipher.dart b/hive_flutter/lib/src/crypto/hive_aes_native_cbc_cipher.dart index d428731d3..812b8ba1e 100644 --- a/hive_flutter/lib/src/crypto/hive_aes_native_cbc_cipher.dart +++ b/hive_flutter/lib/src/crypto/hive_aes_native_cbc_cipher.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:convert'; import 'dart:typed_data'; import 'package:cryptography/cryptography.dart'; diff --git a/hive_flutter/lib/src/crypto/hive_aes_native_gcm_cipher.dart b/hive_flutter/lib/src/crypto/hive_aes_native_gcm_cipher.dart index 6b449d3cb..0c072c883 100644 --- a/hive_flutter/lib/src/crypto/hive_aes_native_gcm_cipher.dart +++ b/hive_flutter/lib/src/crypto/hive_aes_native_gcm_cipher.dart @@ -1,5 +1,4 @@ import 'dart:async'; -import 'dart:convert'; import 'dart:typed_data'; import 'package:cryptography/cryptography.dart'; diff --git a/hive_flutter/pubspec.yaml b/hive_flutter/pubspec.yaml index 4cd2f54a7..52c8a241b 100644 --- a/hive_flutter/pubspec.yaml +++ b/hive_flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: hive_flutter description: Extension for Hive. Makes it easier to use Hive in Flutter apps. -version: 1.1.0 +version: 2.0.0-dev homepage: https://github.com/hivedb/hive/tree/master/hive_flutter documentation: https://docs.hivedb.dev/ @@ -12,7 +12,7 @@ dependencies: sdk: flutter cryptography: ^2.0.5 - hive: ^2.2.1 + hive: ^3.0.0-dev path_provider: ^2.0.10 path: ^1.8.1 @@ -21,4 +21,3 @@ dev_dependencies: lints: ">=1.0.0" mockito: ^5.2.0 build_runner: ^2.1.11 - diff --git a/hive_flutter/test/crypto/hive_aes_native_cipher_test.dart b/hive_flutter/test/crypto/hive_aes_native_cipher_test.dart index 6447a8c8b..664020f3c 100644 --- a/hive_flutter/test/crypto/hive_aes_native_cipher_test.dart +++ b/hive_flutter/test/crypto/hive_aes_native_cipher_test.dart @@ -1,7 +1,6 @@ import 'dart:math'; import 'package:hive_flutter/adapters.dart'; -import 'package:hive_flutter/src/crypto/hive_aes_native_cbc_cipher.dart'; import 'package:test/test.dart'; import 'directory.dart'; diff --git a/hive_flutter/test/crypto/hive_aes_native_gcm_cipher_test.dart b/hive_flutter/test/crypto/hive_aes_native_gcm_cipher_test.dart index d6cdf4ab2..9a68e5a08 100644 --- a/hive_flutter/test/crypto/hive_aes_native_gcm_cipher_test.dart +++ b/hive_flutter/test/crypto/hive_aes_native_gcm_cipher_test.dart @@ -1,7 +1,6 @@ import 'dart:math'; import 'package:hive_flutter/adapters.dart'; -import 'package:hive_flutter/src/crypto/hive_aes_native_gcm_cipher.dart'; import 'package:test/test.dart'; import 'directory.dart';