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

@dimkl dimkl commented Jan 11, 2024

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

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

changeset-bot Bot 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
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 force-pushed the sdk-1190-user-agent branch from 43e8a83 to 63d2a12 Compare January 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 b4e79c1 Jan 11, 2024
@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.

4 participants