Navigation Menu

Skip to content

v7.0.0

Compare
Choose a tag to compare
@aguingand aguingand released this 03 Jan 15:21
· 1347 commits to main since this release

Features

  • Markdown / wysiwyg
    • new editor based on Tiptap, Trix and simpleMDE were dropped
    • Upload / embed is allowed for both, and generally they share the same featureset
  • Uploads
    • filters are stored separately
    • allow to store original image + generate cropped image afterward (or not, see transformOriginal attribute)
  • New Command return type: streamDownload
  • PageAlert (on EntityLists, Shows, Forms and Command Forms): a templated global message

DX enhancements

  • Easier and more consistent way to configure EntityLists, Forms, Shows, Dashboards, Commands and Filters, with a common buildConfig() method and a configure prefix for all concerned functions
  • EntityLists / Dashboards / EntityCommands: the $params attribute is now accessible on all methods (except buildConfig())
  • EntityLists / Shows: easier and more consistent way to declare Commands and Filters
  • New command API (instance, entity, dashboard): allow to access $params + use class as key (less verbose, easier testing)
  • EntityLists: new dedicated function for XS cols layout
  • New API for Menu builder
  • New API for entities (less lines in config/sharp.php files!)

Launch posts with more info + screenshots on these:

And for all the details, see the migration guide:

https://sharp.code16.fr/docs/guide/upgrading/7.0.html