Skip to content

0.1.8

Choose a tag to compare

@github-actions github-actions released this 08 Apr 02:45
· 137 commits to master since this release

Fixes

  • Distinguish DecidR auth failures from PAT rejection in decidr_github_auth. The PAT form previously surfaced all non-2xx responses as a generic "Failed to connect", so a missing or expired DecidR session looked identical to a bad PAT.
    • Shared API client now reads the response body in _handleResponse and throws a structured Error with .status, .statusText, .body, .bodyText, and .bodyMessage.
    • New public API.hasToken() lets renderers preflight the DecidR session.
    • github-auth now preflights before POSTing — if no DecidR session, shows an amber warning telling the user to complete plugin sign-in, without sending the PAT.
    • describeError maps 401/403/400/422/5xx/network into distinct, actionable messages. 401/403 use a new warning variant that explicitly clarifies "PAT was not rejected".
    • Help text under the PAT field now states the user must be signed in to DecidR in the companion first.

Full Changelog: 0.1.7...0.1.8