Skip to content

feat(backend): Use User-Agent header with package name and version in BAPI requests - #2558

Merged
dimkl merged 10 commits into
mainfrom
sdk-1190-user-agent
Jan 11, 2024
Merged

feat(backend): Use User-Agent header with package name and version in BAPI requests#2558
dimkl merged 10 commits into
mainfrom
sdk-1190-user-agent

Conversation

@dimkl

Copy link
Copy Markdown
Contributor

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

@dimkldimkl self-assigned this Jan 11, 2024
@changeset-bot

changeset-botBot commented Jan 11, 2024

Copy link
Copy Markdown

🦋 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
NameType
gatsby-plugin-clerkMinor
@clerk/clerk-sdk-nodeMinor
@clerk/backendMinor
@clerk/fastifyMinor
@clerk/nextjsMinor
@clerk/remixMinor
@clerk/elementsPatch

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

@dimkldimkl changed the title Sdk 1190 user agentfeat(backend): Use User-Agent header with package name and version in BAPI requestsJan 11, 2024
@dimkl
dimklforce-pushed the sdk-1190-user-agent branch 2 times, most recently from da10a6d to 9058dbeCompareJanuary 11, 2024 13:07
@dimkl
dimklforce-pushed the sdk-1190-user-agent branch from 43e8a83 to 63d2a12CompareJanuary 11, 2024 13:36
@dimkl
dimkl enabled auto-merge January 11, 2024 13:36
@dimkl
dimkl added this pull request to the merge queue Jan 11, 2024
Merged via the queue into main with commit b4e79c1Jan 11, 2024
@dimkl
dimkl deleted the sdk-1190-user-agent branch January 11, 2024 13:52
Sign up for freeto 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.

4 participants

@dimkl@SokratisVidros@nikosdouvlis@clerk-cookie