Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 15 Sep 14:51
· 27 commits to main since this release
Immutable release. Only release title and notes can be modified.

Changelog

This release includes major changes, including multiple breaking configuration and API updates. Please read this changelog carefully before upgrading.

Breaking

  • CORS is off by default as it is typically not needed to serve the UI (same origin). It can optionally be enabled via the --cors-enabled flag (588509c).
  • CORS headers will only be set for northbound responses (and never for the southbound API) (588509c).
  • wfxctl now uses a single --host parameter defaulting to the northbound API. This replaces the previous separate northbound/southbound host, port, TLS, and Unix socket parameters (07bc77d).
  • Job definition updates through the southbound API are no longer allowed (1ef55ea).
  • Reject client IDs and tags containing characters outside [A-Za-z0-9_.:/@-] so they can be used in HTTP headers and URLs without encoding (eb4bf59).
  • wfx --client-host and --mgmt-host now take fully-qualified listen URLs (http://host:port, https://host:port, unix:///path) and may be given multiple times to enable multiple schemes. This replaces --scheme, --client-port, --client-tls-host, --client-tls-port, --client-unix-socket, --mgmt-port, --mgmt-tls-host, --mgmt-tls-port, and --mgmt-unix-socket (c404429).

Added

  • --jq-filter-timeout to limit the execution time of JQ response filters (default: 30s, 0 disables the limit) (032d1b4)
  • --jq-filter-max-response-size to limit the size of a JQ response filter result (default: 16 MiB, 0 disables the limit) (032d1b4)
  • Configurable CORS headers for northbound API (0559ad9)
  • UI: add fallback configuration using default local WFX management API (fd510af)
  • UI: display wfx JSON error messages, hiding other response bodies (5320546)
  • wfxctl: new global --header flag to add custom HTTP headers, e.g. --header 'Authorization: Bearer $TOKEN' (similar to curl's -H option, may be given multiple times) (07bc77d)
  • wfxctl: support Git-style credential helper plugins through --credential-helper (0366c45)
  • Optional X-Client-Id header for restricting southbound job listing/event streaming/retrieval/updates to a client ID; deployments may set it at a trusted gateway to enforce client isolation (34e39f6)
  • Generate SBOMs for container images (49b08c6)
  • Use cyclonedx-gomod to generate higher-quality CycloneDX SBOMs for Go (49b08c6)
  • Upload attested SBOMs into OCI registry (49b08c6)

Changed

  • Report failing JQ response filters as HTTP 400 (wfx.invalidResponseFilter) instead of 500 (032d1b4)
  • ui: switch to hash-based navigation (4c6beef)

Fixed

  • Apply reloaded SSE ping and grace intervals to new job event connections (f6182ac)
  • CORS is registered globally now, thereby adding support for the HTTP OPTIONS method (f563273)
  • Log error stacks once at process boundaries and prevent internal error details from leaking in HTTP 500 responses (dc7da15)
  • Honor X-Forwarded-Proto when generating the OpenAPI discovery link (4fed0a5)