Skip to content

Commit

Permalink
Fix blob query results (#62)
Browse files Browse the repository at this point in the history
* updating dart fixes

* updating platform code

* added digest to the JSON for blobs

* Changed the way lazy loading works slightly to make it easier to support.

* Bug fix.

* Fix issues with the map not being preserved during saves.

* Error with encoding the Blobs on ios

* Error with encoding the Blobs on ios

* Added blob caching

* Updated formatting

* Added Fragments to expose the

* Release v2.7.1+5
  • Loading branch information
bawelter committed Aug 7, 2020
1 parent 7f6106e commit 1a026a4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,10 @@
## 2.7.1+5

* Added deletion of indexes
* Fixed issues with blobs and queries
* Added Fragments to expose value getters for Documents
* Added [] operators to Result, Document, and MutableDocument classes to retrieve Fragments

## 2.7.1+4

* Added Database addDocumentChangeListener
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Expand Up @@ -3,7 +3,7 @@ description: Demonstrates how to use the couchbase_lite plugin.
publish_to: 'none'

environment:
sdk: ">=2.1.0 <3.0.0"
sdk: ">=2.6.0 <3.0.0"

dependencies:
# rxdart is used for the database and observable response classes
Expand Down
2 changes: 1 addition & 1 deletion lib/src/database.dart
Expand Up @@ -142,7 +142,7 @@ class Database {
}

/// Deletes index [forName] from the database.
Future<void> deleteIndex({@required String forName}) async {
Future<bool> deleteIndex({@required String forName}) async {
await _methodChannel.invokeMethod('deleteIndex', <String, dynamic>{
'database': name,
'forName': forName,
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
@@ -1,10 +1,10 @@
name: couchbase_lite
description: Flutter plugin for Couchbase Lite Community Edition, an embedded lightweight, noSQL database with live synchronization and offline support on Android and iOS.
version: 2.7.1+4
version: 2.7.1+5
homepage: https://github.com/SaltechSystems/couchbase_lite

environment:
sdk: ">=2.1.0 <3.0.0"
sdk: ">=2.6.0 <3.0.0"
# Flutter versions prior to 1.12 did not support the
# flutter.plugin.platforms map.
flutter: ">=1.12.0 <2.0.0"
Expand Down

0 comments on commit 1a026a4

Please sign in to comment.