bsky-richtext-react 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/index.cjs +21 -4835
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +18 -4832
- package/dist/index.js.map +1 -1
- package/package.json +46 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [1.0.2] — 2026-02-17
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **`localsInner` crash in Next.js / SSR apps (root-cause fix)** — the real source of the `Cannot read properties of undefined (reading 'localsInner')` crash is a **ProseMirror module-duplication** problem, not an SSR-timing issue. When `@tiptap/*` and `prosemirror-*` packages were bundled inside the library output, a consumer's app could end up with two separate copies of `prosemirror-view` in the same page. ProseMirror's `DecorationGroup` instances from different copies are incompatible, causing the crash. The fix is to mark all `@tiptap/*`, `prosemirror-*`, `tippy.js`, and `@atproto/api` imports as **external** in the build config so the consumer's bundler resolves them to a single, deduplicated copy. As a result, the ESM bundle size dropped from ~190 KB to ~25 KB. ([ueberdosis/tiptap#3869](https://github.com/ueberdosis/tiptap/issues/3869), [#5074](https://github.com/ueberdosis/tiptap/issues/5074))
|
|
15
|
+
- All externalized packages are also now listed under `peerDependencies` so package managers can detect and warn on version mismatches.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## [1.0.1] — 2026-02-17
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
|
|
23
|
+
- **`<RichTextEditor>`** — added `immediatelyRender: false` to the internal `useEditor` call to prevent the `Cannot read properties of undefined (reading 'localsInner')` crash when rendering in SSR environments (Next.js, Remix, etc.). The editor now defers DOM initialisation until after the component mounts on the client. ([#5856](https://github.com/ueberdosis/tiptap/issues/5856))
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
10
27
|
## [1.0.0] — 2026-02-17
|
|
11
28
|
|
|
12
29
|
First stable release. 🎉
|
|
@@ -98,4 +115,5 @@ First stable release. 🎉
|
|
|
98
115
|
|
|
99
116
|
---
|
|
100
117
|
|
|
118
|
+
[1.0.1]: https://github.com/satyam-mishra-pce/bsky-richtext-react/compare/v1.0.0...v1.0.1
|
|
101
119
|
[1.0.0]: https://github.com/satyam-mishra-pce/bsky-richtext-react/releases/tag/v1.0.0
|