Skip to content

Commit 1947a4e

Browse files
authored
Merge branch 'v4' into 1792-inline-template
2 parents 824781a + 1ee6f91 commit 1947a4e

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

docs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ nav_order: 6
1212

1313
## 4.0.0
1414

15+
Almost six years after releasing [v1.0.0](https://github.com/ViewComponent/view_component/releases/tag/v1.0.0), we are proud to ship ViewComponent 4. This release marks a shift towards a Long Term Support model for the project, having reached significant feature maturity. While contributions are always welcome, we are unlikely to accept further breaking changes or major feature additions.
16+
17+
This release makes the following breaking changes:
18+
1519
* BREAKING: `--inline` generator option now generates inline template. Use `--call` to generate `#call` method.
1620

1721
*Joel Hawksley*

docs/CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ nav_order: 9
88

99
_ViewComponent is intended to be a safe, welcoming space for collaboration. By participating you agree to abide by the [Contributor Code of Conduct](CODE_OF_CONDUCT.md)._
1010

11+
_As of version 4, ViewComponent is considered feature-complete. While contributions are always welcome, we are unlikely to accept further breaking changes or significant feature additions._
12+
1113
Hi there! We're thrilled that you'd like to contribute to ViewComponent. Your help is essential for keeping it great.
1214

1315
If you have any substantial changes that you would like to make, please [open an issue](http://github.com/viewcomponent/view_component/issues/new) first to discuss them with us.

docs/history.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,7 @@ The largest consequence of this change is that we'll need to deprecate the old s
214214
We propose that we make at least one release with the new API and no deprecation
215215
warning followed by another release that includes the deprecation warning. This
216216
will give teams some time to migrate before running into deprecation warnings.
217+
218+
## May 2024: ViewComponent 4
219+
220+
ViewComponent 4 is released and the project is moved into Long-Term Support, recognizing the feature-completeness of the framework.

docs/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ nav_order: 1
88

99
A framework for creating reusable, testable & encapsulated view components, built to integrate seamlessly with Ruby on Rails.
1010

11+
_As of version 4, ViewComponent is in Long-Term Support and generally considered feature-complete._
12+
1113
## What's a ViewComponent?
1214

1315
ViewComponents are Ruby objects used to build markup. Think of them as an evolution of the presenter pattern, inspired by [React](https://reactjs.org/docs/react-component.html).

0 commit comments

Comments
 (0)