Skip to content

feat!: rename organization scope to tenant - #1

Merged
siisee11 merged 1 commit into
mainfrom
codex/tenant-scoping-breaking-release
Jul 10, 2026
Merged

feat!: rename organization scope to tenant#1
siisee11 merged 1 commit into
mainfrom
codex/tenant-scoping-breaking-release

Conversation

@siisee11

Copy link
Copy Markdown
Contributor

Summary

  • rename the public scoping API from organizationId to tenantId
  • rename Drizzle columns, persona scope values, indexes, examples, and Hindsight tags
  • release as @wordbricks/persona 0.2.0
  • ship CHANGELOG.md in the npm package with the full consumer migration checklist

Consumer impact

This is a breaking release. Consumers must update TypeScript call sites and serialized payloads, rename 17 organization_id columns, migrate persona_scope values and defaults, rename four indexes, and update Hindsight tag filters. Mixed 0.1.x/0.2.0 deployments are unsupported. See CHANGELOG.md and the README upgrade section.

Validation

  • bun run typecheck
  • bun run test (78 passed)
  • bun run build
  • npm pack --dry-run

@siisee11
siisee11 merged commit d3f6930 into main Jul 10, 2026
1 check passed
@siisee11
siisee11 deleted the codex/tenant-scoping-breaking-release branch July 10, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant