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
Added/Changed
- Add `ssr_timeout` configuration so the Rails server will not wait more than
this many seconds for a SSR request to return once issued.
- Change default for `renderer_use_fallback_exec_js` to `false`.
- Change default log level to info.
Fixed
- Ability to call `server_render_js(raw_js)` fixed. Previously, always errored.
- Errors during rendering result in ReactOnRails::PrerenderError
- When retrying rendering, the retry message is more clear
- Add support for render functions to be async (returning promises). Also add `include_execjs_polyfills` option to configuration for React on Rails to optionally stop stubbing of setTimeout, setInterval, & clearTimeout polyfills while using NodeRenderer. [PR 210](https://github.com/shakacode/react_on_rails_pro/pull/210) by [judahmeek](https://github.com/judahmeek)
23
+
24
+
### Fixed
25
+
- Ability to call `server_render_js(raw_js)` fixed. Previously, always errored.
26
+
- Errors during rendering result in ReactOnRails::PrerenderError
27
+
- When retrying rendering, the retry message is more clear
28
+
15
29
## [2.3.0] - 2021-09-22
16
30
17
31
### Added
32
+
- Configuration option for `ssr_timeout` so the Rails server will not wait more than this many seconds
33
+
for a SSR request to return once issued. Default timeout if not set is 5.
34
+
`config.ssr_timeout = 5`
35
+
18
36
- Added optional method `extra_files_to_cache` to the definition of the module for the configuration of
19
37
the remote_bundle_cache_adapter. This allows files outside of the regular build directory to be
20
38
placed in the cached zip file and then extracted and restored when the cache is restored. The use
@@ -24,8 +42,6 @@ Gem and package versions are the same except for beta releases where the gem use
24
42
[PR 221](https://github.com/shakacode/react_on_rails_pro/pull/221) by
25
43
[justin808](https://github.com/justin808) and [ershadul1](https://github.com/ershadul1).
26
44
27
-
- Add support for render functions to be async (returning promises). Also add `include_execjs_polyfills` option to configuration for React on Rails to optionally stop stubbing of setTimeout, setInterval, & clearTimeout polyfills while using NodeRenderer. [PR 210](https://github.com/shakacode/react_on_rails_pro/pull/210) by [judahmeek](https://github.com/judahmeek)
28
-
29
45
## [2.2.0] - 2021-07-13
30
46
- Change rake react_on_rails_pro:pre_stage_bundle_for_vm_renderer to use symlinks to save slug size. [PR 202](https://github.com/shakacode/react_on_rails_pro/pull/202) by [justin808](https://github.com/justin808).
0 commit comments