Skip to content

fix(clerk-js): Add expired status to OrganizationInvitationStatus (core 3)#7904

Merged
austincalvelage merged 3 commits intomainfrom
austin/core-3-organization-status-type-update
Feb 23, 2026
Merged

fix(clerk-js): Add expired status to OrganizationInvitationStatus (core 3)#7904
austincalvelage merged 3 commits intomainfrom
austin/core-3-organization-status-type-update

Conversation

@austincalvelage
Copy link
Copy Markdown
Member

@austincalvelage austincalvelage commented Feb 23, 2026

Description

Last week, I made changes to support sorting of organization invitations by expired, but I forgot to update the types to include expired.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Summary by CodeRabbit

  • New Features
    • Organization invitation status now includes an 'expired' value so invitations that lapse are tracked and displayed consistently with API behavior.
    • Improves clarity in invitation states across the app, helping admins and members see when invitations are no longer valid.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Feb 23, 2026 5:17pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 23, 2026

🦋 Changeset detected

Latest commit: 5fb567c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@clerk/backend Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@austincalvelage austincalvelage changed the title fix(clerk-js): Add expired status to OrganizationInvitationStatus fix(clerk-js): Add expired status to OrganizationInvitationStatus (core 3) Feb 23, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 9afd4a7 and 5fb567c.

📒 Files selected for processing (2)
  • .changeset/every-badgers-wish.md
  • packages/backend/src/api/resources/Enums.ts

📝 Walkthrough

Walkthrough

The pull request applies a patch-level update to the clerk/types package. The exported type OrganizationInvitationStatus is extended to include an additional 'expired' value (added to the union). A changeset entry documenting this modification was added.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title references adding an expired status to OrganizationInvitationStatus, which aligns with the changeset's core objective of extending the type with the new status value.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 23, 2026

Open in StackBlitz

@clerk/agent-toolkit

npm i https://pkg.pr.new/@clerk/agent-toolkit@7904

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@7904

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@7904

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@7904

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@7904

@clerk/dev-cli

npm i https://pkg.pr.new/@clerk/dev-cli@7904

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@7904

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@7904

@clerk/express

npm i https://pkg.pr.new/@clerk/express@7904

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@7904

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@7904

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@7904

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@7904

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@7904

@clerk/react

npm i https://pkg.pr.new/@clerk/react@7904

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@7904

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@7904

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@7904

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@7904

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@7904

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@7904

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@7904

commit: 5fb567c

@austincalvelage austincalvelage merged commit 3b53ce2 into main Feb 23, 2026
59 of 68 checks passed
@austincalvelage austincalvelage deleted the austin/core-3-organization-status-type-update branch February 23, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants