Repository navigation
fix(clerk-js,shared): drop hasMaximumLifetime - #10364
Conversation
Remove the unreleased hasMaximumLifetime property from Session, SessionWithActivities and their resource types. Session expireAt and abandonAt still stay at Unix epoch zero for sessions without a maximum lifetime. The existing changeset becomes a patch describing that fix. Part of MOBILE-517
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| Name | Type |
|---|---|
| @clerk/clerk-js | Patch |
| @clerk/shared | Patch |
| @clerk/chrome-extension | Patch |
| @clerk/electron | Patch |
| @clerk/expo | Patch |
| @clerk/mosaic | Patch |
| @clerk/astro | Patch |
| @clerk/backend | Patch |
| @clerk/expo-passkeys | Patch |
| @clerk/express | Patch |
| @clerk/fastify | Patch |
| @clerk/hono | Patch |
| @clerk/localizations | Patch |
| @clerk/msw | Patch |
| @clerk/nextjs | Patch |
| @clerk/nuxt | Patch |
| @clerk/react-router | Patch |
| @clerk/react | Patch |
| @clerk/swingset | Patch |
| @clerk/tanstack-react-start | Patch |
| @clerk/testing | Patch |
| @clerk/ui | Patch |
| @clerk/vue | Patch |
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
API Changes Report
Summary
🔴 Breaking changes index (2)Every breaking change, up front. Full diffs are in the package sections below.
@clerk/sharedCurrent version: 4.41.0 Subpath
|
Description
Remove the unreleased
hasMaximumLifetimeproperty added in #9871 before the pending release in #10347 ships it. The getter is removed fromSessionandSessionWithActivities, and the optional property and its JSDoc are removed fromSessionResourceandSessionWithActivitiesResource.The session deadline fix from #9871 stays:
expireAtandabandonAtonSessionandSessionWithActivitiesremain at Unix epoch zero for sessions without a maximum lifetime, instead of falling back to the current time. Tests now assert the zero deadline directly through loading and the snapshot round trip.This edits the existing
.changeset/native-session-lifetime.mdin place rather than adding a second changeset, so #10347 picks up the change. It is now a patch for@clerk/clerk-jsand@clerk/shared(theexpireAt/abandonAtJSDoc in shared still changes) describing only the deadline fix.Part of MOBILE-517.
Checklist
pnpm testruns as expected.@clerk/shared,@clerk/clerk-js, and@clerk/expounit tests passed; full monorepo suite not run.pnpm buildruns as expected.@clerk/shared,@clerk/clerk-js, and@clerk/expobuilds passed; full monorepo build not run.Type of change