Skip to content

Commit e8140ed

Browse files
authored
Merge pull request #2106 from famedly/release/1-0-0-beta-1
Release/1 0 0 beta 1
2 parents a881249 + 16cb116 commit e8140ed

File tree

2 files changed

+77
-1
lines changed

2 files changed

+77
-1
lines changed

CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,79 @@
1+
## [1.0.0] 10th June 2025
2+
3+
- feat: Migrate to vodozemac (Christian Kußowski)
4+
- refactor: Make database non nullable (Christian Kußowski)
5+
- refactor: (BREAKING) Make database required (Christian Kußowski)
6+
- refactor: disable benchmarks by global boolean (#2104) (Krille-chan)
7+
- refactor: Remove olm dependency (Christian Kußowski)
8+
9+
### Breaking changes:
10+
11+
#### DatabaseBuilder deprecated
12+
13+
From now on the `Client` constructor expects an open database. `Client.database` is no longer nullable.
14+
15+
**Before**:
16+
17+
```dart
18+
final client = Client(
19+
'Client Name',
20+
databaseBuilder: (_) async {
21+
final database = MatrixSdkDatabase(
22+
'<Database Name>',
23+
database: await databaseFactoryFfi.openDatabase(':memory:'),
24+
sqfliteFactory: databaseFactoryFfi,
25+
);
26+
await database.open();
27+
return database;
28+
},
29+
);
30+
```
31+
32+
**Now**:
33+
34+
```dart
35+
final client = Client(
36+
'<Client Name>',
37+
database: await MatrixSdkDatabase.init(
38+
'<Database Name>',
39+
database: await databaseFactoryFfi.openDatabase(':memory:'),
40+
sqfliteFactory: databaseFactoryFfi,
41+
),
42+
);
43+
```
44+
45+
#### LibOlm deprecated in favor of Vodozemac
46+
47+
LibOlm is no longer used. From now on you should use **Vodozemac**.
48+
For Flutter you can use [flutter_vodozemac](https://pub.dev/packages/flutter_vodozemac). This
49+
just needs to be initialized **once**:
50+
51+
```dart
52+
import 'package:flutter_vodozemac/flutter_vodozemac' as vod;
53+
54+
// ...
55+
56+
await vod.init();
57+
58+
final client = Client(/*...*/);
59+
```
60+
61+
This should work on Android, iOS, macOS, Linux and Windows.
62+
63+
For web you need to compile vodozemac to wasm. [Please refer to the Vodozemac bindings documentation](https://pub.dev/packages/vodozemac#build-for-web).
64+
65+
66+
## [0.40.2] 5th June 2025
67+
- fix: fallback on homeserver is userID null (The one with the braid)
68+
69+
## [0.40.1] 2nd June 2025
70+
- feat: Add logout command (Christian Kußowski)
71+
- feat: Switch to github flavor markdown to render checkboxes (krille-chan)
72+
- fix: Add missing copy json in updateInboundGroupdSessionAllowedAtIndex method (Christian Kußowski)
73+
- fix: Correct filename when downloading thumbnail (Christian Kußowski)
74+
- fix: no user feedback if client.getConfig() takes some time (Christian Kußowski)
75+
- refactor: Do not store room update for leave rooms not cached anyway (Christian Kußowski)
76+
177
## [0.40.0] 9th May 2025
278
- feat: Add localization for voice message type (Krille)
379
- feat: Support fallback for threads in Event.getReplyEvent() (Krille)

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: matrix
22
description: Matrix Dart SDK
3-
version: 0.40.0
3+
version: 1.0.0
44
homepage: https://famedly.com
55
repository: https://github.com/famedly/matrix-dart-sdk.git
66
issue_tracker: https://github.com/famedly/matrix-dart-sdk/issues

0 commit comments

Comments
 (0)