-
BREAKING CHANGE: drop support for End of life rails versions, name less that Rails 5.2
-
Fixes deprecation warnings when using rails 6.1, which may break in rails 6.2.
DEPRECATION WARNING: Calling `<<` to an ActiveModel::Errors message array in order to add an error is deprecated. Please call `ActiveModel::Errors#add` instead.
DEPRECATION WARNING: Calling `clear` to an ActiveModel::Errors message array in order to delete all errors is deprecated. Please call `ActiveModel::Errors#delete` instead.
DEPRECATION WARNING: ActiveModel::Errors#keys is deprecated and will be removed in Rails 6.2. To achieve the same use: errors.attribute_names
- Markup will produce inputs with
type="text" inputmode="numeric"
.
These are semantically correct and provides a better experience in most browsers, including mobile. More details in this thread
This change might break your code if you target the input (in javascript, CSS or cucumber for example) by type="number"
.
- Allow alternative i18n locales. Read more details
- BREAKING CHANGE: Support for new design system
- The gem will produce markup and style classes in line with the new design system
- The gem will pick all the strings from i18n locales, and the ability to pass hardcoded strings has been removed
- There is no longer an option to show a 'today' button, and thus all related javascript has been removed
- Removed the stylesheet file, as all the styling is now coming from the design system
Please refer to the releases page and the commits history.