chore(backend): Add date filter types to user list endpoint#7793
chore(backend): Add date filter types to user list endpoint#7793wobsoriano wants to merge 3 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 89604cb The changes in this PR will be included in the next version bump. This PR includes changesets to release 10 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThis pull request adds support for date-based filtering to the user list endpoint in the backend SDK. A changeset entry documents the patch version bump. The UserListParams type is extended with four new optional numeric query parameters: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Description
Adds four new query parameter types to
users.getUserList():lastActiveAtBefore- Filter users by last activity before datelastActiveAtAfter- Filter users by last activity after datecreatedAtBefore- Filter users created before datecreatedAtAfter- Filter users created after dateAlso deprecates
last_active_at_sincein favor oflastActiveAtAfter.This align with clerk/clerk_go#8193 to support advanced dashboard filtering.
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
New Features
Deprecations
last_active_at_sinceparameter is now deprecated; use the new date filtering options instead.