react-on-rails-rsc 19.2.0-rc.4 → 19.2.0
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 +10 -23
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,23 +4,7 @@ All notable changes to this package will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
-
## [19.2.0
|
|
8
|
-
|
|
9
|
-
### Added
|
|
10
|
-
- Added a configurable client-build warning when a client reference appears in at least four client-reference chunk groups, helping surface cross-page JS/CSS duplication from chunk contamination. Set `chunkGroupWarningThreshold` to a positive number to tune the threshold, or to `0`/`false` to disable the warning. ([#120])
|
|
11
|
-
|
|
12
|
-
## [19.2.0-rc.3] - 2026-06-19
|
|
13
|
-
|
|
14
|
-
### Fixed
|
|
15
|
-
- Scoped per-client-reference CSS to the chunk(s) that actually contain the reference instead of collecting it across the whole chunk group. Shared dependency chunks (`vendor`/`common`/styleguide) that the page entry already loads are no longer re-broadcast as a render-blocking `<link rel="stylesheet" precedence="rsc-css">` per client reference — the dominant FCP/LCP regression when a real page is converted to RSC — while a reference's own extracted CSS (including the entry chunk's CSS for an eagerly-imported component) and the `#52` runtime-chunk exclusion are preserved. ([#110])
|
|
16
|
-
- Recovered a client reference's own extracted CSS when `SplitChunks` + `MiniCssExtractPlugin` place it in a chunk separate from the one holding the reference's JS module (e.g. a cache group that matches the JS file but not its `.css` sibling). The plugin now follows each reference's direct `.css` imports to the chunk(s) carrying them, intersected with the reference's chunk group, so the `rsc-css` hint is still emitted for those styles. Only direct imports are followed, so the per-chunk scoping from `#110` continues not to re-broadcast shared dependency CSS. ([#113])
|
|
17
|
-
|
|
18
|
-
## [19.2.0-rc.2] - 2026-06-16
|
|
19
|
-
|
|
20
|
-
### Fixed
|
|
21
|
-
- Fixed the Rspack RSC build skipping the client-references module map on the 19.2 line when `react-server-dom-webpack` resolves to a different install path than the plugin's own copy (duplicate installs, pnpm/yarn symlink stores, hoisted-vs-nested layouts). The plugin now recognizes the Flight client runtime by file-name suffix confirmed through a `react-server-dom-webpack` `package.json` walk instead of strict resolved-path equality, matching the Webpack plugin's duplicate-install handling, so the module map is emitted and Rspack-rendered RSC client content works again. ([#105])
|
|
22
|
-
|
|
23
|
-
## [19.2.0-rc.1] - 2026-06-14
|
|
7
|
+
## [19.2.0] - 2026-06-28
|
|
24
8
|
|
|
25
9
|
### Breaking Changes
|
|
26
10
|
- Moved the package to the React 19.2 runtime line by depending on stock `react-server-dom-webpack@~19.2.7`, removing the published vendored Flight runtime, and raising the `react` and `react-dom` peer dependency floor to `^19.2.7`. ([#102])
|
|
@@ -33,11 +17,17 @@ All notable changes to this package will be documented in this file.
|
|
|
33
17
|
4. Plain Node processes that import `react-on-rails-rsc/server` with `react-server` but without the `webpack` condition no longer provide unbundled server-action decoding APIs; those APIs now fail with an explicit migration error because React 19.2 removed the public unbundled runtime.
|
|
34
18
|
5. Keep RSC client and server bundles on the same React 19.2 runtime line; React 19.2 Flight stylesheet hint rows can use the bare `:HS[...]` format that older 19.0.x clients do not parse.
|
|
35
19
|
|
|
20
|
+
### Added
|
|
21
|
+
- Added a configurable client-build warning when a client reference appears in at least four client-reference chunk groups, helping surface cross-page JS/CSS duplication from chunk contamination. Set `chunkGroupWarningThreshold` to a positive number to tune the threshold, or to `0`/`false` to disable the warning. ([#120])
|
|
22
|
+
|
|
36
23
|
### Changed
|
|
37
24
|
- Set the 19.0.x package line to maintenance mode after the 19.2.x line becomes `latest`; future 19.0.x releases should be limited to security fixes, severe regressions, release-artifact repairs, or downstream React on Rails support obligations. ([#102])
|
|
38
25
|
|
|
39
26
|
### Fixed
|
|
27
|
+
- Fixed the Rspack RSC build skipping the client-references module map on the 19.2 line when `react-server-dom-webpack` resolves to a different install path than the plugin's own copy (duplicate installs, pnpm/yarn symlink stores, hoisted-vs-nested layouts). The plugin now recognizes the Flight client runtime by file-name suffix confirmed through a `react-server-dom-webpack` `package.json` walk instead of strict resolved-path equality, matching the Webpack plugin's duplicate-install handling, so the module map is emitted and Rspack-rendered RSC client content works again. ([#106])
|
|
40
28
|
- Preserved wrapper-layer RSC stylesheet hints for conditional `react-on-rails-rsc/server` Flight renderers, including edge/workerd, while using the stock React 19.2 runtime. ([#102])
|
|
29
|
+
- Scoped per-client-reference CSS to the chunk(s) that actually contain the reference instead of collecting it across the whole chunk group. Shared dependency chunks (`vendor`/`common`/styleguide) that the page entry already loads are no longer re-broadcast as a render-blocking `<link rel="stylesheet" precedence="rsc-css">` per client reference — the dominant FCP/LCP regression when a real page is converted to RSC — while a reference's own extracted CSS (including the entry chunk's CSS for an eagerly-imported component) and the `#52` runtime-chunk exclusion are preserved. ([#110])
|
|
30
|
+
- Recovered a client reference's own extracted CSS when `SplitChunks` + `MiniCssExtractPlugin` place it in a chunk separate from the one holding the reference's JS module (e.g. a cache group that matches the JS file but not its `.css` sibling). The plugin now follows each reference's direct `.css` imports to the chunk(s) carrying them, intersected with the reference's chunk group, so the `rsc-css` hint is still emitted for those styles. Only direct imports are followed, so the per-chunk scoping from `#110` continues not to re-broadcast shared dependency CSS. ([#113])
|
|
41
31
|
|
|
42
32
|
## [19.0.5] - 2026-06-13
|
|
43
33
|
|
|
@@ -57,16 +47,13 @@ All notable changes to this package will be documented in this file.
|
|
|
57
47
|
### Security
|
|
58
48
|
- Updated the vendored `react-server-dom-webpack` runtime from React 19.0.3 to the React 19.0.7 security level, applying the React 19.0.4 fixes for CVE-2025-55183, CVE-2025-55184, and CVE-2025-67779 plus the React 19.0.7 reply-decoding denial-of-service fixes for CVE-2026-23869 (GHSA-479c-33wc-g2pg) and CVE-2026-23870 (GHSA-rv78-f8rc-xrxh). Note: the upstream CVE-2026-23869 fix changes the reply wire format for nested `FormData`, so client and server must both run the patched runtime shipped by this package. ([#48]) ([#86])
|
|
59
49
|
|
|
60
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails_rsc/compare/19.2.0
|
|
61
|
-
[19.2.0
|
|
62
|
-
[19.2.0-rc.3]: https://github.com/shakacode/react_on_rails_rsc/compare/19.2.0-rc.2...19.2.0-rc.3
|
|
63
|
-
[19.2.0-rc.2]: https://github.com/shakacode/react_on_rails_rsc/compare/19.2.0-rc.1...19.2.0-rc.2
|
|
64
|
-
[19.2.0-rc.1]: https://github.com/shakacode/react_on_rails_rsc/compare/19.0.5...19.2.0-rc.1
|
|
50
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails_rsc/compare/19.2.0...HEAD
|
|
51
|
+
[19.2.0]: https://github.com/shakacode/react_on_rails_rsc/compare/19.0.5...19.2.0
|
|
65
52
|
[19.0.5]: https://github.com/shakacode/react_on_rails_rsc/compare/19.0.4...19.0.5
|
|
66
53
|
|
|
67
54
|
[#120]: https://github.com/shakacode/react_on_rails_rsc/pull/120
|
|
68
55
|
[#102]: https://github.com/shakacode/react_on_rails_rsc/pull/102
|
|
69
|
-
[#
|
|
56
|
+
[#106]: https://github.com/shakacode/react_on_rails_rsc/pull/106
|
|
70
57
|
[#23]: https://github.com/shakacode/react_on_rails_rsc/pull/23
|
|
71
58
|
[#29]: https://github.com/shakacode/react_on_rails_rsc/pull/29
|
|
72
59
|
[#33]: https://github.com/shakacode/react_on_rails_rsc/pull/33
|