2021-09-11 10:48:23 +00:00
# Changelog
2024-04-13 10:19:16 +00:00
## UNRELEASED
2024-04-15 18:50:39 +00:00
### Changed
- Move private Ox key into JID folder in ~/.local/share/go-sendxmpp.
2024-05-20 19:56:18 +00:00
- Use `fmt.Errorf()` instead of `errors.New()` to create new error messages.
2024-04-13 10:19:16 +00:00
2024-05-01 08:58:53 +00:00
### Added
- Add new parameter `--subject` .
2024-05-14 19:03:41 +00:00
- Added flag `--fast-off` to disable XEP-0484: Fast Authentication Streamlining Tokens (requires go-xmpp >= 0.2.1).
2024-05-01 08:58:53 +00:00
2024-04-13 10:17:18 +00:00
## [v0.10.0] 2024-04-13
2024-03-31 14:55:45 +00:00
### Changed
2024-04-02 12:54:42 +00:00
- Fixed a race condition in receiving stanzas (requires go-xmpp >= v0.1.5).
2024-03-31 14:55:45 +00:00
2024-03-30 13:06:56 +00:00
### Added
2024-04-13 10:17:18 +00:00
- Add support for SASL2 and BIND2 (via go-xmpp >= v0.2.0).
- Add support for FAST authentication (via go-xmpp >= v0.2.0).
2024-04-09 08:59:49 +00:00
- Add a warning when run by the user *root* .
2024-03-28 18:22:39 +00:00
2024-03-28 18:14:05 +00:00
## [v0.9.0] 2024-03-28
2024-03-11 18:08:42 +00:00
### Changed
- Properly close stream if `Ctrl+C` is pressed in interactive mode.
2024-03-26 19:43:30 +00:00
- Properly close stream if `Ctrl+C` is pressed in listening mode.
2024-03-12 21:52:42 +00:00
- Print OS, architecture and go version for flag `--version` .
2024-03-28 18:09:16 +00:00
- Improve closing of connection (via go-xmpp v0.1.4).
- Don't send stanzas that exceed the size limit provided by XEP-0478 (requires go-xmpp >= v0.1.4).
- Fixed hanging forever in stream close if the server doesn't reply with a closing stream element (via go-xmpp >= v0.1.4).
2024-03-28 15:04:48 +00:00
### Added
2024-03-28 18:09:16 +00:00
- New command line flag `ssdp-off` to disable XEP-0474: SASL SCRAM Downgrade Protection (requires go-xmpp >= v0.1.4).
2024-03-09 20:17:45 +00:00
2024-03-09 20:13:48 +00:00
## [v0.8.4] 2024-03-09
2024-02-20 17:21:51 +00:00
### Changed
- Properly handle lost connection.
2024-02-20 19:45:43 +00:00
- Better compatibility with perl sendxmpp config files.
2024-02-21 19:01:51 +00:00
- Improve file name for private Ox keys.
2024-02-22 20:45:47 +00:00
- Improve fallback behavior if no SRV records are provided.
2024-02-25 11:50:17 +00:00
- Remove 100ms sleep before closing the connection. This should be no more needed since go-xmpp commit 9684a8ff690f0d75e284f8845696c5057926d276.
2024-02-27 19:54:09 +00:00
- Return an error if there is no answer to an IQ within 60s.
2024-03-09 20:11:16 +00:00
- Check for errors after sending the auth message during SCRAM authentication (via go-xmpp v0.1.2).
2024-02-17 16:07:49 +00:00
2024-02-17 16:06:30 +00:00
## [v0.8.3] 2024-02-17
2024-02-17 11:46:27 +00:00
### Changed
- Use a human readable file name for private Ox keys.
2024-02-17 15:17:19 +00:00
- Fix specifying a message via command line flag `-m` .
2024-01-19 18:29:15 +00:00
2024-01-19 18:28:06 +00:00
## [v0.8.2] 2024-01-19
2024-01-19 17:52:18 +00:00
### Changed
2024-01-19 18:26:33 +00:00
- Fix an issue in look up of SRV records (via xmppsrv v0.2.6). Thx mtp.
2024-01-16 20:07:00 +00:00
2024-01-16 20:05:09 +00:00
## [v0.8.1] 2024-01-16
2024-01-11 12:35:42 +00:00
### Added
2024-01-12 11:24:17 +00:00
- Add support for `tls-server-end-point` channel binding (via go-xmpp commit 3f0cbac30767faa562ad198ee69f36055f5924bc).
2024-01-13 14:04:29 +00:00
- Add experimental support for SOCKS5 proxies using the `HTTP_PROXY` environment variable (requires go-xmpp commit 685570cbd85c31ea3b426bea34dd4af404aac8cf).
2024-01-09 10:39:58 +00:00
2024-01-14 20:29:19 +00:00
### Changed
2024-01-16 20:37:55 +00:00
- http-upload: Improve error handling.
2024-01-14 20:29:19 +00:00
2024-01-09 10:37:22 +00:00
## [v0.8.0] 2024-01-09
2024-01-08 20:11:56 +00:00
### Added
2024-01-09 10:52:09 +00:00
- Add new parameter `--scram-mech-pinning` .
2024-01-08 20:11:56 +00:00
2023-12-01 12:55:41 +00:00
### Changed
- Refuse to upload a file if upload slot doesn't provide https.
2024-01-09 09:48:50 +00:00
- Use XEP-0474 instead of SCRAM mechanism pinning to prevent downgrade attacks (requires go-xmpp commit 39f5b80375b6f6f266df37b4a4adcbeb606ffec2).
2023-11-11 14:22:24 +00:00
2023-11-11 14:20:09 +00:00
## [v0.7.0] 2023-11-11
2023-11-11 14:13:48 +00:00
### Added
2023-10-29 09:20:44 +00:00
- Reply to XEP-0092 software version requests.
2023-11-11 18:16:35 +00:00
- Add support for PLUS variants of SCRAM authentication mechanisms (requires go-xmpp commit 4c385a334c606e8bc387f0a3d4d84975802b3984).
- Add pinning of last used authentication mechanism if a SCRAM mechanism was used.
2023-09-29 17:28:06 +00:00
2023-11-11 14:13:48 +00:00
### Changed
- Print every stanza in a new line (requires go-xmpp commit 31c7eb6919b67b18e901dc45a8e5681040ea7f31).
2023-09-29 17:26:08 +00:00
## [v0.6.2] 2023-09-29
2023-07-27 17:31:56 +00:00
### Changed
- Properly close connection to server if ^C is pressed in interactive mode.
2023-08-10 11:42:31 +00:00
- Replace invalid characters by UTF8 replacement char.
2023-08-11 13:19:03 +00:00
- Add warning that there is no Ox support for messages of type headline.
2023-08-14 07:34:39 +00:00
- Suppress warnings about reading from closed connection if go-sendxmpp closes the connection before exiting.
2023-08-14 08:34:21 +00:00
- Remove unnecessary newlines after stanzas.
2023-08-16 06:01:38 +00:00
- Fix segfault when authentication fails due to invalid username or password.
2023-07-25 17:14:56 +00:00
2023-09-05 18:39:54 +00:00
## Removed
- Removed deprecated flag and config option `resource` .
2023-07-25 17:12:34 +00:00
## [v0.6.1] 2023-07-25
2023-07-25 17:05:39 +00:00
### Changed
- Properly close connection to server.
2023-07-02 07:54:40 +00:00
2023-07-02 07:51:36 +00:00
## [v0.6.0] 2023-07-02
2023-02-18 14:42:04 +00:00
### Added
- Add support for sending Out of Band Data (OOB).
2023-05-21 09:26:19 +00:00
- Add SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA512 support (via go-xmpp commit bef3e54).
2023-06-18 20:21:18 +00:00
- Add support for messages of type headline.
2023-02-18 17:56:07 +00:00
### Changed
- Print `--help` output to stdout instead of stderr.
2023-03-02 15:42:12 +00:00
- Print sent stanzas when `--debug` is used (via go-xmpp commit 9129a110df1b).
2023-03-02 19:28:51 +00:00
- Allow JIDs without localpart.
2023-05-11 18:26:12 +00:00
- Use single quotes for attributes in stanzas created by github.com/beevik/etree (vial etree v1.1.4).
2023-05-05 19:01:14 +00:00
- Fix SRV lookup when the domain has a CNAME (via xmppsrv v0.2.5).
2023-06-04 09:47:56 +00:00
- Fall back to directTLS on port 5223 (instead of StartTLS on port 5222) if no SRV records are provided and `-t` is set.
2023-06-19 19:25:29 +00:00
- Remove trailing newlines in interactive mode.
2023-02-18 17:56:07 +00:00
2022-11-11 17:24:49 +00:00
## [v0.5.6] 2022-11-11
2022-11-11 16:54:00 +00:00
### Added
- Add short option `-h` for http-upload.
2022-11-06 13:30:22 +00:00
### Changed
- Fix Ox key generation.
2022-10-16 10:00:02 +00:00
2022-10-16 09:58:37 +00:00
## [v0.5.5] 2022-10-16
2022-10-16 10:19:46 +00:00
### Changed
2022-10-16 08:57:35 +00:00
- Improve interactive mode.
2022-09-30 05:27:55 +00:00
2022-09-30 05:26:03 +00:00
## [v0.5.4] 2022-09-30
2022-09-30 05:25:11 +00:00
### Changed
- Fix http-upload.
2022-09-29 13:39:24 +00:00
2022-09-29 13:37:40 +00:00
## [v0.5.3] 2022-09-29
2022-09-29 13:35:38 +00:00
### Changed
- Don't check for empty message when `--listen` is used.
2022-09-29 12:46:46 +00:00
2022-09-29 12:44:30 +00:00
## [v0.5.2] 2022-09-29
2022-07-26 20:28:04 +00:00
### Added
- Reply to `disco#info` queries.
- Send `service-unavailable` errors for all other IQs of type `get` and `set` .
2022-08-06 09:52:47 +00:00
- New config option and command line flag `alias` to uncouple MUC nickname/alias from resource.
2022-07-26 20:28:04 +00:00
2022-06-28 16:31:03 +00:00
### Changed
2022-07-10 11:45:29 +00:00
- Ox: Improve error messages for failed key requests.
- Ox: Do not encrypt empty messages.
- Check for empty messages.
2022-07-31 20:09:14 +00:00
- Always look up CNAME before doing SRV lookups (via xmppsrv v0.2.3).
2022-08-05 10:46:04 +00:00
- Detect CNAME loops (max. 5 CNAMEs) (via xmppsrv >= v0.2.4).
2022-08-06 09:52:47 +00:00
- Deprecate resource config option and command line flag.
2022-09-01 20:13:13 +00:00
- Improve error handling in XML parsing.
2022-09-29 12:38:33 +00:00
- Don't connect to the XMPP server if the message is empty.
2022-05-22 10:37:35 +00:00
2022-05-22 10:34:25 +00:00
## [v0.5.1] 2022-05-22
2022-05-05 18:01:35 +00:00
### Changed
2022-07-10 11:45:29 +00:00
- Improve listening mode for groupchats.
- Fix nickname in MUCs if not manually set.
2022-05-05 16:23:18 +00:00
2022-05-05 16:20:53 +00:00
## [v0.5.0] 2022-05-05
2022-05-04 09:18:24 +00:00
### Added
2022-07-10 11:45:29 +00:00
- Add possibility to delete existing OpenPGP for XMPP nodes.
2022-05-04 09:18:24 +00:00
2022-05-02 13:07:58 +00:00
### Changed
2022-07-10 11:45:29 +00:00
- Ox: Improve rpad generation.
- Rework receiving of stanzas.
- Ox: Improve private key import.
2022-04-30 11:52:07 +00:00
2022-04-30 11:48:39 +00:00
## [v0.4.0] 2022-04-30
2022-04-17 15:16:29 +00:00
### Added
- Experimental support for Ox (OpenPGP for XMPP) encryption.
2022-03-21 01:17:28 +00:00
2022-04-23 21:40:15 +00:00
### Changed
2022-05-07 08:29:54 +00:00
- Shorter random ID for resource.
- Changed to the more flexible "github.com/beevik/etree" instead of encoding/xml for creating and interpreting stanzas.
- Changed to use message stamp, if provided, for printing the time stamp of received messages.
2022-04-23 21:40:15 +00:00
2022-03-21 01:12:40 +00:00
## [v0.3.0] 2022-03-21
2022-02-22 12:51:46 +00:00
### Added
2022-02-19 07:30:35 +00:00
- Added support for joining password protected MUCs.
2022-02-12 11:32:18 +00:00
2022-02-22 12:51:15 +00:00
### Changed
2022-02-22 18:39:59 +00:00
- Removed invalid code points from input.
- Fixed crash when reading a config with wrong syntax.
- Fixed crash when a non-existing or non-readable config was supplied by `-f` .
2022-02-22 18:57:03 +00:00
- Changed config file location from `~/.config/go-sendxmpp/sendxmpprc` to `~/.config/go-sendxmpp/config` .
2022-03-19 14:28:58 +00:00
- Fixed blocking of go-sendxmpp if an IQ reply of type "error" is received (via go-xmpp v0.0.0-20220319135856-e773596ea0b0).
2022-02-22 12:51:15 +00:00
2022-02-24 02:41:33 +00:00
## [v0.2.0] 2022-02-12
2022-02-07 15:22:53 +00:00
### Added
- Added listening function.
2022-02-12 08:18:02 +00:00
- Added flag to configure connection timeout.
2022-02-12 08:36:12 +00:00
- Added flag to configure minimum TLS version.
2022-02-12 10:16:45 +00:00
- Added flag to show version.
2022-01-29 13:37:51 +00:00
2022-02-07 15:57:31 +00:00
### Removed
- Removed deprecated option `-x` .
2022-02-24 02:41:33 +00:00
## [v0.1.3] 2022-01-29
2022-01-29 12:44:00 +00:00
### Changed
2022-01-29 13:11:52 +00:00
- Rename files to use a limited character set (alpha numerical and some extra characters) file name before uploading. Workaround for https://github.com/mattn/go-xmpp/issues/132
2021-11-18 13:23:29 +00:00
2022-02-24 02:41:33 +00:00
## [v0.1.2] 2021-11-18
2021-09-29 16:17:54 +00:00
### Changed
2021-09-29 16:18:58 +00:00
- Use xml.Marshal to safely build HTTP Upload request.
- Use salsa.debian.org/mdosch/xmppsrv for SRV lookups.
2021-09-12 08:11:03 +00:00
2022-02-24 02:41:33 +00:00
## [v0.1.1] 2021-09-12
2021-09-12 08:08:46 +00:00
### Changed
- Xml-escape file name in http-upload.
- Xml-escape mimetype in http-upload.
2021-09-11 10:49:05 +00:00
2022-02-24 02:41:33 +00:00
## [v0.1.0] 2021-09-11
2021-09-11 10:48:23 +00:00
### Added
- Initial release