Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(backend,clerk-sdk-node): Drop create sms endpoint #2165

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

Nikpolik
Copy link
Member

@Nikpolik Nikpolik commented Nov 17, 2023

Remove createSms functions from @clerk/backend and @clerk/sdk-node.

The equivalent /sms_messages Backend API endpoint will also be dropped in the future, since this feature will no longer be available for new instances.

For a brief period it will still be accessible for instances that have used it in the past 7
days (13-11-2023 to 20-11-2023).

New instances will get a 403 forbidden response if they try to access it.

@Nikpolik Nikpolik self-assigned this Nov 17, 2023
Copy link

changeset-bot bot commented Nov 17, 2023

🦋 Changeset detected

Latest commit: c76832e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@clerk/clerk-sdk-node Patch
@clerk/backend Minor
gatsby-plugin-clerk Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/remix 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

@Nikpolik Nikpolik force-pushed the nikpolik/drop-create-sms-endpoint branch 3 times, most recently from a890c6d to ca21b16 Compare November 20, 2023 12:41
@Nikpolik Nikpolik marked this pull request as ready for review November 20, 2023 12:41
Copy link
Member

@nikosdouvlis nikosdouvlis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nikpolik This looks good to me :)
If we haven't done that already, we need to add deprecation warnings to the methods in the release/v4 branch as well, letting our users know that these endpoints will be removed.

@Nikpolik Nikpolik force-pushed the nikpolik/drop-create-sms-endpoint branch from ca21b16 to 1c4cfa1 Compare November 20, 2023 21:08
@Nikpolik
Copy link
Member Author

Nikpolik commented Nov 21, 2023

@nikosdouvlis I added dba09d9 and will cherry pick this commit to release/v4 after merging!

@Nikpolik Nikpolik force-pushed the nikpolik/drop-create-sms-endpoint branch 2 times, most recently from 65d07ee to 6a6b1cc Compare November 21, 2023 09:21

Deprecate `createSMSMessage` and `SMSMessageApi` from `clerkClient`.

The equivalent `/sms_messages` Backend API endpoint will also be dropped in the future, since this feature will no longer be available for new instances.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The equivalent `/sms_messages` Backend API endpoint will also be dropped in the future, since this feature will no longer be available for new instances.
The `/sms_messages` Backend API endpoint will also be dropped in the future since this feature will no longer be available for new Clerk instances.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SokratisVidros I had enabled auto merge from yesterday and did not get a chance to update the copyright 😓

Copy link
Member Author

@Nikpolik Nikpolik Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its updated in #2184 which is for v4 release

.changeset/eleven-bananas-joke.md Show resolved Hide resolved
This feature is beeing dropped from the Backend API.

For a brief period it will still be available for instances that have used it in the past 7
days (13-11-2023 to 20-11-2023).

New instances will get a 403 forbidden response if they try to access it.
@Nikpolik Nikpolik force-pushed the nikpolik/drop-create-sms-endpoint branch from 6a6b1cc to c76832e Compare November 22, 2023 10:39
@Nikpolik Nikpolik added this pull request to the merge queue Nov 22, 2023
Merged via the queue into main with commit 4aaf510 Nov 22, 2023
7 checks passed
@Nikpolik Nikpolik deleted the nikpolik/drop-create-sms-endpoint branch November 22, 2023 10:49
desiprisg pushed a commit that referenced this pull request Nov 23, 2023
* feat(backend): Deprecate createSMSMessage

* feat(backend,clerk-sdk-node): Drop create sms endpoint

This feature is beeing dropped from the Backend API.

For a brief period it will still be available for instances that have used it in the past 7
days (13-11-2023 to 20-11-2023).

New instances will get a 403 forbidden response if they try to access it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants