Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Releases: joelmoss/frails

0.8.0

10 Aug 19:37
Compare
Choose a tag to compare

Added

  • Replaced ENV vars with Frails.* class variables, which the Webpack config will now use.

v0.7.0

14 Feb 10:11
Compare
Choose a tag to compare

Features

  • Support for rendering by the component class (eg, render(MyComponent))
  • Added render_inline test helper.

Changes

  • Renamed component classes:
    • Use Frails::Component::Base for plain components.
    • Use Frails::Component::React for react components.

v0.6.0

23 Oct 10:02
Compare
Choose a tag to compare

Features

  • Content loader for React components now only accepts a partial path to render, which is far more flexible.

v0.5.1

17 Oct 10:27
Compare
Choose a tag to compare

Fixes

  • Side loading partial collections now work as expected.
  • Optimised side loaded partial CSS a little, and added check for existence of said CSS file.

0.4.0

01 Oct 14:42
Compare
Choose a tag to compare

Breaking Changes

Side loading assets is now opt-in!

Meaning that your layout, views and partial assets will not be side loaded unless you opt in using the side_load_assets class method. Just add that to your ApplicationController...

class ApplicationController < ActionController::Base
  side_load_assets
end

0.3.0

01 Oct 10:07
Compare
Choose a tag to compare

Features

  • Side loaded assets for layouts, views and partials.
  • Components!
  • Support for custom manifest files.
  • Webpack config helpers for components and side loaded assets.

Improvements

  • All config options are now defined with ENV variables.
  • javascript_pack_tag helper will track duplicates and not render them.
  • Removed Yarn integrity check - it's not our responsibility!

First alpha release!

04 Apr 19:06
Compare
Choose a tag to compare
First alpha release! Pre-release
Pre-release

It's all new, so nothing to add to the changelog 🤔