CHANGELOG.md in react_on_rails-12.5.0 vs CHANGELOG.md in react_on_rails-12.5.1
- old
+ new
@@ -15,14 +15,20 @@
### [Unreleased]
Changes since last non-beta release.
*Please add entries here for your pull requests that are not yet released.*
+### [12.5.1] - 2021-12-27
+
+### Fixed
+- A fatal server rendering error if running an ReactOnRails >=12.4.0 with ReactOnRails Pro <2.4.0. [PR 1412](https://github.com/shakacode/react_on_rails/pull/1412) by [judahmeek](https://github.com/judahmeek)
+
### [12.5.0] - 2021-12-26
#### Added
-- Added webpack configuration files as part of the generator and updated webpacker to version 6 [PR 1404](https://github.com/shakacode/react_on_rails/pull/1404) by [gscarv13](https://github.com/gscarv13).
+- Support for React 18, including the changed SSR API. [PR 1409](https://github.com/shakacode/react_on_rails/pull/1409) by [kylemellander](https://github.com/kylemellander).
+- Added webpack configuration files as part of the generator and updated webpacker to version 6. [PR 1404](https://github.com/shakacode/react_on_rails/pull/1404) by [gscarv13](https://github.com/gscarv13).
- Supports Rails 7.
#### Changed
- Changed logic of determining the usage of the default rails/webpacker webpack config or a custom command to only check if the config.build_production_command is defined. [PR 1402](https://github.com/shakacode/react_on_rails/pull/1402)by [justin808](https://github.com/justin808) and [gscarv13](https://github.com/gscarv13).
- Minimimum required Ruby is 2.7 to match lastest rails/webpacker.
@@ -90,11 +96,11 @@
set JavaScript property `renderFunction` on the function for which you want to return to be
invoked to return the React component. In that case, you won't need to pass any unused params.
[PR 1268](https://github.com/shakacode/react_on_rails/pull/1268) by [justin808](https://github.com/justin808)
See [docs/guides/upgrading-react-on-rails](https://www.shakacode.com/react-on-rails/docs/guides/upgrading-react-on-rails#upgrading-to-v12)
-for details.
+for details.
#### Other Updates
* `react_on_rails` fully supports `rails/webpacker`. The example test app in `spec/dummy` was recently converted over to use rails/webpacker v4+. It's a good example of how to leverage rails/webpacker's webpack configuration for server-side rendering.
* Changed the precompile task to use the rails/webpacker one by default
* Updated generators to use React hooks
@@ -982,10 +988,12 @@
- Turbolinks support.
##### Fixed
- Fix several generator related issues.
-[Unreleased]: https://github.com/shakacode/react_on_rails/compare/12.4.0...master
+[Unreleased]: https://github.com/shakacode/react_on_rails/compare/12.5.1...master
+[12.5.1]: https://github.com/shakacode/react_on_rails/compare/12.5.0...12.5.1
+[12.5.0]: https://github.com/shakacode/react_on_rails/compare/12.4.0...12.5.0
[12.4.0]: https://github.com/shakacode/react_on_rails/compare/12.3.0...12.4.0
[12.3.0]: https://github.com/shakacode/react_on_rails/compare/12.2.0...12.3.0
[12.2.0]: https://github.com/shakacode/react_on_rails/compare/12.1.0...12.2.0
[12.1.0]: https://github.com/shakacode/react_on_rails/compare/12.0.4...12.1.0
[12.0.4]: https://github.com/shakacode/react_on_rails/compare/12.0.3...12.0.4