Releases: pantographe/view_component-form
Releases · pantographe/view_component-form
v0.2.9
Added
- Support for Rails 8.0 (#179)
Fixed
- Fix
object_errors
when object
is false
(#173)
v0.2.8
Added
- Support for Rails 7.2 (#168)
v0.2.7
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)
v0.2.6
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)
v0.2.5
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)
v0.2.4
Changed
- Add ruby 3.1 to CI (#123)
Fixed
- Fix
FileFieldComponent
options for direct_upload
and include_hidden
(#122)
v0.2.3
Fixed
- Declare empty RichTextAreaComponent if ActionText is not installed, to fix Zeitwerk error (#120)
v0.2.2
Changed
- Improve conditional ActionText support (#118)
v0.2.1
Added
- Conditional ActionText in CI (#117)
Fixed
- Fix broken gem initialization due to missing ViewComponent::Form constant (#114)
- Initialize empty WeekdaySelectComponent if Rails < 7 to fix Zeitwerk error (#115)
v0.2.0
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)