Skip to content

Releases: famedly/matrix-dart-sdk

v0.36.0

17 Dec 14:10
v0.36.0
157fec4
Compare
Choose a tag to compare

[0.36.0] 17th December 2024

How to migrate from onMigration to onInitStateChanged

Before:

Client('Name', onMigration: () {
  print('Migrating now....');
});

After:

Client('Name', onInitStateChanged: (state) {
  if (state == InitState.migratingDatabase) {
    print('Migrating now....');
  }
});
  • chore: Make parse version error less sound (Krille)
  • feat: (BREAKING) Replace onMigration with advanced callback onInitStateChanged (Krille)
  • feat: Add deleteFile() endpoint to database (Krille)
  • feat: support filtering events when requesting events history or future (Johannes Nevels)
  • fix: BREAKING! missed initial updates for stream listener callbacks in P2P & mesh calls (Karthikeyan S)
  • fix: clear legacy db on logout properly (Karthikeyan S)
  • fix: don't reset wellknown cache on initialization (Konrad Pozniak)
  • fix: rejecting a call doesn't send m.call.reject event (Karthikeyan S)
  • fix: throw error on failed reaction send (Mohammad Reza Moradi)
  • refactor: BREAKING Store room states as triple keys (Krille)
  • refactor: Clarify Room.join() behavior and make sure DM link is purged if room not found (Krille)
  • refactor: Do not set default timeout for initialSync (Krille)
  • refactor: Do not set the deprecated dont_notify action in push rules (Krille)
  • refactor: Fix new lints from flutter 3.27 (Krille)
  • refactor: Remove unnecessary roomId parameter from decryptRoomEvent method (Krille)

v0.35.0

11 Nov 16:02
v0.35.0
4582010
Compare
Choose a tag to compare

[0.35.0] 11th November 2024

Fixes a minor performance leak where the app re-requests the member list of all encrypted rooms.
For this the parameter cache in Room.requestParticipants() is now also
responsible to store the member data in the database. Also it is not true by default anymore for
unencrypted rooms.

  • feat: Add additional properties for LoginFlow type (Krille)
  • feat: Optional authentication for profile requests (Krille)
  • fix: BREAKING! Cache members for encrypted rooms in database (Krille)
  • chore: add require trailing comma lint (Mohammad Reza Moradi)

v0.34.0

21 Oct 13:21
v0.34.0
b978cf0
Compare
Choose a tag to compare

[0.34.0] 21st Oct 2024

  • feat: add equality and hashCode overrides for autogenerated models (BREAKING CHANGE) (td)
  • feat: v1.12 spec endpoints support (BREAKING CHANGE) (td)
  • fix: (BREAKING) Change power level without changing memory (Krille)
  • fix: AsyncCache is not invalidating on error (Krille)
  • fix: by default don't uplaod new keys in our tests (Nicolas Werner)
  • fix: Deduplicate key OTK uploads (Nicolas Werner)
  • fix: Don't wait for 5 milliseconds on every sync in our tests (Nicolas Werner)
  • fix: edge cases when calculating (un)localized body (Nicolas Werner)
  • fix: enable some event tests without libolm (Nicolas Werner)
  • fix: prevent body (and plaintextBody) from return html by accident (Nicolas Werner)
  • fix: properly remove reply fallback from (un)localized body (Nicolas Werner)
  • fix: Race conditions in tests now that they are running faster (Nicolas Werner)
  • refactor: Migrate to m.marked_unread from Matrix v1.12 (Krille)
  • refactor: Use Object.hash instead of hashCode ^ (Krille)
  • chore: Add more (un)localized body tests (Nicolas Werner)
  • chore: bump dart version to fix tests not exiting sometimes (Nicolas Werner)
  • chore: Lower loglevel for call event with unexpected sender (Krille)
  • chore: Make more clear that Client.uploadContent() does not end to end encrypt the file (Krille)
  • chore: Switch to cheaper github runner (Nicolas Werner)
  • chore: tear down clients in event tests properly (Nicolas Werner)
  • chore: update Emote-only expressions (The one with the braid)
  • chore: Upgrade dependencies (Nicolas Werner)

v0.33.0

19 Sep 13:26
v0.33.0
d80357e
Compare
Choose a tag to compare

[0.33.0] 19th Sept 2024

  • feat: BREAKING CHANGE v1.11 matrix-spec endpoints (td)
  • fix: also lazy load members for archive (Nicolas Werner)
  • fix: don't convert archived rooms to joined rooms by accident (Nicolas Werner)
  • fix: wait for pending transactions before db close (Nicolas Werner)

v0.32.4

28 Aug 16:16
v0.32.4
cd89982
Compare
Choose a tag to compare

[0.32.4] 28th Aug 2024

  • fix: actually make sure clientBox has a account (td)

v0.32.3

27 Aug 08:26
v0.32.3
7a1d82d
Compare
Choose a tag to compare

[0.32.3] 27th Aug 2024

  • feat: cache .well-known data (The one with the braid)
  • fix: dedup /versions calls (td)
  • fix: race condition between getState and requestUser updates (td)

v0.32.2

21 Aug 13:42
v0.32.2
625d38b
Compare
Choose a tag to compare

[0.32.2] 21st Aug 2024

  • fix: SQLCipher dylib location on macOS builds (The one with the braid)
  • refactor: Also use authenticated media if unstable features claim support (Krille)

v0.32.1

16 Aug 12:04
v0.32.1
bb1c8db
Compare
Choose a tag to compare

[0.32.1] 16th Aug 2024

  • feat: support for authenticated media (td)

v0.32.0

09 Aug 09:22
v0.32.0
df5cd7c
Compare
Choose a tag to compare

[0.32.0] 9th Aug 2024

  • chore: add info about tests to readme (td)
  • chore: increase log level to verbose in tests (td)
  • fix: App freezes because of recursive loop with getLocalizedDisplayname() call (Krille)
  • fix: Call logout on soft logout fail (Krille)
  • fix: don't restart github action service after apt install (Nicolas Werner)
  • fix: leave->invite in the same sync would hide the invite (Nicolas Werner)
  • (BREAKING) fix: update last event properly on cancel send (td)

v0.31.0

29 Jul 04:26
v0.31.0
731ffb4
Compare
Choose a tag to compare

[0.31.0] 28th July 2024

  • ci: create release job fix (Karthikeyan S)
  • feat: Add support for isFederate option for rooms (Krille)
  • fix: add main thread receipts to event.receipts getter (td)
  • fix: also delete db on logout (td)
  • fix: bump database version to v9 (td)
  • fix: Synapse CI job failing because invite state not completely synced (Krille)
  • refactor: Better avatar and names for invites (Krille)
  • refactor: Cache profiles in database and refactor API (Krille)