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(*): Set PACKAGE_NAME and PACKAGE_VERSION as the user-agent header in BAPI requests #2579

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

nikosdouvlis
Copy link
Member

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

@nikosdouvlis nikosdouvlis requested a review from a team as a code owner January 12, 2024 15:54
@nikosdouvlis nikosdouvlis requested review from desiprisg and removed request for a team January 12, 2024 15:54
Copy link

changeset-bot bot commented Jan 12, 2024

🦋 Changeset detected

Latest commit: 790818f

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

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

@nikosdouvlis
Copy link
Member Author

!snapshot

@clerk clerk deleted a comment from clerk-cookie Jan 12, 2024
@clerk-cookie
Copy link
Collaborator

Hey @nikosdouvlis - the snapshot version command generated the following package versions:

Package Version
@clerk/backend 0.37.2-snapshot.v790818f
@clerk/fastify 0.6.31-snapshot.v790818f
gatsby-plugin-clerk 4.4.33-snapshot.v790818f
@clerk/nextjs 4.29.3-snapshot.v790818f
@clerk/remix 3.1.15-snapshot.v790818f
@clerk/clerk-sdk-node 4.13.6-snapshot.v790818f

Tip: Use the snippet copy button below to quickly install the required packages.
@clerk/backend

npm i @clerk/[email protected] --save-exact

@clerk/fastify

npm i @clerk/[email protected] --save-exact

gatsby-plugin-clerk

npm i [email protected] --save-exact

@clerk/nextjs

npm i @clerk/[email protected] --save-exact

@clerk/remix

npm i @clerk/[email protected] --save-exact

@clerk/clerk-sdk-node

npm i @clerk/[email protected] --save-exact

@nikosdouvlis nikosdouvlis merged commit c59a2d4 into release/v4 Jan 12, 2024
6 checks passed
@nikosdouvlis nikosdouvlis deleted the nikos/set-user-agent-header branch January 12, 2024 17:00
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