Skip to content

Commit cc3202c

Browse files
Bump version to 15.0.0-alpha.2 and update CHANGELOG
1 parent f970226 commit cc3202c

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,31 @@ If you think ShakaCode can help your project, [click here](https://meetings.hubs
1515
Please follow the recommendations outlined at [keepachangelog.com](http://keepachangelog.com/). Please use the existing headings and styling as a guide, and add a link for the version diff at the bottom of the file. Also, please update the `Unreleased` link to compare to the latest release version.
1616

1717
## Versions
18-
### [Unreleased]
19-
Changes since the last non-beta release.
18+
### [15.0.0-alpha.2]
19+
#### Added
20+
- 🚀 **Introducing React Server Components Support!** 🎉
21+
- Experience the future of React with full RSC integration
22+
- Seamlessly use React Server Components in your Rails apps
23+
- Reduce client bundle sizes
24+
- Enable powerful new patterns for data fetching
25+
- ⚡️ Requires React on Rails Pro - [See the full tutorial](https://www.shakacode.com/react-on-rails-pro/docs/react-server-components-tutorial)
26+
27+
[PR 1644](https://github.com/shakacode/react_on_rails/pull/1644) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
28+
29+
#### Improved (Breaking)
30+
- Improved component and store hydration by removing page load dependency:
31+
- Components and stores now hydrate immediately rather than waiting for page load
32+
- Enables faster hydration, especially beneficial for streamed pages
33+
- Components can hydrate before the page is fully streamed
34+
- Can use `async` scripts in the page with no fear of race condition. You don't have to use `defer` anymore.
35+
- To disable this behavior, set `force_load: false` in the `react_component` helper or `force_load` configuration
36+
- The `force_load` configuration and `react_component` option `force_load` is not a new option, but in old versions of React on Rails, could be used only with turbo streams to prevent race condition.
37+
- Breaking changes:
38+
- `ReactOnRails.reactOnRailsPageLoaded` is now an async function
39+
- `force_load` configuration now defaults to `true` (previously `false`)
40+
- `force_load` configuration and `react_component` option `force_load` are now always enabled by default since race conditions are no longer a concern
41+
42+
[PR 1656](https://github.com/shakacode/react_on_rails/pull/1656) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
2043

2144
### [14.1.1] - 2025-01-15
2245

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-on-rails",
3-
"version": "14.1.1",
3+
"version": "15.0.0-alpha.2",
44
"description": "react-on-rails JavaScript for react_on_rails Ruby gem",
55
"exports": {
66
".": {

0 commit comments

Comments
 (0)