Skip to content

v3.0.0.rc2

Compare
Choose a tag to compare
@joelhawksley joelhawksley released this 17 Feb 23:04
· 237 commits to main since this release
1b49251

Run into an issue with this release? Let us know.

  • BREAKING: Rename SlotV2 to Slot and SlotableV2 to Slotable.

    Joel Hawksley

  • BREAKING: Incorporate PolymorphicSlots into Slotable. To migrate, remove any references to PolymorphicSlots as they are no longer necessary.

    Joel Hawksley

  • BREAKING: Rename private TestHelpers#controller, #build_controller, #request, and #preview_class to avoid conflicts. Note: While these methods were undocumented and marked as private, they was easily accessible in tests. As such, we're cautiously considering this to be a breaking change.

    Joel Hawksley

  • Avoid loading ActionView::Base during Rails initialization. Originally submitted in #1528.

    Jonathan del Strother

  • Improve documentation of known incompatibilities with Rails form helpers.

    Tobias L. Maier

  • Remove dependency on environment task from view_component:statsetup.

    Svetlin Simonyan

  • Add experimental config.view_component.capture_compatibility_patch_enabled option resolving rendering issues related to forms, capture, turbo frames, etc.

    Blake Williams

  • Add #content? method that indicates if content has been passed to component.

    Joel Hawksley

  • Added example of a custom preview controller.

    Graham Rogers

  • Add Krystal to list of companies using ViewComponent.

    Matt Bearman

  • Add Mon Ami to list of companies using ViewComponent.

    Ethan Lee-Tyson