Skip to content

Commit 2a6e8ab

Browse files
committed
config entries were missing .view_component
1 parent 4988379 commit 2a6e8ab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
4141

4242
### Breaking changes (dev/test)
4343

44-
* Remove `config.test_controller` in favor of `vc_test_controller_class` test helper method.
45-
* `config.component_parent_class` is now `config.generate.parent_class`, moving the generator-specific option to the generator configuration namespace.
46-
* `config.view_component_path` is now `config.generate.path`, as components have long since been able to exist in any directory.
44+
* Remove `config.view_component.test_controller` in favor of `vc_test_controller_class` test helper method.
45+
* `config.view_component.component_parent_class` is now `config.view_component.generate.parent_class`, moving the generator-specific option to the generator configuration namespace.
46+
* `config.view_component.view_component_path` is now `config.view_component.generate.path`, as components have long since been able to exist in any directory.
4747
* Move previews-related configuration (`enabled`, `route`, `paths`, `default_layout`, `controller`) to under `previews` namespace.
4848
* `--inline` generator option now generates inline template. Use `--call` to generate `#call` method.
4949
* Remove broken integration with `rails stats` that ignored components outside of `app/components`.
@@ -69,7 +69,7 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
6969
### Bug fixes
7070

7171
* Fix bug where virtual path wasn't reset, breaking translations outside of components.
72-
* Fix bug where `config.previews.enabled` didn't function properly in production environments.
72+
* Fix bug where `config.view_component.previews.enabled` didn't function properly in production environments.
7373
* Fix bug in `SlotableDefault` where default couldn't be overridden when content was passed as a block.
7474
* Fix bug where request-aware helpers didn't work outside of the request context.
7575
* `ViewComponentsSystemTestController` shouldn't be useable outside of test environment
@@ -84,7 +84,7 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
8484
* Update documentation on performance to reflect more representative benchmark showing 2-3x speed increase over partials.
8585
* Add documentation note about instrumentation negatively affecting performance.
8686
* Remove unnecessary ENABLE_RELOADING test suite flag.
87-
* `config.previews.default_layout` should default to nil.
87+
* `config.view_component.previews.default_layout` should default to nil.
8888
* Add test coverage for uncovered code.
8989
* Test against `turbo-rails` `v2` and `rspec-rails` `v7`.
9090

0 commit comments

Comments
 (0)