Run into an issue with this release? Let us know.
-
BREAKING: Rename
SlotV2
toSlot
andSlotableV2
toSlotable
.Joel Hawksley
-
BREAKING: Incorporate
PolymorphicSlots
intoSlotable
. To migrate, remove any references toPolymorphicSlots
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