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
+72-4Lines changed: 72 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,81 @@ nav_order: 5
10
10
11
11
## main
12
12
13
-
* Add Topkey to list of companies using ViewComponent.
13
+
### v3.0.0
14
14
15
-
*Bryan Beshore*
15
+
1,000+ days and 100+ releases later, the 200+ contributors to ViewComponent are proud to ship v3.0.0!
16
+
17
+
We're so grateful for all the work of community members to get us to this release. Whether it’s filing bug reports, designing APIs in long-winded discussion threads, or writing code itself, ViewComponent is built by the community, for the community. We couldn’t be more proud of what we’re building together :heart:
18
+
19
+
This release makes the following breaking changes, many of which have long been deprecated:
20
+
21
+
* BREAKING: Remove deprecated slots setter methods. Use `with_SLOT_NAME` instead.
22
+
23
+
*Joel Hawksley*
24
+
25
+
* BREAKING: Remove deprecated SlotsV1 in favor of current SlotsV2.
26
+
27
+
*Joel Hawksley*
28
+
29
+
* BREAKING: Remove deprecated `content_areas` feature. Use Slots instead.
30
+
31
+
*Joel Hawksley*
32
+
33
+
* BREAKING: Remove deprecated support for loading ViewComponent engine manually. Make sure `require "view_component/engine"` is removed from `Gemfile`.
34
+
35
+
*Joel Hawksley*
36
+
37
+
* BREAKING: Remove deprecated `generate_*` methods. Use `generate.*` instead.
* BREAKING: Change counter variable to start iterating from `0` instead of `1`.
62
+
63
+
*Frank S*
64
+
65
+
* BREAKING: `#SLOT_NAME` getter no longer accepts arguments. This change was missed as part of the earlier deprecation in `3.0.0.rc1`.
66
+
67
+
*Joel Hawksley*
68
+
69
+
* BREAKING: Raise `TranslateCalledBeforeRenderError`, `ControllerCalledBeforeRenderError`, or `HelpersCalledBeforeRenderError` instead of `ViewContextCalledBeforeRenderError`.
* BREAKING: Rename `SlotV2` to `Slot` and `SlotableV2` to `Slotable`.
78
+
79
+
*Joel Hawksley*
80
+
81
+
* BREAKING: Incorporate `PolymorphicSlots` into `Slotable`. To migrate, remove any references to `PolymorphicSlots` as they are no longer necessary.
82
+
83
+
*Joel Hawksley*
84
+
85
+
* BREAKING: Rename private TestHelpers#controller, #build_controller, #request, and #preview_class to avoid conflicts. Note: While these methods were undocumented and marked as private, they were accessible in tests. As such, we're considering this to be a breaking change.
0 commit comments