Skip to content

v0.2.0

Choose a tag to compare

@humid888 humid888 released this 14 Mar 15:17

What's New

API Key Authentication

  • fm auth login --with-token fst_... — exchange a setup token for an API key
  • fm auth login --with-token flk_... — save an API key directly (with verification)
  • fm auth token — print the current auth token for use in scripts
  • FLOWMI_API_KEY env var support for CI/CD (no login required)
  • Auth priority: API key > OAuth2 access token
  • fm auth status now shows the auth method in use

Debug Logging

  • --debug global flag enables HTTP request/response logging on all commands

Improvements

  • Unified HTTP client factory (internal/httpclient) — single place for timeout and config
  • Extracted shared newAPIClient() into cmd/client.go
  • Fixed fm auth status to support token refresh and debug logging
  • Fixed token refresh endpoint (/api/v1/oauth2/refresh) and request body
  • Increased response body limit from 1 MB to 100 MB