|
1 | 1 | # Change Log
|
2 | 2 |
|
| 3 | +## 1.29.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- Adds the following functionality for Instances to the Backend API client. ([#5600](https://github.com/clerk/javascript/pull/5600)) by [@tmilewski](https://github.com/tmilewski) |
| 8 | + |
| 9 | + ```ts |
| 10 | + import { createClerkClient } from '@clerk/backend'; |
| 11 | + |
| 12 | + const clerkClient = createClerkClient(...); |
| 13 | + |
| 14 | + await clerkClient.instance.get(); |
| 15 | + await clerkClient.instance.update({...}); |
| 16 | + await clerkClient.instance.updateRestrictions({...}); |
| 17 | + await clerkClient.instance.updateOrganizationSettings({...}); |
| 18 | + ``` |
| 19 | + |
| 20 | +- Adds the ability to perform CRUD operations on OAuth Applications to the Backend API client. ([#5599](https://github.com/clerk/javascript/pull/5599)) by [@tmilewski](https://github.com/tmilewski) |
| 21 | + |
| 22 | + ```ts |
| 23 | + import { createClerkClient } from '@clerk/backend'; |
| 24 | + |
| 25 | + const clerkClient = createClerkClient(...); |
| 26 | + |
| 27 | + await clerkClient.oauthApplications.list({...}); |
| 28 | + await clerkClient.oauthApplications.get('templateId'); |
| 29 | + await clerkClient.oauthApplications.create({...}); |
| 30 | + await clerkClient.oauthApplications.update({...}); |
| 31 | + await clerkClient.oauthApplications.delete('templateId'); |
| 32 | + await clerkClient.oauthApplications.rotateSecret('templateId'); |
| 33 | + ``` |
| 34 | + |
| 35 | +- Adds domain endpoints to the Backend API client. ([#5621](https://github.com/clerk/javascript/pull/5621)) by [@tmilewski](https://github.com/tmilewski) |
| 36 | + |
| 37 | + ```ts |
| 38 | + import { createClerkClient } from '@clerk/backend'; |
| 39 | + |
| 40 | + const clerkClient = createClerkClient(...); |
| 41 | + await clerkClient.domains.list(); |
| 42 | + await clerkClient.domains.add({...}); |
| 43 | + await clerkClient.domains.update({...}); |
| 44 | + await clerkClient.domains.delete('satelliteDomainId'); |
| 45 | + ``` |
| 46 | + |
| 47 | +- Adds the ability to change production domains [beta] to the Backend API client. ([#5633](https://github.com/clerk/javascript/pull/5633)) by [@tmilewski](https://github.com/tmilewski) |
| 48 | + |
| 49 | + ```ts |
| 50 | + import { createClerkClient } from '@clerk/backend'; |
| 51 | + |
| 52 | + const clerkClient = createClerkClient(...); |
| 53 | + |
| 54 | + await clerkClient.betaFeatures.changeDomain({ |
| 55 | + homeUrl: 'https://www.example.com', |
| 56 | + isSecondary: false, |
| 57 | + }); |
| 58 | + ``` |
| 59 | + |
| 60 | +### Patch Changes |
| 61 | + |
| 62 | +- Improve JSDoc comments ([#5630](https://github.com/clerk/javascript/pull/5630)) by [@LekoArts](https://github.com/LekoArts) |
| 63 | + |
| 64 | +- Include `expiresAt` in OAuth access token resource ([#5631](https://github.com/clerk/javascript/pull/5631)) by [@Nikpolik](https://github.com/Nikpolik) |
| 65 | + |
| 66 | +- Update typing of Organization.slug ([#5636](https://github.com/clerk/javascript/pull/5636)) by [@tmilewski](https://github.com/tmilewski) |
| 67 | + |
| 68 | +- Adds the ability to list and create waitlist entries to the Backend API client. ([#5591](https://github.com/clerk/javascript/pull/5591)) by [@tmilewski](https://github.com/tmilewski) |
| 69 | + |
| 70 | + ```ts |
| 71 | + import { createClerkClient } from '@clerk/backend'; |
| 72 | + |
| 73 | + const clerkClient = createClerkClient(...); |
| 74 | + |
| 75 | + await clerkClient.waitlistEntries.list({...}); |
| 76 | + await clerkClient.waitlistEntries.create({ |
| 77 | + emailAddress: '[email protected]', |
| 78 | + notify: true |
| 79 | + }); |
| 80 | + ``` |
| 81 | + |
| 82 | +- Adds the ability to create and revoke actor tokens to the Backend API client. ([#5585](https://github.com/clerk/javascript/pull/5585)) by [@tmilewski](https://github.com/tmilewski) |
| 83 | + |
| 84 | + ```ts |
| 85 | + import { createClerkClient } from '@clerk/backend'; |
| 86 | + |
| 87 | + const clerkClient = createClerkClient(...); |
| 88 | + |
| 89 | + const { id } = await clerkClient.actorTokens.create({...}); |
| 90 | + await clerkClient.actorTokens.revoke(id); |
| 91 | + ``` |
| 92 | + |
| 93 | +- Updated dependencies [[`ab939fd`](https://github.com/clerk/javascript/commit/ab939fdb29150c376280b42f861a188a33f57dcc), [`7389ba3`](https://github.com/clerk/javascript/commit/7389ba3164ca0d848fb0a9de5d7e9716925fadcc), [`e634830`](https://github.com/clerk/javascript/commit/e6348301ab56a7868f24c1b9a4dd9e1d60f6027b), [`f8887b2`](https://github.com/clerk/javascript/commit/f8887b2cbd145e8e49bec890e8b6e02e34178d6a)]: |
| 94 | + - @clerk/types@4.54.1 |
| 95 | + - @clerk/shared@3.7.1 |
| 96 | + |
3 | 97 | ## 1.28.0
|
4 | 98 |
|
5 | 99 | ### Minor Changes
|
|
0 commit comments