Skip to content

Releases: pantographe/view_component-form

v0.2.9

09 Nov 21:01
96f872a
Compare
Choose a tag to compare
v0.2.9 Pre-release
Pre-release

Added

  • Support for Rails 8.0 (#179)

Fixed

  • Fix object_errors when object is false (#173)

v0.2.8

20 Aug 08:29
3ebab14
Compare
Choose a tag to compare
v0.2.8 Pre-release
Pre-release

Added

  • Support for Rails 7.2 (#168)

v0.2.7

18 Jul 08:35
c239299
Compare
Choose a tag to compare
v0.2.7 Pre-release
Pre-release

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

18 Jul 08:35
Compare
Choose a tag to compare
v0.2.6 Pre-release
Pre-release

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

01 May 20:47
a917860
Compare
Choose a tag to compare
v0.2.5 Pre-release
Pre-release

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

27 Apr 16:42
78e3118
Compare
Choose a tag to compare
v0.2.4 Pre-release
Pre-release

Changed

  • Add ruby 3.1 to CI (#123)

Fixed

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

v0.2.3

24 Mar 16:42
a308524
Compare
Choose a tag to compare
v0.2.3 Pre-release
Pre-release

Fixed

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

v0.2.2

23 Mar 14:49
724542e
Compare
Choose a tag to compare
v0.2.2 Pre-release
Pre-release

Changed

  • Improve conditional ActionText support (#118)

v0.2.1

17 Mar 21:04
f3bb574
Compare
Choose a tag to compare
v0.2.1 Pre-release
Pre-release

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

02 Mar 10:21
ad5789d
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

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)