react_on_rails 16.1.2 → 16.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.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/.rspec +2 -0
  3. data/.rubocop.yml +85 -0
  4. data/Gemfile.development_dependencies +8 -7
  5. data/Gemfile.lock +158 -119
  6. data/Steepfile +56 -0
  7. data/lib/generators/react_on_rails/base_generator.rb +43 -120
  8. data/lib/generators/react_on_rails/dev_tests_generator.rb +2 -1
  9. data/lib/generators/react_on_rails/generator_helper.rb +102 -2
  10. data/lib/generators/react_on_rails/install_generator.rb +36 -156
  11. data/lib/generators/react_on_rails/js_dependency_manager.rb +383 -0
  12. data/lib/generators/react_on_rails/templates/base/base/.dev-services.yml.example +76 -0
  13. data/lib/generators/react_on_rails/templates/base/base/bin/shakapacker-precompile-hook +30 -0
  14. data/lib/generators/react_on_rails/templates/base/base/bin/switch-bundler +141 -0
  15. data/lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb.tt +44 -45
  16. data/lib/generators/react_on_rails/templates/base/base/config/{shakapacker.yml → shakapacker.yml.tt} +28 -3
  17. data/lib/generators/react_on_rails/templates/base/base/config/webpack/development.js.tt +15 -9
  18. data/lib/generators/react_on_rails/templates/base/base/config/webpack/serverWebpackConfig.js.tt +42 -6
  19. data/lib/react_on_rails/configuration.rb +149 -32
  20. data/lib/react_on_rails/controller.rb +3 -3
  21. data/lib/react_on_rails/dev/pack_generator.rb +168 -2
  22. data/lib/react_on_rails/dev/process_manager.rb +136 -14
  23. data/lib/react_on_rails/dev/server_manager.rb +194 -26
  24. data/lib/react_on_rails/dev/service_checker.rb +200 -0
  25. data/lib/react_on_rails/doctor.rb +341 -12
  26. data/lib/react_on_rails/engine.rb +75 -1
  27. data/lib/react_on_rails/git_utils.rb +3 -1
  28. data/lib/react_on_rails/helper.rb +70 -192
  29. data/lib/react_on_rails/locales/base.rb +17 -5
  30. data/lib/react_on_rails/packer_utils.rb +79 -2
  31. data/lib/react_on_rails/packs_generator.rb +57 -39
  32. data/lib/react_on_rails/prerender_error.rb +74 -17
  33. data/lib/react_on_rails/pro_helper.rb +64 -0
  34. data/lib/react_on_rails/react_component/render_options.rb +7 -7
  35. data/lib/react_on_rails/server_rendering_pool/ruby_embedded_java_script.rb +2 -5
  36. data/lib/react_on_rails/smart_error.rb +326 -0
  37. data/lib/react_on_rails/system_checker.rb +8 -9
  38. data/lib/react_on_rails/test_helper/webpack_assets_status_checker.rb +16 -7
  39. data/lib/react_on_rails/utils.rb +241 -55
  40. data/lib/react_on_rails/version.rb +1 -1
  41. data/lib/react_on_rails/version_checker.rb +383 -35
  42. data/lib/tasks/generate_packs.rake +12 -6
  43. data/lib/tasks/locale.rake +6 -1
  44. data/rakelib/docker.rake +26 -0
  45. data/rakelib/dummy_apps.rake +30 -0
  46. data/rakelib/example_type.rb +121 -0
  47. data/rakelib/examples_config.yml +52 -0
  48. data/rakelib/lint.rake +52 -0
  49. data/rakelib/node_package.rake +15 -0
  50. data/rakelib/rbs.rake +70 -0
  51. data/rakelib/run_rspec.rake +223 -0
  52. data/rakelib/shakapacker_examples.rake +171 -0
  53. data/rakelib/task_helpers.rb +134 -0
  54. data/rakelib/update_changelog.rake +73 -0
  55. data/react_on_rails.gemspec +4 -3
  56. data/sig/README.md +52 -0
  57. data/sig/react_on_rails/configuration.rbs +96 -0
  58. data/sig/react_on_rails/controller.rbs +15 -0
  59. data/sig/react_on_rails/dev/file_manager.rbs +15 -0
  60. data/sig/react_on_rails/dev/pack_generator.rbs +19 -0
  61. data/sig/react_on_rails/dev/process_manager.rbs +22 -0
  62. data/sig/react_on_rails/dev/server_manager.rbs +39 -0
  63. data/sig/react_on_rails/dev/service_checker.rbs +22 -0
  64. data/sig/react_on_rails/error.rbs +4 -0
  65. data/sig/react_on_rails/generators/js_dependency_manager.rbs +123 -0
  66. data/sig/react_on_rails/git_utils.rbs +8 -0
  67. data/sig/react_on_rails/helper.rbs +65 -0
  68. data/sig/react_on_rails/json_parse_error.rbs +10 -0
  69. data/sig/react_on_rails/locales.rbs +46 -0
  70. data/sig/react_on_rails/packer_utils.rbs +15 -0
  71. data/sig/react_on_rails/prerender_error.rbs +21 -0
  72. data/sig/react_on_rails/server_rendering_pool.rbs +12 -0
  73. data/sig/react_on_rails/smart_error.rbs +28 -0
  74. data/sig/react_on_rails/test_helper.rbs +11 -0
  75. data/sig/react_on_rails/utils.rbs +34 -0
  76. data/sig/react_on_rails/version_checker.rbs +12 -0
  77. data/sig/react_on_rails.rbs +17 -0
  78. metadata +49 -32
  79. data/AI_AGENT_INSTRUCTIONS.md +0 -63
  80. data/CHANGELOG.md +0 -1836
  81. data/CLAUDE.md +0 -135
  82. data/CODING_AGENTS.md +0 -313
  83. data/CONTRIBUTING.md +0 -668
  84. data/Dockerfile_tests +0 -12
  85. data/KUDOS.md +0 -114
  86. data/LICENSE.md +0 -47
  87. data/LICENSES/README.md +0 -14
  88. data/NEWS.md +0 -62
  89. data/PROJECTS.md +0 -63
  90. data/REACT-ON-RAILS-PRO-LICENSE.md +0 -129
  91. data/README.md +0 -217
  92. data/SUMMARY.md +0 -88
  93. data/TODO.md +0 -135
  94. data/bin/lefthook/check-trailing-newlines +0 -38
  95. data/bin/lefthook/get-changed-files +0 -26
  96. data/bin/lefthook/prettier-format +0 -26
  97. data/bin/lefthook/ruby-autofix +0 -26
  98. data/bin/lefthook/ruby-lint +0 -27
  99. data/docker-compose.yml +0 -11
  100. data/eslint.config.ts +0 -232
  101. data/knip.ts +0 -114
  102. data/lib/react_on_rails/pro/NOTICE +0 -21
  103. data/lib/react_on_rails/pro/helper.rb +0 -122
  104. data/lib/react_on_rails/pro/utils.rb +0 -53
  105. data/tsconfig.eslint.json +0 -6
  106. data/tsconfig.json +0 -19
data/CHANGELOG.md DELETED
@@ -1,1836 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project's source code will be documented in this file. Items under `Unreleased` is upcoming features that will be out in the next version.
4
-
5
- Migration instructions for the major updates can be found [here](https://www.shakacode.com/react-on-rails/docs/guides/upgrading-react-on-rails#upgrading-to-version-9.md). Some smaller migration information can be found here.
6
-
7
- ## Want to Save Time Updating?
8
-
9
- If you need help upgrading `react_on_rails`, `webpacker` to `shakapacker`, or JS packages, contact justin@shakacode.com. We can upgrade your project and improve your development and customer experiences, allowing you to focus on building new features or fixing bugs instead.
10
-
11
- For an overview of working with us, see our [Client Engagement Model](https://www.shakacode.com/blog/client-engagement-model/) article and [how we bill for time](https://www.shakacode.com/blog/shortcut-jira-trello-github-toggl-time-and-task-tracking/).
12
-
13
- If you think ShakaCode can help your project, [click here](https://meetings.hubspot.com/justingordon/30-minute-consultation) to book a call with [Justin Gordon](mailto:justin@shakacode.com), the creator of React on Rails and Shakapacker.
14
-
15
- ## Contributors
16
-
17
- Please follow the recommendations outlined at [keepachangelog.com](http://keepachangelog.com/). Please use the existing headings and styling as a guide.
18
- After a release, please make sure to run `bundle exec rake update_changelog`. This will add a heading for the latest version and update the links at the end of the file.
19
-
20
- ## Versions
21
-
22
- ### [Unreleased]
23
-
24
- Changes since the last non-beta release.
25
-
26
- ### [16.1.2] - 2025-11-19
27
-
28
- #### Fixed
29
-
30
- - **Duplicate Rake Task Execution**: Fixed rake tasks executing twice during asset precompilation and other rake operations. Rails Engine was loading task files twice: once via explicit `load` calls in the `rake_tasks` block (Railtie layer) and once via automatic file loading from `lib/tasks/` (Engine layer). This caused `react_on_rails:assets:webpack`, `react_on_rails:generate_packs`, and `react_on_rails:locale` tasks to run twice, significantly increasing build times. Removed explicit `load` calls and now rely on Rails Engine's standard auto-loading behavior. [PR 2052](https://github.com/shakacode/react_on_rails/pull/2052) by [justin808](https://github.com/justin808).
31
-
32
- ### [16.1.1] - 2025-09-24
33
-
34
- #### Bug Fixes
35
-
36
- - **React Server Components**: Fixed bug in resolving `react-server-client-manifest.json` file path. The manifest file path is now correctly resolved using `bundle_js_file_path` for improved configuration flexibility and consistency in bundle management. [PR 1818](https://github.com/shakacode/react_on_rails/pull/1818) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
37
-
38
- ### [16.1.0] - 2025-09-23
39
-
40
- #### New Features
41
-
42
- - **Server Bundle Security**: Added new configuration options for enhanced server bundle security and organization:
43
-
44
- - `server_bundle_output_path`: Configurable directory (relative to the Rails root) for server bundle output (default: "ssr-generated"). If set to `nil`, the server bundle will be loaded from the same public directory as client bundles. [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
45
- - `enforce_private_server_bundles`: When enabled, ensures server bundles are only loaded from private directories outside the public folder (default: false for backward compatibility) [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
46
-
47
- - **Improved Bundle Path Resolution**: Bundle path resolution for server bundles now works as follows:
48
-
49
- - If `server_bundle_output_path` is set, the server bundle is loaded from that directory.
50
- - If `server_bundle_output_path` is not set, the server bundle falls back to the client bundle directory (typically the public output path).
51
- - If `enforce_private_server_bundles` is enabled:
52
- - The server bundle will only be loaded from the private directory specified by `server_bundle_output_path`.
53
- - If the bundle is not found there, it will _not_ fall back to the public directory.
54
- - If `enforce_private_server_bundles` is not enabled and the bundle is not found in the private directory, it will fall back to the public directory.
55
- - This logic ensures that, when strict enforcement is enabled, server bundles are never loaded from public directories, improving security and clarity of bundle resolution. [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
56
-
57
- - **`react_on_rails:doctor` rake task**: New diagnostic command to validate React on Rails setup and identify configuration issues. Provides comprehensive checks for environment prerequisites, dependencies, Rails integration, and Webpack configuration. Use `rake react_on_rails:doctor` to diagnose your setup, with optional `VERBOSE=true` for detailed output. [PR 1791](https://github.com/shakacode/react_on_rails/pull/1791) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
58
-
59
- #### Deprecations
60
-
61
- - **Deprecated `generated_assets_dirs` configuration**: The legacy `config.generated_assets_dirs` option is now deprecated and will show a deprecation warning if used. Since Shakapacker is now required, asset paths are automatically determined from `shakapacker.yml` configuration. Remove any `config.generated_assets_dirs` from your `config/initializers/react_on_rails.rb` file. Use `public_output_path` in `config/shakapacker.yml` to customize asset output location instead. [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
62
-
63
- #### API Improvements
64
-
65
- - **Method Naming Clarification**: Added `public_bundles_full_path` method to clarify bundle path handling:
66
- - `public_bundles_full_path`: New method specifically for webpack bundles in public directories
67
- - `generated_assets_full_path`: Now deprecated (backwards-compatible alias)
68
- - This eliminates confusion between webpack bundles and general Rails public assets [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
69
-
70
- #### Security Enhancements
71
-
72
- - **Private Server Bundle Enforcement**: When `enforce_private_server_bundles` is enabled, server bundles bypass public directory fallbacks and are only loaded from designated private locations [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
73
- - **Path Validation**: Added validation to ensure `server_bundle_output_path` points to private directories when enforcement is enabled [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
74
- - **Fixed command injection vulnerabilities**: Replaced unsafe string interpolation in generator package installation commands with secure array-based system calls [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
75
- - **Improved input validation**: Enhanced package manager validation and argument sanitization across all generators [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
76
- - **Hardened DOM selectors**: Using `CSS.escape()` and proper JavaScript escaping for XSS protection [PR 1791](https://github.com/shakacode/react_on_rails/pull/1791) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
77
-
78
- #### Pro License Features
79
-
80
- - **Core/Pro separation**: Moved Pro features into dedicated `lib/react_on_rails/pro/` and `node_package/src/pro/` directories with clear licensing boundaries [PR 1791](https://github.com/shakacode/react_on_rails/pull/1791) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
81
- - **Runtime license validation**: Implemented Pro license gating with graceful fallback to core functionality when Pro license unavailable [PR 1791](https://github.com/shakacode/react_on_rails/pull/1791) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
82
- - **Enhanced immediate hydration**: Improved immediate hydration functionality with Pro license validation and warning badges [PR 1791](https://github.com/shakacode/react_on_rails/pull/1791) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
83
- - **License documentation**: Added NOTICE files in Pro directories referencing canonical `REACT-ON-RAILS-PRO-LICENSE.md` [PR 1791](https://github.com/shakacode/react_on_rails/pull/1791) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
84
-
85
- #### Generator Improvements
86
-
87
- - **Modern TypeScript patterns**: Generators now produce more idiomatic TypeScript code with improved type inference instead of explicit type annotations [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
88
- - **Optimized tsconfig.json**: Updated compiler options to use `"moduleResolution": "bundler"` for better bundler compatibility [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
89
- - **Enhanced Redux TypeScript integration**: Improved type safety and modern React patterns (useMemo, type-only imports) [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
90
- - **Smart bin/dev defaults**: Generated `bin/dev` script now automatically navigates to `/hello_world` route for immediate component visibility [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
91
- - **Better component templates**: Removed unnecessary type annotations while maintaining type safety through TypeScript's inference [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
92
- - **Cleaner generated code**: Streamlined templates following modern React and TypeScript best practices [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
93
- - **Improved helper methods**: Added reusable `component_extension` helper for consistent file extension handling [PR 1786](https://github.com/shakacode/react_on_rails/pull/1786) by [justin808](https://github.com/justin808)
94
-
95
- #### Bug Fixes
96
-
97
- - **Doctor rake task**: Fixed LoadError in `rake react_on_rails:doctor` when using packaged gem. The task was trying to require excluded `rakelib/task_helpers` file. [PR 1795](https://github.com/shakacode/react_on_rails/pull/1795) by [justin808](https://github.com/justin808)
98
- - **Packs generator**: Fixed error when `server_bundle_js_file` configuration is empty (default). Added safety check to prevent attempting operations on invalid file paths when server-side rendering is not configured. [PR 1802](https://github.com/shakacode/react_on_rails/pull/1802) by [justin808](https://github.com/justin808)
99
- - **Non-Packer Environment Compatibility**: Fixed potential NoMethodError when using bundle path resolution in environments without Shakapacker [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
100
- - **Shakapacker version requirements**: Fixed inconsistent version requirements between basic pack generation (6.5.1+) and advanced auto-bundling features (7.0.0+). Added backward compatibility for users on Shakapacker 6.5.1-6.9.x while providing clear upgrade guidance for advanced features. Added new constants `MINIMUM_SHAKAPACKER_VERSION_FOR_AUTO_BUNDLING` and improved version checking performance with caching. [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [justin808](https://github.com/justin808)
101
-
102
- #### Code Improvements
103
-
104
- - **PackerUtils abstraction removal**: Removed unnecessary `PackerUtils.packer` abstraction method and replaced all calls with direct `::Shakapacker` usage. This simplifies the codebase by eliminating an abstraction layer that was originally created to support multiple webpack tools but is no longer needed since we only support Shakapacker. All tests updated accordingly. [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798) by [claude-code](https://claude.ai/code)
105
- - **Architecture refactoring**: Centralized Pro utilities and clean separation between core and Pro helper functionality [PR 1791](https://github.com/shakacode/react_on_rails/pull/1791) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
106
-
107
- ### [16.0.0] - 2025-09-16
108
-
109
- **React on Rails v16 is a major release that modernizes the library with ESM support, removes legacy Webpacker compatibility, and introduces significant performance improvements. This release builds on the foundation of v14 with enhanced RSC (React Server Components) support and streamlined configuration.**
110
-
111
- See [Release Notes](docs/release-notes/16.0.0.md) for complete migration guide.
112
-
113
- #### Major Enhancements
114
-
115
- **🚀 React Server Components (RSC) -- Requires React on Rails Pro**
116
-
117
- - **Enhanced RSC rendering flow**: Eliminated double rendering and reduced HTTP requests
118
- - **`RSCRoute` component**: Seamless server-side rendering with automatic payload injection and hydration [PR 1696](https://github.com/shakacode/react_on_rails/pull/1696) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
119
- - **Optimized RSC payload injection**: Now injected after component HTML markup for better performance [PR 1738](https://github.com/shakacode/react_on_rails/pull/1738) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
120
- - **Communication protocol v2.0.0**: Supports uploading multiple bundles at once for improved efficiency
121
-
122
- **⚡ Performance & Loading Strategy**
123
-
124
- - **New `generated_component_packs_loading_strategy`**: Choose from `sync`, `async`, or `defer` strategies [PR 1712](https://github.com/shakacode/react_on_rails/pull/1712) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
125
- - **Async render function support**: Components can now return from async render functions [PR 1720](https://github.com/shakacode/react_on_rails/pull/1720) by [AbanoubGhadban](https://github.com/AbanoubGhadban)
126
- - **Optimized client imports**: Generated packs now import from `react-on-rails/client` for better tree-shaking [PR 1706](https://github.com/shakacode/react_on_rails/pull/1706) by [alexeyr-ci](https://github.com/alexeyr-ci)
127
-
128
- #### Developer Experience
129
-
130
- - **Enhanced error messaging**: Clearer troubleshooting steps and prominent optimization warnings
131
- - **Modern global access**: Using `globalThis` instead of window/global detection [PR 1727](https://github.com/shakacode/react_on_rails/pull/1727) by [alexeyr-ci2](https://github.com/alexeyr-ci2)
132
- - **Simplified CI configuration**: Clear `minimum`/`latest` dependency naming instead of `oldest`/`newest`
133
- - **ReactRefreshWebpackPlugin v0.6.0 support**: Added conditional logic for proper configuration [PR 1748](https://github.com/shakacode/react_on_rails/pull/1748) by [judahmeek](https://github.com/judahmeek)
134
- - **Version validation improvements**: Fixed invalid warnings with pre-release versions [PR 1742](https://github.com/shakacode/react_on_rails/pull/1742) by [alexeyr-ci2](https://github.com/alexeyr-ci2)
135
-
136
- #### Breaking Changes
137
-
138
- **🔧 Webpacker Support Removed**
139
-
140
- - **Complete removal of Webpacker support**. Shakapacker >= 6.0 is now required.
141
- - Migration:
142
- - Remove `webpacker` gem from your Gemfile
143
- - Install `shakapacker` gem version 6.0+ (8.0+ recommended)
144
- - Replace `bin/webpacker` commands with `bin/shakapacker`
145
- - Update webpacker configuration files to shakapacker equivalents
146
- - Removed files: `rakelib/webpacker_examples.rake`, `lib/generators/react_on_rails/adapt_for_older_shakapacker_generator.rb`
147
-
148
- **📦 Package System Modernization**
149
-
150
- - **ESM-only package**: CommonJS `require()` no longer supported
151
- - Migration:
152
- - Replace `require('react-on-rails')` with `import ReactOnRails from 'react-on-rails'`
153
- - For Node.js < 20.19.0, upgrade or use dynamic imports
154
- - For TypeScript errors, upgrade to TypeScript 5.8+ and set `module: "nodenext"`
155
-
156
- **⚡ Configuration API Changes**
157
-
158
- - **`defer_generated_component_packs` deprecated** → use `generated_component_packs_loading_strategy`
159
- - Migration:
160
-
161
- - `defer_generated_component_packs: true` → `generated_component_packs_loading_strategy: :defer`
162
- - `defer_generated_component_packs: false` → `generated_component_packs_loading_strategy: :sync`
163
- - Recommended: `generated_component_packs_loading_strategy: :async` for best performance
164
-
165
- - **`force_load` renamed to `immediate_hydration`** for API clarity
166
- - Migration:
167
- - `config.force_load = true` → `config.immediate_hydration = true`
168
- - `react_component(force_load: true)` → `react_component(immediate_hydration: true)`
169
- - `redux_store(force_load: true)` → `redux_store(immediate_hydration: true)`
170
- - Note: `immediate_hydration` requires React on Rails Pro license
171
-
172
- **🔄 Async API Changes**
173
-
174
- - **`ReactOnRails.reactOnRailsPageLoaded()` is now async**
175
- - Migration: Add `await` when calling: `await ReactOnRails.reactOnRailsPageLoaded()`
176
-
177
- **🏗️ Runtime Suggested Versions**
178
-
179
- - Ruby: 3.2 - 3.4 (was 3.0 - 3.3)
180
- - Node.js: 20 - 22 (was 16 - 20)
181
- - Note: These are CI-tested versions; older versions may work but aren't guaranteed
182
-
183
- **🎯 Generator Improvements**
184
-
185
- - Install generator now validates JavaScript package manager presence
186
- - Improved error handling with `Thor::Error` instead of `exit(1)`
187
- - Enhanced error messages with clearer troubleshooting steps
188
-
189
- ### [15.0.0] - 2025-08-28 - RETRACTED
190
-
191
- **⚠️ This version has been retracted due to API design issues. Please upgrade directly to v16.0.0.**
192
-
193
- The `force_load` feature was incorrectly available without a Pro license and has been renamed to `immediate_hydration` for better clarity. All features from v15 are available in v16 with the corrected API.
194
-
195
- ### [14.2.0] - 2025-03-03
196
-
197
- #### Added
198
-
199
- - Add export option 'react-on-rails/client' to avoid shipping server-rendering code to browsers (~5KB improvement) [PR 1697](https://github.com/shakacode/react_on_rails/pull/1697) by [Romex91](https://github.com/Romex91).
200
-
201
- #### Fixed
202
-
203
- - Fix obscure errors by introducing FULL_TEXT_ERRORS [PR 1695](https://github.com/shakacode/react_on_rails/pull/1695) by [Romex91](https://github.com/Romex91).
204
- - Disable `esModuleInterop` to increase interoperability [PR 1699](https://github.com/shakacode/react_on_rails/pull/1699) by [alexeyr-ci](https://github.com/alexeyr-ci).
205
- - Resolved 14.1.1 incompatibility with eslint & made sure that spec/dummy is linted by eslint. [PR 1693](https://github.com/shakacode/react_on_rails/pull/1693) by [judahmeek](https://github.com/judahmeek).
206
-
207
- #### Changed
208
-
209
- - More up-to-date TS config [PR 1700](https://github.com/shakacode/react_on_rails/pull/1700) by [alexeyr-ci](https://github.com/alexeyr-ci).
210
-
211
- ### [14.1.1] - 2025-01-15
212
-
213
- #### Fixed
214
-
215
- - Separated streamServerRenderedReactComponent from the ReactOnRails object in order to stop users from getting errors during Webpack compilation about needing the `stream-browserify` package. [PR 1680](https://github.com/shakacode/react_on_rails/pull/1680) by [judahmeek](https://github.com/judahmeek).
216
- - Removed obsolete `js-yaml` peer dependency. [PR 1678](https://github.com/shakacode/react_on_rails/pull/1678) by [alexeyr-ci](https://github.com/alexeyr-ci).
217
-
218
- ### [14.1.0] - 2025-01-06
219
-
220
- #### Fixed
221
-
222
- - Incorrect type and confusing name for `ReactOnRails.registerStore`, use `registerStoreGenerators` instead. [PR 1651](https://github.com/shakacode/react_on_rails/pull/1651) by [alexeyr-ci](https://github.com/alexeyr-ci).
223
- - Changed the ReactOnRails' version checker to use `ReactOnRails.configuration.node_modules_location` to determine the location of the package.json that the `react-on-rails` dependency is expected to be set by.
224
- - Also, all errors that would be raised by the version checking have been converted to `Rails.Logger` warnings to avoid any breaking changes. [PR 1657](https://github.com/shakacode/react_on_rails/pull/1657) by [judahmeek](https://github.com/judahmeek).
225
- - Enable use as a `git:` dependency. [PR 1664](https://github.com/shakacode/react_on_rails/pull/1664) by [alexeyr-ci](https://github.com/alexeyr-ci).
226
-
227
- #### Added
228
-
229
- - Added streaming server rendering support:
230
- - [PR #1633](https://github.com/shakacode/react_on_rails/pull/1633) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
231
- - New `stream_react_component` helper for adding streamed components to views
232
- - New `streamServerRenderedReactComponent` function in the react-on-rails package that uses React 18's `renderToPipeableStream` API
233
- - Enables progressive page loading and improved performance for server-rendered React components
234
- - Added support for replaying console logs that occur during server rendering of streamed React components. This enables debugging of server-side rendering issues by capturing and displaying console output on the client and on the server output. [PR #1647](https://github.com/shakacode/react_on_rails/pull/1647) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
235
- - Added support for handling errors happening during server rendering of streamed React components. It handles errors that happen during the initial render and errors that happen inside suspense boundaries. [PR #1648](https://github.com/shakacode/react_on_rails/pull/1648) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
236
- - Added support for passing options to `YAML.safe_load` when loading locale files with `config.i18n_yml_safe_load_options`. [PR #1668](https://github.com/shakacode/react_on_rails/pull/1668) by [dzirtusss](https://github.com/dzirtusss).
237
-
238
- #### Changed
239
-
240
- - Console replay script generation now awaits the render request promise before generating, allowing it to capture console logs from asynchronous operations. This requires using a version of the Node renderer that supports replaying async console logs. [PR #1649](https://github.com/shakacode/react_on_rails/pull/1649) by [AbanoubGhadban](https://github.com/AbanoubGhadban).
241
-
242
- ### [14.0.5] - 2024-08-20
243
-
244
- #### Fixed
245
-
246
- - Should force load react-components which send over turbo-stream [PR #1620](https://github.com/shakacode/react_on_rails/pull/1620) by [theforestvn88](https://github.com/theforestvn88).
247
-
248
- ### [14.0.4] - 2024-07-02
249
-
250
- #### Improved
251
-
252
- - Improved dependency management by integrating package_json. [PR 1639](https://github.com/shakacode/react_on_rails/pull/1639) by [vaukalak](https://github.com/vaukalak).
253
-
254
- #### Changed
255
-
256
- - Update outdated GitHub Actions to use Node.js 20.0 versions instead [PR 1623](https://github.com/shakacode/react_on_rails/pull/1623) by [adriangohjw](https://github.com/adriangohjw).
257
-
258
- ### [14.0.3] - 2024-06-28
259
-
260
- #### Fixed
261
-
262
- - Fixed css-loader installation with [PR 1634](https://github.com/shakacode/react_on_rails/pull/1634) by [vaukalak](https://github.com/vaukalak).
263
- - Address a number of typos and grammar mistakes [PR 1631](https://github.com/shakacode/react_on_rails/pull/1631) by [G-Rath](https://github.com/G-Rath).
264
- - Adds an adapter module & improves test suite to support all versions of Shakapacker. [PR 1622](https://github.com/shakacode/react_on_rails/pull/1622) by [adriangohjw](https://github.com/adriangohjw) and [judahmeek](https://github.com/judahmeek).
265
-
266
- ### [14.0.2] - 2024-06-11
267
-
268
- #### Fixed
269
-
270
- - Generator errors with Shakapacker v8+ fixed [PR 1629](https://github.com/shakacode/react_on_rails/pull/1629) by [vaukalak](https://github.com/vaukalak)
271
-
272
- ### [14.0.1] - 2024-05-16
273
-
274
- #### Fixed
275
-
276
- - Pack Generation: Added functionality that will add an import statement, if missing, to the server bundle entry point even if the auto-bundle generated files still exist [PR 1610](https://github.com/shakacode/react_on_rails/pull/1610) by [judahmeek](https://github.com/judahmeek).
277
-
278
- ### [14.0.0] - 2024-04-03
279
-
280
- _Major bump because dropping support for Ruby 2.7 and deprecated `webpackConfigLoader.js`._
281
-
282
- #### Removed
283
-
284
- - Dropped Ruby 2.7 support [PR 1595](https://github.com/shakacode/react_on_rails/pull/1595) by [ahangarha](https://github.com/ahangarha).
285
- - Removed deprecated `webpackConfigLoader.js` [PR 1600](https://github.com/shakacode/react_on_rails/pull/1600) by [ahangarha](https://github.com/ahangarha).
286
-
287
- #### Fixed
288
-
289
- - Trimmed the Gem to remove package.json which could cause superflous security warnings. [PR 1605](https://github.com/shakacode/react_on_rails/pull/1605) by [justin808](https://github.com/justin808).
290
- - Prevent displaying the deprecation message for using `webpacker_precompile?` method and `webpacker:clean` rake task when using Shakapacker v7+ [PR 1592](https://github.com/shakacode/react_on_rails/pull/1592) by [ahangarha](https://github.com/ahangarha).
291
- - Fixed Typescript types for ServerRenderResult, ReactComponent, RenderFunction, and RailsContext interfaces. [PR 1582](https://github.com/shakacode/react_on_rails/pull/1582) & [PR 1585](https://github.com/shakacode/react_on_rails/pull/1585) by [kotarella1110](https://github.com/kotarella1110)
292
- - Removed a workaround in `JsonOutput#escape` for an no-longer supported Rails version. Additionally, removed `Utils.rails_version_less_than_4_1_1`
293
- which was only used in the workaround. [PR 1580](https://github.com/shakacode/react_on_rails/pull/1580) by [wwahammy](https://github.com/wwahammy)
294
-
295
- #### Added
296
-
297
- - Exposed TypeScript all types [PR 1586](https://github.com/shakacode/react_on_rails/pull/1586) by [kotarella1110](https://github.com/kotarella1110)
298
-
299
- ### [13.4.0] - 2023-07-30
300
-
301
- #### Fixed
302
-
303
- - Fixed Pack Generation logic during `assets:precompile` if `auto_load_bundle` is `false` & `components_subdirectory` is not set. [PR 1567](https://github.com/shakacode/react_on_rails/pull/1545) by [blackjack26](https://github.com/blackjack26) & [judahmeek](https://github.com/judahmeek).
304
-
305
- #### Improved
306
-
307
- - Improved performance by removing an unnecessary JS eval from Ruby. [PR 1544](https://github.com/shakacode/react_on_rails/pull/1544) by [wyattades](https://github.com/wyattades).
308
-
309
- #### Added
310
-
311
- - Added support for Shakapacker 7 in install generator [PR 1548](https://github.com/shakacode/react_on_rails/pull/1548) by [ahangarha](https://github.com/ahangarha).
312
-
313
- #### Changed
314
-
315
- - Throw error when attempting to redefine ReactOnRails. [PR 1562](https://github.com/shakacode/react_on_rails/pull/1562) by [rubenochiavone](https://github.com/rubenochiavone).
316
- - Prevent generating FS-based packs when `component_subdirectory` configuration is not present. [PR 1567](https://github.com/shakacode/react_on_rails/pull/1567) by [blackjack26](https://github.com/blackjack26).
317
- - Removed a requirement for autoloaded pack files to be generated as part of CI or deployment separate from initial Shakapacker bundling. [PR 1545](https://github.com/shakacode/react_on_rails/pull/1545) by [judahmeek](https://github.com/judahmeek).
318
-
319
- ### [13.3.5] - 2023-05-31
320
-
321
- #### Fixed
322
-
323
- - Fixed race condition where a React component could attempt to initialize before it had been registered. [PR 1540](https://github.com/shakacode/react_on_rails/pull/1540) by [judahmeek](https://github.com/judahmeek).
324
-
325
- ### [13.3.4] - 2023-05-23
326
-
327
- #### Added
328
-
329
- - Improved functionality of Filesystem-based pack generation & auto-bundling. Added `make_generated_server_bundle_the_entrypoint` configuration key. [PR 1531](https://github.com/shakacode/react_on_rails/pull/1531) by [judahmeek](https://github.com/judahmeek).
330
-
331
- #### Removed
332
-
333
- - Removed unneeded `HMR=true` from `Procfile.dev` in install template [PR 1537](https://github.com/shakacode/react_on_rails/pull/1537) by [ahangarha](https://github.com/ahangarha).
334
-
335
- ### [13.3.3] - 2023-03-21
336
-
337
- #### Fixed
338
-
339
- - Fixed bug regarding loading FS-based packs. [PR 1527](https://github.com/shakacode/react_on_rails/pull/1527) by [judahmeek](https://github.com/judahmeek).
340
-
341
- ### [13.3.2] - 2023-02-24
342
-
343
- #### Fixed
344
-
345
- - Fixed the bug in `bin/dev` and `bin/dev-static` scripts by using `system` instead of `exec` and remove option to pass arguments [PR 1519](https://github.com/shakacode/react_on_rails/pull/1519) by [ahangarha](https://github.com/ahangarha).
346
-
347
- ### [13.3.1] - 2023-01-30
348
-
349
- #### Added
350
-
351
- - Optimized `ReactOnRails::TestHelper`'s RSpec integration using `when_first_matching_example_defined`. [PR 1496](https://github.com/shakacode/react_on_rails/pull/1496) by [mcls](https://github.com/mcls).
352
-
353
- #### Fixed
354
-
355
- - Fixed bug regarding FS-based packs generation. [PR 1515](https://github.com/shakacode/react_on_rails/pull/1515) by [pulkitkkr](https://github.com/pulkitkkr).
356
-
357
- ### [13.3.0] - 2023-01-29
358
-
359
- #### Fixed
360
-
361
- - Fixed pack not found warning while using `react_component` and `react_component_hash` helpers, even when corresponding chunks are present. [PR 1511](https://github.com/shakacode/react_on_rails/pull/1511) by [pulkitkkr](https://github.com/pulkitkkr).
362
- - Fixed FS-based packs generation functionality to trigger pack generation on the creation of a new React component inside `components_subdirectory`. [PR 1506](https://github.com/shakacode/react_on_rails/pull/1506) by [pulkitkkr](https://github.com/pulkitkkr).
363
- - Upgrade several JS dependencies to fix security issues. [PR 1514](https://github.com/shakacode/react_on_rails/pull/1514) by [ahangarha](https://github.com/ahangarha).
364
-
365
- #### Added
366
-
367
- - Added `./bin/dev` and `./bin/dev-static` executables to ease and standardize running the dev server. [PR 1491](https://github.com/shakacode/react_on_rails/pull/1491) by [ahangarha](https://github.com/ahangarha).
368
-
369
- ### [13.2.0] - 2022-12-23
370
-
371
- #### Fixed
372
-
373
- - Fix reactOnRailsPageUnloaded when there is no component on the page. Important for apps using both hotwire and react_on_rails. [PR 1498](https://github.com/shakacode/react_on_rails/pull/1498) by [NhanHo](https://github.com/NhanHo).
374
- - Fixing wrong type. The throwIfMissing param of getStore should be optional as it defaults to true. [PR 1480](https://github.com/shakacode/react_on_rails/pull/1480) by [wouldntsavezion](https://github.com/wouldntsavezion).
375
-
376
- #### Added
377
-
378
- - Exposed `reactHydrateOrRender` utility via [PR 1481](https://github.com/shakacode/react_on_rails/pull/1481) by [vaukalak](https://github.com/vaukalak).
379
-
380
- ### [13.1.0] - 2022-08-20
381
-
382
- #### Improved
383
-
384
- - Removed addition of `mini_racer` gem by default. [PR 1453](https://github.com/shakacode/react_on_rails/pull/1453) by [vtamara](https://github.com/vtamara) and [tomdracz](https://github.com/tomdracz).
385
-
386
- Using `mini_racer` makes most sense when deploying or building in environments that do not have Javascript runtime present. Since `react_on_rails` requires Node.js, there's no reason to override `ExecJS` runtime with `mini_racer`.
387
-
388
- To migrate this change, remove `mini_racer` gem from your `Gemfile` and test your app for correct behaviour. You can continue using `mini_racer` and it will be still picked as the default `ExecJS` runtime, if present in your app `Gemfile`.
389
-
390
- - Upgraded the example test app in `spec/dummy` to React 18. [PR 1463](https://github.com/shakacode/react_on_rails/pull/1463) by [alexeyr](https://github.com/alexeyr).
391
-
392
- - Added file-system-based automatic bundle generation feature. [PR 1455](https://github.com/shakacode/react_on_rails/pull/1455) by [pulkitkkr](https://github.com/pulkitkkr).
393
-
394
- #### Fixed
395
-
396
- - Correctly unmount roots under React 18. [PR 1466](https://github.com/shakacode/react_on_rails/pull/1466) by [alexeyr](https://github.com/alexeyr).
397
-
398
- - Fixed the `You are importing hydrateRoot from "react-dom" [...] You should instead import it from "react-dom/client"` warning under React 18 ([#1441](https://github.com/shakacode/react_on_rails/issues/1441)). [PR 1460](https://github.com/shakacode/react_on_rails/pull/1460) by [alexeyr](https://github.com/alexeyr).
399
-
400
- In exchange, you may see a warning like this when building using any version of React below 18:
401
-
402
- ```
403
- WARNING in ./node_modules/react-on-rails/node_package/lib/reactHydrateOrRender.js19:25-52
404
- Module not found: Error: Can't resolve 'react-dom/client' in '/home/runner/work/react_on_rails/react_on_rails/spec/dummy/node_modules/react-on-rails/node_package/lib'
405
- @ ./node_modules/react-on-rails/node_package/lib/ReactOnRails.js 34:45-78
406
- @ ./client/app/packs/client-bundle.js 5:0-42 32:0-23 35:0-21 59:0-26
407
- ```
408
-
409
- It can be safely [suppressed](https://webpack.js.org/configuration/other-options/#ignorewarnings) in your Webpack configuration.
410
-
411
- ### [13.0.2] - 2022-03-09
412
-
413
- #### Fixed
414
-
415
- - React 16 doesn't support version property, causing problems loading React on Rails. [PR 1435](https://github.com/shakacode/react_on_rails/pull/1435) by [justin808](https://github.com/justin808).
416
-
417
- ### [13.0.1] - 2022-02-09
418
-
419
- #### Improved
420
-
421
- - Updated the default generator. [PR 1431](https://github.com/shakacode/react_on_rails/pull/1431) by [justin808](https://github.com/justin808).
422
-
423
- ### [13.0.0] - 2022-02-08
424
-
425
- #### Breaking
426
-
427
- - Removed webpacker as a dependency. Add gem Shakapacker to your project, and update your package.json to also use shakapacker.
428
-
429
- #### Fixed
430
-
431
- - Proper throwing of exceptions.
432
- - Default configuration better handles test env.
433
-
434
- ### [12.6.0] - 2022-01-22
435
-
436
- #### Added
437
-
438
- - A `rendering_props_extension` configuration which takes a module with an `adjust_props_for_client_side_hydration` method, which is used to process props differently for server/client if `prerender` is set to `true`. [PR 1413](https://github.com/shakacode/react_on_rails/pull/1413) by [gscarv13](https://github.com/gscarv13) & [judahmeek](https://github.com/judahmeek).
439
-
440
- ### [12.5.2] - 2021-12-29
441
-
442
- #### Fixed
443
-
444
- - Usage of config.build_production_command for custom command for production builds fixed. [PR 1415](https://github.com/shakacode/react_on_rails/pull/1415) by [judahmeek](https://github.com/judahmeek).
445
-
446
- ### [12.5.1] - 2021-12-27
447
-
448
- #### Fixed
449
-
450
- - 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).
451
-
452
- ### [12.5.0] - 2021-12-26
453
-
454
- #### Added
455
-
456
- - 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).
457
- - 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).
458
- - Supports Rails 7.
459
-
460
- #### Changed
461
-
462
- - 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).
463
- - Minimum required Ruby is 2.7 to match latest rails/webpacker.
464
-
465
- ### [12.4.0] - 2021-09-22
466
-
467
- #### Added
468
-
469
- - ScoutAPM tracing support for server rendering [PR 1379](https://github.com/shakacode/react_on_rails/pull/1379) by [justin808](https://github.com/justin808).
470
-
471
- - Ability to stop React on Rails from modifying or creating the `assets:precompile` task. [PR 1371](https://github.com/shakacode/react_on_rails/pull/1371) by [justin808](https://github.com/justin808). Thanks to [elstgav](https://github.com/elstgav) for [the suggestion](https://github.com/shakacode/react_on_rails/issues/1368)!
472
-
473
- - Added the ability to have render functions return a promise to be awaited by React on Rails Pro Node Renderer. [PR 1380](https://github.com/shakacode/react_on_rails/pull/1380) by [judahmeek](https://github.com/judahmeek)
474
-
475
- ### [12.3.0] - 2021-07-26
476
-
477
- #### Added
478
-
479
- - Ability to use with Turbo (@hotwired/turbo), as Turbolinks gets obsolete. [PR 1374](https://github.com/shakacode/react_on_rails/pull/1374) by [pgruener](https://github.com/pgruener) and [PR 1377](https://github.com/shakacode/react_on_rails/pull/1377) by [mdesantis](https://github.com/mdesantis).
480
-
481
- To configure turbo the following option can be set:
482
- `ReactOnRails.setOptions({ turbo: true })`
483
-
484
- ### [12.2.0] - 2021-03-25
485
-
486
- #### Added
487
-
488
- - Ability to configure server React rendering to throw rather than just logging the error. Useful for
489
- React on Rails Pro Node rendering [PR 1365](https://github.com/shakacode/react_on_rails/pull/1365) by [justin808](https://github.com/justin808).
490
-
491
- ### [12.1.0] - 2021-03-23
492
-
493
- #### Added
494
-
495
- - Added the ability to assign a module with a `call` method to `config.build_production_command`. See [the configuration docs](https://www.shakacode.com/react-on-rails/docs/guides/configuration). [PR 1362: Accept custom module for config.build_production_command](https://github.com/shakacode/react_on_rails/pull/1362).
496
-
497
- #### Fixed
498
-
499
- - Stop setting NODE_ENV value during precompile, as it interfered with rails/webpacker's setting of NODE_ENV to production by default. Fixes [#1334](https://github.com/shakacode/react_on_rails/issues/1334). [PR 1356: Don't set NODE_ENV in assets.rake](https://github.com/shakacode/react_on_rails/pull/1356) by [alexrozanski](https://github.com/alexrozanski).
500
-
501
- ### [12.0.4] - 2020-11-14
502
-
503
- #### Fixed
504
-
505
- - Install generator now specifies the version. Fixes [React on Rails Generator installs the older npm package #1336](https://github.com/shakacode/react_on_rails/issues/1336). [PR 1338: Fix Generator to use Exact NPM Version](https://github.com/shakacode/react_on_rails/pull/1338) by [justin808](https://github.com/justin808).
506
-
507
- ### [12.0.3] - 2020-09-20
508
-
509
- #### Fixed
510
-
511
- - Async script loading optimizes page load speed. With this fix, a bundle
512
- can be loaded "async" and a handler function can determine when to hydrate.
513
- For an example of this, see the [docs for loadable-components SSR](https://loadable-components.com/docs/server-side-rendering/#4-add-loadableready-client-side).
514
- [PR 1327](https://github.com/shakacode/react_on_rails/pull/1327) by [justin808](https://github.com/justin808).
515
- Loadable-Components is supported by [React on Rails Pro](https://www.shakacode.com/react-on-rails-pro).
516
-
517
- ### [12.0.2] - 2020-07-09
518
-
519
- #### Fixed
520
-
521
- - Remove dependency upon Redux for Typescript types. [PR 1323](https://github.com/shakacode/react_on_rails/pull/1323) by [justin808](https://github.com/justin808).
522
-
523
- ### [12.0.1] - 2020-07-09
524
-
525
- #### Fixed
526
-
527
- - Changed invocation of webpacker:clean to use a very large number of versions so it does not accidentally delete the server-bundle.js. [PR 1306](https://github.com/shakacode/react_on_rails/pull/1306) by By [justin808](https://github.com/justin808).
528
-
529
- ### [12.0.0] - 2020-07-08
530
-
531
- For upgrade instructions, see [docs/guides/upgrading-react-on-rails.md](https://www.shakacode.com/react-on-rails/docs/guides/upgrading-react-on-rails).
532
-
533
- #### Major Improvements
534
-
535
- 1. **React Hooks Support** for top level components
536
- 2. **Typescript bindings**
537
- 3. **rails/webpacker** "just works" with React on Rails by default.
538
- 4. i18n support for generating a JSON file rather than a JS file.
539
-
540
- #### BREAKING CHANGE
541
-
542
- In order to solve the issues regarding React Hooks compatibility, the number of parameters
543
- for functions is used to determine if you have a generator function that will get invoked to
544
- return a React component, or you are registering a functional React component. Alternately, you can
545
- set JavaScript property `renderFunction` on the function for which you want to return to be
546
- invoked to return the React component. In that case, you won't need to pass any unused params.
547
- [PR 1268](https://github.com/shakacode/react_on_rails/pull/1268) by [justin808](https://github.com/justin808)
548
-
549
- See [docs/guides/upgrading-react-on-rails](https://www.shakacode.com/react-on-rails/docs/guides/upgrading-react-on-rails#upgrading-to-v12)
550
- for details.
551
-
552
- #### Other Updates
553
-
554
- - `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.
555
- - Changed the precompile task to use the rails/webpacker one by default
556
- - Updated generators to use React hooks
557
- - Requires the use of rails/webpacker view helpers
558
- - If the webpacker Webpack config files exist, then React on Rails will not override the default
559
- assets:precompile set up by rails/webpacker. If you are not using the rails/webpacker setup for Webpack,
560
- then be sure to remove the JS files inside of config/webpack, like `config/webpack/production.js.`
561
- - Removed **env_javascript_include_tag** and **env_stylesheet_link_tag** as these are replaced by view helpers
562
- from rails/webpacker
563
- - Removal of support for old Rubies and Rails.
564
- - Removal of config.symlink_non_digested_assets_regex as it's no longer needed with rails/webpacker.
565
- If any business needs this, we can move the code to a separate gem.
566
- - Added configuration option `same_bundle_for_client_and_server` with default `false` because
567
-
568
- 1. Production applications would typically have a server bundle that differs from the client bundle
569
- 2. This change only affects trying to use HMR with react_on_rails with rails/webpacker.
570
-
571
- The previous behavior was to always go to the webpack-dev-server for the server bundle if the
572
- webpack-dev-server was running _and_ the server bundle was found in the `manifest.json`.
573
-
574
- If you are using the **same bundle for client and server rendering**, then set this configuration option
575
- to `true`. By [justin808](https://github.com/shakacode/react_on_rails/pull/1240).
576
-
577
- - Added support to export locales in JSON format. New option added `i18n_output_format` which allows to
578
- specify locales format either `JSON` or `JS`. **`JSON` format is now the default.**
579
-
580
- **Use this config setting to get the old behavior: config.i18n_output_format = 'js'**
581
-
582
- [PR 1271](https://github.com/shakacode/react_on_rails/pull/1271) by [ashgaliyev](https://github.com/ashgaliyev).
583
-
584
- - Added Typescript definitions to the Node package. By [justin808](https://github.com/justin808) and [judahmeek](https://github.com/judahmeek) in [PR 1287](https://github.com/shakacode/react_on_rails/pull/1287).
585
- - Removed restriction to keep the server bundle in the same directory with the client bundles. Rails/webpacker 4 has an advanced cleanup that will remove any files in the directory of other Webpack files. Removing this restriction allows the server bundle to be created in a sibling directory. By [justin808](https://github.com/shakacode/react_on_rails/pull/1240).
586
-
587
- ### [11.3.0] - 2019-05-24
588
-
589
- #### Added
590
-
591
- - Added method for retrieving any option from `render_options` [PR 1213](https://github.com/shakacode/react_on_rails/pull/1213)
592
- by [ashgaliyev](https://github.com/ashgaliyev).
593
-
594
- - html_options has an option for 'tag' to set the html tag name like this: `html_options: { tag: "span" }`.
595
- [PR 1208](https://github.com/shakacode/react_on_rails/pull/1208) by [tahsin352](https://github.com/tahsin352).
596
-
597
- ### [11.2.2] - 2018-12-24
598
-
599
- #### Improved
600
-
601
- - rails_context can more easily be called from controller methods. The mandatory param of server_side has been made optional.
602
-
603
- ### [11.2.1] - 2018-12-06
604
-
605
- ## MIGRATION for v11.2
606
-
607
- - If using **React on Rails Pro**, upgrade react_on_rails_pro to a version >= 1.3.
608
-
609
- #### Improved
610
-
611
- - To support React v16, updated API for manually calling `ReactOnRails.render(name, props, domNodeId, hydrate)`. Added 3rd @param hydrate Pass truthy to update server rendered html. Default is falsey Any truthy values calls hydrate rather than render. [PR 1159](https://github.com/shakacode/react_on_rails/pull/1159) by [justin808](https://github.com/justin808) and [coopersamuel](https://github.com/coopersamuel).
612
-
613
- - Enabled the use of webpack-dev-server with Server-side rendering. [PR 1173](https://github.com/shakacode/react_on_rails/pull/1173) by [justin808](https://github.com/justin808) and [judahmeek](https://github.com/judahmeek).
614
-
615
- #### Changed
616
-
617
- - Changed the default for:
618
-
619
- ```rb
620
- config.raise_on_prerender_error = Rails.env.development?
621
- ```
622
-
623
- Thus, developers will need to fix server rendering errors before continuing.
624
- [PR 1145](https://github.com/shakacode/react_on_rails/pull/1145) by [justin808](https://github.com/justin808).
625
-
626
- ### 11.2.0 - 2018-12-06
627
-
628
- Do not use. Unpublished. Caused by an issue with the release script.
629
-
630
- ### [11.1.8] - 2018-10-14
631
-
632
- #### Improved
633
-
634
- - Improved tutorial and support for HMR when using `rails/webpacker` for Webpack configuration. [PR 1156](https://github.com/shakacode/react_on_rails/pull/1156) by [justin808](https://github.com/justin808).
635
-
636
- ### [11.1.7] - 2018-10-10
637
-
638
- #### Fixed
639
-
640
- - Fixed bug where intl parsing would fail when trying to parse integers or blank entries. by [sepehr500](https://github.com/sepehr500)
641
-
642
- ### [11.1.6] - 2018-10-05
643
-
644
- #### Fixed
645
-
646
- - Fix client startup invoking render prematurely, **AGAIN**. Fix additional cases of client startup failing during interactive readyState". Closes [issue #1150](https://github.com/shakacode/react_on_rails/issues/1150). [PR 1152](https://github.com/shakacode/react_on_rails/pull/1152) by [rakelley](https://github.com/rakelley).
647
-
648
- ### [11.1.5] - 2018-10-03
649
-
650
- #### Fixed
651
-
652
- - Fix client startup invoking render prematurely. Closes [issue #1150](https://github.com/shakacode/react_on_rails/issues/1150). [PR 1151](https://github.com/shakacode/react_on_rails/pull/1151) by [rakelley](https://github.com/rakelley).
653
-
654
- ### [11.1.4] - 2018-09-12
655
-
656
- #### Fixed
657
-
658
- - Ignore Arrays in Rails i18n yml files. [PR 1129](https://github.com/shakacode/react_on_rails/pull/1129) by [vcarel](https://github.com/vcarel).
659
- - Fix to apply transform-runtime. And work with Babel 6 and 7. (Include revert of [PR 1136](https://github.com/shakacode/react_on_rails/pull/1136)) [PR 1140](https://github.com/shakacode/react_on_rails/pull/1140) by [Ryunosuke Sato](https://github.com/tricknotes).
660
- - Upgrade Babel version to 7 [PR 1141](https://github.com/shakacode/react_on_rails/pull/1141) by [Ryunosuke Sato](https://github.com/tricknotes).
661
-
662
- ### [11.1.3] - 2018-08-26
663
-
664
- #### Fixed
665
-
666
- - Don't apply babel-plugin-transform-runtime inside react-on-rails to work with babel 7. [PR 1136](https://github.com/shakacode/react_on_rails/pull/1136) by [Ryunosuke Sato](https://github.com/tricknotes).
667
- - Add support for webpacker 4 prereleases. [PR 1134](https://github.com/shakacode/react_on_rails/pull/1134) by [Judahmeek](https://github.com/Judahmeek))
668
-
669
- ### [11.1.2] - 2018-08-18
670
-
671
- #### Fixed
672
-
673
- - Tests now properly exit if the config.build_test_command fails!
674
- - Source path for project using Webpacker would default to "app/javascript" even if when the node_modules
675
- directory was set to "client". Fix now makes the configuration of this crystal clear.
676
- - renamed method RenderOptions.has_random_dom_id? to RenderOptions.random_dom_id? for rubocop rule.
677
- [PR 1133](https://github.com/shakacode/react_on_rails/pull/1133) by [justin808](https://github.com/justin808)
678
-
679
- ### [11.1.1] - 2018-08-09
680
-
681
- #### Fixed
682
-
683
- - `TRUE` was deprecated in ruby 2.4, using `true` instead. [PR 1128](https://github.com/shakacode/react_on_rails/pull/1128) by [Aguardientico](https://github.com/Aguardientico).
684
-
685
- ### [11.1.0] - 2018-08-07
686
-
687
- #### Added
688
-
689
- - Add random dom id option. This new global and react_component helper option allows configuring whether or not React on Rails will automatically add a random id to the DOM node ID. [PR 1121](https://github.com/shakacode/react_on_rails/pull/1121) by [justin808](https://github.com/justin808)
690
- - Added configuration option random_dom_id
691
- - Added method RenderOptions has_random_dom_id?
692
-
693
- #### Fixed
694
-
695
- - Fix invalid warn directive. [PR 1123](https://github.com/shakacode/react_on_rails/pull/1123) by [mustangostang](https://github.com/mustangostang).
696
-
697
- ### [11.0.10] - 2018-07-22
698
-
699
- #### Fixed
700
-
701
- - Much better logging of rendering errors when there are lots of props. Only the a 1,000 chars are logged, and the center is indicated to be truncated. [PR 1117](https://github.com/shakacode/react_on_rails/pull/1117) and [PR 1118](https://github.com/shakacode/react_on_rails/pull/1118) by [justin808](https://github.com/justin808).
702
- - Properly clearing hydrated stores when server rendering. [PR 1120](https://github.com/shakacode/react_on_rails/pull/1120) by [squadette](https://github.com/squadette).
703
-
704
- ### [11.0.9] - 2018-06-24
705
-
706
- - Handle <script async> for Webpack bundle transparently. Closes [issue #290](https://github.com/shakacode/react_on_rails/issues/290) [PR 1099](https://github.com/shakacode/react_on_rails/pull/1099) by [squadette](https://github.com/squadette). Merged in [PR 1107](https://github.com/shakacode/react_on_rails/pull/1107).
707
-
708
- ### [11.0.8] - 2018-06-15
709
-
710
- #### Fixed
711
-
712
- - HashWithIndifferent access for props threw if used for props. [PR 1100](https://github.com/shakacode/react_on_rails/pull/1100) by [justin808](https://github.com/justin808).
713
- - Test helper for detecting stale bundles did not properly handle the case of a server-bundle.js without a hash.[PR 1102](https://github.com/shakacode/react_on_rails/pull/1102) by [justin808](https://github.com/justin808).
714
- - Fix test helper determination of stale assets. [PR 1093](https://github.com/shakacode/react_on_rails/pull/1093) by [justin808](https://github.com/justin808).
715
-
716
- #### Changed
717
-
718
- - Document how to manually rehydrate XHR-substituted components on client side. [PR 1095](https://github.com/shakacode/react_on_rails/pull/1095) by [hchevalier](https://github.com/hchevalier).
719
-
720
- ### [11.0.7] - 2018-05-16
721
-
722
- #### Fixed
723
-
724
- - Fix npm publishing. [PR 1090](https://github.com/shakacode/react_on_rails/pull/1090) by [justin808](https://github.com/justin808).
725
-
726
- ### [11.0.6] - 2018-05-15
727
-
728
- #### Changed
729
-
730
- - Even more detailed errors for Honeybadger and Sentry when there's a JSON parse error on server rendering. [PR 1086](https://github.com/shakacode/react_on_rails/pull/1086) by [justin808](https://github.com/justin808).
731
-
732
- ### [11.0.5] - 2018-05-11
733
-
734
- #### Changed
735
-
736
- - More detailed errors for Honeybadger and Sentry. [PR 1081](https://github.com/shakacode/react_on_rails/pull/1081) by [justin808](https://github.com/justin808).
737
-
738
- ### [11.0.4] - 2018-05-3
739
-
740
- #### Changed
741
-
742
- - Throw if configuration.generated_assets_dir specified, and using webpacker, and if that doesn't match the public_output_path. Otherwise, warn if generated_assets_dir is specified
743
- - Fix the setup for tests for spec/dummy so they automatically rebuild by correctly setting the source_path in the webpacker.yml
744
- - Updated documentation for the testing setup.
745
- - Above in [PR 1072](https://github.com/shakacode/react_on_rails/pull/1072) by [justin808](https://github.com/justin808).
746
- - `react_component_hash` has implicit `prerender: true` because it makes no sense to have react_component_hash not use prerrender. Improved docs on `react_component_hash`. Also, fixed issue where checking gem existence. [PR 1077](https://github.com/shakacode/react_on_rails/pull/1077) by [justin808](https://github.com/justin808).
747
-
748
- ### [11.0.3] - 2018-04-24
749
-
750
- #### Fixed
751
-
752
- - Fixed issue with component script initialization when using react_component_hash. [PR 1071](https://github.com/shakacode/react_on_rails/pull/1071) by [jblasco3](https://github.com/jblasco3).
753
-
754
- ### [11.0.2] - 2018-04-24
755
-
756
- #### Fixed
757
-
758
- - Server rendering error for React on Rails Pro. [PR 1069](https://github.com/shakacode/react_on_rails/pull/1069) by [justin808](https://github.com/justin808).
759
-
760
- ### [11.0.1] - 2018-04-23
761
-
762
- #### Added
763
-
764
- - `react_component` allows logging_on_server specified at the component level. [PR 1068](https://github.com/shakacode/react_on_rails/pull/1068) by [justin808](https://github.com/justin808).
765
-
766
- #### Fixed
767
-
768
- - Missing class when throwing some error messages. [PR 1068](https://github.com/shakacode/react_on_rails/pull/1068) by [justin808](https://github.com/justin808).
769
-
770
- ### [11.0.0] - 2018-04-21
771
-
772
- ## MIGRATION for v11
773
-
774
- - Unused `server_render_method` was removed from the configuration. If you want to use a custom renderer, contact justin@shakacode.com. We have a custom node rendering solution in production for egghead.io.
775
- - Removed ReactOnRails::Utils.server_bundle_file_name and ReactOnRails::Utils.bundle_file_name. These are part of the performance features of "React on Rails Pro".
776
- - Removed ENV["TRACE_REACT_ON_RAILS"] usage and replacing it with config.trace.
777
-
778
- #### Enhancements: Better Error Messages, Support for React on Rails Pro
779
-
780
- - Tracing (debugging) options are simplified with a single `config.trace` setting that defaults to true for development and false otherwise.
781
- - Calls to setTimeout, setInterval, clearTimeout will now always log some message if config.trace is true. Your JavaScript code should not be calling setTimout when server rendering.
782
- - Errors raised are of type ReactOnRailsError, so you can see they came from React on Rails for debugging.
783
- - Removed ReactOnRails::Utils.server_bundle_file_name and ReactOnRails::Utils.bundle_file_name.
784
- - No longer logging the `railsContext` when server logging.
785
- - Rails.env is provided in the default railsContext, as suggested in [issue #697](https://github.com/shakacode/react_on_rails/issues/697).
786
- [PR 1065](https://github.com/shakacode/react_on_rails/pull/1065) by [justin808](https://github.com/justin808).
787
-
788
- #### Fixes
789
-
790
- - More exact version checking. We keep the react_on_rails gem and the react-on-rails node package at
791
- the same exact versions so that we can be sure that the interaction between them is precise.
792
- This is so that if a bug is detected after some update, it's critical that
793
- both the gem and the node package get the updates. This change ensures that the package.json specification does not use a
794
- ~ or ^ as reported in [issue #1062](https://github.com/shakacode/react_on_rails/issues/1062). [PR 1063](https://github.com/shakacode/react_on_rails/pull/1063) by [justin808](https://github.com/justin808).
795
- - Sprockets: Now use the most recent manifest when creating symlinks. See [issue #1023](https://github.com/shakacode/react_on_rails/issues/1023). [PR 1064](https://github.com/shakacode/react_on_rails/pull/1064) by [justin808](https://github.com/justin808).
796
-
797
- ### [10.1.4] - 2018-04-11
798
-
799
- #### Fixed
800
-
801
- - Changed i18n parsing to convert ruby i18n argument syntax into FormatJS argument syntax. [PR 1046](https://github.com/shakacode/react_on_rails/pull/1046) by [sepehr500](https://github.com/sepehr500).
802
-
803
- - Fixed an issue where the spec compiler check would fail if the project path contained spaces. [PR 1045](https://github.com/shakacode/react_on_rails/pull/1045) by [andrewmarkle](https://github.com/andrewmarkle).
804
-
805
- - Updated the default `build_production_command` that caused production assets to be built with development settings. [PR 1053](https://github.com/shakacode/react_on_rails/pull/1053) by [Roman Kushnir](https://github.com/RKushnir).
806
-
807
- ### [10.1.3] - 2018-02-28
808
-
809
- #### Fixed
810
-
811
- - Improved error reporting on version mismatches between Javascript and Ruby packages. [PR 1025](https://github.com/shakacode/react_on_rails/pull/1025) by [theJoeBiz](https://github.com/squadette).
812
-
813
- ### [10.1.2] - 2018-02-27
814
-
815
- #### Fixed
816
-
817
- - Use ReactDOM.hydrate() for hydrating a SSR component if available. ReactDOM.render() has been deprecated for use on SSR components in React 16 and this addresses the warning. [PR 1028](https://github.com/shakacode/react_on_rails/pull/1028) by [theJoeBiz](https://github.com/theJoeBiz).
818
-
819
- ### [10.1.1] - 2018-01-26
820
-
821
- #### Fixed
822
-
823
- - Fixed issue with server-rendering error handler: [PR 1020](https://github.com/shakacode/react_on_rails/pull/1020) by [jblasco3](https://github.com/jblasco3).
824
-
825
- ### [10.1.0] - 2018-01-23
826
-
827
- #### Added
828
-
829
- - Added 2 cache helpers: ReactOnRails::Utils.bundle_file_name(bundle_name) and ReactOnRails::Utils.server_bundle_file_name
830
- for easy access to the hashed filenames for use in cache keys. [PR 1018](https://github.com/shakacode/react_on_rails/pull/1018) by [justin808](https://github.com/justin808).
831
-
832
- #### Fixed
833
-
834
- - Use Redux component in the generated Redux Hello World example: [PR 1006](https://github.com/shakacode/react_on_rails/pull/1006) by [lewaabahmad](https://github.com/lewaabahmad).
835
- - Fixed `Utils.bundle_js_file_path` generating the incorrect path for `manifest.json` in webpacker projects: [Issue #1011](https://github.com/shakacode/react_on_rails/issues/1011) by [elstgav](https://github.com/elstgav)
836
-
837
- ### [10.0.2] - 2017-11-10
838
-
839
- #### Fixed
840
-
841
- - Remove unnecessary dependencies from released NPM package: [PR 968](https://github.com/shakacode/react_on_rails/pull/968) by [tricknotes](https://github.com/tricknotes).
842
-
843
- ### [10.0.1] - 2017-10-28
844
-
845
- #### Fixed
846
-
847
- - Fixed `react_component_hash` functionality in cases of prerendering errors: [PR 960](https://github.com/shakacode/react_on_rails/pull/960) by [Judahmeek](https://github.com/Judahmeek).
848
- - Fix to add missing dependency to run generator spec individually: [PR 962](https://github.com/shakacode/react_on_rails/pull/962) by [tricknotes](https://github.com/tricknotes).
849
- - Fixes check for i18n_dir in LocalesToJs returning false when i18n_dir was set. [PR 899](https://github.com/shakacode/react_on_rails/pull/899) by [hakongit](https://github.com/hakongit).
850
- - Fixed mistake in rubocop comments that led to errors when handling exceptions in ReactOnRails::ServerRendering::Exec [PR 963](https://github.com/shakacode/react_on_rails/pull/963) by [railsme](https://github.com/railsme).
851
- - Fixed and improved I18n directories checks: [PR 967](https://github.com/shakacode/react_on_rails/pull/967) by [railsme](https://github.com/railsme)
852
-
853
- ### [10.0.0] - 2017-10-08
854
-
855
- #### Created
856
-
857
- - Created `react_component_hash` method for react_helmet support.
858
-
859
- #### Deprecated
860
-
861
- - Deprecated `react_component` functionality for react_helmet support.
862
- To clarify, the method itself is not deprecated, only certain functionality which has been moved to `react_component_hash`
863
- [PR 951](https://github.com/shakacode/react_on_rails/pull/951) by [Judahmeek](https://github.com/Judahmeek).
864
-
865
- ### [9.0.3] - 2017-09-20
866
-
867
- #### Improved
868
-
869
- - Improved comments in generated Procfile.dev-server. [PR 940](https://github.com/shakacode/react_on_rails/pull/940) by [justin808](https://github.com/justin808).
870
-
871
- ### [9.0.2] - 2017-09-10
872
-
873
- #### Fixed
874
-
875
- - Improved post install doc comments for generator. [PR 933](https://github.com/shakacode/react_on_rails/pull/933) by [justin808](https://github.com/justin808).
876
-
877
- ### [9.0.1] - 2017-09-10
878
-
879
- #### Fixed
880
-
881
- - Fixes Rails 3.2 compatability issues. [PR 926](https://github.com/shakacode/react_on_rails/pull/926) by [morozovm](https://github.com/morozovm).
882
-
883
- ### [9.0.0] - 2017-09-06
884
-
885
- Updated React on Rails to depend on [rails/webpacker](https://github.com/rails/webpacker). [PR 908](https://github.com/shakacode/react_on_rails/pull/908) by [justin808](https://github.com/justin808).
886
-
887
- #### 9.0 from 8.x. Upgrade Instructions
888
-
889
- Moved to [our documentation](https://www.shakacode.com/react-on-rails/docs/guides/upgrading-react-on-rails#upgrading-to-version-9).
890
-
891
- ### [8.0.7] - 2017-08-16
892
-
893
- #### Fixed
894
-
895
- - Fixes generator bug by keeping blank line at top in case existing .gitignore does not end in a newline. [#916](https://github.com/shakacode/react_on_rails/pull/916) by [justin808](https://github.com/justin808).
896
-
897
- ### [8.0.6] - 2017-07-19
898
-
899
- #### Fixed
900
-
901
- - Fixes server rendering when using a CDN. Server rendering would try to fetch a file with the "asset_host". This change updates the webpacker_lite dependency to 2.1.0 which has a new helper `pack_path`. [#901](https://github.com/shakacode/react_on_rails/pull/901) by [justin808](https://github.com/justin808). Be sure to update webpacker_lite to 2.1.0.
902
- - The package.json file created by the generator now creates minified javascript production builds by default. This was done by adding the -p flag to Webpack on the build:production script. [#895](https://github.com/shakacode/react_on_rails/pull/895) by [serodriguez68 ](https://github.com/serodriguez68)
903
- - Fixes GitUtils.uncommitted_changes? throwing an error when called in an environment without Git, and allows install generator to be run successfully with `--ignore-warnings` [#878](https://github.com/shakacode/react_on_rails/pull/878) by [jasonblalock](https://github.com/jasonblalock).
904
-
905
- ## [8.0.5] - 2017-07-04
906
-
907
- #### Fixed
908
-
909
- - Corrects `devBuild` value for webpack production build from webpackConfigLoader. [#877](https://github.com/shakacode/react_on_rails/pull/877) by [chenqingspring](https://github.com/chenqingspring).
910
- - Remove contentBase deprecation warning message. [#878](https://github.com/shakacode/react_on_rails/pull/878) by [ened ](https://github.com/ened).
911
- - Removes invalid reference to \_railsContext in the generated files. [#886](https://github.com/shakacode/react_on_rails/pull/886) by [justin808](https://github.com/justin808).
912
- - All tests run against Rails 5.1.2
913
-
914
- _Note: 8.0.4 skipped._
915
-
916
- ## [8.0.3] - 2017-06-19
917
-
918
- #### Fixed
919
-
920
- - Ruby 2.1 issue due to `<<~` as reported in [issue #870](https://github.com/shakacode/react_on_rails/issues/870). [#867](https://github.com/shakacode/react_on_rails/pull/867) by [justin808](https://github.com/justin808)
921
-
922
- ## [8.0.2] - 2017-06-04
923
-
924
- #### Fixed
925
-
926
- - Any failure in webpack to build test files quits tests.
927
- - Fixed a Ruby 2.4 potential crash which could cause a crash due to pathname change in Ruby 2.4.
928
- - CI Improvements:
929
- - Switched to yarn link and removed relative path install of react-on-rails
930
- - Removed testing of Turbolinks 2
931
- - All tests run against Rails 5.1.1
932
- - Fixed test failures against Ruby 2.4
933
- - [#862](https://github.com/shakacode/react_on_rails/pull/862) by [justin808](https://github.com/justin808)
934
-
935
- ## [8.0.1] - 2017-05-30
936
-
937
- #### Fixed
938
-
939
- - Generator no longer modifies `assets.rb`. [#859](https://github.com/shakacode/react_on_rails/pull/859) by [justin808](https://github.com/justin808)
940
-
941
- ## [8.0.0] - 2017-05-29
942
-
943
- - Generators and full support for [webpacker_lite](https://github.com/shakacode/webpacker_lite)
944
- - No breaking changes to move to 8.0.0 other than the default for this setting changed to nil. If you depended on the default of this setting and are using the asset pipeline (and not webpacker_lite), then add this to your `config/initializers/react_on_rails.rb`:
945
- ```
946
- symlink_non_digested_assets_regex: /\.(png|jpg|jpeg|gif|tiff|woff|ttf|eot|svg|map)/,
947
- ```
948
- - For an example of migration, see: [react-webpack-rails-tutorial PR #395](https://github.com/shakacode/react-webpack-rails-tutorial/pull/395)
949
- - For a simple example of the webpacker_lite setup, run the basic generator.
950
-
951
- ## [8.0.0-beta.3] - 2017-05-27
952
-
953
- #### Changed
954
-
955
- - Major updates for WebpackerLite 2.0.2. [#844](https://github.com/shakacode/react_on_rails/pull/845) by [justin808](https://github.com/justin808) with help from ](https://github.com/robwise)
956
- - Logging no longer occurs when trace is turned to false. [#845](https://github.com/shakacode/react_on_rails/pull/845) by [conturbo](https://github.com/Conturbo)
957
-
958
- ## [8.0.0-beta.2] - 2017-05-08
959
-
960
- #### Changed
961
-
962
- Removed unnecessary values in default paths.yml files for generators. [#834](https://github.com/shakacode/react_on_rails/pull/834) by [justin808](https://github.com/justin808).
963
-
964
- ## [8.0.0-beta.1] - 2017-05-03
965
-
966
- #### Added
967
-
968
- Support for WebpackerLite in the generators. [#822](https://github.com/shakacode/react_on_rails/pull/822) by [kaizencodes](https://github.com/kaizencodes) and [justin808](https://github.com/justin808).
969
-
970
- #### Changed
971
-
972
- Breaking change is that the default value of symlink_non_digested_assets_regex has changed from this
973
- old value to nil. This is a breaking change if you didn't have this value set in your
974
- config/initializers/react_on_rails.rb file and you need this because you're using webpack's CSS
975
- features and you have not switched to webpacker lite.
976
-
977
- ```
978
- symlink_non_digested_assets_regex: /\.(png|jpg|jpeg|gif|tiff|woff|ttf|eot|svg|map)/,
979
- ```
980
-
981
- ## [7.0.4] - 2017-04-27
982
-
983
- - Return empty json when nil in json_safe_and_pretty [#824](https://github.com/shakacode/react_on_rails/pull/824) by [dzirtusss](https://github.com/dzirtusss)
984
-
985
- ## [7.0.3] - 2017-04-27
986
-
987
- Same as 7.0.1.
988
-
989
- ## 7.0.2 - 2017-04-27
990
-
991
- _Accidental release of beta gem here_
992
-
993
- ## [7.0.1] - 2017-04-27
994
-
995
- #### Fixed
996
-
997
- - Fix to handle nil values in json_safe_and_pretty [#823](https://github.com/shakacode/react_on_rails/pull/823) by [dzirtusss](https://github.com/dzirtusss)
998
-
999
- ## [7.0.0] - 2017-04-25
1000
-
1001
- #### Changed
1002
-
1003
- - Any version differences in gem and node package for React on Rails throw an error [#821](https://github.com/shakacode/react_on_rails/pull/821) by [justin808](https://github.com/justin808)
1004
-
1005
- #### Fixed
1006
-
1007
- - Fixes serious performance regression when using String props for rendering. [#821](https://github.com/shakacode/react_on_rails/pull/821) by [justin808](https://github.com/justin808)
1008
-
1009
- ## [6.10.1] - 2017-04-23
1010
-
1011
- #### Fixed
1012
-
1013
- - Improve json conversion with tests and support for older Rails 3.x. [#787](https://github.com/shakacode/react_on_rails/pull/787) by [cheremukhin23](https://github.com/cheremukhin23) and [Ynote](https://github.com/Ynote).
1014
-
1015
- ## [6.10.0] - 2017-04-13
1016
-
1017
- #### Added
1018
-
1019
- - Add an ability to return multiple HTML strings in a `Hash` as a result of `react_component` method call. Allows to build `<head>` contents with [React Helmet](https://github.com/nfl/react-helmet). [#800](https://github.com/shakacode/react_on_rails/pull/800) by [udovenko](https://github.com/udovenko).
1020
-
1021
- #### Fixed
1022
-
1023
- - Fix PropTypes, createClass deprecation warnings for React 15.5.x. [#804](https://github.com/shakacode/react_on_rails/pull/804) by [udovenko ](https://github.com/udovenko).
1024
-
1025
- ## [6.9.3] - 2017-04-03
1026
-
1027
- #### Fixed
1028
-
1029
- - Removed call of to_json on strings when formatting props. [#791](https://github.com/shakacode/react_on_rails/pull/791) by [justin808](https://github.com/justin808).
1030
-
1031
- ## [6.9.2] - 2017-04-02
1032
-
1033
- #### Changed
1034
-
1035
- - Update version_checker.rb to `logger.error` rather than `logger.warn` for gem/npm version mismatch. [#788](https://github.com/shakacode/react_on_rails/issues/788) by [justin808](https://github.com/justin808).
1036
-
1037
- #### Fixed
1038
-
1039
- - Remove pretty formatting of JSON in development. [#789](https://github.com/shakacode/react_on_rails/pull/789) by [justin808](https://github.com/justin808)
1040
- - Clear hydrated stores with each server rendered block. [#785](https://github.com/shakacode/react_on_rails/pull/785) by [udovenko](https://github.com/udovenko)
1041
-
1042
- ## [6.9.1] - 2017-03-30
1043
-
1044
- #### Fixed
1045
-
1046
- - Fixes Crash in Development for String Props. [#784](https://github.com/shakacode/react_on_rails/issues/784) by [justin808](https://github.com/justin808).
1047
-
1048
- ## [6.9.0] - 2017-03-29
1049
-
1050
- #### Fixed
1051
-
1052
- - Fixed error in the release script. [#767](https://github.com/shakacode/react_on_rails/issues/767) by [isolo](https://github.com/isolo).
1053
-
1054
- #### Changed
1055
-
1056
- - Use <script type="application/json"> for props and store instead of hidden div. [#775] (https://github.com/shakacode/react_on_rails/pull/775) by [cheremukhin23](https://github.com/cheremukhin23).
1057
-
1058
- #### Added
1059
-
1060
- - Add option to specify i18n_yml_dir in order to include only subset of locale files when generating translations.js & default.js for react-intl.
1061
- [#777](https://github.com/shakacode/react_on_rails/pull/777) by [danijel](https://github.com/danijel).
1062
-
1063
- ## [6.8.2] - 2017-03-24
1064
-
1065
- #### Fixed
1066
-
1067
- - Change webpack output path to absolute and update webpack to version ^2.3.1. [#771](https://github.com/shakacode/react_on_rails/pull/771) by [cheremukhin23](https://github.com/cheremukhin23).
1068
-
1069
- ## [6.8.1] - 2017-03-21
1070
-
1071
- #### Fixed
1072
-
1073
- - Fixed error "The node you're attempting to unmount was rendered by another copy of React." [#706](https://github.com/shakacode/react_on_rails/issues/706) when navigating to cached page using Turbolinks [#763](https://github.com/shakacode/react_on_rails/pull/763) by [szyablitsky](https://github.com/szyablitsky).
1074
-
1075
- ## [6.8.0] - 2017-03-06
1076
-
1077
- ## Added
1078
-
1079
- - Converted to Webpack v2 for generators, tests, and all example code. [#742](https://github.com/shakacode/react_on_rails/pull/742) by [justin808](https://github.com/justin808).
1080
-
1081
- ## [6.7.2] - 2017-03-05
1082
-
1083
- #### Improved
1084
-
1085
- - Improve i18n Integration with a better error message if the value of the i18n directory is invalid. [#748](https://github.com/shakacode/react_on_rails/pull/748) by [justin808](https://github.com/justin808).
1086
-
1087
- ## [6.7.1] - 2017-02-28
1088
-
1089
- No changes other than a test fix.
1090
-
1091
- ## [6.7.0] - 2017-02-28
1092
-
1093
- #### IMPORTANT
1094
-
1095
- - If you installed 6.6.0, you will need to comment out the line matching i18n_dir unless you are using this feature. 6.7.1 will give you an error like:
1096
-
1097
- ```
1098
- Errno::ENOENT: No such file or directory @ rb_sysopen - /tmp/build_1444a5bb9dd16ddb2561c7aff40f0fc7/my-app-816d31e9896edd90cecf1402acd002c724269333/client/app/libs/i18n/translations.js
1099
- ```
1100
-
1101
- Commenting out this line addresses the issue:
1102
-
1103
- ```
1104
- config.i18n_dir = Rails.root.join("client", "app", "libs", "i18n")
1105
- ```
1106
-
1107
- #### Added
1108
-
1109
- - Allow using rake task to generate javascript locale files. The test helper automatically creates the localization files when needed. [#717](https://github.com/shakacode/react_on_rails/pull/717) by [JasonYCHuang](https://github.com/JasonYCHuang).
1110
-
1111
- #### Fixed
1112
-
1113
- - Upgrade Rails to 4.2.8 to fix security vulnerabilities in 4.2.5. [#735](https://github.com/shakacode/react_on_rails/pull/735) by [hrishimittal](https://github.com/hrishimittal).
1114
- - Fix spec failing due to duplicate component. [#734](https://github.com/shakacode/react_on_rails/pull/734) by [hrishimittal](https://github.com/hrishimittal).
1115
-
1116
- ## [6.6.0] - 2017-02-18
1117
-
1118
- #### Added
1119
-
1120
- - Switched to yarn! [#715](https://github.com/shakacode/react_on_rails/pull/715) by [squadette](https://github.com/squadette).
1121
-
1122
- ## [6.5.1] - 2017-02-11
1123
-
1124
- #### Fixed
1125
-
1126
- - Allow using gem without sprockets. [#671](https://github.com/shakacode/react_on_rails/pull/671) by [fc-arny](https://github.com/fc-arny).
1127
- - Fixed issue [#706](https://github.com/shakacode/react_on_rails/issues/706) with "flickering" components when they are unmounted too early [#709](https://github.com/shakacode/react_on_rails/pull/709) by [szyablitsky](https://github.com/szyablitsky).
1128
- - Small formatting fix for errors [#703](https://github.com/shakacode/react_on_rails/pull/703) by [justin808](https://github.com/justin808).
1129
-
1130
- ## [6.5.0] - 2017-01-31
1131
-
1132
- #### Added
1133
-
1134
- - Allow generator function to return Object with property `renderedHtml` (already could return Object with props `redirectLocation, error`) rather than a React component or a function that returns a React component. One reason to use a generator function is that sometimes in server rendering, specifically with React Router v4, you need to return the result of calling ReactDOMServer.renderToString(element). [#689](https://github.com/shakacode/react_on_rails/issues/689) by [justin808](https://github.com/justin808).
1135
-
1136
- #### Fixed
1137
-
1138
- - Fix incorrect "this" references of Node.js SSR [#690](https://github.com/shakacode/react_on_rails/issues/689) by [nostophilia](https://github.com/nostophilia).
1139
-
1140
- ## [6.4.2] - 2017-01-17
1141
-
1142
- #### Fixed
1143
-
1144
- - Added OS detection for install generator, system call for Windows and unit-tests for it. [#666](https://github.com/shakacode/react_on_rails/pull/666) by [GeorgeGorbanev](https://github.com/GeorgeGorbanev).
1145
-
1146
- ## [6.4.1] - 2017-1-17
1147
-
1148
- No changes.
1149
-
1150
- ## [6.4.0] - 2017-1-12
1151
-
1152
- #### Possible Breaking Change
1153
-
1154
- - Since foreman is no longer a dependency of the React on Rails gem, please run `gem install foreman`. If you are using rvm, you may wish to run `rvm @global do gem install foreman` to install foreman for all your gemsets.
1155
-
1156
- #### Fixed
1157
-
1158
- - Removed foreman as a dependency. [#678](https://github.com/shakacode/react_on_rails/pull/678) by [x2es](https://github.com/x2es).
1159
-
1160
- #### Added
1161
-
1162
- - Automatically generate **i18n** javascript files for `react-intl` when the serve starts up. [#642](https://github.com/shakacode/react_on_rails/pull/642) by [JasonYCHuang](https://github.com/JasonYCHuang).
1163
-
1164
- ## [6.3.5] - 2017-1-6
1165
-
1166
- #### Fixed
1167
-
1168
- - The Redux generator now creates a HelloWorld component that uses redux rather than local state. [#669](https://github.com/shakacode/react_on_rails/issues/669) by [justin808](https://github.com/justin808).
1169
-
1170
- ## [6.3.4] - 2016-12-25
1171
-
1172
- ##### Fixed
1173
-
1174
- - Disable Turbolinks support when not supported. [#650](https://github.com/shakacode/react_on_rails/pull/650) by [ka2n](https://github.com/ka2n).
1175
-
1176
- ## [6.3.3] - 2016-12-25
1177
-
1178
- ##### Fixed
1179
-
1180
- - By using the hook on `turbolinks:before-visit` to unmount the components, we can ensure that components are unmounted even when Turbolinks cache is disabled. Previously, we used `turbolinks:before-cache` event hook. [#644](https://github.com/shakacode/react_on_rails/pull/644) by [volkanunsal](https://github.com/volkanunsal).
1181
- - Added support for Ruby 2.0 [#651](https://github.com/shakacode/react_on_rails/pull/651) by [bbonamin](https://github.com/bbonamin).
1182
-
1183
- ## [6.3.2] - 2016-12-5
1184
-
1185
- ##### Fixed
1186
-
1187
- - The `react_component` method was raising a `NameError` when `ReactOnRailsHelper` was included in a plain object. [#636](https://github.com/shakacode/react_on_rails/pull/636) by [jtibbertsma](https://github.com/jtibbertsma).
1188
- - "Node parse error" for node server rendering. [#641](https://github.com/shakacode/react_on_rails/pull/641) by [alleycat-at-git](https://github.com/alleycat-at-git) and [rocLv](https://github.com/rocLv)
1189
- - Better error handling when the react-on-rails node package entry is missing.[#602](https://github.com/shakacode/react_on_rails/pull/602) by [benjiwheeler](https://github.com/benjiwheeler).
1190
-
1191
- ## [6.3.1] - 2016-11-30
1192
-
1193
- ##### Changed
1194
-
1195
- - Improved generator post-install help messages. [#631](https://github.com/shakacode/react_on_rails/pull/631) by [justin808](https://github.com/justin808).
1196
-
1197
- ## [6.3.0] - 2016-11-30
1198
-
1199
- ##### Changed
1200
-
1201
- - Modified register API to allow registration of renderers, allowing a user to manually render their app to the DOM. This allows for code splitting and deferred loading. [#581](https://github.com/shakacode/react_on_rails/pull/581) by [jtibbertsma](https://github.com/jtibbertsma).
1202
-
1203
- - Updated Basic Generator & Linters. Examples are simpler. [#624](https://github.com/shakacode/react_on_rails/pull/624) by [Judahmeek](https://github.com/Judahmeek).
1204
-
1205
- - Slight improvement to the 'no hydrated stores' error. [#605](https://github.com/shakacode/react_on_rails/pull/605) by [cookiefission](https://github.com/cookiefission).
1206
-
1207
- - Don't assume ActionMailer is available. [#608](https://github.com/shakacode/react_on_rails/pull/608) by [tuzz](https://github.com/tuzz).
1208
-
1209
- ## [6.2.1] - 2016-11-19
1210
-
1211
- - Removed unnecessary passing of context in the HelloWorld Container example and basic generator. [#612](https://github.com/shakacode/react_on_rails/pull/612) by [justin808](https://github.com/justin808)
1212
-
1213
- - Turbolinks 5 bugfix to use `before-cache`, not `before-render`. [#611](https://github.com/shakacode/react_on_rails/pull/611) by [volkanunsal](https://github.com/volkanunsal).
1214
-
1215
- ## [6.2.0] - 2016-11-19
1216
-
1217
- ##### Changed
1218
-
1219
- - Updated the generator templates to reflect current best practices, especially for the Redux version. [#584](https://github.com/shakacode/react_on_rails/pull/584) by [nostophilia](https://github.com/nostophilia).
1220
-
1221
- ## [6.1.2] - 2016-10-24
1222
-
1223
- ##### Fixed
1224
-
1225
- - Added compatibility with older manifest.yml files produced by Rails 3 Sprockets when symlinking digested assets during precompilation [#566](https://github.com/shakacode/react_on_rails/pull/566) by [etripier](https://github.com/etripier).
1226
-
1227
- ## [6.1.1] - 2016-09-09
1228
-
1229
- ##### Fixed
1230
-
1231
- - React on Rails was incorrectly failing to create symlinks when a file existed in the location for the new symlink. [#491](https://github.com/shakacode/react_on_rails/pull/541) by [robwise ](https://github.com/robwise) and [justin808](https://github.com/justin808).
1232
-
1233
- ## [6.1.0] - 2016-08-21
1234
-
1235
- ##### Added
1236
-
1237
- - Node option for installer added as alternative for server rendering [#469](https://github.com/shakacode/react_on_rails/pull/469) by [jbhatab](https://github.com/jbhatab).
1238
- - Server rendering now supports contexts outside of browser rendering, such as ActionMailer templates [#486](https://github.com/shakacode/react_on_rails/pull/486) by [eacaps](https://github.com/eacaps).
1239
- - Added authenticityToken() and authenticityHeaders() javascript helpers for easier use when working with CSRF protection tag generated by Rails [#517](https://github.com/shakacode/react_on_rails/pull/517) by [dzirtusss](https://github.com/dzirtusss).
1240
- - Updated JavaScript error handling on the client side. Errors in client rendering now pass through to the browser [#521](https://github.com/shakacode/react_on_rails/pull/521) by [dzirtusss](https://github.com/dzirtusss).
1241
-
1242
- ##### Fixed
1243
-
1244
- - React on Rails now correctly parses single-digit version strings from package.json [#491](https://github.com/shakacode/react_on_rails/pull/491) by [samphilipd ](https://github.com/samphilipd).
1245
- - Fixed assets symlinking to correctly use filenames with spaces. Beginning in [#510](https://github.com/shakacode/react_on_rails/pull/510), ending in [#513](https://github.com/shakacode/react_on_rails/pull/513) by [dzirtusss](https://github.com/dzirtusss).
1246
- - Check encoding of request's original URL and force it to UTF-8 [#527](https://github.com/shakacode/react_on_rails/pull/527) by [lucke84](https://github.com/lucke84)
1247
-
1248
- ## [6.0.5] - 2016-07-11
1249
-
1250
- ##### Added
1251
-
1252
- - Added better error messages to avoid issues with shared Redux stores [#470](https://github.com/shakacode/react_on_rails/pull/470) by [justin808](https://github.com/justin808).
1253
-
1254
- ## [6.0.4] - 2016-06-13
1255
-
1256
- ##### Fixed
1257
-
1258
- - Added a polyfill for `clearTimeout` which is used by `babel-polyfill` [#451](https://github.com/shakacode/react_on_rails/pull/451) by [martyphee](https://github.com/martyphee)
1259
-
1260
- ## [6.0.3] - 2016-06-07
1261
-
1262
- ##### Fixed
1263
-
1264
- - Added assets symlinking support on Heroku [#446](https://github.com/shakacode/react_on_rails/pull/446) by [Alexey Karasev](https://github.com/alleycat-at-git).
1265
-
1266
- ## [6.0.2] - 2016-06-06
1267
-
1268
- ##### Fixed
1269
-
1270
- - Fix collisions in ids of DOM nodes generated by `react_component` by indexing in using a UUID rather than an auto-increment value. This means that it should be overridden using the `id` parameter of `react_component` if one wants to generate a predictable id (_e.g._ for testing purpose). See [Issue #437](https://github.com/shakacode/react_on_rails/issues/437). Fixed in [#438](https://github.com/shakacode/react_on_rails/pull/438) by [Michael Baudino](https://github.com/michaelbaudino).
1271
-
1272
- ## [6.0.1] - 2016-05-27
1273
-
1274
- ##### Fixed
1275
-
1276
- - Allow for older version of manifest.json for older versions of sprockets. See [Issue #435](https://github.com/shakacode/react_on_rails/issues/435). Fixed in [#436](https://github.com/shakacode/react_on_rails/pull/436) by [alleycat-at-git](https://github.com/alleycat-at-git).
1277
-
1278
- ## [6.0.0] - 2016-05-25
1279
-
1280
- ##### Breaking Changes
1281
-
1282
- - Added automatic compilation of assets at precompile is now done by ReactOnRails. Thus, you don't need to provide your own `assets.rake` file that does the precompilation.
1283
- [#398](https://github.com/shakacode/react_on_rails/pull/398) by [robwise](https://github.com/robwise), [jbhatab](https://github.com/jbhatab), and [justin808](https://github.com/justin808).
1284
- - **Migration to v6**
1285
-
1286
- - Do not run the generator again if you've already run it.
1287
-
1288
- - See [shakacode/react-webpack-rails-tutorial/pull/287](https://github.com/shakacode/react-webpack-rails-tutorial/pull/287) for an example of upgrading from v5.
1289
-
1290
- - To configure the asset compilation you can either
1291
-
1292
- 1. Specify a `config/react_on_rails` setting for `build_production_command` to be nil to turn this feature off.
1293
- 2. Specify the script command you want to run to build your production assets, and remove your `assets.rake` file.
1294
-
1295
- - If you are using the ReactOnRails test helper, then you will need to add the 'config.npm_build_test_command' to your config to tell react_on_rails what command to run when you run rspec.
1296
-
1297
- - See [shakacode/react-webpack-rails-tutorial #287](https://github.com/shakacode/react-webpack-rails-tutorial/pull/287/files) for an upgrade example. The PR has a few comments on the upgrade.
1298
-
1299
- Here is the addition to the generated config file:
1300
-
1301
- ```ruby
1302
- # This configures the script to run to build the production assets by webpack. Set this to nil
1303
- # if you don't want react_on_rails building this file for you.
1304
- config.build_production_command = "npm run build:production"
1305
-
1306
- # If you are using the ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config)
1307
- # with rspec then this controls what npm command is run
1308
- # to automatically refresh your webpack assets on every test run.
1309
- config.npm_build_test_command = "npm run build:test"
1310
- ```
1311
-
1312
- ##### Fixed
1313
-
1314
- - Fixed errors when server rendered props contain \u2028 or \u2029 characters [#375](https://github.com/shakacode/react_on_rails/pull/375) by [mariusandra](https://github.com/mariusandra)
1315
- - Fixed "too early unmount" which caused problems with Turbolinks 5 not updating the screen [#425](https://github.com/shakacode/react_on_rails/pull/425) by [szyablitsky](https://github.com/szyablitsky)
1316
-
1317
- ##### Added
1318
-
1319
- - Experimental ability to use node.js process for server rendering. See [#380](https://github.com/shakacode/react_on_rails/pull/380) by [alleycat-at-git](https://github.com/alleycat-at-git).
1320
- - Non-digested version of assets in public folder [#413](https://github.com/shakacode/react_on_rails/pull/413) by [alleycat-at-git](https://github.com/alleycat-at-git).
1321
- - Cache client/node_modules directory to prevent Heroku from reinstalling all modules from scratch [#324](https://github.com/shakacode/react_on_rails/pull/324) by [modosc](https://github.com/modosc).
1322
- - ReactOnRails.reactOnRailsPageLoaded() is exposed in case one needs to call this manually and information on async script loading added. See [#315](https://github.com/shakacode/react_on_rails/pull/315) by [SqueezedLight](https://github.com/SqueezedLight).
1323
-
1324
- ##### Changed
1325
-
1326
- - [#398](https://github.com/shakacode/react_on_rails/pull/398) by [robwise](https://github.com/robwise), [jbhatab](https://github.com/jbhatab), and [justin808](https://github.com/justin808) contains:
1327
- - Only one webpack config is generated for server and client config. Package.json files were changed to reflect this.
1328
- - Added npm_build_test_command to allow developers to change what npm command is automatically run from rspec.
1329
- - Replace URI with Addressable gem. See [#405](https://github.com/shakacode/react_on_rails/pull/405) by [lucke84](https://github.com/lucke84)
1330
-
1331
- ##### Removed
1332
-
1333
- - [#398](https://github.com/shakacode/react_on_rails/pull/398) by [robwise](https://github.com/robwise), [jbhatab](https://github.com/jbhatab), and [justin808](https://github.com/justin808) contains:
1334
- - Server rendering is no longer an option in the generator and is always accessible.
1335
- - Removed lodash, jquery, and loggerMiddleware from the generated code.
1336
- - Removed webpack watch check for test helper automatic compilation.
1337
-
1338
- ## [5.2.0] - 2016-04-08
1339
-
1340
- ##### Added
1341
-
1342
- - Support for React 15.0 to react_on_rails. See [#379](https://github.com/shakacode/react_on_rails/pull/379) by [brucek](https://github.com/brucek).
1343
- - Support for Node.js server side rendering. See [#380](https://github.com/shakacode/react_on_rails/pull/380) by [alleycat](https://github.com/alleycat-at-git) and [doc](https://www.shakacode.com/react-on-rails/docs/react-on-rails-pro/react-on-rails-pro#pro-integration-with-nodejs-for-server-rendering)
1344
-
1345
- ##### Removed
1346
-
1347
- - Generator removals to simplify installer. See [#364](https://github.com/shakacode/react_on_rails/pull/364) by [jbhatab](https://github.com/jbhatab).
1348
- - Removed options for heroku, boostrap, and the linters from generator.
1349
- - Removed install for the Webpack Dev Server, as we can now do hot reloading with Rails, so the complexity of this feature is not justified. Nevertheless, the setup of React on Rails still supports this setup, just not with the generator.
1350
- - Documentation added for removed installer options.
1351
-
1352
- ## [5.1.1] - 2016-04-04
1353
-
1354
- ##### Fixed
1355
-
1356
- - Security Fixes: Address failure to sanitize console messages when server rendering and displaying in the browser console. See [#366](https://github.com/shakacode/react_on_rails/pull/366) and [#370](https://github.com/shakacode/react_on_rails/pull/370) by [justin808](https://github.com/justin808)
1357
-
1358
- ##### Added
1359
-
1360
- - railsContext includes the port number and a boolean if the code is being run on the server or client.
1361
-
1362
- ## [5.1.0] - 2016-04-03
1363
-
1364
- ##### Added
1365
-
1366
- All 5.1.0 changes can be found in [#362](https://github.com/shakacode/react_on_rails/pull/362) by [justin808](https://github.com/justin808).
1367
-
1368
- - Generator enhancements
1369
- - Generator adds line to spec/rails_helper.rb so that running specs will ensure assets are compiled.
1370
- - Other small changes to the generator including adding necessary npm scripts to allow React on Rails to build assets.
1371
- - Npm modules updated for generator.
1372
- - Added babel-runtime in to the client/package.json created.
1373
- - Server rendering
1374
- - Added more diagnostics for server rendering.
1375
- - Calls to setTimeout and setInterval are not logged for server rendering unless env TRACE_REACT_ON_RAILS is set to YES.
1376
- - Updated all project npm dependencies to latest.
1377
- - Update to node 5.10.0 for CI.
1378
- - Added babel-runtime as a peer dependency for the npm module.
1379
-
1380
- ## [5.0.0] - 2016-04-01
1381
-
1382
- ##### Added
1383
-
1384
- - Added `railsContext`, an object which gets passed always as the second parameter to both React component and Redux store generator functions, both for server and client rendering. This provides data like the current locale, the pathname, etc. The data values are customizable by a new configuration called `rendering_extension` where you can create a module with a method called `rendering_extension`. This allows you to add additional values to the Rails Context. Implement one static method called `custom_context(view_context)` and return a Hash. See [#345](https://github.com/shakacode/react_on_rails/pull/345) by [justin808](https://github.com/justin808)
1385
-
1386
- ##### Changed
1387
-
1388
- - Previously, you could pass arbitrary additional HTML attributes to react_component. Now, you need to pass them in as a named parameter `html_options` to react_component.
1389
-
1390
- ##### Breaking Changes
1391
-
1392
- - You must provide named attributes, including `props` for view helper `react_component`. See [this commit](https://github.com/shakacode/react-webpack-rails-tutorial/commit/a97fa90042cbe27be7fd7fa70b5622bfcf9c3673) for an example migration used for [www.reactrails.com](http://www.reactrails.com).
1393
-
1394
- ## [4.0.3] - 2016-03-17
1395
-
1396
- ##### Fixed
1397
-
1398
- - `ReactOnRailsHelper#react_component`: Invalid deprecation message when called with only one parameter, the component name.
1399
-
1400
- ## [4.0.2] - 2016-03-17
1401
-
1402
- ##### Fixed
1403
-
1404
- - `ReactOnRails::Controller#redux_store`: 2nd parameter changed to a named parameter `props` for consistency.
1405
-
1406
- ## [4.0.1] - 2016-03-16
1407
-
1408
- ##### Fixed
1409
-
1410
- - Switched to `heroku buildpacks:set` syntax rather than using a `.buildpacks` file, which is deprecated. See [#319](https://github.com/shakacode/react_on_rails/pull/319) by [esauter5](https://github.com/esauter5). Includes both generator and doc updates.
1411
-
1412
- ## [4.0.0] - 2016-03-14
1413
-
1414
- ##### Added
1415
-
1416
- - [spec/dummy](spec/dummy) is a full sample app of React on Rails techniques **including** the hot reloading of assets from Rails!
1417
- - Added helpers `env_stylesheet_link_tag` and `env_javascript_include_tag` to support hot reloading Rails. See the [README.md](./README.md) for more details and see the example application in `spec/dummy`. Also see how this is used in the [tutorial: application.html.erb](https://github.com/shakacode/react-webpack-rails-tutorial/blob/master/app%2Fviews%2Flayouts%2Fapplication.html.erb#L6)
1418
- - Added optional parameter for ReactOnRails.getStore(name, throwIfMissing = true) so that you can check if a store is defined easily.
1419
- - Added controller `module ReactOnRails::Controller`. Adds method `redux_store` to set up Redux stores in the view.
1420
- - Added option `defer: true` for view helper `redux_store`. This allows the view helper to specify the props for store hydration, yet still render the props at the bottom of the view.
1421
- - Added view helper `redux_store_hydration_data` to render the props on the application's layout, near the bottom. This allows for the client hydration data to be parsed after the server rendering, which may result in a faster load time.
1422
- - The checker for outdated bundles before running tests will two configuration options: `generated_assets_dir` and `webpack_generated_files`.
1423
- - Better support for Turbolinks 5!
1424
- - Fixed generator check of uncommitted code for foreign languages. See [#303](https://github.com/shakacode/react_on_rails/pull/303) by [nmatyukov](https://github.com/nmatyukov).
1425
- - Added several parameters used for ensuring webpack assets are built for running tests:
1426
- - `config.generated_assets_dir`: Directory where your generated webpack assets go. You can have only **one** directory for this.
1427
- - `config.webpack_generated_files`: List of files that will get created in the `generated_assets_dir`. The test runner helper will ensure these generated files are newer than any of the files in the client directory.
1428
-
1429
- ##### Changed
1430
-
1431
- - Generator default for webpack generated assets is now `app/assets/webpack` as we use this for both JavaScript and CSS generated assets.
1432
-
1433
- ##### Fixed
1434
-
1435
- - The test runner "assets up to date checker" is greatly improved.
1436
- - Lots of doc updates!
1437
- - Improved the **spec/dummy** sample app so that it supports CSS modules, hot reloading, etc, and it can server as a template for a new ReactOnRails installation.
1438
-
1439
- ##### Breaking Changes
1440
-
1441
- - Deprecated calling `redux_store(store_name, props)`. The API has changed. Use `redux_store(store_name, props: props, defer: false)` A new option called `defer` allows the rendering of store hydration at the bottom of the your layout. Place `redux_store_hydration_data` on your layout.
1442
- - `config.server_bundle_js_file` has changed. The default value is now blank, meaning no server rendering. Addtionally, if you specify the file name, you should not include the path, as that should be specified in the `config.generated_assets_dir`.
1443
- - `config.generated_assets_dirs` has been renamed to `config.generated_assets_dir` (singular) and it only takes one directory.
1444
-
1445
- ## [3.0.6] - 2016-03-01
1446
-
1447
- ##### Fixed
1448
-
1449
- - Improved errors when registered store is not found. See [#301](https://github.com/shakacode/react_on_rails/pull/301) by [justin808](https://github.com/justin808).
1450
-
1451
- ## [3.0.5] - 2016-02-26
1452
-
1453
- ##### Fixed
1454
-
1455
- - Fixed error in linters rake file for generator. See [#299](https://github.com/shakacode/react_on_rails/pull/299) by [mpugach](https://github.com/mpugach).
1456
-
1457
- ## [3.0.4] - 2016-02-25
1458
-
1459
- ##### Fixed
1460
-
1461
- - Updated CHANGELOG.md to include contributors for each PR.
1462
- - Fixed config.server_bundle_js file value in generator to match generator setting of server rendering. See [#295](https://github.com/shakacode/react_on_rails/pull/295) by [aaronvb](https://github.com/aaronvb).
1463
-
1464
- ## [3.0.3] - 2016-02-21
1465
-
1466
- ##### Fixed
1467
-
1468
- - Cleaned up code in `spec/dummy` to latest React and Redux APIs. See [#282](https://github.com/shakacode/react_on_rails/pull/282).
1469
- - Update generator messages with helpful information. See [#279](https://github.com/shakacode/react_on_rails/pull/279).
1470
- - Other small generated comment fixes and doc fixes.
1471
-
1472
- ## [3.0.2] - 2016-02-15
1473
-
1474
- ##### Fixed
1475
-
1476
- - Fixed missing information in the helpful message after running the base install generator regarding how to run the node server with hot reloading support.
1477
-
1478
- ## [3.0.1] - 2016-02-15
1479
-
1480
- ##### Fixed
1481
-
1482
- - Fixed several jscs linter issues.
1483
-
1484
- ## [3.0.0] - 2016-02-15
1485
-
1486
- ##### Fixed
1487
-
1488
- - Fix Bootstrap Sass Append to Gemfile, missing new line. [#262](https://github.com/shakacode/react_on_rails/pull/262).
1489
-
1490
- ##### Added
1491
-
1492
- - Added helper `redux_store` and associated JavaScript APIs that allow multiple React components to use the same store. Thus, you initialize the store, with props, separately from the components.
1493
- - Added forman to gemspec in case new dev does not have it globally installed. [#248](https://github.com/shakacode/react_on_rails/pull/248).
1494
- - Support for Turbolinks 5! [#270](https://github.com/shakacode/react_on_rails/pull/270).
1495
- - Added better error messages for `ReactOnRails.register()`. [#273](https://github.com/shakacode/react_on_rails/pull/273).
1496
-
1497
- ##### Breaking Change
1498
-
1499
- - Calls to `react_component` should use a named argument of props. For example, change this:
1500
-
1501
- ```ruby
1502
- <%= react_component("ReduxSharedStoreApp", {}, prerender: false, trace: true) %>
1503
- ```
1504
-
1505
- to
1506
-
1507
- ```ruby
1508
- <%= react_component("ReduxSharedStoreApp", props: {}, prerender: false, trace: true) %>
1509
- ```
1510
-
1511
- You'll get a deprecation message to change this.
1512
-
1513
- - Renamed `ReactOnRails.configure_rspec_to_compile_assets` to `ReactOnRails::TestHelper.configure_rspec_to_compile_assets`. The code has also been optimized to check for whether or not the compiled webpack bundles are up to date or not and will not run if not necessary. If you are using non-standard directories for your generated webpack assets (`app/assets/javascripts/generated` and `app/assets/stylesheets/generated`) or have additional directories you wish the helper to check, you need to update your ReactOnRails configuration accordingly. See [documentation](https://www.shakacode.com/react-on-rails/docs/guides/rspec_configuration) for how to do this. [#253](https://github.com/shakacode/react_on_rails/pull/253).
1514
- - You have to call `ReactOnRails.register` to register React components. This was deprecated in v2. [#273](https://github.com/shakacode/react_on_rails/pull/273).
1515
-
1516
- ##### Migration Steps v2 to v3
1517
-
1518
- - See [these changes of spec/dummy/spec/rails_helper.rb](https://github.com/shakacode/react_on_rails/blob/master/spec/dummy/spec/rails_helper.rb#L36..38) for an example. Add this line to your `rails_helper.rb`:
1519
-
1520
- ```ruby
1521
- RSpec.configure do |config|
1522
- # Ensure that if we are running js tests, we are using latest webpack assets
1523
- ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config)
1524
- ```
1525
-
1526
- - Change view helper calls to react_component to use the named param of `props`. See forum post [Using Regexp to update to ReactOnRails v3](http://forum.shakacode.com/t/using-regexp-to-update-to-reactonrails-v3/481).
1527
-
1528
- ## [2.3.0] - 2016-02-01
1529
-
1530
- ##### Added
1531
-
1532
- - Added polyfills for `setInterval` and `setTimeout` in case other libraries expect these to exist.
1533
- - Added much improved debugging for errors in the server JavaScript webpack file.
1534
- - See [#244](https://github.com/shakacode/react_on_rails/pull/244/) for these improvements.
1535
-
1536
- ## [2.2.0] - 2016-01-29
1537
-
1538
- ##### Added
1539
-
1540
- - New JavaScript API for debugging TurboLinks issues. Be sure to see [turbolinks docs](https://www.shakacode.com/react-on-rails/docs/rails/turbolinks). `ReactOnRails.setOptions({ traceTurbolinks: true });`. Removed the file `debug_turbolinks` added in 2.1.1. See [#243](https://github.com/shakacode/react_on_rails/pull/243).
1541
-
1542
- ## [2.1.1] - 2016-01-28
1543
-
1544
- ##### Fixed
1545
-
1546
- - Fixed regression where apps that were not using Turbolinks would not render components on page load.
1547
-
1548
- ##### Added
1549
-
1550
- - `ReactOnRails.render` returns a virtualDomElement Reference to your React component's backing instance. See [#234](https://github.com/shakacode/react_on_rails/pull/234).
1551
- - `debug_turbolinks` helper for debugging turbolinks issues. See [turbolinks](https://www.shakacode.com/react-on-rails/docs/rails/turbolinks).
1552
- - Enhanced regression testing for non-turbolinks apps. Runs all tests for dummy app with turbolinks both disabled and enabled.
1553
-
1554
- ## [2.1.0] - 2016-01-26
1555
-
1556
- ##### Added
1557
-
1558
- - Added EnsureAssetsCompiled feature so that you do not accidentally run tests without properly compiling the JavaScript bundles. Add a line to your `rails_helper.rb` file to check that the latest Webpack bundles have been generated prior to running tests that may depend on your client-side code. See [docs](https://www.shakacode.com/react-on-rails/docs/guides/rspec_configuration) for more detailed instructions. [#222](https://github.com/shakacode/react_on_rails/pull/222)
1559
- - Added [migration guide](https://www.shakacode.com/react-on-rails/docs/additional-details/migrating-from-react-rails) for migrating from React-Rails. [#219](https://github.com/shakacode/react_on_rails/pull/219)
1560
- - Added [React on Rails Doctrine](https://www.shakacode.com/react-on-rails/docs/misc/doctrine) to docs. Discusses the project's motivations, conventions, and principles. [#220](https://github.com/shakacode/react_on_rails/pull/220)
1561
- - Added ability to skip `display:none` style in the generated content tag for a component. Some developers may want to disable inline styles for security reasons. See generated config [initializer file](lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb#L27) for example on setting `skip_display_none`. [#218](https://github.com/shakacode/react_on_rails/pull/218)
1562
-
1563
- ##### Changed
1564
-
1565
- - Changed message when running the dev (a.k.a. "express" server). [#227](https://github.com/shakacode/react_on_rails/commit/543ae70254d0c7b477e2c92af86f40746e58a431)
1566
-
1567
- ##### Fixed
1568
-
1569
- - Fixed handling of Turbolinks. Code was checking that Turbolinks was installed when it was not yet because some setups load Turbolinks after the bundles. The changes to the code will check if Turbolinks is installed after the page loaded event fires. Code was also added to allow easy debugging of Turbolinks, which should be useful when v5 of Turbolinks is released shortly. Details of how to configure Turbolinks with troubleshooting were added to `docs` directory. [#221](https://github.com/shakacode/react_on_rails/pull/221)
1570
- - Fixed issue with already initialized constant warning appearing when starting a Rails server [#226](https://github.com/shakacode/react_on_rails/pull/226)
1571
- - Fixed to make backwards compatible with Ruby v2.0 and updated all Ruby and Node dependencies.
1572
-
1573
- ---
1574
-
1575
- ## [2.0.2]
1576
-
1577
- - Added better messages after generator runs. [#210](https://github.com/shakacode/react_on_rails/pull/210)
1578
-
1579
- ## [2.0.1]
1580
-
1581
- - Fixed bug with version matching between gem and npm package.
1582
-
1583
- ## [2.0.0]
1584
-
1585
- - Move JavaScript part of react_on_rails to npm package 'react-on-rails'.
1586
- - Converted JavaScript code to ES6! with tests!
1587
- - No global namespace pollution. ReactOnRails is the only global added.
1588
- - New API. Instead of placing React components on the global namespace, you instead call ReactOnRails.register, passing an object where keys are the names of your components:
1589
-
1590
- ```
1591
- import ReactOnRails from 'react-on-rails';
1592
- ReactOnRails.register({name: component});
1593
- ```
1594
-
1595
- Best done with Object destructing:
1596
-
1597
- ```
1598
- import ReactOnRails from 'react-on-rails';
1599
- ReactOnRails.register(
1600
- {
1601
- Component1,
1602
- Component2
1603
- }
1604
- );
1605
- ```
1606
-
1607
- Previously, you used
1608
-
1609
- ```
1610
- window.Component1 = Component1;
1611
- window.Component2 = Component2;
1612
- ```
1613
-
1614
- This would pollute the global namespace. See details in the README.md for more information.
1615
-
1616
- - Your jade template for the WebpackDevServer setup should use the new API:
1617
-
1618
- ```
1619
- ReactOnRails.render(componentName, props, domNodeId);
1620
- ```
1621
-
1622
- such as:
1623
-
1624
- ```
1625
- ReactOnRails.render("HelloWorldApp", {name: "Stranger"}, 'app');
1626
- ```
1627
-
1628
- - All npm dependency libraries updated. Most notable is going to Babel 6.
1629
- - Dropped support for React 0.13.
1630
- - JS Linter uses ShakaCode JavaScript style: https://github.com/shakacode/style-guide-javascript
1631
- - Generators account for these differences.
1632
-
1633
- ##### Migration Steps v1 to v2
1634
-
1635
- [Example of upgrading](https://github.com/shakacode/react-webpack-rails-tutorial/commit/5b1b8698e8daf0f0b94e987740bc85ee237ef608)
1636
-
1637
- 1. Update the `react_on_rails` gem.
1638
- 2. Remove `//= require react_on_rails` from any files such as `app/assets/javascripts/application.js`. This file comes from npm now.
1639
- 3. Search you app for 'generator_function' and remove lines in layouts and rb files that contain it. Determination of a generator function is handled automatically.
1640
- 4. Find your files where you registered client and server globals, and use the new ReactOnRails.register syntax. Optionally rename the files `clientRegistration.jsx` and `serverRegistration.jsx` rather than `Globals`.
1641
- 5. Update your index.jade to use the new API `ReactOnRails.render("MyApp", !{props}, 'app');`
1642
- 6. Update your webpack files per the example commit. Remove globally exposing React and ReactDom, as well as their inclusion in the `entry` section. These are automatically included now.
1643
- 7. Run `cd client && npm i --save react-on-rails` to get react-on-rails into your `client/package.json`.
1644
- 8. You should also update any other dependencies if possible to match up with the [react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial/). This includes updating to Babel 6.
1645
- 9. If you want to stick with Babel 5 for a bit, see [Issue #238](https://github.com/shakacode/react_on_rails/issues/238).
1646
-
1647
- ---
1648
-
1649
- ## [1.2.2]
1650
-
1651
- ##### Fixed
1652
-
1653
- - Missing Lodash from generated package.json [#175](https://github.com/shakacode/react_on_rails/pull/175)
1654
- - Rails 3.2 could not run generators [#182](https://github.com/shakacode/react_on_rails/pull/182)
1655
- - Better placement of jquery_ujs dependency [#171](https://github.com/shakacode/react_on_rails/pull/171)
1656
- - Add more detailed description when adding --help option to generator [#161](https://github.com/shakacode/react_on_rails/pull/161)
1657
- - Lots of better docs.
1658
-
1659
- ## [1.2.0]
1660
-
1661
- ##### Added
1662
-
1663
- - Support `--skip-bootstrap` or `-b` option for generator.
1664
- - Create examples tasks to test generated example apps.
1665
-
1666
- ##### Fixed
1667
-
1668
- - Fix non-server rendering configuration issues.
1669
- - Fix application.js incorrect overwritten issue.
1670
- - Fix Gemfile dependencies.
1671
- - Fix several generator issues.
1672
-
1673
- ##### Removed
1674
-
1675
- - Removed templates/client folder.
1676
-
1677
- ---
1678
-
1679
- ## [1.1.1] - 2015-11-28
1680
-
1681
- ##### Added
1682
-
1683
- - Support for React Router.
1684
- - Error and redirect handling.
1685
- - Turbolinks support.
1686
-
1687
- ##### Fixed
1688
-
1689
- - Fix several generator-related issues.
1690
-
1691
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/16.1.0...master
1692
- [16.1.0]: https://github.com/shakacode/react_on_rails/compare/16.0.0...16.1.0
1693
- [16.0.0]: https://github.com/shakacode/react_on_rails/compare/14.2.0...16.0.0
1694
- [14.2.0]: https://github.com/shakacode/react_on_rails/compare/14.1.1...14.2.0
1695
- [14.1.1]: https://github.com/shakacode/react_on_rails/compare/14.1.0...14.1.1
1696
- [14.1.0]: https://github.com/shakacode/react_on_rails/compare/14.0.5...14.1.0
1697
- [14.0.5]: https://github.com/shakacode/react_on_rails/compare/14.0.4...14.0.5
1698
- [14.0.4]: https://github.com/shakacode/react_on_rails/compare/14.0.3...14.0.4
1699
- [14.0.3]: https://github.com/shakacode/react_on_rails/compare/14.0.2...14.0.3
1700
- [14.0.2]: https://github.com/shakacode/react_on_rails/compare/14.0.1...14.0.2
1701
- [14.0.1]: https://github.com/shakacode/react_on_rails/compare/14.0.0...14.0.1
1702
- [14.0.0]: https://github.com/shakacode/react_on_rails/compare/13.4.0...14.0.0
1703
- [13.4.0]: https://github.com/shakacode/react_on_rails/compare/13.3.5...13.4.0
1704
- [13.3.5]: https://github.com/shakacode/react_on_rails/compare/13.3.4...13.3.5
1705
- [13.3.4]: https://github.com/shakacode/react_on_rails/compare/13.3.3...13.3.4
1706
- [13.3.3]: https://github.com/shakacode/react_on_rails/compare/13.3.2...13.3.3
1707
- [13.3.2]: https://github.com/shakacode/react_on_rails/compare/13.3.1...13.3.2
1708
- [13.3.1]: https://github.com/shakacode/react_on_rails/compare/13.3.0...13.3.1
1709
- [13.3.0]: https://github.com/shakacode/react_on_rails/compare/13.2.0...13.3.0
1710
- [13.2.0]: https://github.com/shakacode/react_on_rails/compare/13.1.0...13.2.0
1711
- [13.1.0]: https://github.com/shakacode/react_on_rails/compare/13.0.2...13.1.0
1712
- [13.0.2]: https://github.com/shakacode/react_on_rails/compare/13.0.1...13.0.2
1713
- [13.0.1]: https://github.com/shakacode/react_on_rails/compare/13.0.0...13.0.1
1714
- [13.0.0]: https://github.com/shakacode/react_on_rails/compare/12.6.0...13.0.0
1715
- [12.6.0]: https://github.com/shakacode/react_on_rails/compare/12.5.2...12.6.0
1716
- [12.5.2]: https://github.com/shakacode/react_on_rails/compare/12.5.1...12.5.2
1717
- [12.5.1]: https://github.com/shakacode/react_on_rails/compare/12.5.0...12.5.1
1718
- [12.5.0]: https://github.com/shakacode/react_on_rails/compare/12.4.0...12.5.0
1719
- [12.4.0]: https://github.com/shakacode/react_on_rails/compare/12.3.0...12.4.0
1720
- [12.3.0]: https://github.com/shakacode/react_on_rails/compare/12.2.0...12.3.0
1721
- [12.2.0]: https://github.com/shakacode/react_on_rails/compare/12.1.0...12.2.0
1722
- [12.1.0]: https://github.com/shakacode/react_on_rails/compare/12.0.4...12.1.0
1723
- [12.0.4]: https://github.com/shakacode/react_on_rails/compare/12.0.3...12.0.4
1724
- [12.0.3]: https://github.com/shakacode/react_on_rails/compare/12.0.2...12.0.3
1725
- [12.0.2]: https://github.com/shakacode/react_on_rails/compare/12.0.1...12.0.2
1726
- [12.0.1]: https://github.com/shakacode/react_on_rails/compare/12.0.0...12.0.1
1727
- [12.0.0]: https://github.com/shakacode/react_on_rails/compare/11.3.0...12.0.0
1728
- [11.3.0]: https://github.com/shakacode/react_on_rails/compare/11.2.2...11.3.0
1729
- [11.2.2]: https://github.com/shakacode/react_on_rails/compare/11.2.1...11.2.2
1730
- [11.2.1]: https://github.com/shakacode/react_on_rails/compare/11.1.8...11.2.1
1731
- [11.1.8]: https://github.com/shakacode/react_on_rails/compare/11.1.7...11.1.8
1732
- [11.1.7]: https://github.com/shakacode/react_on_rails/compare/11.1.6...11.1.7
1733
- [11.1.6]: https://github.com/shakacode/react_on_rails/compare/11.1.5...11.1.6
1734
- [11.1.5]: https://github.com/shakacode/react_on_rails/compare/11.1.4...11.1.5
1735
- [11.1.4]: https://github.com/shakacode/react_on_rails/compare/11.1.3...11.1.4
1736
- [11.1.3]: https://github.com/shakacode/react_on_rails/compare/11.1.2...11.1.3
1737
- [11.1.2]: https://github.com/shakacode/react_on_rails/compare/11.1.1...11.1.2
1738
- [11.1.1]: https://github.com/shakacode/react_on_rails/compare/11.1.0...11.1.1
1739
- [11.1.0]: https://github.com/shakacode/react_on_rails/compare/11.0.10...11.1.0
1740
- [11.0.10]: https://github.com/shakacode/react_on_rails/compare/11.0.9...11.0.10
1741
- [11.0.9]: https://github.com/shakacode/react_on_rails/compare/11.0.8...11.0.9
1742
- [11.0.8]: https://github.com/shakacode/react_on_rails/compare/11.0.7...11.0.8
1743
- [11.0.7]: https://github.com/shakacode/react_on_rails/compare/11.0.6...11.0.7
1744
- [11.0.6]: https://github.com/shakacode/react_on_rails/compare/11.0.5...11.0.6
1745
- [11.0.5]: https://github.com/shakacode/react_on_rails/compare/11.0.4...11.0.5
1746
- [11.0.4]: https://github.com/shakacode/react_on_rails/compare/11.0.3...11.0.4
1747
- [11.0.3]: https://github.com/shakacode/react_on_rails/compare/11.0.2...11.0.3
1748
- [11.0.2]: https://github.com/shakacode/react_on_rails/compare/11.0.1...11.0.2
1749
- [11.0.1]: https://github.com/shakacode/react_on_rails/compare/11.0.0...11.0.1
1750
- [11.0.0]: https://github.com/shakacode/react_on_rails/compare/10.1.4...11.0.0
1751
- [10.1.4]: https://github.com/shakacode/react_on_rails/compare/10.1.3...10.1.4
1752
- [10.1.3]: https://github.com/shakacode/react_on_rails/compare/10.1.2...10.1.3
1753
- [10.1.2]: https://github.com/shakacode/react_on_rails/compare/10.1.1...10.1.2
1754
- [10.1.1]: https://github.com/shakacode/react_on_rails/compare/10.1.0...10.1.1
1755
- [10.1.0]: https://github.com/shakacode/react_on_rails/compare/10.0.2...10.1.0
1756
- [10.0.2]: https://github.com/shakacode/react_on_rails/compare/10.0.1...10.0.2
1757
- [10.0.1]: https://github.com/shakacode/react_on_rails/compare/10.0.0...10.0.1
1758
- [10.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.3...10.0.0
1759
- [9.0.3]: https://github.com/shakacode/react_on_rails/compare/9.0.2...9.0.3
1760
- [9.0.2]: https://github.com/shakacode/react_on_rails/compare/9.0.1...9.0.2
1761
- [9.0.1]: https://github.com/shakacode/react_on_rails/compare/9.0.0...9.0.1
1762
- [9.0.0]: https://github.com/shakacode/react_on_rails/compare/8.0.7...9.0.0
1763
- [8.0.7]: https://github.com/shakacode/react_on_rails/compare/8.0.6...8.0.7
1764
- [8.0.6]: https://github.com/shakacode/react_on_rails/compare/8.0.5...8.0.6
1765
- [8.0.5]: https://github.com/shakacode/react_on_rails/compare/8.0.3...8.0.5
1766
- [8.0.3]: https://github.com/shakacode/react_on_rails/compare/8.0.2...8.0.3
1767
- [8.0.2]: https://github.com/shakacode/react_on_rails/compare/8.0.1...8.0.2
1768
- [8.0.1]: https://github.com/shakacode/react_on_rails/compare/8.0.0...8.0.1
1769
- [8.0.0]: https://github.com/shakacode/react_on_rails/compare/7.0.4...8.0.0
1770
- [8.0.0-beta.3]: https://github.com/shakacode/react_on_rails/compare/8.0.0-beta.2...8.0.0-beta.3
1771
- [8.0.0-beta.2]: https://github.com/shakacode/react_on_rails/compare/8.0.0-beta.1...8.0.0-beta.2
1772
- [8.0.0-beta.1]: https://github.com/shakacode/react_on_rails/compare/7.0.4...8.0.0-beta.1
1773
- [7.0.4]: https://github.com/shakacode/react_on_rails/compare/7.0.3...7.0.4
1774
- [7.0.3]: https://github.com/shakacode/react_on_rails/compare/7.0.1...7.0.3
1775
- [7.0.1]: https://github.com/shakacode/react_on_rails/compare/7.0.0...7.0.1
1776
- [7.0.0]: https://github.com/shakacode/react_on_rails/compare/6.10.1...7.0.0
1777
- [6.10.1]: https://github.com/shakacode/react_on_rails/compare/6.10.0...6.10.1
1778
- [6.10.0]: https://github.com/shakacode/react_on_rails/compare/6.9.3...6.10.0
1779
- [6.9.3]: https://github.com/shakacode/react_on_rails/compare/6.9.1...6.9.3
1780
- [6.9.2]: https://github.com/shakacode/react_on_rails/compare/6.9.1...6.9.2
1781
- [6.9.1]: https://github.com/shakacode/react_on_rails/compare/6.8.2...6.9.1
1782
- [6.9.0]: https://github.com/shakacode/react_on_rails/compare/6.8.2...6.9.0
1783
- [6.8.2]: https://github.com/shakacode/react_on_rails/compare/6.8.1...6.8.2
1784
- [6.8.1]: https://github.com/shakacode/react_on_rails/compare/6.8.0...6.8.1
1785
- [6.8.0]: https://github.com/shakacode/react_on_rails/compare/6.7.2...6.8.0
1786
- [6.7.2]: https://github.com/shakacode/react_on_rails/compare/6.7.1...6.7.2
1787
- [6.7.1]: https://github.com/shakacode/react_on_rails/compare/6.7.0...6.7.1
1788
- [6.7.0]: https://github.com/shakacode/react_on_rails/compare/6.6.0...6.7.0
1789
- [6.6.0]: https://github.com/shakacode/react_on_rails/compare/6.5.1...6.6.0
1790
- [6.5.1]: https://github.com/shakacode/react_on_rails/compare/6.5.0...6.5.1
1791
- [6.5.0]: https://github.com/shakacode/react_on_rails/compare/6.4.2...6.5.0
1792
- [6.4.2]: https://github.com/shakacode/react_on_rails/compare/6.4.1...6.4.2
1793
- [6.4.1]: https://github.com/shakacode/react_on_rails/compare/6.4.0...6.4.1
1794
- [6.4.0]: https://github.com/shakacode/react_on_rails/compare/6.3.5...6.4.0
1795
- [6.3.5]: https://github.com/shakacode/react_on_rails/compare/6.3.4...6.3.5
1796
- [6.3.4]: https://github.com/shakacode/react_on_rails/compare/6.3.3...6.3.4
1797
- [6.3.3]: https://github.com/shakacode/react_on_rails/compare/6.3.2...6.3.3
1798
- [6.3.2]: https://github.com/shakacode/react_on_rails/compare/6.3.1...6.3.2
1799
- [6.3.1]: https://github.com/shakacode/react_on_rails/compare/6.3.0...6.3.1
1800
- [6.3.0]: https://github.com/shakacode/react_on_rails/compare/6.2.1...6.3.0
1801
- [6.2.1]: https://github.com/shakacode/react_on_rails/compare/6.2.0...6.2.1
1802
- [6.2.0]: https://github.com/shakacode/react_on_rails/compare/6.1.2...6.2.0
1803
- [6.1.2]: https://github.com/shakacode/react_on_rails/compare/6.1.1...6.1.2
1804
- [6.1.1]: https://github.com/shakacode/react_on_rails/compare/6.1.0...6.1.1
1805
- [6.1.0]: https://github.com/shakacode/react_on_rails/compare/6.0.5...6.1.0
1806
- [6.0.5]: https://github.com/shakacode/react_on_rails/compare/6.0.4...6.0.5
1807
- [6.0.4]: https://github.com/shakacode/react_on_rails/compare/6.0.3...6.0.4
1808
- [6.0.3]: https://github.com/shakacode/react_on_rails/compare/6.0.2...6.0.3
1809
- [6.0.2]: https://github.com/shakacode/react_on_rails/compare/6.0.1...6.0.2
1810
- [6.0.1]: https://github.com/shakacode/react_on_rails/compare/6.0.0...6.0.1
1811
- [6.0.0]: https://github.com/shakacode/react_on_rails/compare/5.2.0...6.0.0
1812
- [5.2.0]: https://github.com/shakacode/react_on_rails/compare/5.1.1...5.2.0
1813
- [5.1.1]: https://github.com/shakacode/react_on_rails/compare/5.1.0...5.1.1
1814
- [5.1.0]: https://github.com/shakacode/react_on_rails/compare/5.0.0...5.1.0
1815
- [5.0.0]: https://github.com/shakacode/react_on_rails/compare/4.0.3...5.0.0
1816
- [4.0.3]: https://github.com/shakacode/react_on_rails/compare/4.0.2...4.0.3
1817
- [4.0.2]: https://github.com/shakacode/react_on_rails/compare/4.0.1...4.0.2
1818
- [4.0.1]: https://github.com/shakacode/react_on_rails/compare/4.0.0...4.0.1
1819
- [4.0.0]: https://github.com/shakacode/react_on_rails/compare/3.0.6...4.0.0
1820
- [3.0.6]: https://github.com/shakacode/react_on_rails/compare/3.0.5...3.0.6
1821
- [3.0.5]: https://github.com/shakacode/react_on_rails/compare/3.0.4...3.0.5
1822
- [3.0.4]: https://github.com/shakacode/react_on_rails/compare/3.0.3...3.0.4
1823
- [3.0.3]: https://github.com/shakacode/react_on_rails/compare/3.0.2...3.0.3
1824
- [3.0.2]: https://github.com/shakacode/react_on_rails/compare/3.0.1...3.0.2
1825
- [3.0.1]: https://github.com/shakacode/react_on_rails/compare/3.0.0...3.0.1
1826
- [3.0.0]: https://github.com/shakacode/react_on_rails/compare/2.3.0...3.0.0
1827
- [2.3.0]: https://github.com/shakacode/react_on_rails/compare/2.2.0...2.3.0
1828
- [2.2.0]: https://github.com/shakacode/react_on_rails/compare/2.1.1...2.2.0
1829
- [2.1.1]: https://github.com/shakacode/react_on_rails/compare/v2.1.0...2.1.1
1830
- [2.1.0]: https://github.com/shakacode/react_on_rails/compare/v2.0.2...v2.1.0
1831
- [2.0.2]: https://github.com/shakacode/react_on_rails/compare/v2.0.1...v2.0.2
1832
- [2.0.1]: https://github.com/shakacode/react_on_rails/compare/v2.0.0...v2.0.1
1833
- [2.0.0]: https://github.com/shakacode/react_on_rails/compare/v1.2.2...v2.0.0
1834
- [1.2.2]: https://github.com/shakacode/react_on_rails/compare/v1.2.0...v1.2.2
1835
- [1.2.0]: https://github.com/shakacode/react_on_rails/compare/v1.1.0...v1.2.0
1836
- [1.1.1]: https://github.com/shakacode/react_on_rails/compare/v1.1.1...v1.0.0