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