Skip to content

Commit 4f8a821

Browse files
committed
chore(repo): Changeset
1 parent 0ddb799 commit 4f8a821

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.changeset/rotten-moles-divide.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@clerk/shared': minor
3+
'@clerk/clerk-react': minor
4+
'@clerk/clerk-js': patch
5+
'@clerk/nextjs': patch
6+
'@clerk/remix': patch
7+
---
8+
9+
Notable changes:
10+
- Resolve circular imports in clerk/shared
11+
- New esm/cjs build pipeline for clerk/shared
12+
- New esm/cjs build pipeline for clerk/clerk-react
13+
- Refactor clerk-js loader logic in `@clerk/clerk-react`
14+
- Introduce `clerkJSVersion` prop on ClerkProvider
15+
- Enable isolatedModules for `@clerk/nextjs`
16+
- Improved ESM support for `clerk-js` (reduces the bundle size by ~10kb)
17+
18+
Changes that should affect users and OS contributors:
19+
- Better source map support for the affected packages. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app.
20+
- Easier node_modules debugging as `@clerk/clerk-react`, `@clerk/shared` and `@clerk/nextjs` are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal.
21+
- Headless clerk-js bundle size reduced by ~10kb, normal clerkjs by ~6kb

0 commit comments

Comments
 (0)