Skip to content

Twill 2.5.0

Compare
Choose a tag to compare
@ifox ifox released this 02 Sep 09:32
· 702 commits to 2.x since this release
321da81

Twill 2.5.0 is a non-breaking release bringing a lot of cool new features and improvements, especially around the block editor, which can now be used multiple times in the same form, thanks to the work that was started a while back by @m4n1ok, now fully completed by @ptrckvzn.

This release also addresses multiple core issues and needs that have been reported by Twill users, as in content publishers and designers, not just developers.

16 participants have contributed to this release:
@peterabarry, @sebastianlenton, @mrdoinel, @mazeeblanke, @Keimeno, @joyceverheije , @domihagen, @pboivin, @Dmi3yy, @shawkiIIalasy, @m4n1ok, @ptrckvzn, @antonioribeiro, @mattdinthehouse, @daun, @ifox.

Special mention goes to @pboivin for his extremely thoughtful and productive work on Twill over the last couple of months. More to come for Twill from this amazing collaboration!

HOW TO UPDATE

Run composer update and php artisan migrate in your project and then, run Twill's own update command: php artisan twill:update. This will force update your published Twill assets. You can delete the old ones from your repository if you are versioning them. If you are using custom Vue components, you should rebuild Twill assets using php artisan twill:build.

Added

  • Block editor updates
    • Ability to use multiple block_editor fields #918
    • Dynamic block/repeater titles #1096
    • Update content editor sidebar layout and add new icons #1072
    • Update default button variant for inner repeaters #1073
  • Form fields updates
    • Border option for 'radios' and 'checkbox'/'checkboxes' field #1088
    • Columns option for 'radios', 'select', 'checkboxes' and 'multi_select' fields #1088
    • Time picker form field 42d1880a 969e800c
    • Option to make multi select searchable bbead399
    • Automatic input direction for RTL languages e8a60d0f 318834c8 2b183493
    • Click-to-place on the Location field's map e48245aa
    • Support inverse HasOne relationship for BelongsTo browsers d1b67fa7 f1e6efc1 4f791c66
  • Capsules updates
    • Autoloading system for Capsules cec70d03
    • Translations files for Capsules 8f06ea53
  • General updates
    • SVG support with Glide #985
    • Configurable admin routes prefix 5e5b5a81
    • Allow configuring password broker and enable throttle b421561a
    • Ukrainian language c2c08603
    • Watch for custom blocks & components in development #1107
    • Allow setting dev_assets_path from .env 814ade6b

Fixed

  • Prevent submitting a form before saving an input into the store #1030
  • Prevent multiple submit events in add/create modals 3dfb0c8f cb38ba53 40248552
  • Fix incorrect position of link edit options in wysiwyg editor when height limit is set f8276462
  • Ensure pasting content in quill do not make editor scroll to the top 07f7aa0051302a15
  • Safari form submit issue in Filter component 29a1f227 91390ac2
  • Support revisions preview and restore with belongsTo browsers #984 #1085
  • Toggle media library unused checkbox on clear only if active d73ff3eb
  • Order files by fileable id d7df01bf
  • Register capsules routes before Twill internal routes c1acb981
  • Issues when extending Twill's exceptions handler itca7a650e
  • Support multi-country locales on Translatable c5b341d4 5d9c9953
  • Fix Exception Handler broken for Laravel 8 569ce2e6 ce58aae5 76890ffa

Improved

Chores