Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (30 loc) · 1.97 KB

CHANGELOG.md

File metadata and controls

43 lines (30 loc) · 1.97 KB

4.2.0

  • 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
    

4.1.0

  • 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".

4.0.1

4.0.0

  • 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

Older versions

Please refer to the releases page and the commits history.