fiber-note
fiber-note copied to clipboard
Bump view_component from 2.12.0 to 2.66.0
Bumps view_component from 2.12.0 to 2.66.0.
Release notes
Sourced from view_component's releases.
v2.66.0
Add missing
generate.sidecar
,generate.stimulus_controller
,generate.locale
,generate.distinct_locale_files
,generate.preview
config options toconfig.view_component
.Simon Fish
v2.65.0
Raise
ArgumentError
when conflicting Slots are defined.Before this change it was possible to define Slots with conflicting names, for example:
class MyComponent < ViewComponent::Base renders_one :item renders_many :items end
Joel Hawksley
v2.64.0
Add
warn_on_deprecated_slot_setter
flag to opt-in to deprecation warning.In v2.54.0, the Slots API was updated to require the
with_*
prefix for setting Slots. The non-with_*
setters will be deprecated in a coming version and removed inv3.0
.To enable the coming deprecation warning, add
warn_on_deprecated_slot_setter
:class DeprecatedSlotsSetterComponent < ViewComponent::Base warn_on_deprecated_slot_setter end
Joel Hawksley
Add
m
to development environment.Joel Hawksley
Fix potential deadlock scenario in the compiler's development mode.
Blake Williams
v2.63.0
Fixed typo in
renders_many
documentation.Graham Rogers
Add documentation about working with
turbo-rails
.Matheus Poli Camilo
... (truncated)
Changelog
Sourced from view_component's changelog.
2.66.0
Add missing
generate.sidecar
,generate.stimulus_controller
,generate.locale
,generate.distinct_locale_files
,generate.preview
config options toconfig.view_component
.Simon Fish
2.65.0
Raise
ArgumentError
when conflicting Slots are defined.Before this change it was possible to define Slots with conflicting names, for example:
class MyComponent < ViewComponent::Base renders_one :item renders_many :items end
Joel Hawksley
2.64.0
Add
warn_on_deprecated_slot_setter
flag to opt-in to deprecation warning.In v2.54.0, the Slots API was updated to require the
with_*
prefix for setting Slots. The non-with_*
setters will be deprecated in a coming version and removed inv3.0
.To enable the coming deprecation warning, add
warn_on_deprecated_slot_setter
:class DeprecatedSlotsSetterComponent < ViewComponent::Base warn_on_deprecated_slot_setter end
Joel Hawksley
Add
m
to development environment.Joel Hawksley
Fix potential deadlock scenario in the compiler's development mode.
Blake Williams
2.63.0
Fixed typo in
renders_many
documentation.Graham Rogers
... (truncated)
Commits
7f4ea54
release 2.66.0 (#1461)c271c5a
Centralize ViewComponent::Base config (#1291)8ed02f9
release 2.65.0 (#1460)aab5a46
RaiseArgumentError
when conflicting slots are defined. (#1455)b8febaf
release 2.64.0 (#1453)807ffca
Warn on slots deprecation (#1450)73e5b23
addm
test runner (#1449)9a46c00
Fix compiler deadlock (#1448)18dd241
release 2.63.0 (#1446)3178c65
Fix typo inrenders_many
documentation (#1443)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)