github ViewComponent/view_component v2.31.0

latest releases: v3.16.0, v3.15.1, v3.15.0...
3 years ago
  • 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.

    Manuel Puyol

Don't miss a new view_component release

NewReleases is sending notifications on new releases.