Skip to content

v1.7.0

Choose a tag to compare

@bobbytables bobbytables released this 17 Sep 21:38
5ac0848

1.7.0

Widget-session creation now requires tenant and subject identity and uses Go SDK v1.5.0. Flags, the embedded request schema, and command documentation reflect the required inputs:

cadenya widget-sessions create \
  --workspace-id WORKSPACE \
  --widget-id WIDGET \
  --tenant-id TENANT \
  --subject-id VISITOR \
  --display json

JSON creation output includes credentials with sessionId, host, token, tokenExpiresAt, and sessionExpiresAt. Existing credential output fields remain available. Keep tokens out of logs and forward only the session credential envelope to the browser.

Static subject IDs deliberately share history within the same tenant, widget, and agent, subject to session permissions. Legacy sessions without identity must be recreated. The owner explicitly approved a minor release because these session APIs have no users.

Backend prerequisite: cadenya/cadenya#419, deployed revision main-504a85b8. Regenerated with pinned Redwood 0.3.3. Go tests/vet, standalone module checks, cross-platform release snapshot builds, and a local HTTP consumer check pass.

Implementation · Full diff

Published-artifact verification: downloaded the macOS ARM64 release archive, matched its SHA-256 to the release manifest, confirmed version 1.7.0 and embedded Go SDK v1.5.0, and passed the HTTP session-creation/expiry check using the downloaded executable. Homebrew cask now points to 1.7.0; the Chocolatey package push succeeded (availability remains subject to its registry processing).