Sha256: 5562543336ccccd44ef4d03c629f4670102da5802cd1aa15e6af532810faa885

Contents?: true

Size: 1.19 KB

Versions: 12

Compression:

Stored size: 1.19 KB

Contents

# Formstrap Changelog

## 0.2
- FEATURE: Search added to media modal
- FEATURE: Thumbnail supports SVG previews now
- FIX: You can upload new media and select it right away
- FIX: Flickering heights of thumbnails in media modal is fixed
- BREAK: All partials in `formstrap/fields/` are removed.
 
Copy the partials from `formstrap/fields/` to your project and customize them.

- BREAK: The partial `formstrap/blocks` is removed.
 
Copy `formstrap/blocks.html.erb` to your project and customize it.
 
- BREAK: Default filtering logic for ActiveStorage models is included in Formstrap.

To remove redundant code in your project, you can add these initializers.

config/initializers/extend_active_storage_attachment.rb
```ruby
Rails.configuration.to_prepare do
  ActiveStorage::Attachment.include Formstrap::Attachment
  
  # Feel free to extend ActiveStorage::Attachment with your own concerns
  # ActiveStorage::Attachment.include Admin::Attachment
end
```

config/initializers/extend_active_storage_blob.rb.rb
```ruby
Rails.configuration.to_prepare do
  ActiveStorage::Blob.include Formstrap::Blob
  
  # Feel free to extend ActiveStorage::Blob with your own concerns
  # ActiveStorage::Blob.include Admin::Blob
end
```

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
formstrap-0.4.5 CHANGELOG.md
formstrap-0.4.4 CHANGELOG.md
formstrap-0.4.3 CHANGELOG.md
formstrap-0.4.2 CHANGELOG.md
formstrap-0.3.5 CHANGELOG.md
formstrap-0.3.4 CHANGELOG.md
formstrap-0.3.3 CHANGELOG.md
formstrap-0.3.2 CHANGELOG.md
formstrap-0.3.1 CHANGELOG.md
formstrap-0.3.0 CHANGELOG.md
formstrap-0.2.1 CHANGELOG.md
formstrap-0.2.0 CHANGELOG.md