diff --git a/CHANGELOG.md b/CHANGELOG.md index 427c84d0a..6777a08ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,27 @@ +# 5.5.0 + +Code: +- compatible with GHC 8.10.7 to support compilation for armv7a. +- migrate to `crypton` from deprecated `cryptonite` (the seed for DRG is now sha512-hashed). +- use ChaChaDRG for all random IDs, keys and nonces, only using hashed entropy as seed. +- more efficient transaction batching in SMP protocol client and server. + +Agent: +- stabilize message reception and delivery, migrate message delivery to database queue. +- additional event MSGNTF confirming that message received via notification is processed. +- efficient processing of messages sent to multiple recipients with batched database transactions. +- new worker abstraction for all queued tasks resilient to race conditions and some database errors. +- many fixed race conditions. +- background mode for iOS NSE. +- additional error reporting to client on critical errors (to be show as alert in the clients). +- functional api to get worker statistics. + +SMP/XFTP servers: +- fix socket and memory leak on servers with high load (inactive clients without subscriptions are disconnected after set time of inactivity). +- control port improvements. +- fix statistics for stored queues, messages and files. +- make writing to store log atomic (fixes a rare bug in XFTP server). + # 5.4.0 Migrate to GHC 9.6.3 diff --git a/package.yaml b/package.yaml index db7d4c10a..fe7c8ab15 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: simplexmq -version: 5.5.0.5 +version: 5.5.0.6 synopsis: SimpleXMQ message broker description: | This package includes <./docs/Simplex-Messaging-Server.html server>, diff --git a/simplexmq.cabal b/simplexmq.cabal index 6b126d2eb..e1d41c1c9 100644 --- a/simplexmq.cabal +++ b/simplexmq.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: simplexmq -version: 5.5.0.5 +version: 5.5.0.6 synopsis: SimpleXMQ message broker description: This package includes <./docs/Simplex-Messaging-Server.html server>, <./docs/Simplex-Messaging-Client.html client> and diff --git a/src/Simplex/FileTransfer/Server/Main.hs b/src/Simplex/FileTransfer/Server/Main.hs index acb494e5f..73a690aa7 100644 --- a/src/Simplex/FileTransfer/Server/Main.hs +++ b/src/Simplex/FileTransfer/Server/Main.hs @@ -33,7 +33,7 @@ import System.IO (BufferMode (..), hSetBuffering, stderr, stdout) import Text.Read (readMaybe) xftpServerVersion :: String -xftpServerVersion = "1.2.0.5" +xftpServerVersion = "1.2.0.6" xftpServerCLI :: FilePath -> FilePath -> IO () xftpServerCLI cfgPath logPath = do diff --git a/src/Simplex/Messaging/Notifications/Server/Main.hs b/src/Simplex/Messaging/Notifications/Server/Main.hs index 7c477861a..f807e1d8f 100644 --- a/src/Simplex/Messaging/Notifications/Server/Main.hs +++ b/src/Simplex/Messaging/Notifications/Server/Main.hs @@ -30,7 +30,7 @@ import System.IO (BufferMode (..), hSetBuffering, stderr, stdout) import Text.Read (readMaybe) ntfServerVersion :: String -ntfServerVersion = "1.7.0.5" +ntfServerVersion = "1.7.0.6" defaultSMPBatchDelay :: Int defaultSMPBatchDelay = 10000