Skip to content

Commit 1b63d61

Browse files
justin808claude
andcommitted
Fix version compatibility matrix to match gemspec
Update minimum versions to reflect actual gem requirements: - Ruby: 3.0 (not 3.2) - Node.js: 18 (not 20) - Shakapacker: 6.0 (not 8.2.0) - Rails: 5.2 (not 6.1) Add note clarifying that CI tests against higher versions but the gem supports the lower versions shown. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent de948fc commit 1b63d61

File tree

1 file changed

+28
-5
lines changed

1 file changed

+28
-5
lines changed

docs/upgrading/release-notes/16.1.0.md

Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,13 @@ Then run `bundle install` and your package manager's install command.
2828

2929
| Component | Minimum | Recommended |
3030
| ----------- | ------- | ----------- |
31-
| Ruby | 3.2 | 3.3+ |
32-
| Node.js | 20 | 22+ |
33-
| Shakapacker | 8.2.0 | 8.2.0+ |
31+
| Ruby | 3.0 | 3.3+ |
32+
| Node.js | 18 | 22+ |
33+
| Shakapacker | 6.0 | 8.2.0+ |
3434
| React | 18 | 18+ |
35-
| Rails | 6.1 | 7.0+ |
35+
| Rails | 5.2 | 7.0+ |
36+
37+
**Note:** CI tests against Ruby 3.2+ and Node.js 20+, but the gem supports lower versions as shown above.
3638

3739
## New Features in v16.1.0
3840

@@ -60,14 +62,35 @@ ReactOnRails.configure do |config|
6062
end
6163
```
6264

65+
### Enhanced bin/dev Script
66+
67+
The updated `bin/dev` script provides better development server management with support for multiple modes:
68+
69+
- `bin/dev` - Default HMR mode with webpack-dev-server
70+
- `bin/dev static` - Watch mode without HMR
71+
- `bin/dev prod` - Development with production-optimized assets
72+
73+
### Multiple Procfile Support
74+
75+
Three Procfile configurations for different development scenarios:
76+
77+
1. **Procfile.dev** (HMR mode) - Rails server + webpack dev server for client + webpack watch for server bundle
78+
2. **Procfile.dev-static-assets** (Static watch mode) - Rails server + webpack watch mode
79+
3. **Procfile.dev-prod-assets** (Production assets in development) - Rails server with production-optimized assets
80+
81+
### Webpack Configuration Updates
82+
83+
- New `generateWebpackConfigs.js` helper for better configuration management
84+
- Improved babel.config.js setup
85+
6386
### Generator Improvements
6487

6588
**Note:** These improvements only affect newly generated code from `rails g react_on_rails:install` or component generators. Existing applications are unaffected.
6689

6790
- Modern TypeScript patterns with better type inference
6891
- Optimized tsconfig.json with `"moduleResolution": "bundler"`
6992
- Enhanced Redux TypeScript integration
70-
- Smart `bin/dev` defaults
93+
- Smart `bin/dev` defaults that auto-navigate to `/hello_world` route
7194

7295
## Security Enhancements
7396

0 commit comments

Comments
 (0)