Twill 3.3.0
Twill 3.3.0 is a minor release adding support for Laravel 11 and addressing various bugs and edge cases.
HOW TO UPDATE
Run composer update
in your project and then, run Twill's own update command: php artisan twill:update
. This will force update your published Twill assets. If you are versioning them, you can delete the old ones from your repository. If you are using custom Vue components, you should rebuild Twill assets using php artisan twill:build
.
Added
- Laravel 11 support by @ifox in #2473
- Add support for
medias
fields in JSON repeaters by @zeezo887 in #2554 - Add support for multiple JSON repeaters (of the same type) in one form by @zeezo887 in #2517
- Add support for nested module on the dashboard by @zeezo887 in #2547
- Add
connectedTo
for inline repeater and documentation aboutconnectedTo
by @Tofandel in #2565 - Add error reporting to block rendering by @AidasK in #2580
- Allow
buttonAsLink
option on inline repeaters by @danieldevine in #2522 - Allow singular capsules on navigation by @antonioribeiro in #2572
Fixed
- Tags in media library are not refreshed while updating & browsing images by @zeezo887 in #2523
- Clicking cancel in the block editor deletes all the unsaved blocks by @zeezo887 in #2578
- Allow single deletion in form builder inline repeater by @zeezo887 in #2504
- Allow deleting media after records bulk destroy by @zeezo887 in #2519
- Allow case-insensitive search for translated models for postgres by @zeezo887 in #2528
- 404 error when restoring revision in nested modules by @zeezo887 in #2541
- Fix alt text stripping accents and single quotes by @Tofandel in #2514
- Changing twill user password in admin to use the laravel algo by @Tofandel in #2582
- Undefined variable $formBuilder error when extending form layout in custom pages by @zeezo887 in #2577
- Error with time-picker when
allowInput
is true by @zeezo887 in #2576 - Don't delete and recreate existing
mediables
andfileables
by @Tofandel in #2567 - Make
twillTrans
exportable so it can be used in config by @Tofandel in #2563 - Table builder
Browser
column overrides parent module field by @zeezo887 in #2506 - Disable heading extension if it's not in the Tiptap toolbar by @Tofandel in #2511
- Relation field of datatable does not allow sorting by @zeezo887 in #2526
- Default login redirect to admin url by @Tofandel in #2569
- Different datetime parsing for publish date on listing and edit screen by @zeezo887 in #2510
- Fix created at is null in slug table by @Tofandel in #2588
Docs
- Fix typo by @k-msalehi in #2564
- Change
admin.
route totwill.
by @LucaRed in #2585 - Prettify instructions and add the capsules>list array keys to improve DX by @antonioribeiro in #2527
- Update twill version during installation by @Mavv3006 in #2584
Chores
- Refactor form services to avoid repeating code by @Tofandel in #2553
- Bump express from 4.18.2 to 4.19.2 by @dependabot in #2560
- Bump webpack-dev-middleware from 5.3.3 to 5.3.4 by @dependabot in #2556
- Bump follow-redirects from 1.15.5 to 1.15.6 by @dependabot in #2545
New Contributors
- @k-msalehi made their first contribution in #2564
- @AidasK made their first contribution in #2580
- @danieldevine made their first contribution in #2522
- @Mavv3006 made their first contribution in #2584
Full Changelog: 3.2.1...3.3.0