]> nmode's Git Repositories - signal-cli/blob - CHANGELOG.md
Add additional logging to message send log store
[signal-cli] / CHANGELOG.md
1 # Changelog
2
3 ## [Unreleased]
4
5 ## [0.10.3] - 2022-02-01
6 ### Added
7 - MessageSendLog to cache sent message for 24h.
8 For resending messages in case the recipient fails to decrypt the message.
9 - New global `--log-file` parameter to write logs to a separate file.
10 (`--verbose` can be used to increase the log level)
11
12 ### Improved
13 - Better subscription handling for JSON-RPC `subscribeReceive` command
14
15 ### Fixed
16 - Output receipt data for unsealed sender receipts again
17 - Fix sending message resend requests to devices that happen to have the same deviceId
18
19 ## [0.10.2] - 2022-01-22
20 ### Fixed
21 - Archive old sessions/sender keys when a recipient's identity key has changed
22 - Fix profile fetch with an invalid LANG variable
23
24 ## [0.10.1] - 2022-01-16
25 ### Added
26 - Send group messages with sender keys (more efficient for larger groups)
27 - New command `listStickerPacks` to display all known sticker packs
28 - New flag `--sticker` for `send` command to send stickers
29
30 ### Changed
31 - Improve exit code for message sending.
32 Exit with 0 status code if the message was sent successfully to at least
33 one recipient, otherwise exit with status code 2 or 4 (for untrusted).
34 - Download profiles in parallel for improved perfomance
35 - `--verbose` flag can be specified multiple times for additional log output
36 - Enable more security options for systemd service file
37 - Rename sandbox to staging environment, to match the upstream name.
38
39 ### Fixed
40 - The first incoming message after registration can now always be decrypted successfully
41 - Ignore decryption failures from blocked contacts and don't send a resend request.
42
43 ## [0.10.0] - 2021-12-11
44 **Attention**: Now requires Java 17 and libsignal-client version 0.11
45
46 ### Added
47 - The daemon command now provides a JSON-RPC based socket interface (`--socket` and `--tcp`)
48 - New daemon command flag `--receive-mode` to configure when messages are received
49 - New daemon command flag `--no-receive-stdout` to prevent outputting messages on stdout
50 - New command `listAccounts` that lists all registered local accounts
51 - New command `removeContact`
52 - Extend `send` command to allow sending mentions (`--mention`) and quotes (`--quote-timestamp`, `--quote-author`, `--quote-message`, `--quote-mention`)
53 - New dbus methods sendGroupTying, unregister, deleteAccount
54 - New dbus events MessageReceivedV2, ReceiptReceivedV2, SyncMessageReceivedV2 that provide an extras parameter with additional message info as a key/value map
55 - New dbus method sendViewedReceipt (Thanks @John Freed)
56 - New dbus object Configuration to read and update configuration values (Thanks @John Freed)
57 - Payment info in json receive output (Thanks @technillogue)
58 - `-c` alias for `--config` (Thanks @technillogue)
59
60 ### Changed
61 - libzkgroup dependency is no longer required
62 - Renamed `-u` and `--username` flags to `-a` and `--account` to prevent confusion with upcoming Signal usernames. The old flags are also still supported for now.
63 - Respect phone number sharing mode and unlisted state set by main device
64 - Adapt register command to reactivate account if possible.
65 - dbus-java now uses Java 16 native unix sockets, which should provide better cross-platform compatibility
66 - If sending to a recipient fails (e.g. unregistered) signal-cli now exits with a success exit code and prints additional information about the failure.
67
68 ### Fixed
69 - Registering an existing unregistered account now works reliably in daemon mode
70 - Fixed an issue with loading some old config files without UUID
71 - More reliable send behavior if some recipients are unregistered
72
73 ## [0.9.2] - 2021-10-24
74 ### Fixed
75 - dbus `listNumbers` method works again
76
77 ### Changed
78 - Improved provisioning error handling if the last steps fail
79 - Adapt behavior of receive command as dbus client to match normal mode
80 - Update captcha url for proof required handling
81
82 ## [0.9.1] - 2021-10-16
83 **Attention**: Now requires native libzkgroup version 0.8
84
85 ### Added
86 - New command `updateConfiguration` which allows setting configurations for linked devices
87 - Improved dbus daemon for group handling, groups are now exported as separate dbus objects
88 - Linked devices can be managed via dbus
89 - New dbus methods sendTyping and sendReadReceipt (Thanks @JtheSaw)
90 - New dbus methods submitRateLimitChallenge, isRegistered, listDevices, setExpirationTimer, sendContacts, sendSyncRequest, uploadStickerPack, setPin and removePin (Thanks @John Freed)
91 - New dbus method getSelfNumber
92
93 ### Fixed
94 - Do not send message resend request to own device
95 - Allow message from pending member to accept group invitations
96 - Fix issue which could cause signal-cli to repeatedly send the same delivery receipts
97 - Reconnect websocket after connection loss
98
99 ### Changed
100 - Use new provisioning URL `sgnl://linkdevice` instead of `tsdevice:/`
101 - The gradle command to build a graalvm native image is now `./gradlew nativeCompile`
102
103 ## [0.9.0] - 2021-09-12
104 **Attention**: Now requires native libsignal-client version 0.9
105
106 ### Breaking changes
107 - Removed deprecated `--json` parameter, use global parameter `--output=json` instead
108 - Json output format of `listGroups` command changed:
109 Members are now arrays of `{"number":"...","uuid":"..."}` objects instead of arrays of strings.
110 - Removed deprecated fallback data paths, only `$XDG_DATA_HOME/signal-cli` is used now
111 For those still using the old paths (`$HOME/.config/signal`, `$HOME/.config/textsecure`) you need to move those to the new location.
112
113 ### Added
114 - New global parameter `--trust-new-identities=always` to allow trusting any new identity key without verification
115 - New parameter `--device-name` for `updateAccount` command to change the device name (also works for the main device)
116 - New SignalControl DBus interface, to register/verify/link new accounts
117 - New `jsonRpc` command that provides a JSON-RPC based API on stdout/stdin
118 - Support for announcement groups
119 - New parameter `--set-permission-send-messages` for `updateGroup` to create an announcement group
120 - New `sendReceipt` command to send read and viewed receipts
121 - Support for receiving sender key messages, mobile apps can now send messages more efficiently with server-side fan-out to groups with signal-cli members.
122 - Support for reading data from remote Signal storage. Now v2 groups will be shown after linking a new device.
123 - New `submitRateLimitChallenge` command that can be used to lift some rate-limits by solving a captcha
124
125 ### Fixed
126 - Store identity key correctly when sending a message after a recipient has changed keys
127
128 ## [0.8.5] - 2021-08-07
129 ### Added
130 - Source name is included in JSON receive output (Thanks @technillogue)
131
132 ### Fixed
133 - Allow updateContact command to only set expiration timer without requiring a name parameter
134
135 ## [0.8.4.1] - 2021-06-20
136 ### Fixed
137 - Incorrect error handling in register command
138
139 ## [0.8.4] - 2021-06-13
140 **Attention**: Now requires native libsignal-client version 0.8.1
141
142 ### Added
143 - New parameters for `updateGroup` command for group v2 features:
144 `--description`, `--remove-member`, `--admin`, `--remove-admin`, `--reset-link`, `--link`, `--set-permission-add-member`, `--set-permission-edit-details`, `--expiration`
145 - New `--admin` parameter for `quitGroup` to set an admin before leaving the group
146 - New `--delete` parameter for `quitGroup`, to delete the local group data
147 - New 'sendTyping' command to send typing indicators
148
149 ### Fixed
150 - Fixed issue that prevented registration with invalid locales
151 - Prevent last admin of a group from leaving the group
152 - All commands now show a short description with `--help`
153 - Now a hint is shown if messages aren't received regularly
154 - Group edit conflicts are now resolved automatically
155
156 ## [0.8.3] - 2021-05-13
157
158 ### Fixed
159 - Upgrading from account files with older profiles
160 - Building native image with graalvm
161
162 ## [0.8.2] - 2021-05-11
163 ### Added
164 - A manual page for the DBus interface (Thanks @bublath, @exquo)
165 - Remote message delete command (Thanks @adaptivegarage)
166 - sendSyncRequest command to request complete contact/group list from master device
167 - New `--delete-account` argument for unregister (Dangerous)
168 - New `--family-name` argument for updateProfile
169
170 ### Fixed
171 - Sending reaction to group (Thanks @adaptivegarage)
172 - Displaying of address for messages from untrusted identities
173 - Handling of recipient number or uuid changes (e.g. after account deletions)
174 - Only respond to sync requests from master device
175 - Display of quit group messages
176
177 ### Changed
178 - Unlimited strength crypto is now enabled automatically for JREs that require it (Thanks @i-infra)
179 - Only one identity key is stored per recipient and updated from profile (to match app behavior)
180 - updateContact, block and unblock are now disabled for linked devices
181 - After registering an empty profile is created so new groups can be joined immediately
182 - If message decryption fails due to a broken session, the session is automatically renewed
183 - Rework account storage for better reliability
184 - Improved device linking flow
185 - Allow relinking existing account
186 - Encrypt/Decrypt device names
187
188 ## [0.8.1] - 2021-03-02
189 ### Added
190 - New dbus commands: updateProfile, listNumbers, getContactNumber, quitGroup, isContactBlocked, isGroupBlocked, isMember, joinGroup (Thanks @bublath)
191 - Additional output for json format: shared contacts (Thanks @Atomic-Bean)
192 - Improved plain text output to be more consistent and synced messages are now indented
193
194 ### Fixed
195 - Issue with broken sessions with linked devices
196
197 ### Changed
198 - Behavior of `trust` command improved, when trusting a new identity key all other known keys for
199 the same number are removed.
200
201 ## [0.8.0] - 2021-02-14
202 **Attention**: For all signal protocol functionality an additional native library is now required: [libsignal-client](https://github.com/signalapp/libsignal-client/).
203 See https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal for more information.
204
205 ### Added
206 - Experimental support for building a GraalVM native image
207 - Support for setting profile about text and emoji
208
209 ### Fixed
210 - Incorrect error message when removing a non-existent profile avatar
211
212 ## [0.7.4] - 2021-01-19
213 ### Changed
214 - Notify linked devices after profile has been updated
215
216 ### Fixed
217 - After registering a new account, receiving messages didn't work
218 You may have to register and verify again to fix the issue.
219 - Creating v1 groups works again
220
221 ## [0.7.3] - 2021-01-17
222 ### Added
223 - `getUserStatus` command to check if a user is registered on Signal (Thanks @Atomic-Bean)
224 - Global `--verbose` flag to increase log level
225 - Global `--output=json` flag, currently supported by `receive`, `daemon`, `getUserStatus`, `listGroups`
226 - `--note-to-self` flag for `send` command to send a note to linked devices
227 - More info for received messages in json output: stickers, viewOnce, typing, remoteDelete
228
229 ### Changed
230 - signal-cli can now be used without the username `-u` flag
231 For daemon command all local users will be exposed as dbus objects.
232 If only one local user exists, all other commands will use that user,
233 otherwise a user has to be specified.
234 - Messages sent to self number will be sent as normal Signal messages again, to
235 send a sync message, use the new `--note-to-self` flag
236 - Ignore messages with group context sent by non group member
237 - Profile key is sent along with all direct messages
238 - In json output unnecessary fields that are null are now omitted
239
240 ### Fixed
241 - Disable registration lock before removing the PIN
242 - Fix PIN hash version to match the official clients.
243 If you had previously set a PIN you need to set it again to be able to unlock the registration lock later.
244 - Issue with saving account file after linking
245
246 ## [0.7.2] - 2020-12-31
247 ### Added
248 - Implement new registration lock PIN with `setPin` and `removePin` (with KBS)
249 - Include quotes, mentions and reactions in json output (Thanks @Atomic-Bean)
250
251 ### Fixed
252 - Retrieve avatars for v2 groups
253 - Download attachment thumbnail for quoted attachments
254
255 ## [0.7.1] - 2020-12-21
256 ### Added
257 - Accept group invitation with `updateGroup -g GROUP_ID`
258 - Decline group invitation with `quitGroup -g GROUP_ID`
259 - Join group via invitation link `joinGroup --uri https://signal.group/#...`
260
261 ### Fixed
262 - Include group ids for v2 groups in json output
263
264 ## [0.7.0] - 2020-12-15
265 ### Added
266 Support for groups of new type/v2
267 - Sending and receiving
268 - Updating name, avatar and adding members with `updateGroup`
269 - Quit group and decline invitation with `quitGroup`
270 - In the `listGroups` output v2 groups can be recognized by the longer groupId
271
272 **Attention**: For the new group support to work the native libzkgroup library is required.
273 See https://github.com/AsamK/signal-cli/wiki/Provide-native-lib-for-libsignal for more information.
274
275 ### Fixed
276 - Rare NullPointerException when receiving messages
277
278 ## [0.6.12] - 2020-11-22
279 ### Added
280 - Show additional message content (view once, remote delete, mention, …) for received messages
281 - `--captcha` parameter for `register` command, required for some IP ranges
282
283 ### Changed
284 - Profile keys are now stored separately from contact list
285 - Receipts from normal and unidentified messages now have the same format in json output
286
287 ### Fixed
288 - Issue where some messages were sent with an old counter index
289
290 ## [0.6.11] - 2020-10-14
291 - Fix issue with receiving message reactions
292
293 ## [0.6.10] - 2020-09-11
294 - Fix issue when retrieving profiles
295 - Workaround issue with libzkgroup on platforms other than linux x86_64
296
297 ## [0.6.9] - 2020-09-10
298 - Minor bug fixes and improvements
299 - dbus functionality now works on FreeBSD
300 - signal-cli now requires Java 11
301
302 **Warning: this version only works on Linux x86_64, will be fixed in 0.6.10**
303
304 ## [0.6.8] - 2020-05-22
305 - Switch to hypfvieh dbus-java, which doesn't require a native library anymore (drops requirement of libmatthew-unix-java)
306 - Bugfixes for messages with uuids
307 - Add `--expiration` parameter to `updateContact` command to set expiration timer
308
309 ## [0.6.7] - 2020-04-03
310 - Send command now returns the timestamp of the sent message
311 - DBus daemon: Publish received sync message to SyncMessageReceived signal
312 - Fix issue with resolving e164/uuid addresses for sessions
313 - Fix pack key length for sticker upload
314
315 ## [0.6.6] - 2020-03-29
316 - Added listContacts command
317 - Added block/unblock commands to block contacts and groups
318 - Added uploadStickerPack command to upload sticker packs (see man page for more details)
319 - Full support for sending and receiving unidentified sender messages
320 - Support for message reactions with emojis
321 - Internal: support recipients with uuids
322
323 ## [0.6.5] - 2019-11-11
324 Supports receiving messages sent with unidentified sender
325
326 ## [0.6.4] - 2019-11-02
327 - Fix rounding error for attachment ids in json output
328 - Add additional info to json output
329 - Add commands to update profile name and avatar
330 - Add command to update contact names
331
332 ## [0.6.3] - 2019-09-05
333 Bug fixes and small improvements
334
335 ## [0.6.2] - 2018-12-16
336 - Fixes sending of group messages
337
338 ## [0.6.1] - 2018-12-09
339 - Added getGroupIds dbus command
340 - Use "NativePRNG" pseudo random number generator, if available
341 - Switch default data path:
342 `$XDG_DATA_HOME/signal-cli` (`$HOME/.local/share/signal-cli`)
343 Existing data paths will continue to work (used as fallback)
344
345 ## [0.6.0] - 2018-05-03
346 - Simple json output
347 - dbus signal for receiving messages
348 - Registration lock PIN
349 - Output quoted message
350
351 ## [0.5.6] - 2017-06-16
352 * new listGroups command
353 * Support for attachments with file names
354 * Support for complete contacts sync
355 * Support for contact verification sync
356 * DBus interface:
357 * Get/Set group info
358 * Get/Set contact info
359
360 ## [0.5.5] - 2017-02-18
361 - fix receiving messages on linked devices
362 - add unregister command
363
364 ## [0.5.4] - 2017-02-17
365 - Fix linking of new devices
366
367 ## [0.5.3] - 2017-01-29
368 * New commandline paramter for receive: --ignore-attachments
369 * Updated dependencies
370
371 ## [0.5.2] - 2016-12-16
372 - Add support for group info requests
373 - Improve closing of file streams
374
375 ## [0.5.1] - 2016-11-18
376 - Support new safety numbers (https://whispersystems.org/blog/safety-number-updates/)
377 - Add a man page
378 - Support sending disappearing messages, if the recipient has activated it
379
380 ## [0.5.0] - 2016-08-29
381 - Check if a number is registered on Signal, before adding it to a group
382 - Prevent sending to groups that the user has quit
383 - Commands to trust new identity keys (see README)
384 - Messages from untrusted identities are stored on disk and decrypted when the user trusts the identity
385 - Timestamps shown in ISO 8601 format
386
387 ## [0.4.1] - 2016-07-18
388 - Fix issue with creating groups
389 - Lock config file to prevent parallel access by multiple instances of signal-cli
390 - Improve return codes, always return non-zero code, when sending failed
391
392 ## [0.4.0] - 2016-06-19
393 - Linking to Signal-Desktop and Signal-Android is now possible (Provisioning)
394 - Added a contact store, mainly for syncing contacts with linked devices (editing not yet possible via cli)
395 - Avatars for groups and contacts are now stored (new folder "avatars" in the config path)
396
397 ## [0.3.1] - 2016-04-03
398 - Fix running with Oracle JRE 8
399 - Fix registering
400 - Fix unicode warning when compiling with non utf8 locale
401
402 ## [0.3.0] - 2016-04-02
403 - Renamed textsecure-cli to signal-cli, following the rename of libtextsecure-java to libsignal-service-java
404 - The experimental dbus interface was also renamed to org.asamk.Signal
405 - Upload new prekeys to the server, when there are less than 20 left, prekeys are needed to create new sessions
406
407 ## [0.2.1] - 2016-02-10
408 - Improve dbus service
409 - New command line argument --config to specify config directory
410
411 ## [0.2.0] - 2015-12-30
412 Added an experimental dbus interface, for sending and receiving messages (The interface is unstable and may change with future releases).
413
414 This release works with Java 7 and 8.
415
416 ## [0.1.0] - 2015-11-28
417 Add support for creating/updating groups and sending to them
418
419 ## [0.0.5] - 2015-11-21
420 - Add receive timeout commandline parameter
421 - Show message group info
422
423 ## [0.0.4] - 2015-09-22
424
425 ## [0.0.3] - 2015-08-07
426
427 ## [0.0.2] - 2015-07-08
428 First release