You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update CHANGELOG with detailed migration instructions for breaking changes in version 15.0.0 (#1759)
* Update CHANGELOG with detailed migration instructions for breaking changes in version 15.0.0
* Replace performance comparison link with an image in release notes for version 15.0.0
Copy file name to clipboardExpand all lines: CHANGELOG.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,21 +24,35 @@ After a release, please make sure to run `bundle exec rake update_changelog`. Th
24
24
Changes since the last non-beta release.
25
25
26
26
### [15.0.0] - 2025-08-28
27
+
27
28
See [Release Notes](docs/release-notes/15.0.0.md) for full details.
28
29
29
30
### Removed (Breaking Changes)
30
-
- Deprecated `defer_generated_component_packs` configuration option. You should use `generated_component_packs_loading_strategy` instead. [PR 1712](https://github.com/shakacode/react_on_rails/pull/1712) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
31
-
- The package is ESM-only now. Please see [Release Notes](docs/release-notes/15.0.0.md#esm-only-package) for more details.
32
-
-`ReactOnRails.reactOnRailsPageLoaded` is now an async function
33
-
-`force_load` configuration now defaults to `true`
34
-
-`defer_generated_component_packs` configuration now defaults to `false`
31
+
32
+
- Deprecated `defer_generated_component_packs` configuration option. You should use `generated_component_packs_loading_strategy` instead.
- For best performance, use `generated_component_packs_loading_strategy: :async`
37
+
-[PR 1712](https://github.com/shakacode/react_on_rails/pull/1712) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
38
+
- The package is ESM-only now. Migration:
39
+
- If using `require('react-on-rails')`, upgrade to Node v20.19.0+ or change to `import`.
40
+
- For TypeScript errors, upgrade to TypeScript 5.8+ and set `module` to `nodenext`.
41
+
-`ReactOnRails.reactOnRailsPageLoaded` is now an async function. Migration:
42
+
- Add `await` when calling this function: `await ReactOnRails.reactOnRailsPageLoaded()`.
43
+
-`force_load` configuration now defaults to `true`. Migration:
44
+
- Set `force_load: false` in your config if you want the previous behavior.
45
+
46
+
For detailed migration instructions, see the [15.0.0 Release Notes](docs/release-notes/15.0.0.md).
35
47
36
48
#### Fixed
49
+
37
50
- Enable support for ReactRefreshWebpackPlugin v0.6.0 by adding conditional logic regarding configuration. [PR 1748](https://github.com/shakacode/react_on_rails/pull/1748) by [judahmeek](https://github.com/judahmeek).
38
51
- Replace RenderOptions.renderRequestId and use local trackers instead. This change should only be relevant to ReactOnRails Pro users. [PR 1745](https://github.com/shakacode/react_on_rails/pull/1745) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
39
52
- Fixed invalid warnings about non-exact versions when using a pre-release version of React on Rails, as well as missing warnings when using different pre-release versions of the gem and the Node package. [PR 1742](https://github.com/shakacode/react_on_rails/pull/1742) by [alexeyr-ci2](https://github.com/alexeyr-ci2).
40
53
41
54
#### Improved
55
+
42
56
- Ensured that the RSC payload is injected after the component's HTML markup to improve the performance of the RSC payload injection. [PR 1738](https://github.com/shakacode/react_on_rails/pull/1738) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
43
57
- Improved RSC rendering flow by eliminating double rendering of server components and reducing the number of HTTP requests.
44
58
- Updated communication protocol between Node Renderer and Rails to version 2.0.0 which supports the ability to upload multiple bundles at once.
@@ -50,6 +64,7 @@ See [Release Notes](docs/release-notes/15.0.0.md) for full details.
50
64
- Include a stack trace when clicked
51
65
52
66
#### Added
67
+
53
68
- Configuration option `generated_component_packs_loading_strategy` to control how generated component packs are loaded. It supports `sync`, `async`, and `defer` strategies. [PR 1712](https://github.com/shakacode/react_on_rails/pull/1712) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
54
69
- Support for returning React component from async render-function. [PR 1720](https://github.com/shakacode/react_on_rails/pull/1720) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
55
70
- React Server Components Support (Pro Feature) [PR 1644](https://github.com/shakacode/react_on_rails/pull/1644) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
0 commit comments