# Changelog
## [Unreleased]
+
+## [0.11.5.1] - 2022-11-09
+
+### Fixed
+- Fix updating from older signal-cli version
+
+## [0.11.5] - 2022-11-07
+**Attention**: Now requires native libsignal-client version 0.21.1
+
+### Added
+- Add `--http` flag to `daemon` command to provide a JSON-RPC http endpoint (`/api/v1/rpc`). (Thanks @ced-b)
+- The `receive` method is now also available in JSON-RPC daemon mode, for polling new messages.
+- Add `getAttachment` command to get attachment file base64 encoded. (Thanks @ced-b)
+- Add `--disable-send-log` to disable the message send log.
+- Add `--story` to `sendReaction` command, to react to stories.
+- Add `--story-timestamp` and `--story-author` to `send` command, to reply to stories.
+- Add `--max-messages` to `receive` command, to only receive a certain number of messages.
+
+### Changed
+- Send long text messages as attachment instead. This matches the behavior of the official clients.
+- Store attachments with a file extension, for common file types.
+
+## [0.11.4] - 2022-10-19
+
+### Added
+- Approve/Refuse group join requests, using same interface as adding/removing members
+- Add --ignore-stories flag to prevent receiving story messages
+
+### Fixed
+- Fixed issue with receiving messages that can't be decrypted
+- Do not discard incoming group join messages
+
+### Improved
+- Add code to receive new PNI after change number
+
+## [0.11.3] - 2022-10-07
+
+### Fixed
+- Fix sending messages to groups (in non-daemon mode)
+- Fix updating from older signal-cli version
+- Fix issue with handling decryption error message
+- Fix graalvm native build (Thanks @bentolor)
+
+## [0.11.2] - 2022-10-06
+
+### Fixed
+- Update user agent version to work with new Signal-Server check
+
+## [0.11.1] - 2022-10-05
+
+### Fixed
+- Fix sending group messages
+- Fix store migration issue on Windows
+- Fix building fat jars
+
+## [0.11.0] - 2022-10-02
+**Attention**: Now requires native libsignal-client version 0.20.0
+
+### Breaking changes
+- Changed meaning of `-v` flag from `--version` to `--verbose`.
+ So now extended logging can be achieved with `-vv`.
+- Remove deprecated fallback to reading from stdin if no message body is given.
+ To read a message from stdin, use the `--message-from-stdin` flag.
+
+### Added
+- Migrate PIN to new KBS enclave when Signal updates it
+- Add `--scrub-log` flag to remove possibly sensitive information from the log
+- Add `sendPaymentNotification` dbus method
+
+### Fixed
+- Fix an issue where messages were sent without sender phone number
+
+### Changed
+- Store data except base account data in sqlite database
+- Use new CDSI for contact discovery in compat mode
+
+## [0.10.11] - 2022-08-17
+**Attention**: Now requires native libsignal-client version 0.19.3
+
+### Added
+- Output content of received story messages
+
+## [0.10.10] - 2022-07-30
+**Attention**: Now requires native libsignal-client version 0.18.1
+
+### Fixed
+- Fix setPin/removePin commands which broke due to server side changes
+- Workaround GraalVM 22.2.0 issue with daemon connection
+
+## [0.10.9] - 2022-07-16
+
+### Changed
+- updateAccount command checks self number and PNI after updating account attributes
+
+### Fixed
+- Fixed small issue with syncing contacts from storage
+- Fixed issue with opening older account files
+
+## [0.10.8] - 2022-06-13
+
+### Added
+- Attachments can now be given as data: URIs with base64 data instead of just file paths (Thanks @KevinRoebert)
+- `version` command can now be used on the commandline, in addition to the `--version` flag.
+ In the next version the current short form `-v` will change its meaning to `--verbose`!
+
+### Improved
+- An account can now be registered on both LIVE and STAGING environment in the same config directory.
+- Logging output for registering has been extended.
+
+## [0.10.7] - 2022-05-29
+
+### Added
+- Added profile information to `listContacts` command output
+- Added filter flags for `listContacts` command
+- New `sendPaymentNotification` command to send payment receipt blobs
+- New `--given-name` and `--family-name` parameters for `updateContact` command
+- Implement sending link previews with `--preview-url`, `--preview-title` parameters for the `send` command
+- New `--send-read-receipts` parameter for `receive` and `daemon` commands for automatically marking received messages as read
+
+### Fixed
+- Issue with endless growing `pre-keys-pni` data directory
+
+## [0.10.6] - 2022-05-19
+**Attention**: Now requires native libsignal-client version 0.17
+
+### Added
+- Check if account is used on the environment it was registered (live or staging)
+- New command `deleteLocalAccountData` to delete all local data of an unregistered account
+- New parameter `-g` for `listGroups` command to filter for specific groups
+
+### Fixed
+- Fix deleting a recipient which has no uuid
+
+### Changed
+- Show warning when sending a message and no profile name has been set.
+ (A profile name may become mandatory in the future)
+- After blocking a contact/group the profile key is now rotated
+- Only update profile keys from authoritative group changes
+
+## [0.10.5] - 2022-04-11
+**Attention**: Now requires native libsignal-client version 0.15
+
+### Added
+- New `--ban`, `--unban` flags for `updateGroup` command to ban users from joining by group link
+
+### Fixed
+- Fix plain text output of blocked group ids
+- Fix error output in case of rate limiting
+- Fix error when creating a group with no members
+- Fix adding recent Signal-Desktop versions as linked devices
+
+## [0.10.4.2] - 2022-03-17
+### Fixed
+- Crash in json output when receiving message from untrusted identity
+- Fix multi account commands for newly created accounts
+
+## [0.10.4.1] - 2022-03-02
+### Fixed
+- Linking to current apps (which currently don't include a PNI identity yet)
+- Show better error message when --target-timestamp is missing for sendReceipt
+
+## [0.10.4] - 2022-02-20
+### Added
+- Implement support for change number as linked device
+- Add `--message-from-stdin` flag for send command. The current behavior of
+ reading from stdin if the `-m` flag is not given, will be removed in a future
+ version.
+
+### Changed
+- Align receive timeout behavior for dbus client with cli and JSON-RPC.
+ Timeout is reset by every incoming message
+- Renamed `error` field in json receive response to `exception`
+
+### Fixed
+- Prevent a stale jsonrpc connection from interfering with message receiving
+
+## [0.10.3] - 2022-02-01
+### Added
+- MessageSendLog to cache sent message for 24h.
+ For resending messages in case the recipient fails to decrypt the message.
+- New global `--log-file` parameter to write logs to a separate file.
+ (`--verbose` can be used to increase the log level)
+
+### Improved
+- Better subscription handling for JSON-RPC `subscribeReceive` command
+
+### Fixed
+- Output receipt data for unsealed sender receipts again
+- Fix sending message resend requests to devices that happen to have the same deviceId
+
+## [0.10.2] - 2022-01-22
+### Fixed
+- Archive old sessions/sender keys when a recipient's identity key has changed
+- Fix profile fetch with an invalid LANG variable
+
+## [0.10.1] - 2022-01-16
+### Added
+- Send group messages with sender keys (more efficient for larger groups)
+- New command `listStickerPacks` to display all known sticker packs
+- New flag `--sticker` for `send` command to send stickers
+
+### Changed
+- Improve exit code for message sending.
+ Exit with 0 status code if the message was sent successfully to at least
+ one recipient, otherwise exit with status code 2 or 4 (for untrusted).
+- Download profiles in parallel for improved perfomance
+- `--verbose` flag can be specified multiple times for additional log output
+- Enable more security options for systemd service file
+- Rename sandbox to staging environment, to match the upstream name.
+
+### Fixed
+- The first incoming message after registration can now always be decrypted successfully
+- Ignore decryption failures from blocked contacts and don't send a resend request.
+
+## [0.10.0] - 2021-12-11
**Attention**: Now requires Java 17 and libsignal-client version 0.11
### Added
### Changed
- libzkgroup dependency is no longer required
- 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.
-- Respect phone number sharing mode and unlisted state set by main device
+- Respect phone number sharing mode and unlisted state set by primary device
- Adapt register command to reactivate account if possible.
- dbus-java now uses Java 16 native unix sockets, which should provide better cross-platform compatibility
+- 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.
### Fixed
- Registering an existing unregistered account now works reliably in daemon mode
### Added
- New global parameter `--trust-new-identities=always` to allow trusting any new identity key without verification
-- New parameter `--device-name` for `updateAccount` command to change the device name (also works for the main device)
+- New parameter `--device-name` for `updateAccount` command to change the device name (also works for the primary device)
- New SignalControl DBus interface, to register/verify/link new accounts
- New `jsonRpc` command that provides a JSON-RPC based API on stdout/stdin
- Support for announcement groups
### Added
- A manual page for the DBus interface (Thanks @bublath, @exquo)
- Remote message delete command (Thanks @adaptivegarage)
-- sendSyncRequest command to request complete contact/group list from master device
+- sendSyncRequest command to request complete contact/group list from primary device
- New `--delete-account` argument for unregister (Dangerous)
- New `--family-name` argument for updateProfile
- Sending reaction to group (Thanks @adaptivegarage)
- Displaying of address for messages from untrusted identities
- Handling of recipient number or uuid changes (e.g. after account deletions)
-- Only respond to sync requests from master device
+- Only respond to sync requests from primary device
- Display of quit group messages
### Changed