You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,10 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
30
30
* Rename internal methods to have `__vc_` prefix if they shouldn't be used by consumers. Make internal constants private. Make `Collection#components`, `Slotable#register_polymorphic_slot` private. Remove unused `ComponentError` class.
31
31
* Use ActionView's `lookup_context` for picking templates instead of the request format.
32
32
33
-
3.15 added support for using templates that match the request format, i.e. if `/resource.csv` is requested then
33
+
3.15 added support for using templates that match the request format, that is if `/resource.csv` is requested then
34
34
ViewComponents would pick `_component.csv.erb` over `_component.html.erb`.
35
35
36
-
With this release, the request format is no longer considered and instead ViewComponent will use the Rails logic for picking the most appropriate template type, i.e. the csv template will be used if it matches the `Accept` header or because the controller uses a `respond_to` block to pick the response format.
36
+
With this release, the request format is no longer considered and instead ViewComponent will use the Rails logic for picking the most appropriate template type, that is the csv template will be used if it matches the `Accept` header or because the controller uses a `respond_to` block to pick the response format.
37
37
38
38
### Breaking changes (dev/test)
39
39
@@ -65,11 +65,11 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
65
65
### Bug fixes
66
66
67
67
* Fix bug where virtual path wasn't reset, breaking translations outside of components.
68
-
* Fix bug where `config.previews.enabled`did not function properly in production environments.
68
+
* Fix bug where `config.previews.enabled`didn't function properly in production environments.
69
69
* Fix bug where response format wasn't set, which caused issues with Turbo Frames.
70
70
* Fix bug in `SlotableDefault` where default couldn't be overridden when content was passed as a block.
71
-
* Fix bug where request-aware helpers did not work outside of the request context.
72
-
*`ViewComponentsSystemTestController`should not be useable outside of test environment
71
+
* Fix bug where request-aware helpers didn't work outside of the request context.
72
+
*`ViewComponentsSystemTestController`shouldn't be useable outside of test environment
73
73
74
74
### Non-functional changes
75
75
@@ -99,7 +99,7 @@ Please report any issues at [https://github.com/ViewComponent/view_component/iss
99
99
100
100
*Joel Hawksley*
101
101
102
-
* Fix bug where `config.previews.enabled`did not function properly in production environments.
102
+
* Fix bug where `config.previews.enabled`didn't function properly in production environments.
103
103
104
104
*Joel Hawksley*
105
105
@@ -234,11 +234,11 @@ This release makes the following breaking changes:
234
234
235
235
* BREAKING: Use ActionView's `lookup_context` for picking templates instead of the request format.
236
236
237
-
3.15 added support for using templates that match the request format, i.e. if `/resource.csv` is requested then
237
+
3.15 added support for using templates that match the request format, that is if `/resource.csv` is requested then
238
238
ViewComponents would pick `_component.csv.erb` over `_component.html.erb`.
239
239
240
240
With this release, the request format is no longer considered and instead ViewComponent will use the Rails logic
241
-
for picking the most appropriate template type, i.e. the csv template will be used if it matches the `Accept` header
241
+
for picking the most appropriate template type, that is the csv template will be used if it matches the `Accept` header
242
242
or because the controller uses a `respond_to` block to pick the response format.
243
243
244
244
*Stephen Nelson*
@@ -247,11 +247,11 @@ This release makes the following breaking changes:
247
247
248
248
*Joel Hawksley*
249
249
250
-
* Fix bug where request-aware helpers did not work outside of the request context.
250
+
* Fix bug where request-aware helpers didn't work outside of the request context.
251
251
252
252
*Joel Hawksley*, *Stephen Nelson*
253
253
254
-
*`ViewComponentsSystemTestController`should not be useable outside of test environment
254
+
*`ViewComponentsSystemTestController`shouldn't be useable outside of test environment
0 commit comments