Skip to content

Releases: yuki24/shoelace-rails

v0.8.0

16 Aug 05:46
Compare
Choose a tag to compare

⭐️ Features

  • Add support for Rails 7.1 (5f934f1)

v0.7.0

01 Aug 04:47
Compare
Choose a tag to compare

🚨 Breaking Changes

  • Deprecate config.shoelace.invalid_input_class_name in favor of data-invalid and data-use-invalid (461b622)

⭐️ Features

  • Add invalid and data-invalid to the Shoelace::FormBuilder (461b622)
  • Add the ability to specify a method for rendering slot for input components (6b8b2d3)
  • Add FormBuilder#date_field method (73b92be)

🐞 Bug Fixes

  • Fixes a bug where FormBuilder#select blows up with an empty block (f0addb2)

v0.6.2

01 Aug 04:38
Compare
Choose a tag to compare

🐞Bug Fixes

  • Fixes a bug where form builders fail to render when it falls back to humanize the given method name (74b646e)

v0.6.1

13 Mar 03:05
Compare
Choose a tag to compare

🐞Bug Fixes

  • Fixes a bug where form builders fail to render with a string :as option (d631025)

v0.6.0

13 Mar 02:54
Compare
Choose a tag to compare

⭐️ Features

  • Add the ability to use translations with form helpers (626f271)

v0.5.0

09 Mar 08:54
Compare
Choose a tag to compare

⭐️ Features

  • Add support for Ruby 3.3 (399f255)
  • Add support for Rails 7.1 (#4)
  • Add #grouped_collection_select (2b91023)
  • Make the <sl-radio> form helpers compatible with Shoelace 2.0.0-beta.80 and above (ef9a834)

v0.4.1

21 Mar 04:03
Compare
Choose a tag to compare

🐞Bug Fixes

  • Fixes a bug where FormHelper may not be defined when someone loads ActionView too early (d91ed3b)
  • Fixes a bug where the Shoelace rake tasks blow up when the project does not depend on Sprockets or Propshaft (0e64cd6, 75adf83)

v0.4.0

07 Jan 07:23
Compare
Choose a tag to compare

🚨 Breaking Changes

  • No longer works with 2.0.0-beta.87 and below.

⭐️ Features

  • Support Shoelace.style 2.0.0-beta.88.

v0.3.0

05 Jan 08:49
Compare
Choose a tag to compare

Features

  • No longer requires the sl-form component (4fdbfa1)
  • The #text_area method now accepts a block (5092dc1)
  • Allow overriding the value attribute for <sl-select> (1f38be7)
  • Auto-display labels whenever possible (c1e3a95)
  • <sl-select> now always has a label by default (f9fb5f0)
  • Support Ruby 3.2 (b286cbc)
  • Add #sl_button_to (e1bdedb)
  • Add #sl_icon_tag (8a2187a)
  • Add #sl_avatar_tag (77dccdb)
  • Allow using the Shoelace::FormBuilder in a cleaner way (43dea33)

Bug Fixes

  • Fixes a bug where the gem rake tasks are not loaded (115bfb3)
  • Fixes a bug where values are not properly passed in to <sl-textarea> (3d16384)
  • Make sure yarn install is always executed before copying shoelace assets (98018a2)
  • Fixes a bug where the @object needs to respond to #errors (bb981ed)
  • Fixes a bug where the size attr is ignored by the #text_area method (8bc4c37)
  • Fixes a bug where unchecked checkbox values are not captured (dc658be)

v0.2.0

24 Jun 05:14
Compare
Choose a tag to compare

Features

  • Do not require the copy-webpack-plugin to set up Shoelace so the gem works with any js bundler.