Skip to content

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

Compare Source

  • Ensure content is rendered correctly for forwarded slots.

    Cameron Dutro

v3.12.0

Compare Source

  • 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 the view_component_path option has been changed to app/views/components, the generator will put the spec file in spec/views/components. If the view_component_path doesn't start with app/, then the generator will fall back to spec/components/.

    This feature is enabled via the config.view_component.generate.use_component_path_for_rspec_tests option, defaulting to false. The default will change to true in ViewComponent v4.

    William Mathewson


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports