Skip to content

Commit 1708714

Browse files
justin808claude
andcommitted
Add CHANGELOG entry for TypeScript generator improvements
Document comprehensive improvements since 16.0.0 including: - Modern TypeScript patterns with better type inference - Security fixes for command injection vulnerabilities - Enhanced developer experience with smart bin/dev defaults - Optimized tsconfig.json and Redux integration 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent ec7ffd3 commit 1708714

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,26 @@ After a release, please make sure to run `bundle exec rake update_changelog`. Th
2323

2424
Changes since the last non-beta release.
2525

26+
#### Enhanced TypeScript Generator Support
27+
28+
**🔧 Generator Improvements**
29+
30+
- **Modern TypeScript patterns**: Generators now produce more idiomatic TypeScript code with improved type inference instead of explicit type annotations
31+
- **Optimized tsconfig.json**: Updated compiler options to use `"moduleResolution": "bundler"` for better bundler compatibility
32+
- **Enhanced Redux TypeScript integration**: Improved type safety and modern React patterns (useMemo, type-only imports)
33+
- **Smart bin/dev defaults**: Generated `bin/dev` script now automatically navigates to `/hello_world` route for immediate component visibility
34+
35+
**🔐 Security Enhancements**
36+
37+
- **Fixed command injection vulnerabilities**: Replaced unsafe string interpolation in generator package installation commands with secure array-based system calls
38+
- **Improved input validation**: Enhanced package manager validation and argument sanitization across all generators
39+
40+
**🎯 Developer Experience**
41+
42+
- **Better component templates**: Removed unnecessary type annotations while maintaining type safety through TypeScript's inference
43+
- **Cleaner generated code**: Streamlined templates following modern React and TypeScript best practices
44+
- **Improved helper methods**: Added reusable `component_extension` helper for consistent file extension handling
45+
2646
### [16.0.0] - 2025-09-16
2747

2848
**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.**

0 commit comments

Comments
 (0)