Skip to content

Commit d96dc6b

Browse files
authored
Merge branch 'main' into re_add_format
2 parents bb1cd6d + 496acb7 commit d96dc6b

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
bundle --quiet && bundle exec rake
9797
env:
9898
VIEW_COMPONENT_PATH: ../view_component
99-
RAILS_VERSION: '7.1.5'
99+
RAILS_VERSION: '8.0.2'
100100
PARALLEL_WORKERS: '1'
101101
coverage:
102102
needs: test

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ GEM
213213
date
214214
stringio
215215
public_suffix (6.0.2)
216-
puma (6.6.0)
216+
puma (6.6.1)
217217
nio4r (~> 2.0)
218218
racc (1.8.1)
219219
rack (3.1.16)

docs/CHANGELOG.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,10 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
4747

4848
### Breaking changes (dev/test)
4949

50-
* Rename `config.generate.component_parent_class` to `config.generate.parent_class`.
51-
* Remove `config.test_controller` in favor of `vc_test_controller_class` test helper method.
52-
* `config.component_parent_class` is now `config.generate.component_parent_class`, moving the generator-specific option to the generator configuration namespace.
50+
* Remove `config.view_component.test_controller` in favor of `vc_test_controller_class` test helper method.
51+
* `config.view_component.component_parent_class` is now `config.view_component.generate.parent_class`, moving the generator-specific option to the generator configuration namespace.
52+
* `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.
5353
* Move previews-related configuration (`enabled`, `route`, `paths`, `default_layout`, `controller`) to under `previews` namespace.
54-
* `config.view_component_path` is now `config.generate.path`, as components have long since been able to exist in any directory.
5554
* `--inline` generator option now generates inline template. Use `--call` to generate `#call` method.
5655
* Remove broken integration with `rails stats` that ignored components outside of `app/components`.
5756
* Remove `preview_source` functionality. Consider using [Lookbook](https://lookbook.build/) instead.
@@ -76,7 +75,7 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
7675
### Bug fixes
7776

7877
* Fix bug where virtual path wasn't reset, breaking translations outside of components.
79-
* Fix bug where `config.previews.enabled` didn't function properly in production environments.
78+
* Fix bug where `config.view_component.previews.enabled` didn't function properly in production environments.
8079
* Fix bug in `SlotableDefault` where default couldn't be overridden when content was passed as a block.
8180
* Fix bug where request-aware helpers didn't work outside of the request context.
8281
* `ViewComponentsSystemTestController` shouldn't be useable outside of test environment
@@ -91,7 +90,7 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
9190
* Update documentation on performance to reflect more representative benchmark showing 2-3x speed increase over partials.
9291
* Add documentation note about instrumentation negatively affecting performance.
9392
* Remove unnecessary ENABLE_RELOADING test suite flag.
94-
* `config.previews.default_layout` should default to nil.
93+
* `config.view_component.previews.default_layout` should default to nil.
9594
* Add test coverage for uncovered code.
9695
* Test against `turbo-rails` `v2` and `rspec-rails` `v7`.
9796

0 commit comments

Comments
 (0)