CHANGELOG.md in view_component-2.30.0 vs CHANGELOG.md in view_component-2.31.0

- old
+ new

@@ -1,8 +1,38 @@ # CHANGELOG ## main +## 2.31.0 + +* Add `#with_content` to allow setting content without a block. + + *Jordan Raine, Manuel Puyol* + +* Add `with_request_url` test helper. + + *Mario Schüttel* + +* Improve feature parity with Rails translations + * Don't create a translation backend if the component has no translation file + * Mark translation keys ending with `html` as HTML-safe + * Always convert keys to String + * Support multiple keys + + *Elia Schito* + +* Fix errors on `asset_url` helpers when `asset_host` has no protocol. + + *Elia Schito* + +* Prevent slots from overriding the `#content` method when registering a slot with that name. + + *Blake Williams* + +* Deprecate `with_slot` in favor of the new [slots API](https://viewcomponent.org/guide/slots.html). + + *Manuel Puyol* + ## 2.30.0 * Deprecate `with_content_areas` in favor of [slots](https://viewcomponent.org/guide/slots.html). *Joel Hawksley*