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): Use User-Agent header with package name and version in BAPI requests #2558

Merged
merged 10 commits into from Jan 11, 2024

Conversation

dimkl
Copy link
Member

@dimkl dimkl commented Jan 11, 2024

Description

Changes:

  • Update @clerk/backend test builds to use tsup to supporting testing with build-time constants
  • Replace Clerk-Backend-SDK header with User-Agent for all server Clerk packages
  • Add Clerk package version for each SDK in User-Agent header

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Packages affected

  • @clerk/backend
  • @clerk/chrome-extension
  • @clerk/clerk-js
  • @clerk/clerk-expo
  • @clerk/fastify
  • gatsby-plugin-clerk
  • @clerk/localizations
  • @clerk/nextjs
  • @clerk/clerk-react
  • @clerk/remix
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/themes
  • @clerk/types
  • build/tooling/chore

@dimkl dimkl self-assigned this Jan 11, 2024
Copy link

changeset-bot bot commented Jan 11, 2024

🦋 Changeset detected

Latest commit: 63d2a12

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

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

@dimkl dimkl changed the title Sdk 1190 user agent feat(backend): Use User-Agent header with package name and version in BAPI requests Jan 11, 2024
@dimkl dimkl force-pushed the sdk-1190-user-agent branch 2 times, most recently from da10a6d to 9058dbe Compare January 11, 2024 13:07
@dimkl dimkl added this pull request to the merge queue Jan 11, 2024
Merged via the queue into main with commit b4e79c1 Jan 11, 2024
7 checks passed
@dimkl dimkl deleted the sdk-1190-user-agent branch January 11, 2024 13:52
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.

None yet

4 participants