Skip to content

Releases: clerk/clerk-sdk-go

Added operations for Diahook webhooks

06 May 07:25
Compare
Choose a tag to compare

This release adds three operations in the SDK:

  • CreateDiahook: Creates a new Diahook app for the given instance
  • RefreshDiahookURL: Returns a newly generated url for access to Diahook's management UI for the specific app
  • DeleteDiahook: Deletes the Diahook app associated with the given instance

Simplify client cookie verification process

22 Apr 19:18
Compare
Choose a tag to compare

The backend API now returns all the client's sessions along with the client when verifying a client cookie.
This simplified the verification process on the SDK side, since there is no need for two API calls when verifying the client cookie.

Custom attributes on users

18 Feb 10:47
Compare
Choose a tag to compare

Users can now have custom attributes. These can be either private (using the private_metadata field) or public (via the public_metadata field).

Simplified verification logic, handle Clerk error responses

03 Feb 19:26
Compare
Choose a tag to compare

The verification logic is now simplified. It relies solely on the existence of the _clerk_session_id to determine whether it will use a particular session or the last active one.

Also, the SDK can now handle the new Clerk's error response structure.

Made URL resolution more robust

22 Jan 13:29
Compare
Choose a tag to compare
v1.0.4

feature: Allow users to specify custom HTTP clients if they want to

Added WithSession middleware

19 Jan 12:04
Compare
Choose a tag to compare

Added Go middleware that can inject the active session into the context.

Changed module name

15 Jan 08:29
Compare
Choose a tag to compare

Changed module name from clerk_server_sdk_go to clerk-sdk-go

Made module go-gettable

15 Jan 08:07
Compare
Choose a tag to compare

Fixed module path to make it go-gettable.

Go SDK for Clerk

13 Jan 08:30
Compare
Choose a tag to compare

Initial release which provides access to the following areas of the API:

  • Users
  • Sessions
  • Emails
  • SMS

For more information about the API, please refer to the Server-API Docs.
For more information about the SDK itself, please refer to the README