Skip to content

Conversation

nikosdouvlis
Copy link
Member

Description

Small PR that improves the types and renames experimental_createRouteMatcher to createRouteMatcher
I've tested the types and the autocomplete works with NextJS apps that have

  experimental: {
    typedRoutes: true,
  },

in their next.config.ts file. Ref: https://nextjs.org/docs/app/api-reference/next-config-js/typedRoutes

image

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

Copy link

changeset-bot bot commented Jan 12, 2024

🦋 Changeset detected

Latest commit: b980afb

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

This PR includes changesets to release 2 packages
Name Type
@clerk/nextjs Patch
@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

@nikosdouvlis nikosdouvlis merged commit 529e2e1 into main Jan 12, 2024
@nikosdouvlis nikosdouvlis deleted the nikos/introduce-createRouteMatcher branch January 12, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants