0.1.2
0.1.2Added
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.Capture:
POST /v1/batchand/v1/s2s/batchkeep the good events and answer200withacceptedandrejected(index and reason for each). If every event is bad, the answer is400naming the first (review item 7).Flags:
/v1/flagslistsunknown_flags, so a typo no longer looks like a flag that is off (item 13).POST /v1/flags/batchevaluates up to 1,000 users with a secret key and records no exposures (item 25).Capture and flags answers carry
Ratelimit-Limit,Ratelimit-RemainingandRatelimit-Reset(item 14).POST /v1/projects/{project_id}/events/first-occurrence: when each distinct id first sent an event, and how many times, withinsight:read(item 19).POST /v1/projects/{project_id}/cohorts/{id}/members/check: membership for up to 1,000 ids (item 20).Secret keys can be limited to the
capturescope, which sends events and reads nothing. Creating a project suggests one inserver_key_hint(item 17).lucida planpreviews a definitions file without applying it, andkeyscan be declared in it (item 22).lucida versionprints the build (item 10).Guides: testing against production and removing test data (item 21), Node local flag evaluation (item 12), sending from a server (item 11), pushing cohort changes to other tools (item 23), and form responses (item 24).
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.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.Looking up one person:
GET .../persons?distinct_id=andGET .../cohorts/{id}/members/checkneed onlyperson:readandcohort:read. Other person properties stay masked withoutpii:read, and property search still needs it (item 5).Metrics: a key without the scope gets
403namingdata_catalog, before the body is checked (item 6).Experiments return
flag_key(item 9). Results addconversionsand per-armexposed_units(item 15).Connector test: the first successful test sets the baseline and returns
baseline_set. Later tests split changes intodrift_breakinganddrift_additive(item 16).Keys with only
settings:readno longer read connectors: useconnector:read. Running a query endpoint needs onlyendpoint:read.Deploys replace services one at a time. In the first one, capture's health check answered throughout and the app answered
502for about 2 seconds (item 8).
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. FormFlow confirmed the sync on a real account: 3 completed responses gave 3 events, a second sync added none, and a partial response was skipped.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.
New hosts
The app and API are now at
https://lucidace.com, and capture and flags athttps://capture.lucidace.com. Docs, SDK defaults and OpenAPI use them. The oldsslip.iohosts keep working, including capturePOSTs, at least until 2027-02-06.
Not done yet
The
lucidaCLI has no published release yet. Build it fromgo/cmd/lucida; the install guide says so.The Node SDK's
Retry-Aftersupport and its new default host are not on npm yet.Recent unknown flag keys are not on the project health page.
unknown_flagsin the response is there now.Survey results as first-class data: Lucida no longer has its own surveys, so this covers forms sent in through a connector only (the
builtin:form-responsedashboard template).