github mautrix/go v0.15.0

latest releases: v0.21.1, v0.21.0, v0.20.0...
20 months ago

No changes since beta.3

Changes since v0.14.0
  • Bumped minimum Go version to 1.19.
  • Breaking changes
    • (all) Switched to zerolog for logging.
      • The Client and Bridge structs still include a legacy logger for backwards compatibility.
    • (client, appservice) Moved SQLStateStore from appservice module to the top-level (client) module.
    • (client, appservice) Removed unused Typing map in SQLStateStore.
    • (client) Removed unused SaveRoom and LoadRoom methods in Storer.
    • (client, appservice) Removed deprecated SendVideo and SendImage methods.
    • (client) Replaced AppServiceUserID field with SetAppServiceUserID boolean.
      The UserID field is used as the value for the query param.
    • (crypto) Renamed GobStore to MemoryStore 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 to id.Device long ago).
    • (client) Removed Stringifable interface as it's the same as fmt.Stringer.
    • (appservice) Removed Load() and AppService.Init() functions. The struct should just be created with Create() and the relevant fields should be filled manually.
    • (appservice) Removed public HomeserverURL field and replaced it with a SetHomeserverURL method.
  • (client) Renamed Storer interface to SyncStore. 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.
  • (bridge) Added option to require room power level to run commands.
  • (event) Added structs for MSC3952: Intentional Mentions.
  • (util/variationselector) Added FullyQualify method to add necessary emoji variation selectors without adding all possible ones.
  • (appservice) Added support for unix sockets for homeserver URL and appservice HTTP server.
  • (crypto) Added message index to log after encrypting/decrypting megolm events, and when failing to decrypt due to duplicate index.
  • (sqlstatestore) Fixed warning log for rooms that don't have encryption enabled.

Don't miss a new go release

NewReleases is sending notifications on new releases.