Flextype v0.9.7 Release Notes
Release Date: 2020-03-03 // about 4 years ago-
๐ Features
core: add Delivery API's for Entries, Images and Registry. #159
๐ Use Flextype as a Headless CMS with the full power of the Admin Panel.
๐ Build a Websites and Apps with a technology you are familiar with.Endpoints for Delivery API's:
/api/delivery/entries /api/delivery/images /api/delivery/registry
core: add new core constants
PATH['tokens']
,PATH['accounts']
,PATH['logs']
,PATH['uploads']
core: add new locales support Persian, Indonesian, Galician #327
core: add alternative comparison syntax for Entries API
Alternative comparison syntax:
!= - Not equals to like - Contains the substring
core: set entries field
routable
=true
on new entry creation #320core: use
array_merge()
instead ofarray_replace_recursive()
for entries update method.core: initialize plugins before themes #323
core: update Cache to use adapter to retrieve driver object #341
core: load Shortcodes extensions based on
flextype.shortcodes.extensions
array #352core: load Twig extensions based on flextype.twig.extensions array #351
core: add new Global Vars
PATH_ACCOUNTS
,PATH_UPLOADS
,PATH_TOKENS
,PATH_LOGS
for Twig.0๏ธโฃ default-theme: Moving to Tailwind CSS from Twitter Bootstrap #356
๐ site-plugin: add ability to set custom site url, new shortcode
[site_url]
and twig var{{ site_url }}
๐ form-plugin: add new Form plugin for forms handling instead of core Forms API.
๐ icon-plugin: add new Icon plugin for Font Awesome icons set.
usage in templates:
<i class="icon">{{ icon('fab fa-apple') }}</i>
usage in entries content:
[icon value="fab fa-apple"]
๐ (site-plugin): add ability to access
uri
variable in the theme templates.usage in templates:
{{ uri }}
๐ admin-plugin: add RTL support for URLs #62
๐ /site/config/plugins/admin/settings.yaml
... entries: slugify: true # set `false` to disable slugify for entries
๐ admin-plugin: add ability to deactivate/activate all type of plugins. #211
๐ admin-plugin: add Confirmation Required modal for system plugins deactivation.
๐ admin-plugin: new Admin Panel UI with better UX and powered by Tailwind CSS.
๐ admin-plugin: new improved entries media manager page.
๐ admin-plugin: add ability to continue editing after saving in the editor.
๐ admin-plugin: add action
onAdminThemeTail
for admin panelbase
layout.๐ admin-plugin: add ability to change entries view from
list view
totable view
.๐ /site/config/plugins/admin/settings.yaml
... entries: items_view_default: list # set `table` for table entries view
๐ admin-plugin: increase upload limit for
_uploadFile
from 3mb to 5mb๐ admin-plugin: do not rewrite plugins and themes manifest with custom manifests.
๐ admin-plugin: add parsleys for frontend form validation.
๐ admin-plugin: add select2 for all select form controls.
๐ admin-plugin: add swal for all modals.
๐ admin-plugin: add flatpickr for date and time.
๐ admin-plugin: add tippy.js for all tooltips and dropdown menus.
๐ admin-plugin: add confirmation modals powered by swal for all critical actions.
๐ admin-plugin: add dim color for entries with
draft
,hidden
androutable
=false
status #324๐ admin-plugin: add ability to select entry type in the nice modal on entry creation. #331
๐ admin-plugin: add new setting
entries.items_view_default
with default valuelist
.๐ admin-plugin: add ability for redirect to the editor after creating #343
๐ admin-plugin: add ability to create default API tokens on installation process.
๐ admin-plugin: add ability to use local SVG version of Font Awesome Icons #322
usage in templates:
<i class="icon">{{ icon('fas fa-ellipsis-h') }}</i>
๐ Bug Fixes
- core: fix discord server link #325
- core: fix issue with system fields data types in the Entries API #383
- ๐ admin-plugin: fix issue for creating entry process with same IDs #333
- ๐ admin-plugin: fix redirect for entries after edit process.
- ๐ admin-plugin: fix issues with routable field on entry edit process.
๐จ Refactoring
- core: move
/site/cache directory
to the/var/cache
#347 - core: remove Forms API from Flextype core #360
- ๐ admin-plugin: improve Gulp configuration for better assets building.
- 0๏ธโฃ default-theme: improve Gulp configuration for better assets building.
- core: simplify logic for themes initialization process, remove extra checks for theme setting is
enabled
or not. - ๐ admin-plugin: move templates from
views
folder into thetemplates
folder #347 - ๐ admin-plugin: remove unused namespaces in EntriesContoller #347
- ๐ admin-plugin: remove complex logic for themes activation process.
- ๐ admin-plugin: add
ext-gd
to the require section of composer.json #347 - ๐ admin-plugin: add
ext-fileinfo
to the require section of composer.json #347 - ๐ admin-plugin: add
ext-dom
to the require section of composer.json #347 - ๐ admin-plugin: add
ext-spl
to the require section of composer.json #347 - 0๏ธโฃ default-theme: remove
enabled
option from theme settings.
โก๏ธ Vendor Updates
- core: Update vendor monolog/monolog to 2.0.2
- core: Update vendor cocur/slugify to 4.0.0
- core: Update vendor thunderer/shortcode to 0.7.3
- core: Update vendor ramsey/uuid to 3.9.2
๐ฅ BREAKING CHANGES
core: accounts moved to their specific folders.
for e.g.
/accounts/admin.yaml => /accounts/admin/profile.yaml
core: remove Debug, Html and Form Flextype Components.
core: all images links should be updated
http://docs.flextype.org/en/content/media
core: core and plugin settings keys renamed
For all core settings: settings.* => flextype.* For all site settings: settings.title => plugins.site.title settings.description => plugins.site.description settings.keywords => plugins.site.keywords settings.robots => plugins.site.robots settings.author.email => plugins.site.author.email settings.author.name => plugins.site.author.name
๐ admin-plugin: remove Twitter Bootstrap from Admin Panel and Default Theme.
๐ admin-plugin: remove user profile page
/admin/profile
๐ admin-plugin: method
getUsers()
renamed togetUsersList()
in UsersController.โก๏ธ Update from Flextype 0.9.6 to Flextype 0.9.7
- Backup your Site First!
- ๐ Read BREAKING CHANGES release section!
- Download flextype-0.9.7.zip
- ๐ป Unzip the contents to a new folder on your local computer.
- โ Remove on your server this folders and files:
- /flextype/
- /vendor/
- /site/accounts/
- /site/config/
- /site/cache/
- /site/plugins/admin/
- /site/plugins/site/
- /site/themes/default/
- /index.php
- Upload on your server this folders and files:
- /flextype/
- /vendor/
- /site/plugins/admin/
- /site/plugins/site/
- /site/plugins/icon/
- /site/plugins/form/
- /site/themes/default/
- /index.php
- ๐ป Clear browser cache!
- Go to YOUR_SITE_URL/admin url and create new user account.
โ Flextype 0.9.7 (1463 commits and more than 400h for development and testing!)