|
1 | 1 | # Change Log
|
2 | 2 |
|
| 3 | +## 5.62.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- Introduce `Clerk.status` for tracking the state of the clerk singleton. ([#5476](https://github.com/clerk/javascript/pull/5476)) by [@panteliselef](https://github.com/panteliselef) |
| 8 | + |
| 9 | + Possible values for `Clerk.status` are: |
| 10 | + |
| 11 | + - `"loading"`: Set during initialization |
| 12 | + - `"error"`: Set when hotloading clerk-js failed or `Clerk.load()` failed |
| 13 | + - `"ready"`: Set when Clerk is fully operational |
| 14 | + - `"degraded"`: Set when Clerk is partially operational |
| 15 | + |
| 16 | + The computed value of `Clerk.loaded` is: |
| 17 | + |
| 18 | + - `true` when `Clerk.status` is either `"ready"` or `"degraded"`. |
| 19 | + - `false` when `Clerk.status` is `"loading"` or `"error"`. |
| 20 | + |
| 21 | +- Introduce `clerk.legacy.browser.js` for legacy browser support. ([#5495](https://github.com/clerk/javascript/pull/5495)) by [@dstaley](https://github.com/dstaley) |
| 22 | + |
| 23 | +### Patch Changes |
| 24 | + |
| 25 | +- Fix duplicate checkout calls when clicking Get Started buttons ([#5664](https://github.com/clerk/javascript/pull/5664)) by [@aeliox](https://github.com/aeliox) |
| 26 | + |
| 27 | +- Remove the experimental commerce flag ([#5666](https://github.com/clerk/javascript/pull/5666)) by [@aeliox](https://github.com/aeliox) |
| 28 | + |
| 29 | +- - Adds support for collecting and verifying user email (when they don't already have one associated with their payer) during checkout ([#5671](https://github.com/clerk/javascript/pull/5671)) by [@aeliox](https://github.com/aeliox) |
| 30 | + |
| 31 | + - Fixes incorrect org invoices endpoint. |
| 32 | + - Extracts plan CTA button styling, labeling, and selecting into context methods. |
| 33 | + - Adds UserProfile / OrgProfile specific scrollbox IDs for drawer portal-ing (fixes issue where both could be open) |
| 34 | + - Fixes incorrect button action in SubscriptionList for active but expiring subscriptions. |
| 35 | + |
| 36 | +- Rollback change to lazy-loading suspense wrapper ([#5670](https://github.com/clerk/javascript/pull/5670)) by [@aeliox](https://github.com/aeliox) |
| 37 | + |
| 38 | +- Add `<SubscriptionsList />` to both UserProfile and OrgProfile components. ([#5658](https://github.com/clerk/javascript/pull/5658)) by [@alexcarpenter](https://github.com/alexcarpenter) |
| 39 | + |
| 40 | + Introduce experimental method for opening `<SubscriptionDetails />` component. |
| 41 | + |
| 42 | + ```tsx |
| 43 | + clerk.__experimental_openSubscriptionDetails(...) |
| 44 | + ``` |
| 45 | + |
| 46 | +- Updated dependencies [[`68dc2b6`](https://github.com/clerk/javascript/commit/68dc2b622d52aa13b31b8e6b7facff131532dfd7), [`33201bf`](https://github.com/clerk/javascript/commit/33201bf972d6a980617d47ebd776bef76f871833), [`4334598`](https://github.com/clerk/javascript/commit/4334598108ff2cfa3c25b5a46117c1c9c65b7974), [`0ae0403`](https://github.com/clerk/javascript/commit/0ae040303d239b75a3221436354a2c2ecdb85aae)]: |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
3 | 51 | ## 5.61.2
|
4 | 52 |
|
5 | 53 | ### Patch Changes
|
|
0 commit comments