Skip to content

Latest commit

 

History

History
141 lines (115 loc) · 5.27 KB

CHANGELOG.md

File metadata and controls

141 lines (115 loc) · 5.27 KB

Changelog

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.

Nothing yet.

0.2.9 - 2024-11-09

Added

  • Support for Rails 8.0 (#179)

Fixed

  • Fix object_errors when object is false (#173)

0.2.8 - 2024-08-20

Added

  • Support for Rails 7.2 (#168)

0.2.7 - 2024-07-18

Added

  • Added parent_component configuration for field components (#160)
  • Added Ruby 3.3 support (#164)
  • Add lookup_chain customizability (#162)

Removed

  • Drop Ruby 2.7 support (#164)
  • Drop Rails 6.0 support (#164)

0.2.6 - 2023-10-11

Added

  • Support for Rails 7.1 (#151)
  • Add element_proc option to CollectionCheckBoxesComponent and CollectionRadioButtonsComponent to customize the way the elements will be shown (#142)

0.2.5 - 2023-05-01

Changed

  • Split Form::Builder into modules, to allow including only some modules instead of inheriting the whole class (#134)
  • Using the Form::Builder generator now creates the file in app/helpers by default, instead of lib previously, so that it's autoloaded by Rails without further configuration (#137)
  • Support for view_component 3.0 (#136, #147)

Fixed

  • Update dependencies (#128)
  • Add Ruby 3.2 to CI (#128)
  • Fix specs for Rails 7.1 (#128)

0.2.4 - 2022-04-27

Changed

  • Add Ruby 3.1 to CI (#123)

Fixed

  • Fix FileFieldComponent options for direct_upload and include_hidden (#122)

0.2.3 - 2022-03-24

Fixed

  • Declare empty RichTextAreaComponent if ActionText is not installed, to fix Zeitwerk error (#120)

0.2.2 - 2022-03-23

Changed

  • Improve conditional ActionText support (#118)

0.2.1 - 2022-03-17

Added

  • Conditional ActionText support (#117)

Fixed

  • Fix broken gem initialization due to missing ViewComponent::Form constant (#114)
  • Initialize empty WeekdaySelectComponent if Rails < 7 to fix Zeitwerk error (#115)

0.2.0 - 2022-03-02

Added

  • Test BuilderGenerator with generator_spec (#64)
  • Add HintComponent and ErrorMessageComponent (#98)
  • Add validation_context option to Form::Builder (#101)
  • Add validators helper to FieldComponent (#101)
  • Add optional? and required? helpers to FieldComponent (#101)
  • Add label_text helper (#103)
  • Add field_id helper, backported from Rails 7.0 (#104)
  • Add weekday_select helper (#105)
  • Add README section about supported helpers (#106)
  • Setup zeitwerk (#107)
  • Add documentation for tests (#108)

0.1.3 - 2022-01-11

Fixed

  • Update dependencies for Rails 7.0.0 (#96)
  • Bump to Rails 7 in Gemfile.lock (#99)

0.1.2 - 2021-12-07

Added

  • Add missing component specs (#75)
  • Add missing builder specs for return values (#76)
  • Add accurate test cases for all helpers from ActionView::Helpers::FormBuilder documentation (#85)

Changed

  • Cross-documented Rails form helpers (#84)
  • Made tag_klass optional when inheriting from a component class (#87)
  • Improve README: generator, html_class example (#88)
  • Make rails version condition used the same way (#92)
  • Add rails 7.0 and make rails head works (#94)
  • Allow Base and FieldComponent to support forms without objects (#95)

Fixed

  • Fix phone_field helper (#74)
  • Fix datetime_local_field helper (#76)
  • Fix time_zone_select helper (#76)
  • Resolve Rails 6.1 deprecation on ActiveModel::Errors#keys call (#91)

0.1.1 - 2021-09-27

Changed

  • Setup rspec-html-matchers and use it for complex components specs (#65)

Fixed

  • Fix errors methods in BaseComponent and FieldComponent (#71)

0.1.0 - 2021-09-16

Added

  • FormBuilder: add .namespace method to allow local lookup of components (#54)
  • Add basic ViewComponent::Form::Builder that can be used in place of Rails' ActionView::Helpers::FormBuilder (#1)
  • Add all standard FormBuilder helpers provided by Rails, implemented as ViewComponents (#4)
  • Add a custom FormBuilder generator (#34)
  • Add CHANGELOG (#50)
  • Add CI (#2)