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 performance optimizations and validation tests
- Cache version requirement checks to avoid repeated Gem::Version comparisons
- Add comprehensive tests for version constants validation
- Ensure logical consistency between MINIMUM_SHAKAPACKER_VERSION constants
- Add test for caching behavior verification
- Update CHANGELOG to document new constants and performance improvements
Performance: Version checks are now cached, reducing redundant Gem::Version object creation
Reliability: Tests ensure version constants remain properly aligned
Documentation: Clear explanation of why shakapacker_gem_available? checks were removed
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Changes since the last non-beta release.
26
26
#### Bug Fixes
27
27
28
28
-**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)
29
-
-**Shakapacker version requirements**: Fixed inconsistent version requirements between basic pack generation (6.5.1+) and advanced auto-registration 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. [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798)
29
+
-**Shakapacker version requirements**: Fixed inconsistent version requirements between basic pack generation (6.5.1+) and advanced auto-registration 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_REGISTRATION` and improved version checking performance with caching. [PR 1798](https://github.com/shakacode/react_on_rails/pull/1798)
0 commit comments