Releases: area17/twill
3.5.2
Twill 3.5.2 is a patch release addressing a bug with the cropper tool on the medias
field.
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
.
Fixed
Full Changelog: 3.5.1...3.5.2
Twill 3.5.1
Twill 3.5.1 is a patch release that fixes a regression introduced in Twill 3.5.0 and adds a helpful warning for developers who have disabled Twill’s database migrations loading, following a conversation with a community contributor about the last release.
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
.
Fixed
- Fix file library uploader regression by @joyceverheije in #2740
- Fix
timeOnly
variant of theDatepicker
field by @MamlukiSn in #2739
Improved
- Add a warning during the
twill:update
andtwill:build
commands for developers that havetwill.load_default_migrations
set to false by @ifox in de274175
Full Changelog: 3.5.0...3.5.1
Twill 3.3.2
Twill 3.3.2 is backporting a fix introduced in 3.5.1, which is addressing a regression on the DatePicker
field.
Fixed
- Backport fix from 3.5.1:
timeOnly
variant of theDatepicker
field by @MamlukiSn in #2739
Full Changelog: 3.3.1...3.3.2
Twill 3.5.0
Twill 3.5.0 is a minor release 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
- Add a
ModuleController::setPreviewView()
method by @zachgarwood in #2724 - Add a
disableCrop()
method tomedias
fields by @ifox in #2686
Fixed
- Fix position management in
medias
andfiles
fields by @zeezo887 in #2694 - Fix issues with touch actions by @13twelve in #2713
- Fix issue with
Relation
column by @zachgarwood in #2720 - Fix endpoints initialization for
Browser
component by @zeezo887 in #2722 - Fix image cropper for erroneous EXIF orientation: Use JS to read image dimensions on upload by @13twelve in #2705
- Fix square crops having mismatching width/height values by @13twelve in #2706
- Fix
hideActiveCrop()
not working for medias form field when max is greater than 1 by @zeezo887 in #2686 - Fix #2641:
InlineRepeater
updates by @13twelve in #2714 - Fix Vue dropdown console warnings: update useCapture param for removeEventListener to match addEventListener by @zeezo887 in #2687
- Fix #2657: adds missing Vue draggable deprecations by @13twelve in #2707
Docs
- Added instructions to disable publish switch in create modal by @ordigital in #2698
- Added instructions for
MultiSelect
field with dynamic values in form builder by @ordigital in #2699 - Added instructions for free cropping with
null
or0
ratio value by @LucaRed in #2715
Translations
New Contributors
- @ordigital made their first contribution in #2698
Full Changelog: 3.4.1...3.5.0
Twill 3.4.1
Twill 3.4.1 is a patch release addressing minor regressions in Twill 3.4.0.
Improved
- Allow media and file library disk configuration using an environment variable by @antonioribeiro in #2676
Fixed
- Fix #2671: 3.4.0 regression on related browsers previews by @Tofandel in #2672
- Fix #2674: 3.4.0 regression on relation column using a one-to-one relationship by @Tofandel in #2675
Full Changelog: 3.4.0...3.4.1
Twill 3.4.0
Twill 3.4.0 is a minor release addressing various bugs, regressions, 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
- Add
searchQuery
method to controller for finer con 8000 trol over the search by @Tofandel in #2614 - Add
clearable
method to select form field by @zeezo887 in #2581
Improved
- Rethink the way the error handler works by @Tofandel in #2612
- Improve related save by @Tofandel in #2599
- Limits Access Key exposition to S3 storage by @luislavena in #2611
- Don't load relation for each column and allow dot notation in field name for index table by @Tofandel in #2603
- Filter - Select: expand to the longest option by @mrdoinel in #2627
- Preview: Update default width value for the mobile preview (to a more realistic value) by @mrdoinel in #2624
Fixed
- Fix trim function to get corresponding input by @DCrepper in #2609
- Fix published scope by @Tofandel in #2606
- Fix sync of medias and files with multiple fields by @Tofandel in #2628
- Fix positioning of the close button in media library tags by @mrdoinel in #2626
- Fix search functionality for buckets by @zeezo887 in #2661
- Fix #2650: Added parentheses to fix the order of evaluation between t… by @HarryThe3rd in #2651
- Fix deleted users causes error 500 by @Tofandel in #2643
- Fix wrong crops for Blocks in
twill:refresh-crops
by @ptrckvzn in #2642 - Fix server error in the dashboard when a nested module has a deleted parent by @Tofandel in #2633
- Fix slugs are not created when saving models outside of Twill or when duplicating by @Tofandel in #2618
- Fix repeaters are registered without a populated item by @Tofandel in #2605
- Fix block previews don't update when browser items are added or changed by @zeezo887 in #2535
- Fix weird behaviour of slugs table active column by @zeezo887 in #2531
- Fix blocks take crop settings from parent model if name is the same by @zeezo887 in #2542
- Use strict check for is null, as it otherwise causes empty arrays to not have any field by @Tofandel in #2604
- Rename moduleName variable in permissionModules loop by @zeezo887 in #2635
- Ensure catch-all routes do not take precedence by @ifox in #2669
Docs
- Update one-to-many docs to use correct Artisan command by @daisonth in #2615
- Fix basic page builder guide block file reference by @amiraezz in #2630
Translations
- Update both Portuguese from Brazil and Portugal by @antonioribeiro in #2602
- Improved i18n: added missing translation key (#2616) and improved German translations by @C2H6-383 in #2634
Chores
- Upgrade GitHub Actions artefact upload to v4 by @ifox
- Bump webpack from 5.91.0 to 5.95.0 by @dependabot in #2665
- Bump body-parser and express by @dependabot in #2659
- Bump cookie and express by @dependabot in #2664
New Contributors
- @luislavena made their first contribution in #2611
- @DCrepper made their first contribution in #2609
- @daisonth made their first contribution in #2615
- @HarryThe3rd made their first contribution in #2651
- @C2H6-383 made their first contribution in #2634
- @amiraezz made their first contribution in #2630
Full Changelog: 3.3.1...3.4.0
Twill 3.3.1
Twill 3.3.1 is a patch release addressing compatibility with doctrine/dbal
4 on Laravel 11.
Fixed
Full Changelog: 3.3.0...3.3.1
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< 8000 /a> 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
Twill 3.2.1
Twill 3.2.1 is a patch release addressing a bug with filters due to a breaking change in Axios 0.28.0.
Stay tuned for Twill 3.3.0, we're making a lot of progress on our roadmap! 🚀
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
.
Fixed
Full Changelog: 3.2.0...3.2.1
Twill 3.2.0
Twill 3.2.0 is a minor release addressing various bugs and edge cases. It also adds a couple missing features to the Twill 3 form builder and a new command to help with Laravel morph maps references in Twill's tables.
Huge thanks to @Tofandel, a community contributor, for all his recent and ongoing contributions ❤️
This release is mostly brought by him as you can see in the changelog below!
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
- Allow dynamic title on
InlineRepeater
by @Tofandel in #2493 - Add command to update morph references in Twill tables by @joyceverheije in #2482
- Allow behaviors to load classes without being the main model of a capsule by @Tofandel in #2423
- Add missing step method on Twill 3 form builder input field by @zeezo887 in #2496
Fixed
- Fix error when updating a model after having enabled a new language in the config by @Tofandel in #2487
- Fix Twill model extensibility by @Tofandel in #2498
- Fix shrinking block counter by @Tofandel in #2501
- Fix single module browser definition by @Tofandel in #2474
- Fix incorrect method argument order when registering Twill capsule translation by @emanueljacob in #2477
- Fix preview mode when trying to preview a revision that contains a block that itself uses a blockable relation by @emanueljacob in #2484
- Fix custom callback of Image column by @Tofandel in #2494
- Fix js error if you grab a block but don't move it anywhere by @Tofandel in #2488
- Fix
getModulePermalinkBase
by @Tofandel in #2471 - Fix
getBaseNamespace
by @Tofandel in #2420 - Fix relative path traversal in docs dev server command by @ouuan in #2469
- Fix Vue draggable deprecations by @Tofandel in #2491
- Remove duplicate extensions already included in the TipTap starterKit by @Tofandel in #2486
Improved
- Fix documentation issues reported in #1804
- Remove HTML 4 and srcset polyfills by @Tofandel in #2430
- Remove deprecated zh, ji, iw and in locales to integrate Weblate (see #2492)
- Bump axios from 0.27.2 to 0.28.0 by @dependabot in #2480
New Contributors
Full Changelog: 3.1.0...3.2.0