Releases: sb-im/ncp
Releases · sb-im/ncp
v2.4.0
[2.4.0] - 2023-04-06
Add
- releaser deb
- add exec
exec system command. NOTE: This is very dangerous!
- type: exec
params: "echo"
i_rules:
- regexp: '.*"method": ?"exec".*'
o_rules:
- regexp: '.*'
This params
is command, example: params: "/bin/sh"
This Recvice JSONRPC, ignore jsonrpc.method
. jsonrpc.method is use of only match
For example:
params: "echo"
. jsonrpc2 {"jsonrpc":"2.0","method":"exec","params":["-n", "xxx"],"id":"x"}
Finally exec: echo -n xxx
Changelog
v2.3.0
Changelog
Add
- Add
os.env
expand
mqttd:
id: ${NCP_UUID}
static:
type: ${NCP_TYPE}
broker: ${NCP_MQTT_URL}
v2.2.0
Changelog
- eb8bcd3 Add
type
in config - bf2718f Change (config) Link_id int to string
- 460b86d Fix mqtt auth
- 3c4c7f3 Improve (ncpio/mqttdpinger): net.Conn SetReadDeadline
- 790ec05 Improve (ncpio/mqttdpinger): net.Conn SetReadDeadline 2
- 97f9e9b Update .gitlab-ci.yml
- c05c829 Update .gitlab-ci.yml
- bfd1b44 add github actions docker arm64
- 64e3b4d add goreleaser
- 83359ac add version commit
- 37075fe update dockerfile cache
v2.1.3
Add
- Add docker container
Change
- Improve build
- Print log
Fix
- Linux build depend 'libc'
v2.1.2
- Add License MPL v2
- Open source first release