All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Optimize string operations and concatenations for large attribute sets
- Add caching for dasherized keys to avoid repeated string transformations
- Implement batch JSON serialization to reduce overhead
- Improve action building performance by replacing array operations with direct string building
- Initial release of stimulus_helpers gem
- Helper methods for Stimulus controller attributes:
stimulus_controller(name)- Controller bindingstimulus_action(controller, action, listener)andstimulus_actions(controller, actions)- Action bindingsstimulus_class(controller, name, value)andstimulus_classes(controller, classes)- CSS class bindingsstimulus_value(controller, name, value)andstimulus_values(controller, values)- Value bindingsstimulus_target(controller, target)- Target bindingsstimulus_param(controller, name, value)andstimulus_params(controller, params)- Parameter bindingsstimulus_outlet(controller, name, value)andstimulus_outlets(controller, outlets)- Outlet bindings
- Automatic JSON serialization for complex values (Arrays and Hashes)
- Automatic dasherization of attribute names following Stimulus conventions