Releases: roadiz/roadiz
Releases · roadiz/roadiz
Alpha 0.13.0
Upgrade barometer
- DB schema upgrade: new fields on Tag entity to handle children ordering.
- Composer dependencies: requires Symfony Assets component to generate document paths and url.
- Documents generated URL are now relative. Please, add the
absolute: trueflag to the|urltwig filter if you need absolute URL, i.e. for your meta og:image tags.
Major changes
- Added Symfony Assets component to take care of assets URL generation for relative, absolute and CDNized URL.
- Refactored and simplified font-face and font file serving process
- Added
srcsetsupport for images - Added tags sort filters
- Update Solr index triggered after a tag update when it is linked to nodes
- Switch Vagrant environment to PHP 7.0
- Added Mailcatcher to Vagrant provision script to test your email without bloating your mailbox or your coworker’s
- Changed CLI commands naming to look like more like Symfony ones and to be more explicit and atomic.
| Old command | New command |
|---|---|
bin/roadiz cache |
bin/roadiz cache:infos |
bin/roadiz cache -a |
bin/roadiz cache:clear |
bin/roadiz core:sources -r |
bin/roadiz generate:nsentities |
bin/roadiz config -g |
bin/roadiz generate:htaccess |
bin/roadiz core:users -c |
bin/roadiz users:create |
bin/roadiz core:users -D |
bin/roadiz users:delete |
bin/roadiz core:users -d |
bin/roadiz users:disable |
bin/roadiz core:users -E |
bin/roadiz users:enable |
bin/roadiz core:users -R |
`bin/roadiz users:roles --add |
bin/roadiz solr |
bin/roadiz solr:check |
bin/roadiz solr -R |
bin/roadiz solr:reset |
bin/roadiz solr -r |
bin/roadiz solr:reindex |
bin/roadiz core:translations |
bin/roadiz translations:list |
bin/roadiz core:translations --create |
bin/roadiz translations:create |
bin/roadiz core:translations --delete |
bin/roadiz translations:delete |
bin/roadiz core:translations --enable |
bin/roadiz translations:enable |
bin/roadiz core:translations --disable |
bin/roadiz translations:disable |
bin/roadiz core:node-types |
bin/roadiz nodetypes:list |
bin/roadiz core:node-types --list-fields |
bin/roadiz nodetypes:list <Type> |
bin/roadiz core:node-types --create |
bin/roadiz nodetypes:create |
bin/roadiz core:node-types --delete |
bin/roadiz nodetypes:delete |
bin/roadiz core:nodes |
bin/roadiz nodes:list <Optional type> |
bin/roadiz core:nodes --create |
bin/roadiz nodes:create |
bin/roadiz core:nodes --delete |
bin/roadiz nodes:delete |
Minor changes
- Splitted Vagrant provisioning in 3 script to be able to choose what to install.
- Added
backgroundparameter for Vimeo embed player - Fixed uploading fonts files with
application/octet-streammime type - Fixed node search with ENUM fields
- Refactored tag filtering with exclusive flag using inner join loop method
- Refactored all unit-test to boot and shutdown kernel between each test-case
- Improved nestable tree CSS for Rozier theme
- Removed token system for fonts serving, it was expensive and buggy and did not offer so much protection
- Added log messages when node status and visibility changes
- Fixed node search on stack tree pages
- Fixed back-office breadcrumb for unpublished nodes
- Removed Gravatar protocol from URL to enable https in back-office
- Fixed Node and Tag repository’s findBy method when using a limit and an join: using Doctrine’ Paginator
- Use Table for a better CLI output when listing entities.
- Empty result cache after a translation update
Alpha 0.12.1
Hotfixes
- Fixes miscount in some entities due to lacking
countDistinctwithLEFT JOIN. - Added extra parameters for Youtube embeds generator
- Made CLI entry-point available from anywhere
- Some request base url refactoring using
$request->getSchemeAndHttpHost()
Alpha 0.12.0
Big big changes
- Environments
devModeandinstallparameters are no longer used by Roadiz. From now, Roadiz used different entry point for your application to switch between dev mode, install or preview mode. This improvement will ease a lot the development process and make possible to stay in production mode within back-office while being in development mode in front-end. - Installation
Due to environment changes, Roadiz install process has changed a bit. You have to call/install.phpscript to reach the install tunnel.install.phpwill be automatically added after you calledcomposer update. You should have to add your IP address in it to authorize your computer to access install application. - Dev mode
As install mode, development mode is now available from a dedicated entry point:dev.php. this file should be created as soon as you callcomposer updateorinstall, then you just have to add your IP address in it. This environment disables caching and enables debug mode. - Preview
As requested, we totally changed to preview mode behaviour. Now, you won’t be able to see any unpublished nodes unless you use thepreview.phpentry point. Even if you are an authenticated administrator. This is to address a critical issue that could prevent using Roadiz behind a reverse proxy cache or with HTTP cache. So we have to respect the principle that one URL = one resource, even if the user is authenticated. - Caches
To follow the environment changes, cache are now dedicated per environment. So if you want to clear production cache, you should do it from prod environment or usebin/roadiz cache -a --env=prodcommand.
Basically, you’ll find that Roadiz is going to look like more as Symfony for next releases. - Vagrant
We added aVagrantfiledirectly inside Roadiz root, so that you can create a development VM on-the-go. Our Vagrant provisioning script will install a Nginx + PHP-FPM + MariaDB + Solr stack so that you juste have to add your IP address toinstall.phpanddev.phpfiles and hit the road!
Changelog
Some new DB fields have been introduced, so do not forget to update your database schema.
composer update --no-dev -o
bin/roadiz core:sources -r
bin/roadiz orm:schema-tool:update --dump-sql
# check that no data will be corrupted nor deleted
bin/roadiz orm:schema-tool:update --dump-sql --force
bin/roadiz cache -a --env=prodIf you are using Apache Solr with Roadiz, we invite you to reindex your database due to many improvements (#22540a7)
bin/roadiz solr -rMajor
- Refactored Roadiz kernel to extend Symfony HttpKernel
- Added multiple entry points
index.php,dev.php,preview.php,install.php - Refactored Roadiz console application to use
--env=prod|dev|install - Added configuration cache per environment to accelerate bootup
- Refactored every service providers to use
isInstallMode,isDevModeandisDebugkernel methods. - Changed preview behaviour so that even authenticated admins will not see unpublished node unless they use the preview entry point.
- Use centralized Symfony exception catching to render to sad smiley HTML page in all cases.
- Added
Vagrantfileandsamples/provisioning.shto offer a better development environment - Added CSS and JSON NodeTypeField types
- Added XLSX serializers, controllers and route for Nodes
- Added composer post-update script to automatically create
config.yml,dev.phpandinstall.phpfiles - Added tag color field
Minor
dev.phpandinstall.phpare default ignored from git tree to let users create their own, or composer- Added a last step in install to invite user to delete
install.phpfile - Try to remove as much as possible Doctrine usage in container registering
- Changed travis process to match new env install.
- Changed nginx virtual host sample to match new entry points behaviour
- Added
getOrientation()method forDocument - Added Twig SecurityExtension to make
is_grantedfilter available everywhere and HttpFoundationExtension - Added
phonefield toUser - Get rid of
htmleditorto create our own Markdown editor based on CodeMirror, this fixes the 90% CPU issue on Firefox - Fixed tag importation during install process
- Added
getReverseNodesFromFieldNamemethod inNodesSourceHandlerto get reverse nodes already filtered by Translation - Added customizable Font hash for CSS font-family identifier
- Added parameters for youtube & vimeo embed players (autoplay, etc.)
- Fixed Media finder source url building
- Fixed Collection use as array to filters by Tag, Node or Folder in repository
- Refactored theme install command, you can now force data importation, even if theme is already installed. Useful if you are working many on a theme and you need to import node-types changes.
- Added overidable settings value from Theme install
- Added EntityListManager
queryArrayfilter into assignation to ease up integration with static route generators - Uploading SVG without correct xml declaration is possible. Use object syntax when you dont want to inline your SVG
- Added bulk tag delete and first development phase for a real tag widget using jQuery tagEditor
- Added optional tag inclusive search for Solr query
- Improved Solr indexing for tags and markdown
- Removed constraint which prevented importing again Tags and Nodes
- Fine tuned Solr query for single word searchs and added debug log
Alpha v0.11.1
Hotfix
- Fixes Document repository queries when comparing a boolean field without binding a
falsevalue.
Alpha 0.11.0
This release comes before a great Kernel change which will happen in v0.12. We introduce here many bug fixes and some new features, especially about documents. We encourage you to do the upgrade, especially if you plan to upgrade to the future v0.12. Only Git installs are not supported as the automatic upgrade tool can experience some bug with OPCache and database.
Upgrade barometer
This release has new Composer dependencies and some database schema changes.
- This release needs a dependency upgrade, do a
composer update --no-dev -o - Then it needs a database schema update too:
do abin/roadiz orm:schema-tool:update --dump-sql --force(make a backup before!) - And you should have to empty your cache:
bin/roadiz cache -a(notice our new short syntax)
Changelog
Major
- Refactored routing using Symfony CMF ChainRouter
- Fixed debug-panel layout on login, install and back-office
- Removed now useless
MixedUrlMatcher - Added node transtyping to convert a node to another node-type
- Added some custom header to declare if user is authentified or backend-user
- Added a document automatic downscale, storing raw document file for backup
- Added a new CLI command to batch downscale every image documents according to the
maxPixelSizeconfiguration
- Added a new CLI command to batch downscale every image documents according to the
- Added every
booleanfields a DEFAULT value, need a schema update - Added Multi-Geotag node-type field
- Added YAML configuration cache for better performances
- Added multi-tags creation page inside a Tag
Minor
- Adding row parameter to Solr queries
- Updated composer dependencies for Solarium (Solr > 5.1)
- Prevent testing route against node’s url-aliases if there is no url token.
- Improved Subscriber model
- Added short syntax for many CLI commands arguments
- Fixed Locale late initialization when debug-panel is active
- Removed delete node button from contextual menu when node is locked (404 page)
- Added a referer parameter for delete node page.
- Removed document handler method for a clean
postRemoveevent to delete document file. - Added configurable image processing driver and settings from
config.yml. You can use imagick instead of gd. - Added some reverse node references methods
- Added CLI helpers to use Mailer, Translator and Templating from your Commands.
- Changed YAML configuration structure for Service providers and CLI Commands.
- Fixed Publish button on dedicated node-tree page
- Added Memcached driver support for Doctrine
Alpha 0.10.1
Hotfix
This release fixes some incompatibilities with PostgreSQL databases.
- Fixed orphan documents query for pgsql
- Fixed latestUsedNodeSources query for pgsql #169
Alpha v0.10.0
Database migration
ALTER TABLE node_type_fields ADD group_name VARCHAR(255) DEFAULT NULL;
CREATE INDEX IDX_1D39235977792576 ON node_type_fields (group_name);Changelog
Major
- Added theme installer and importer in back-office
- Added Remember me feature for back-office login
- Added SVG support for documents
- Fixed Youtube API and https protocol for Vimeo (Youtube documents need API key now)
- Added Publish offspring feature to publish a node and all its children recursively
- Added folder-tree inside document-explorer, at last!
- Node-explorer can be filtered by node-type using default values field
- Prevent Doctrine logger handler to throw exceptions (evil loop)
- Added
ContactFormManagerto ease and clean contact form creations (former method is now deprecated), see the doc for more details http://docs.roadiz.io/en/develop/developer/forms/contact_forms.html - Added reCaptcha feature for
ContactFormManager(requires an API key from reCaptcha) - Added
ForceResponseExceptionto stop Twig rendering and create a new response from a BlockController - Removed automatic join on default translation for Node. This prevented to display nodes in back-office if they weren’t translated with default language.
- Added Ukrainian translations thanks to Павло Тимошенко’ hard work (https://vk.com/pavlo_tumosh)
- Added node-type fields
groupsto dispatch fields into tabs in source edit page.
Minor
- Improved Nginx and Apache configuration examples
- Added Unused documents page
- Improved node-explorer and document-explorer
- Various internal refactoring to reduce dependency on
Kernelsingleton. - Fixed a problem which prevented documents, nodes and custom-forms to be unlinked from their widget right after adding them.
- Doctrine cache providers are now configurable in
config.yml - Fixed Facebook image, requires now the user ID and not its username
- Splitted user edit page in two distinct forms
- Enabled static domain name on fonts requests and Intervention images request
- Added loop parameter for Vimeo embed iframes
- Improved debug-panel layout (requires manual update for CSS in your themes)
- Fixed back-office buttons layout issues with hover/focus state
- Use CSS
autoprefixerto lighten back-office compiled styles - Configurable Remember-me cookie lifetime
- Improved Reset password email template
Alpha v0.9.3
Hotfix
- Fixed Youtube embedder compatibility using API v3 instead of deprecated v2. You’ll need to fill a
google_server_idsetting from your Google developer console.
Alpha v0.9.2
Hotfix
- Fixed deprecated code for
UserCommandquestions.
Alpha v0.9.1
Hotfix
- Fix
force_localesetting behaviour with static and localized routes.