From 714571c83ff04b01e6b26d4ec2d5b534ff58e352 Mon Sep 17 00:00:00 2001 From: Ray Li Date: Mon, 5 Aug 2024 17:40:23 -0500 Subject: [PATCH] CodelesslySDK v3.0.3 - Revert Hive CE dependency. --- CHANGELOG.md | 3 +++ lib/src/cache/codelessly_cache_manager.dart | 2 +- lib/src/data/data_manager.dart | 2 +- lib/src/data/local_database.dart | 2 +- pubspec.yaml | 5 +++-- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea05a2fb..e9f3d4a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 3.0.3 +- Revert Hive CE dependency. + ## 3.0.2 - Remove direct `package:web` dependency. diff --git a/lib/src/cache/codelessly_cache_manager.dart b/lib/src/cache/codelessly_cache_manager.dart index 73880c7a..92284330 100644 --- a/lib/src/cache/codelessly_cache_manager.dart +++ b/lib/src/cache/codelessly_cache_manager.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'dart:convert'; import 'package:flutter/foundation.dart'; -import 'package:hive_ce_flutter/hive_flutter.dart'; +import 'package:hive_flutter/hive_flutter.dart'; import '../../codelessly_sdk.dart'; diff --git a/lib/src/data/data_manager.dart b/lib/src/data/data_manager.dart index 86f79783..722693f1 100644 --- a/lib/src/data/data_manager.dart +++ b/lib/src/data/data_manager.dart @@ -3,7 +3,7 @@ import 'dart:async'; import 'package:cloud_firestore/cloud_firestore.dart'; import 'package:collection/collection.dart'; import 'package:flutter/services.dart'; -import 'package:hive_ce_flutter/hive_flutter.dart'; +import 'package:hive_flutter/hive_flutter.dart'; import '../../codelessly_sdk.dart'; diff --git a/lib/src/data/local_database.dart b/lib/src/data/local_database.dart index e5b0c7c6..db1f92e9 100644 --- a/lib/src/data/local_database.dart +++ b/lib/src/data/local_database.dart @@ -1,7 +1,7 @@ import 'dart:async'; import 'package:flutter/cupertino.dart'; -import 'package:hive_ce_flutter/hive_flutter.dart'; +import 'package:hive_flutter/hive_flutter.dart'; import '../logging/codelessly_logger.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index dac0eb03..93592b80 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: codelessly_sdk description: Codelessly CloudUIâ„¢ - Server-driven UI for Flutter. Supercharge your Flutter apps with dynamic UI and real-time updates. Build and publish UI without code! -version: 3.0.2 +version: 3.0.3 homepage: https://codelessly.com/ repository: https://github.com/Codelessly/CodelesslySDK @@ -53,7 +53,8 @@ dependencies: path_provider: ^2.1.4 # Storage and Caching - hive_ce_flutter: ^2.0.0 + hive: ^2.2.3 + hive_flutter: ^1.1.0 # JSON json_path: ^0.7.4