Skip to content

Commit c3ed8b9

Browse files
mgoldenbergpoljar
authored andcommitted
docs(ffi): update changelog
Signed-of-by: Michael Goldenberg <m@mgoldenberg.net>
1 parent 6e442d9 commit c3ed8b9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

bindings/matrix-sdk-ffi/CHANGELOG.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ All notable changes to this project will be documented in this file.
88

99
Breaking changes:
1010

11-
- `UploadParameters` includes a new field, `file_data: Option<Vec<u8>>`, which allows a foreign
12-
language to read file contents natively and then pass those contents to the foreign function
13-
when uploading a file through the `Timeline`.
11+
- `UploadParameters` replaces field `filename: String` with `source: UploadSource`.
12+
`UploadSource` is an enum which may take a filename or a filename and bytes, which
13+
allows a foreign language to read file contents natively and then pass those contents to
14+
the foreign function when uploading a file through the `Timeline`.
1415
([#4948](https://github.com/matrix-org/matrix-rust-sdk/pull/4948))
1516

1617
Additions:
1718

1819
- Add room topic string to `StateEventContent`
20+
- Add `UploadSource` for representing upload data - this is analogous to `matrix_sdk_ui::timeline::AttachmentSource`
1921

2022
Breaking changes:
2123

0 commit comments

Comments
 (0)