github ViewComponent/view_component v3.0.0.rc6

latest releases: v3.20.0, v3.19.0, v3.18.0...
19 months ago

Run into an issue with this release candidate? Let us know. We hope to release v3.0.0 in the near future!

  • BREAKING: #SLOT_NAME getter no longer accepts arguments. This change was missed as part of the earlier deprecation in 3.0.0.rc1.

    Joel Hawksley

  • BREAKING: Raise TranslateCalledBeforeRenderError, ControllerCalledBeforeRenderError, or HelpersCalledBeforeRenderError instead of ViewContextCalledBeforeRenderError.

    Joel Hawksley

  • BREAKING: Raise SlotPredicateNameError, RedefinedSlotError, ReservedSingularSlotNameError, ContentSlotNameError, InvalidSlotDefinitionError, ReservedPluralSlotNameError, ContentAlreadySetForPolymorphicSlotErrror, SystemTestControllerOnlyAllowedInTestError, SystemTestControllerNefariousPathError, NoMatchingTemplatesForPreviewError, MultipleMatchingTemplatesForPreviewError, DuplicateContentError, EmptyOrInvalidInitializerError, MissingCollectionArgumentError, ReservedParameterError, InvalidCollectionArgumentError, MultipleInlineTemplatesError, MissingPreviewTemplateError, DuplicateSlotContentError or NilWithContentError instead of generic error classes.

    Joel Hawksley

  • Fix bug where content? and with_content didn't work reliably with slots.

    Derek Kniffin, Joel Hawksley

  • Add with_SLOT_NAME_content helper.

    Will Cosgrove

  • Allow ActiveRecord objects to be passed to renders_many.

    Leigh Halliday

  • Fix broken links in documentation.

    Ellen Keal

  • Run standardrb against markdown in docs.

    Joel Hawksley

  • Allow .with_content to be redefined by components.

    Joel Hawksley

  • Run standardrb against markdown in docs.

    Joel Hawksley

  • Raise error if translations are used in initializer.

    Joel Hawksley

Don't miss a new view_component release

NewReleases is sending notifications on new releases.