Skip to content

Releases: ViewComponent/view_component

v2.80.0

21 Dec 22:47
b0e4f76
Compare
Choose a tag to compare
  • Move system test endpoint out of the unrelated previews controller.

    Edwin Mak

  • Display Ruby 2.7 deprecation notice only once, when starting the application.

    Henrik Hauge Bjørnskov

  • Require Rails 5.2+ in gemspec and update documentation.

    Drew Bragg

  • Add documentation for using with_rendered_component_path with RSpec.

    Edwin Mak

v2.79.0

12 Dec 22:59
c182916
Compare
Choose a tag to compare
  • Add ability to pass explicit preview_path to preview generator.

    Erinna Chen

  • Add with_rendered_component_path helper for writing component system tests.

    Edwin Mak

  • Include gem name and deprecation horizon in every deprecation message.

    Jan Klimo

v2.78.0

28 Nov 18:18
c9b7d36
Compare
Choose a tag to compare
  • Support variants with dots in their names.

    Javi Martín

v2.77.0

21 Nov 21:36
e1b9b47
Compare
Choose a tag to compare
  • Support variants with dashes in their names.

    Javi Martín

v2.76.0

16 Nov 21:10
3a61941
Compare
Choose a tag to compare
  • Component.with_collection supports components that accept splatted keyword arguments.

    Zee Spencer

  • Remove config.view_component.use_consistent_rendering_lifecycle since it is no longer planned for 3.0.

    Blake Williams

  • Prevent polymorphic slots from calculating content when setting a slot.

    Blake Williams

  • Add ability to pass in the preview class to render_preview.

    Jon Rohan

  • Fix issue causing PVC tests to fail in CI.

    Cameron Dutro

  • Fix YARD docs build task.

    Hans Lemuet

  • Add Startup Jobs to list of companies using ViewComponent.

    Marc Köhlbrugge

  • Run PVC's accessibility tests in a single process to avoid resource contention in CI.

    Cameron Dutro

v2.75.0

02 Nov 21:27
e294f60
Compare
Choose a tag to compare
  • Avoid loading ActionView::Base during Rails initialization.

    Jonathan del Strother

  • Mention lambda slots rendering returned values lazily in the guide.

    Graham Rogers

  • Add "ViewComponent In The Wild" articles to resources.

    Alexander Baygeldin

v2.74.1

10 Oct 21:29
7d1b344
Compare
Choose a tag to compare
  • Add more users of ViewComponent to docs.

    Joel Hawksley

  • Add a known issue for usage with turbo_frame_tag to the documentation.

    Vlad Radulescu

  • Add note about system testing components with previews.

    Joel Hawksley

  • Remove locking mechanisms from the compiler.

    Cameron Dutro

v2.74.0

28 Sep 16:54
74c0351
Compare
Choose a tag to compare
  • Add Avo to list of companies using ViewComponent.

    Adrian Marin

  • Promote experimental _output_postamble method to public API as output_postamble.

    Joel Hawksley

  • Promote experimental _sidecar_files method to public API as sidecar_files.

    Joel Hawksley

  • Fix show_previews regression introduced in 2.73.0.

    Andy Baranov

  • with_request_url test helper supports router constraints (such as Devise).

    Aotokitsuruya

v2.73.0

27 Sep 19:26
e34f084
Compare
Choose a tag to compare
  • Remove experimental _after_compile lifecycle method.

    Joel Hawksley

  • Fix capitalization of JavaScript in docs.

    Erinna Chen

  • Add PrintReleaf to list of companies using ViewComponent.

    Ry Kulp

  • Simplify CI configuration to a single build per Ruby/Rails version.

    Joel Hawksley

  • Correctly document generate.sidecar config option.

    Ruben Smit

  • Add Yobbers to list of companies using ViewComponent.

    Anton Prins

v2.72.0

14 Sep 17:45
e8365e5
Compare
Choose a tag to compare
  • Deprecate support for Ruby < 2.7 for removal in v3.0.0.

    Joel Hawksley

  • Add changelog_uri to gemspec.

    Joel Hawksley

  • Link to CHANGELOG.md instead of symlink.

    Joel Hawksley

  • Add Aluuno to list of companies using ViewComponent.

    Daniel Naves de Carvalho

  • Add source_code_uri to gemspec.

    Yoshiyuki Hirano

  • Update link to benchmark script in docs.

    Daniel Diekmeier

  • Add special exception message for renders_one :content explaining that content passed as a block will be assigned to the content accessor without having to create an explicit slot.

    Daniel Diekmeier