Skip to content

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 28 Jun 06:13
· 982 commits to main since this release

Release Notes v1.0.2

Released: 2026-06-28

A targeted patch release that fixes OIDC organization membership lookups by removing an unsupported table alias from the SurrealQL query. The remaining changes propagate the 1.0.2 version across packages, charts, and deployment docs.

🐛 Fixes

OIDC membership query no longer uses a table alias

The membership lookup in apps/api/src/sibyl/persistence/surreal/auth_runtime/login.py used a om table alias (FROM organization_members om, om.user_id, ORDER BY om.created_at). SurrealQL does not resolve that alias the same way as standard SQL, which broke the query when a user signs in through OIDC. The query now selects directly from organization_members and references columns without the alias prefix. Users who authenticate via OIDC and belong to a non-personal organization can again have their existing membership and role resolved correctly during login.

✅ Tests

  • Added test_oidc_membership_lookup_uses_surrealql_without_table_alias in apps/api/tests/test_surreal_auth_runtime.py to assert the query targets organization_members directly and contains no om. references.
  • Added test_oidc_membership_lookup_requires_existing_non_personal_membership, which verifies that a missing non-personal membership returns HTTP 403 with the oidc_membership_required code and that only one query is issued.
  • Imported login as auth_login in the test module to exercise _ensure_oidc_organization_membership_record directly.

🔨 Release Chores

  • Bumped VERSION and appVersion to 1.0.2.
  • Updated the sibyl-core dependency pin to ==1.0.2 in apps/api/pyproject.toml and apps/cli/pyproject.toml.
  • Bumped chart versions in charts/sibyl/Chart.yaml and charts/surrealdb/Chart.yaml.
  • Updated version references in deployment assets (docker-compose.quickstart.yml, infra/ansible/roles/sibyl/defaults/main.yml, infra/ansible/roles/sibyl/files/docker-compose.yml) and docs (docs/cli/docker.md, docs/deployment/ansible.md, docs/deployment/helm-chart.md, docs/deployment/kubernetes.md, docs/deployment/monitoring.md, docs/guide/installation.md).

Upgrade Notes

  • No breaking changes. This is a drop-in patch upgrade from 1.0.1.
  • Deployments using the Helm chart should pull chart version 1.0.2 (appVersion 1.0.2).
  • If you pin sibyl-core directly, update the constraint to ==1.0.2.
  • OIDC sign-in is the primary fix in this release; environments that saw failed or empty organization membership resolution during OIDC login should upgrade.

Install

Local server

curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.0.2

Remote CLI

curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --remote --version 1.0.2
sibyl init --remote https://sibyl.example.com
sibyl auth login

Homebrew

brew install hyperb1iss/tap/sibyl
sibyl up

Arch Linux (AUR)

paru -S sibyl
sibyl up

Headless server

curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.0.2 --no-open

Artifacts

This release includes Python wheels and sdists, the generated
Homebrew formula, the generated AUR PKGBUILD, Docker SBOMs,
cosign receipts, and a SHA256 checksum manifest.