← Changelog

0.1.2

Admin
2 min read

Added

  • First key from a terminal: lucida login --device prints 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-only then 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, the urn:ietf:params:oauth:grant-type:device_code grant, and /oauth/device for 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-kind for capture and SCIM routes, x-required-scopes-any where 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 /status as 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 needs settings:read rather than connector:read, and running a query endpoint with endpoint:read also needs insight:read.

  • FormFlow connector: base_url and form_id are 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:read and submission: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 502 or 503. The most recent one measured 34 seconds.

  • The Node SDK's Retry-After support is not on npm yet.