Skip to content

Releases: pantographe/view_component-form

v0.1.3

11 Jan 17:50
902be24
Compare
Choose a tag to compare
v0.1.3 Pre-release
Pre-release

Fixed

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

v0.1.2

07 Dec 21:42
dc9a4e2
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release

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)

v0.1.1

27 Sep 15:17
26d4a4f
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Changed

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

Fixed

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

v0.1.0

16 Sep 20:27
e773fbb
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

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)