Skip to content

Releases: area17/twill

Twill 2.8.0

19 Apr 12:54
Compare
Choose a tag to compare

Twill 2.8.0 is a non-breaking release bringing a lot of cool new features, fixes, and improvements.

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. 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

  • Laravel 9 support #1243
  • Added option to disable repeater sorting #1541
  • Added support for connectedBrowserField when using browsers #1400
  • Allows media fields to use wysiwyg #1540
  • Twill composer packages #1446
  • Url field type #1514
  • Browsers are now supported by connected fields #1399
  • Added Twill block classes to support block render data, validation and more #1421
  • Repeaters and blocks are now updated instead of recreated #1431
  • Improved translatable fields validations 1411

Fixed

  • Improved language label display #1592
  • Fixed regression in translatable settings #1598
  • Fixed capsule database path #1583
  • Fixed activity log morph size #1565
  • Changed activity log morph size to bigInt #1565
  • Fixed leftover array accessor on capsule object #1574
  • Fixed small visual issue with long labels #1566
  • Fixed MorphMany saving #1460
  • Reverted change that throws exception when crops are missing #1535
  • Fixed issue that would cause undefined index when using octane #1549
  • Fixed bug in singleton generator when using plural name #1551
  • Fixed regression for resources in capsules and packages #1552
  • Fixed Glide url without scheme #1545
  • Fixed regression with repeaters in updated block system #1518
  • Fixes visual issue when using limitHeight on a wysiwyg field #1509
  • When refreshing crops, block crops are now included #1517
  • Update Refresh Crops command to take in consideration the MorphMap #1485
  • Get image size from uploaded file instead of stored file #1412
  • Fix unauthenticated user 500 error when using custom error handler #1449
  • Fix exception for missing repository in related browser #1405
  • Do not show changed dialog when content is identical #1359
  • Improved performance when many fields/languages are used #1350

Docs

  • Added more guides #1473
  • Small improvement to the install documentations #1569
  • Improved custom page documentation #1548
  • Improved config documentation #1537
  • Added documentation on how to use custom icons #1538

New Contributors

Returning contributors

Full Changelog: 2.7.0...2.8.0

Twill 2.8.0-rc.2

08 Apr 11:02
Compare
Choose a tag to compare
Twill 2.8.0-rc.2 Pre-release
Pre-release

Added

  • Added option to disable repeater sorting #1541
  • Added support for connectedBrowserField when using browsers #1400

Fixed

  • Changed activity log morph size to bigInt #1565
  • Fixed leftover array accessor on capsule object #1574
  • Fixed small visual issue with long labels #1566
  • Fixed MorphMany saving #1460

Docs

  • Small improvement to the install documentation #1569

New Contributors

Contributors

Full Changelog: 2.8.0-rc.1...2.8.0-rc.2

Twill 2.8.0-rc.1

01 Apr 10:48
Compare
Choose a tag to compare
Twill 2.8.0-rc.1 Pre-release
Pre-release

Added

  • Allows media fields to use wysiwyg #1540

Fixed

  • Reverted change that throws exception when crops are missing #1535
  • Fixed issue that would cause undefined index when using octane #1549
  • Fixed bug in singleton generator when using plural name #1551
  • Fixed regression for resources in capsules and packages #1552
  • Fixed Glide url without scheme #1545

Docs

  • Improved custom page documentation #1548
  • Improved config documentation #1537
  • Added documentation on how to use custom icons #1538

New Contributors

Full Changelog: 2.8.0-beta.2...2.8.0-rc.1

Twill 2.8.0-beta.2

15 Mar 14:20
Compare
Choose a tag to compare
Twill 2.8.0-beta.2 Pre-release
Pre-release

Added

  • Twill composer packages #1446
  • Url field type #1514
  • Browsers are now supported by connected fields #1399

Fixed

  • Fixed regression with repeaters in updated block system #1518
  • Fixes visual issue when using limitHeight on a wysiwyg field #1509
  • When refreshing crops, block crops are now included #1517

Full Changelog: 2.8.0-beta.1...2.8.0-beta.2

Twill 2.8.0-beta.1

03 Mar 21:22
8b016ae
Compare
Choose a tag to compare
Twill 2.8.0-beta.1 Pre-release
Pre-release

Added

  • Laravel 9 support #1243
  • Twill block classes to support block render data, validation and more #1421
  • Repeaters and blocks are now updated instead of recreated #1431
  • Improved translatable fields validations 1411

Fixed

  • Update Refresh Crops command to take in consideration the MorphMap #1485
  • Get image size from uploaded file instead of stored file #1412
  • Fix unauthenticated user 500 error when using custom error handler #1449
  • Fix exception for missing repository in related browser #1405
  • Do not show changed dialog when content is identical #1359
  • Improved performance when many fields/languages are used #1350

Documentation

  • Added more guides #1473

Full Changelog: 2.7.0...2.8.0-beta.1

Twill 2.7.0

25 Feb 17:45
Compare
Choose a tag to compare

Twill 2.7.0 is a non-breaking release bringing a lot of cool new features, fixes, and improvements.

Special credits go to @haringsrob for his amazing work during the past few months! ❤️

Much more to come with Twill 2.8.0, with Laravel 9 support, which we're going to tag a beta for next week, and Twill 3.0, which is already well underway, as you can see for yourself in our new public roadmap powered by the amazing GitHub Projects features.

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. 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

  • When in debug mode and a crop is missing an exception will be shown #1351
  • When admin account creation failed, and error is now shown #1114
  • Add an option to set $controlLanguagesPublication in the listing layout that can be used to disable language
    publication controll in the create modal #1468
  • You can now control the revision label from the revisionsArray method on the model #1467
  • Validations can now be created for repeaters #1156
  • Max amount of repeaters can now be set from the field rather than the repeater itself #1433
  • Added an option to automatically seed singletons #1456

Fixed

  • Fixed regression where slugs were not checked if unique #1381
  • Repeater Collapse All only works once #1330
  • Ensure correct button messages when skipping modal on new content creation #1324
  • Allow media to be deleted when used model is removed #1160
  • Ensure default values are set for radios in the vuex store #1100
  • Ensure LQIP data is always available #1352
  • Add typecasting to select dropdown for settings support #1203
  • Move development specific autoload components #1391
  • Repeaters no longer expand when adding a new item #1461
  • Notes are now rendered in media fields #1443
  • When updated_at is empty, it now falls back to the created_at timestamp #766
  • When cloning a block, the new block is dereferenced from the original #1410
  • Improved content scheduling #1307
  • Fixed 500 error if google analytics data is empty #1470
  • Fixed not all Translations were loaded within editInModal #1469
  • Improved missing "disabled" implementations for various fields #836

Documentation

  • Added documentation for permalinks #903 #1092
  • Added documentation for custom media metadata #1031
  • Added documentation for singleton modules #1231
  • Added guide on how to customize the create modal #1436
  • Improved documentation for field grouping #1214
  • Added documentation for side fieldsets #1420
  • Added documentation for the tags field #1375

Translations

  • Added Arabic translations #1323
  • Added Bosnian translations #1374
  • Updated czech translations #1466

New Contributors

Full Changelog: 2.6.0...2.7.0

Twill 2.6.0

21 Dec 10:04
e5c3647
Compare
Choose a tag to compare

Twill 2.6.0 is a non-breaking release bringing a lot of cool new features, fixes and improvements, especially for developers:

  • we introduced new Artisan commands, and new options were added to existing commands:

    • twill:make:singleton will help you with standalone forms that can use all Twill modules features. They are a great replacement for sometimes lacking settings pages.
    • the new --hasNesting option of the modules CLI will fully configure self-nested modules for you. No more snippets to copy and paste from the docs.
    • twill:refresh-crops can apply your new mediasParams configuration so that your crops are immediately available without using the CMS UI.
  • to render images, we added support for TwicPics. They are an amazing French-based alternative to Imgix that you can try through their free plan which offers up to 3GB of CDN bandwidth, with unlimited master images and transformations.

  • our documentation site has been separated into individual pages for better browsability and is now leveraging a couple more features from VuePress to improve collaboration. We hope this is a helpful change alongside all the new additions. More to come!

  • Turkish translations were added, and German and Italian translations were updated by our amazing contributors!

  • and a ton more fixes and improvements, check out the full changelog below!

Thank you to all our contributors and community members for their amazing support this year! We hope you all have a great end of 2021, see you in 2022! 🚀

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. 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

  • Artisan command twill:make:singleton to generate single-record modules #1178
  • Option --hasNesting to generate self-nested modules #1140 #1222
  • Artisan command twill:refresh-crops to generate missing crops #1289 8b1e4f6d
  • TwicPics image service #1217 ce15c4a5
  • Turkish language support #1134
  • Support for translated permalinks in the title editor #1092
  • Support for capsule service providers #1212
  • Auto detect latitude-longitude value in location field #1275 #1170
  • Adds the ability to display an indexColumn selected from a relatedBrowser #1302

Fixed

  • Support attribute casting on model and translations with JSON field groups #1151
  • Support dynamic repeater titles with JSON repeaters #1171
  • Fix admin HTTP exception views detection #1213
  • Prevent conflicts with built-in Vue component names #1164
  • Add fallback to capsule model in permalink base #1216
  • Add doctrine/dbal 3.0 support #1226
  • Ensure capsule autoloading when config is cached #1242
  • Fix edit link feature regression in Quill WYSIWYG #1270
  • Remove references to deprecated Symfony class #1269
  • Prevent undefined route errors in IconsController #1268
  • Fix typo in twill:capsule:install command #1290
  • Initialize undefined crops in cropper UI using first available ratio #1258
  • Fix byKey() setting query when passing section argument #1303
  • Remove duplicate test stub class #1311
  • Fix destroy action on single nested items #1304
  • Prevent multiple AJAX requests in Block Editor previews #1282
  • Fix singleton routing for primary and secondary navigation support #1325
  • Use case insensitive like operator in filterHandleTranslations for PostgresSQL support #1322

Improved

  • Update routes mapping order to allow overrides #1133
  • Handle many-to-many relations in index columns #1174
  • Add capsule_repository_prefix configuration #1209
  • Support custom port in dev_mode_url configuration #1163
  • Support additional table actions in module listing #1202
  • Show red input count only if above 90% capacity #1237
  • Collapse repeater blocks on page load #1296
  • Update nested module count pluralisation #1251
  • Support titleKey parameter in relatedBrowsers configuration #1301
  • Update HasSlug to use Eloquent instead of DB facade #1309
  • Update german translations #1235
  • Update italian translations #1312
  • Update docblock annotations #1167
  • Update documentation #1165 #1244 #1236
  • Add pagination and a few more quality of life updates to the documentation #1131

Chores

  • Update npm dependencies in documentation 377e5e0
  • Bump axios from 0.21.1 to 0.21.2 #1327

New Contributors

Full Changelog: 2.5.2...2.6.0

Twill 2.5.3

01 Dec 21:42
Compare
Choose a tag to compare

Twill 2.5.3 is addressing a security vulnerability flagged on huntr.dev: a logout could be triggered from an external link, which is more an annoyance for users than a true security concern. Still important to fix, which we did!

Stay tuned for Twill 2.6.0 in the next couple of days! You can review what's upcoming in our changelog or test it using 2.x-dev in your composer.json.

Fixed

Twill 1.2.5

01 Dec 21:36
Compare
Choose a tag to compare

Twill 1.2.5 is backporting a fix introduced in 2.5.3, which is addressing a security vulnerability flagged on huntr.dev: a logout could be triggered from an external link, which is more an annoyance for users than a true security concern. Still important to fix, which we did!

Fixed

Twill 2.5.2

16 Sep 23:15
Compare
Choose a tag to compare

Fixed

  • 🚨 Fix XSS security vulnerability #1157 2dd77b15
  • Hydrate related browsers on preview #1130
  • Use configured namespace when generating model class in repository 80e1b590
  • Translation key typo on the dashboard c630d0d1

Improved

  • Call view:clear when updating assets with twill:update c5b96010
  • Add security policy file 55b2dfd63