You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add CI debugging tools for efficient local failure reproduction
## Changes
### RuboCop Configuration
- Exclude bin/* shell scripts from RuboCop checks
### Configuration Improvements
- Fix error message wording in configuration.rb (prefer :defer over :sync)
- Add explanatory comment in context.ts about TypeScript var requirement
- Improve ESLint config formatting (export at top)
- Add clarifying comment in helper spec about defer default strategy
### CI Debugging Tools
- Add bin/ci-rerun-failures: Smart script that fetches actual CI failures from GitHub and re-runs only failed jobs locally
- Add bin/ci-run-failed-specs: Parse and re-run only specific failing RSpec examples
- Add bin/ci-switch-config: Switch between latest/minimum dependency configurations
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
-9Lines changed: 0 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,6 @@ Changes since the last non-beta release.
38
38
#### Changed
39
39
40
40
-**Shakapacker 9.0.0 Upgrade**: Upgraded Shakapacker from 8.2.0 to 9.0.0 with Babel transpiler configuration for compatibility. Key changes include:
41
-
42
41
- Configured `javascript_transpiler: babel` in shakapacker.yml (Shakapacker 9.0 defaults to SWC which has PropTypes handling issues)
43
42
- Added precompile hook support via `bin/shakapacker-precompile-hook` for ReScript builds and pack generation
44
43
- Configured CSS Modules to use default exports (`namedExport: false`) for backward compatibility with existing `import styles from` syntax
@@ -100,7 +99,6 @@ To migrate to React on Rails Pro:
100
99
**Note:** If you're not using any of the Pro-only methods listed above, no changes are required.
101
100
102
101
-**Pro-Specific Configurations Moved to Pro Gem**: The following React Server Components (RSC) configurations have been moved from `ReactOnRails.configure` to `ReactOnRailsPro.configure`:
103
-
104
102
-`rsc_bundle_js_file` - Path to the RSC bundle file
105
103
-`react_server_client_manifest_file` - Path to the React server client manifest
106
104
-`react_client_manifest_file` - Path to the React client manifest
@@ -126,7 +124,6 @@ To migrate to React on Rails Pro:
126
124
See the [React on Rails Pro Configuration docs](https://github.com/shakacode/react_on_rails/blob/master/react_on_rails_pro/docs/configuration.md) for more details.
127
125
128
126
-**Streaming View Helpers Moved to Pro Gem**: The following view helpers have been removed from the open-source gem and are now only available in React on Rails Pro:
129
-
130
127
-`stream_react_component` - Progressive SSR using React 18+ streaming
@@ -151,12 +148,10 @@ To migrate to React on Rails Pro:
151
148
#### New Features
152
149
153
150
-**Server Bundle Security**: Added new configuration options for enhanced server bundle security and organization:
154
-
155
151
-`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)
156
152
-`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)
157
153
158
154
-**Improved Bundle Path Resolution**: Bundle path resolution for server bundles now works as follows:
159
-
160
155
- If `server_bundle_output_path` is set, the server bundle is loaded from that directory.
161
156
- If `server_bundle_output_path` is not set, the server bundle falls back to the client bundle directory (typically the public output path).
162
157
- If `enforce_private_server_bundles` is enabled:
@@ -268,7 +263,6 @@ See [Release Notes](docs/release-notes/16.0.0.md) for complete migration guide.
268
263
269
264
-**`defer_generated_component_packs` deprecated** → use `generated_component_packs_loading_strategy`
- Recommended: `generated_component_packs_loading_strategy: :async` for best performance
@@ -677,7 +671,6 @@ for details.
677
671
- Removal of config.symlink_non_digested_assets_regex as it's no longer needed with rails/webpacker.
678
672
If any business needs this, we can move the code to a separate gem.
679
673
- Added configuration option `same_bundle_for_client_and_server` with default `false` because
680
-
681
674
1. Production applications would typically have a server bundle that differs from the client bundle
682
675
2. This change only affects trying to use HMR with react_on_rails with rails/webpacker.
683
676
@@ -1395,13 +1388,11 @@ No changes.
1395
1388
- 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.
1396
1389
[#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).
1397
1390
-**Migration to v6**
1398
-
1399
1391
- Do not run the generator again if you've already run it.
1400
1392
1401
1393
- 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.
1402
1394
1403
1395
- To configure the asset compilation you can either
1404
-
1405
1396
1. Specify a `config/react_on_rails` setting for `build_production_command` to be nil to turn this feature off.
1406
1397
2. Specify the script command you want to run to build your production assets, and remove your `assets.rake` file.
0 commit comments