Features
This release makes the JSON-RPC mode (which was released with [signal-cli v0.9.0](https://github.com/AsamK/signal-cli/releases/tag/v0.9.0)) available in the `signal-cli-rest-api`.
For implementation details, discussions and troubleshooting see: https://github.com/bbernhard/signal-cli-rest-api/discussions/160
Limitations, API changes & Breaking Changes:
* Registering, verifying and linking devices only works in normal/native mode. (there's no support yet in signal-cli)
* In JSON-RPC mode it's no longer possible to poll for incoming messages via the HTTP GET `receive` endpoint. Instead you have to use websockets. e.g: In order to listen for incoming messages you can use `wscat` like this: `wscat -c 127.0.0.1:8080/v1/receive/<your registered signal number> --show-ping-pong --slash`
* The `USE_NATIVE` env variable in the `docker-compose.yml` file is now deprecated. You can still use it, but you'll see a deprecation warning in the logs. It is recommended to use the `MODE` env variable instead. (e.g: `MODE=native`)
* The `AUTO_RECEIVE_SCHEDULE` env variable in the `docker-compose.yml` only works in normal/native mode
* The `SIGNAL_CLI_CMD_TIMEOUT` env variable in the `docker-compose.yml` only works in normal/native mode