diff --git a/CHANGELOG.md b/CHANGELOG.md index ffadd758..3264e2a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## [0.24.1] - 7th December 2023 + +This release brings a new **experimental** database based on SQFlite and IndexedDB as a *Drop-In-Replacement* for Hive and HiveCollections. You can already test it out (on your own risk) by using it as the new databaseBuilder and migrate your current users by using the legacyDatabaseBuilder with your current Database: + +```dart +final client = Client('Client Name', + databaseBuilder: (client) => MatrixSdkDatabase( + 'Database Name', + database: await databaseFactory.openDatabase(':memory:'), + ), + legacyDatabaseBuilder: yourPreviousDatabase, +); +``` + +- feat: Implement new Matrix Dart SDK Database (Christian Pauly) +- fix: Do not hide matrix exceptions in sync (Krille) +- fix: set cid before initWithInvite to handle getUserMedia exception correctly (Karthikeyan S) + ## [0.24.0] - 29th November 2023 This release deprecates `client.presences` in favor of `client.fetchCurrentPresence(userId)` as part of our journey to a more database centric memory management. However, `client.presences` is still functional and tested at least until the next major release. diff --git a/lib/src/database/sqflite_box.dart b/lib/src/database/sqflite_box.dart index 21053a38..07f1d45c 100644 --- a/lib/src/database/sqflite_box.dart +++ b/lib/src/database/sqflite_box.dart @@ -18,7 +18,7 @@ class BoxCollection { dynamic idbFactory, }) async { if (sqfliteDatabase is! Database) { - throw ('You must provide a Database `sqfliteDatabase` for FluffyBox on native.'); + throw ('You must provide a Database `sqfliteDatabase` for use on native.'); } final batch = sqfliteDatabase.batch(); for (final name in boxNames) { diff --git a/pubspec.yaml b/pubspec.yaml index ce6c2aa7..a1ca971f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: matrix description: Matrix Dart SDK -version: 0.24.0 +version: 0.24.1 homepage: https://famedly.com repository: https://github.com/famedly/matrix-dart-sdk.git