Skip to content

butler-v6.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Oct 16:58
e27cfa6

⚠ BREAKING CHANGES

  • Refactor the entire REST API. This includes many endpoints getting new/more appropriate error (and in some cases success) codes. Please see butler.ptarmiganlabs.com for details.
  • MQTT message now taken from body rather than from URL params

Features

  • api: Make error messages more descriptive (dde2c42), closes #224

Bug Fixes

  • File copy/move now returns 201 (86d63ca), closes #216
  • Key-value store now working as intended (4fb9201), closes #222
  • MQTT message now taken from body (a92bdf1), closes #217
  • security: Better cert handling, fixes #192 (da933bd)

Miscellaneous

  • deps: Update dependencies
  • Update base base image for Docker builds (e50154a)
  • A few new config file settings related to (dis)allowing unverified TLS certificates.
  • A new config setting backgroundServerPort used to implement the X-HTTP-Method-Override feature (see below). Can be set to any free port number. Only used within Butler itself (does not need to be accessible from outside).

Refactoring

  • Add support for X-HTTP-Method-Override using Fastify (ecaa685), closes #211
  • Linted and formatted all source code (368f1a7)
  • Refactor the entire REST API (da18041)
  • Switch API docs to use Fastify-Swagger (b886f31)