Update dependency view_component to '~> 3.12.1'
This MR contains the following updates:
Package | Update | Change |
---|---|---|
view_component (source, changelog) | minor |
'~> 3.11.0' -> '~> 3.12.1'
|
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
viewcomponent/view_component (view_component)
v3.12.1
-
Ensure content is rendered correctly for forwarded slots.
Cameron Dutro
v3.12.0
-
Remove offline links from resources.
Paulo Henrique Meneses
-
Fix templates not being correctly populated when caller location label has a prefix.
On the upstream version of Ruby, method owners are now included in backtraces as prefixes. This caused the call stack filtering to not work as intended and thus
source_location
to be incorrect for child ViewComponents, consequently not populating templates correctly.Allan Pires, Jason Kim
-
Use component path for generating RSpec files.
When generating new RSpec files for components, the generator will use the
view_component_path
value in the config to decide where to put the new spec file. For instance, if theview_component_path
option has been changed toapp/views/components
, the generator will put the spec file inspec/views/components
. If theview_component_path
doesn't start withapp/
, then the generator will fall back tospec/components/
.This feature is enabled via the
config.view_component.generate.use_component_path_for_rspec_tests
option, defaulting tofalse
. The default will change totrue
in ViewComponent v4.William Mathewson
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.