0.1.2
Added
First key from a terminal:
lucida login --deviceprints a URL and a code, you approve on any other device, and the login finishes in the terminal.lucida keys create --name ci --kind secret --scopes '*:read' --project <id> --secret-onlythen prints a key once, ready for a secret store. Signup's confirmation link still has to be opened in a browser, on any device.OAuth device authorization (RFC 8628):
POST /v1/oauth/device_authorization, theurn:ietf:params:oauth:grant-type:device_codegrant, and/oauth/devicefor approval.OAuth sessions can mint project keys when the grant includes
project:write. The key is capped by the grant and by the user's role, and it keeps working after the session ends, so revoke it separately.OpenAPI:
x-required-key-kindfor capture and SCIM routes,x-required-scopes-anywhere any one of several scopes opens a route.Capture guide: which status codes to retry, for how long, and what default SDK retries do not cover.
Deploys record an outage over 60 seconds on
/statusas maintenance. No deploy has reached that length since this was added.
Changed
OpenAPI: every operation that accepts a key now names what it needs. 1,016 of 1,276 state
x-required-scopes; 5 capture routes state a key kind and 46 list the scopes that open them. Checked live on a sample of 29 routes: the stated scope gets in and an unrelated scope does not. Some annotations record behaviour we plan to change: reading connectors needssettings:readrather thanconnector:read, and running a query endpoint withendpoint:readalso needsinsight:read.FormFlow connector:
base_urlandform_idare required, and a missing one is refused when the connector is created. The default host never answered, so there is no default until FormFlow confirms one.FormFlow connector: the connection check reads the form and its submissions, and a key missing a scope gets a message naming
form:readandsubmission:read.
Fixed
FormFlow connector: a response started before the last sync and completed after it now arrives. The connector re-reads 30 days (
lookback_days), and a response left open longer than that is missed unless you raise it. Tested against a local server built from FormFlow's source; a sync against a real FormFlow account still has not been run.FormFlow connector: a response saved just after its page was read is no longer skipped. The sync position stays an hour behind, so recent responses are read again and collapse by event
uuid: count events in Lucida, not rows the connector sends.
Not done yet
Stable domain: the docs and SDK defaults still use the current hosts.
Zero-downtime deploys: rolling restarts are built but off, so a deploy can still answer
502or503. The most recent one measured 34 seconds.The Node SDK's
Retry-Aftersupport is not on npm yet.