Skip to content

fix(backend): add missing UserCountParams#8509

Open
jebibot wants to merge 1 commit intoclerk:mainfrom
jebibot:user-params
Open

fix(backend): add missing UserCountParams#8509
jebibot wants to merge 1 commit intoclerk:mainfrom
jebibot:user-params

Conversation

@jebibot
Copy link
Copy Markdown
Contributor

@jebibot jebibot commented May 8, 2026

Description

Added missing UserCountParams and UserListParams according to https://clerk.com/docs/reference/backend-api/2025-11-10/tag/users/GET/users/count and https://clerk.com/docs/reference/backend-api/2025-11-10/tag/users/GET/users.

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:

@vercel
Copy link
Copy Markdown

vercel Bot commented May 8, 2026

@jebibot is attempting to deploy a commit to the Clerk Production Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 8, 2026

🦋 Changeset detected

Latest commit: 092ca86

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/astro Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/hono 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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 8, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Pro

Run ID: ec8f755d-dbd7-40e8-a46c-6908e030d678

📥 Commits

Reviewing files that changed from the base of the PR and between da11557 and 092ca86.

📒 Files selected for processing (2)
  • .changeset/fluffy-fans-press.md
  • packages/backend/src/api/endpoints/UserApi.ts

📝 Walkthrough

Walkthrough

This PR updates the UserCountParams type in the backend API by introducing an internal ExternalAccountFilter type and expanding the parameter shape with query-oriented filter fields (emailAddressQuery, phoneNumberQuery, usernameQuery, nameQuery) and a banned boolean filter. The type definition replaces the prior array-based filter structure. A changeset entry documents the patch-level release for the @clerk/backend package, noting the addition of these parameters.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'fix(backend): add missing UserCountParams' directly reflects the changeset which adds missing UserCountParams and UserListParams to the backend package.
Description check ✅ Passed The description is related to the changeset—it references adding missing UserCountParams and UserListParams according to Clerk API documentation, matching the actual changes made.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant