Rails 8.0.4 (October 28, 2025)
- No changes.
Rails 8.0.3 (September 22, 2025)
Add rollup-plugin-terser as a dev dependency.
Édouard Chin
Rails 8.0.2.1 (August 13, 2025)
- No changes.
Rails 8.0.2 (March 12, 2025)
- No changes.
Rails 8.0.2 (March 12, 2025)
- No changes.
Rails 8.0.1 (December 13, 2024)
- No changes.
Rails 8.0.0.1 (December 10, 2024)
Update vendored trix version to 2.1.10
John Hawthorn
Rails 8.0.0 (November 07, 2024)
- No changes.
Rails 8.0.0.rc2 (October 30, 2024)
- No changes.
Rails 8.0.0.rc1 (October 19, 2024)
- No changes.
Rails 8.0.0.beta1 (September 26, 2024)
Dispatch direct-upload events on attachment uploads
When using Action Text's rich textarea, it's possible to attach files to the editor. Previously, that action didn't dispatch any events, which made it hard to react to the file uploads. For instance, if an upload failed, there was no way to notify the user about it, or remove the attachment from the editor.
This commits adds new events -
direct-upload:start,direct-upload:progress, anddirect-upload:end- similar to how Active Storage's direct uploads work.Matheus Richard, Brad Rees
Add
store_if_blankoption tohas_rich_textPass
store_if_blank: falseto not createActionText::RichTextrecords when saving with a blank attribute, such as from an optional form parameter.class Message has_rich_text :content, store_if_blank: false end Message.create(content: "hi") # creates an ActionText::RichText Message.create(content: "") # does not create an ActionText::RichTextAlex Ghiculescu
Strip
contentattribute if the key is present but the value is emptyJeremy Green
Rename
rich_text_areamethods intorich_textareaOld names are still available as aliases.
Sean Doyle
Only sanitize
contentattribute when present in attachments.Petrik de Heus
Please check [7-2-stable]) for previous changes.