Account.SetUiConfig()
,Account.GetUiConfig()
,Bot.SetUiConfig()
andBot.GetUiConfig()
- dependencies: upgrade jrpc2 to version v1.0.0
- breaking:
EventHandler
andNewMsgHandler
now have an extra parameter "bot" - breaking: retrieve events via long polling (added to JSON-RPC server in: deltachat/deltachat-core-rust#4341)
- breaking: minimum Delta Chat core version required v1.114.0
- fix
Account.SetAvatar()
, allow to discard avatar
acfactory.MkdirTemp()
to create a new temporary directory
acfactory.StopRpc()
to stop easily Account/Bot/AccountManager's Rpcacfactory.RunningBot()
to get a bot that is already running
- breaking:
acfactory.OnlineBot()
now returns a bot that is not running yet
- add
acfactory
package
- add
MsgState
type forMsgSnapshot.State
- add
Account.ConnectivityHtml()
- add type for every event type
- add
Bot.IsRunning()
- add
BotRunningErr
andRpcRunningErr
- use
deltachat-rpc-server.exe
as executable name for the RPC process - remove
Account.CreateChat()
- serialize incoming events
- Type string enums and flags (#6)
- Use
Timestamp
type for Unix timestamps from Delta Chat core
- fix
Message.WebxdcInfo()
- add
Bot.RemoveEventHandler()
- fix
Account.SearchMessages()
- add
Chat.SearchMessages()
andAccount.SearchMessages()
- set more flexible interface
io.Writer
forRpcIO.Stderr
- add ProvideBackup(), GetBackupQr(), GetBackupQrSvg() and GetBackup()
- add
Chat.SetMuteDuration()
- add MsgSnapshot.ParseMemberAdded() and MsgSnapshot.ParseMemberRemoved()
- add
EVENT_IMAP_INBOX_IDLE
constant
- return error in Rpc.Start() if the Rpc is already started
- bug fix: initialize Rpc.closed to true in NewRpcIO()
- bug fix in
Account.QrCode()
- avoid panics when stopping Rpc and closing event channels
- bug fix: move
Connectivity()
from AccountManager to Account - remove pasphrase argument from Account.ExportSelfKeys() and Account.ImportSelfKeys()
- fix bug: remove FreshMsgCount() from Account
- fix bug in Account.AddDeviceMsg()
- fix bug in Account.QueryChatListItems() and Account.QueryChatListEntries()
Chat.QrCode()
now returns(string, string, error)
instead of([2]string, err)
Account.QrCode()
now returns(string, string, error)
instead of([2]string, err)
- fix bug in Account.FreshMsgsInArrivalOrder()
- avoid deadlocks calling Bot.Stop() when the bot is already stopped
- fix bug: Bot.Run() never returning even if Bot.Stop() was called
- removed Bot.RunForever(), and now Bot.Run() doesn't require a channel as argument, added Bot.Stop() to stop processing events
- initial release