-
Add
with_*slot API for defining slots. Note: we plan to deprecate the nonwith_*API for slots in an upcoming release.Blake Williams
-
Add QuickNode to list of companies that heavily rely on ViewComponent.
Luc Castera
-
Include the
Translatablemodule by default.Elia Schito
-
Update docs dependencies.
Joel Hawksley
-
Add support for relative I18n scopes to translations.
Elia Schito
-
Update CI configuration to use latest Rails 7.0.
Hans Lemuet
-
Document how to use blocks with lambda slots.
Sam Partington
-
Skip Rails 5.2 in local test environment if using incompatible Ruby version.
Cameron Dutro, Blake Williams, Joel Hawksley
-
Improve landing page documentation.
Jason Swett
-
Add Bearer to list of companies that heavily rely on ViewComponent.
Yaroslav Shmarov
-
Add articles to resources page.
Joel Hawksley
-
Add ADR for separate slot getter/setter API.
Blake Williams
-
Add the option to use a "global" output buffer so
form_forand friends can be used with view components.Cameron Dutro, Blake Williams
-
Fix fragment caching in partials when global output buffer is enabled.
-
Fix template inheritance when eager loading is disabled.
Cameron Dutro
-
Update the docs only when releasing a new version.
Hans Lemuet
-
Alphabetize companies using ViewComponent and add Brightline to the list.
Jack Schuss
-
Add CMYK value for ViewComponent Red color on logo page.
Dylan Smith
-
Improve performance by moving template compilation from
#render_into#render_template_for.Cameron Dutro
-
Add tests for
layoutusage when rendering via controller.Felipe Sateler
-
Support returning Arrays from i18n files, and support marking them as HTML-safe translations.
foca
-
Add Cometeer and Framework to users list.
Elia Schito
-
Update Microsoft Vale styles.
Simon Fish
-
Fix example in testing guide for how to setup default Rails tests.
Steven Hansen
-
Update benchmark script to render multiple components/partials instead of a single instance per-run.
Blake Williams
-
Add predicate methods
#{slot_name}?to slots.Hans Lemuet
-
Use a dedicated deprecation instance, silence it while testing.
Max Beizer, Hans Lemuet, Elia Schito
-
Fix Ruby warnings.
Hans Lemuet
-
Place all generator options under
config.generatenamespace.Simon Fish
-
Allow preview generator to use provided component attributes.
-
Add config option
config.view_component.generate.previewto enable project-wide preview generation. -
Ensure all generated
.rbfiles include# frozen_string_literal: truestatement.Bob Maerten
-
Add Shogun to users list.
Bernie Chiu
2.49.1
-
Patch XSS vulnerability in
ViewComponent::Translatablemodule caused by improperly escaped interpolation arguments.Cameron Dutro
2.31.2
-
Patch XSS vulnerability in
ViewComponent::Translatablemodule caused by improperly escaped interpolation arguments.Cameron Dutro
-
Fix path handling for evaluated view components that broke in Ruby 3.1.
Adam Hess
-
Fix support for the
default:option for a global translation.Elia Schito
-
Ensure i18n scope is a symbol to protect lookups.
Simon Fish
-
Small update to preview docs to include rspec mention.
Leigh Halliday
-
Small improvements to collection iteration docs.
Brian O'Rourke
-
Add good and bad examples to
ViewComponents in practice.Joel Hawksley
-
Add Ruby 3.1 and Rails 7.0 to CI
Peter Goldstein
-
Correct path in example test command in Contributing docs.
Mark Wilkinson
-
Update link to GOV.UK Components library in the resources list.
Peter Yates
-
Add Lookbook to Resources docs page.
Mark Perkins
-
Add blocking compiler mode for use in Rails development and testing modes, improving thread safety.
Horia Radu
-
Add generators to support
tailwindcss-rails.Dino Maric, Hans Lemuet
-
Add a namespaced component example to docs.
Hans Lemuet
-
Setup
Appraisalto add flexibility when testing ViewComponent against multiple Rails versions.Hans Lemuet
-
Return correct values for
request.pathandrequest.query_stringmethods when using thewith_request_urltest helper.Vasiliy Matyushin
-
Improve style in generators docs.
Hans Lemuet
-
Correctly type Ruby version strings and update Rails versions used in CI configuration.
Hans Lemuet
-
Make
ViewComponent::Collectionact like a collection of view components.Sammy Henningsson
-
Update
@paramof#render_inlineto includeViewComponent::Collection.Yutaka Kamei
-
Add Wecasa to users list.
Mohamed Ziata