Skip to content

feat(upgrade): Introduce @clerk/upgrade - #2474

Merged
LekoArts merged 163 commits into
mainfrom
je.add-upgrade-package
Jun 18, 2024
Merged

feat(upgrade): Introduce @clerk/upgrade#2474
LekoArts merged 163 commits into
mainfrom
je.add-upgrade-package

Conversation

@jescalan

@jescalan jescalan commented Jan 3, 2024

Copy link
Copy Markdown
Contributor

Description

This is a new package that handles upgrading to new major versions of Clerk's SDKs. It is a CLI that guides the user through a set of configuration options, then scans their codebase for a list of regex patterns tied to description of breaking changes and their fixes, which it displays in the CLI output. The same descriptions are used to generate a changelog of breaking changes for each major version we release.

This package is not yet complete, for either the code and functionality or the directory of all breaking changes for the upcoming major version, but it's a good ways along so it felt like the right time to get the PR open so others could take a look, review, and leave feedback.

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:

@changeset-bot

changeset-bot Bot commented Jan 3, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 02875ff

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

This PR includes changesets to release 1 package
Name Type
@clerk/upgrade 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

@jescalan
jescalan force-pushed the je.add-upgrade-package branch from e004635 to 04d02a6 Compare January 3, 2024 20:21
jescalan and others added 27 commits January 3, 2024 16:29
fetch('https://api.segment.io/v1/batch', {
method: 'POST',
headers: {
Authorization: `Basic ${Buffer.from('5TkC1SM87VX2JRJcIGBBmL7sHLRWaIvc:').toString('base64')}`,

Check failure

Code scanning / CodeQL

Hard-coded credentials

The hard-coded value "5TkC1SM87VX2JRJcIGBBmL7sHLRWaIvc:" is used as [authorization header](1).
@LekoArts LekoArts changed the title @clerk/upgrade package feat(upgrade): Introduce @clerk/upgrade Jun 17, 2024
@LekoArts LekoArts changed the title feat(upgrade): Introduce @clerk/upgrade feat(upgrade): Introduce @clerk/upgrade Jun 17, 2024
@LekoArts
LekoArts marked this pull request as ready for review June 18, 2024 06:13
@LekoArts
LekoArts merged commit 62703ce into main Jun 18, 2024
@LekoArts
LekoArts deleted the je.add-upgrade-package branch June 18, 2024 12: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.

6 participants