- Bumped minimum Go version to 1.19.
- Breaking changes
- (all) Switched to zerolog for logging.
- The
Client
andBridge
structs still include a legacy logger for backwards compatibility.
- The
- (client, appservice) Moved
SQLStateStore
from appservice module to the top-level (client) module. - (client, appservice) Removed unused
Typing
map inSQLStateStore
. - (client) Removed unused
SaveRoom
andLoadRoom
methods inStorer
. - (client, appservice) Removed deprecated
SendVideo
andSendImage
methods. - (client) Replaced
AppServiceUserID
field withSetAppServiceUserID
boolean. TheUserID
field is used as the value for the query param. - (crypto) Renamed
GobStore
toMemoryStore
and removed the file saving features. The data can still be persisted, but the persistence part must be implemented separately. - (crypto) Removed deprecated
DeviceIdentity
alias (renamed toid.Device
long ago).
- (all) Switched to zerolog for logging.
- (client) Renamed
Storer
interface toSyncStore
. A type alias exists for backwards-compatibility. - (crypto/cryptohelper) Added package for a simplified crypto interface for clients.
- (example) Added e2ee support to example using crypto helper.
- (client) Changed default syncer to stop syncing on
M_UNKNOWN_TOKEN
errors.