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
- Support for Rails 8.0 (#179)
- Fix
object_errors
whenobject
isfalse
(#173)
0.2.8 - 2024-08-20
- Support for Rails 7.2 (#168)
0.2.7 - 2024-07-18
- Added parent_component configuration for field components (#160)
- Added Ruby 3.3 support (#164)
- Add
lookup_chain
customizability (#162)
- Drop Ruby 2.7 support (#164)
- Drop Rails 6.0 support (#164)
0.2.6 - 2023-10-11
- Support for Rails 7.1 (#151)
- Add
element_proc
option toCollectionCheckBoxesComponent
andCollectionRadioButtonsComponent
to customize the way the elements will be shown (#142)
0.2.5 - 2023-05-01
- 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 inapp/helpers
by default, instead oflib
previously, so that it's autoloaded by Rails without further configuration (#137) - Support for
view_component
3.0 (#136, #147)
- Update dependencies (#128)
- Add Ruby 3.2 to CI (#128)
- Fix specs for Rails 7.1 (#128)
0.2.4 - 2022-04-27
- Add Ruby 3.1 to CI (#123)
- Fix
FileFieldComponent
options fordirect_upload
andinclude_hidden
(#122)
0.2.3 - 2022-03-24
- Declare empty RichTextAreaComponent if ActionText is not installed, to fix Zeitwerk error (#120)
0.2.2 - 2022-03-23
- Improve conditional ActionText support (#118)
0.2.1 - 2022-03-17
- Conditional ActionText support (#117)
- 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
- Test BuilderGenerator with generator_spec (#64)
- Add HintComponent and ErrorMessageComponent (#98)
- Add
validation_context
option toForm::Builder
(#101) - Add
validators
helper toFieldComponent
(#101) - Add
optional?
andrequired?
helpers toFieldComponent
(#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
- Update dependencies for Rails 7.0.0 (#96)
- Bump to Rails 7 in Gemfile.lock (#99)
0.1.2 - 2021-12-07
- 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)
- 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
andFieldComponent
to support forms without objects (#95)
- 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
- Setup rspec-html-matchers and use it for complex components specs (#65)
- Fix errors methods in
BaseComponent
andFieldComponent
(#71)
0.1.0 - 2021-09-16
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)