Skip to content

Releases: sb-im/ncp

v2.4.0

06 Apr 16:22
ac333c5
Compare
Choose a tag to compare

[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

29 Dec 09:25
7a80c5d
Compare
Choose a tag to compare

Changelog

Add

  • Add os.env expand
mqttd:
  id: ${NCP_UUID}
  static:
    type: ${NCP_TYPE}
  broker: ${NCP_MQTT_URL}

v2.2.0

31 Mar 17:21
207722d
Compare
Choose a tag to compare

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

11 Jul 16:23
0c396f4
Compare
Choose a tag to compare

Add

  • Add docker container

Change

  • Improve build
  • Print log

Fix

  • Linux build depend 'libc'

v2.1.2

12 Jun 10:50
94543d8
Compare
Choose a tag to compare
  • Add License MPL v2
  • Open source first release