All notable changes to this project will be documented in this file.
- Default Type Configuration: Configure default icon type via initializer
- Heroicons Initializer Generator: New
rails g heroicons:installgenerator creates customizable initializer - Configuration Options: Customize default
typeandclassvalues globally
- Ruby 4.0.0 support
- Improved RuboCop configuration (rubocop-rails-omakase)
- Enhanced gemspec with Ruby 3.3+ compatibility
- Added MFA requirement for RubyGems publishing
- Expanded test coverage for configuration options
- GitHub Actions checkout upgraded to v5
- Dependency updates (Rails, Puma, SQLite3)
- Fixed README usage examples to use correct dash format (
"x-mark"instead of:x_mark) - Updated Heroicons version reference to v2.1.5
- Improved consistency in documentation examples
- Auto-Integration: Helper methods are now automatically available in views without running generators
- Custom Icons Support: Added support for custom icons via
type: :custom - Proper Error Handling:
icon_tagnow raisesHeroicons::IconNotFoundErrorinstead of returning error strings
- Backward Compatibility: Added support for underscored icon names (
academic_cap) with deprecation warnings - Better Documentation: Updated README with comprehensive usage examples and custom icon instructions
- Improved Testing: Enhanced test coverage for all new features
- No Generator Required: The
rails g heroicons:installgenerator is now optional - Exception on Missing Icons: Missing icons now raise exceptions instead of returning error strings
- Deprecation Warnings: Underscored icon names will show deprecation warnings in logs
- Added comprehensive custom icon usage documentation
- Updated installation instructions (no generator needed)
- Added error handling examples
- Created CLAUDE.md for development guidance
- Removed unnecessary generator files
- Improved Rails Engine integration
- Enhanced code structure and maintainability
- Added proper exception classes with detailed error information
- From 0.3.x to 0.4.0:
- Remove any
rails g heroicons:installcalls - helpers are auto-included - Update any error handling code to catch
Heroicons::IconNotFoundError - Replace underscored icon names with dashed names (e.g.,
academic_cap→academic-cap)
- Remove any