Typo3 Console: 5.4.0 Release

Release date:
June 19, 2018
Previous version:
5.3.2 (released June 14, 2018)
Magnitude:
277 Diff Delta
Contributors:
1 total committer
Data confidence:
Commits:

Top Contributors in 5.4.0

helhum

Directory Browser for 5.4.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Features

Improved TYPO3 setup

The complete setup process has been rewritten from scratch. Most apparently the output is now more compact and looks nicer.

asciicast

What you can also grasp from the terminal cast above, is that it is now possible to hand over all argument for the setup process as environment variables.

Here is the complete list of default environment variables:

  • TYPO3_INSTALL_DB_USER
  • TYPO3_INSTALL_DB_PASSWORD
  • TYPO3_INSTALL_DB_HOST
  • TYPO3_INSTALL_DB_PORT
  • TYPO3_INSTALL_DB_UNIX_SOCKET
  • TYPO3_INSTALL_DB_USE_EXISTING
  • TYPO3_INSTALL_DB_DBNAME
  • TYPO3_INSTALL_ADMIN_USER
  • TYPO3_INSTALL_ADMIN_PASSWORD
  • TYPO3_INSTALL_SITE_NAME
  • TYPO3_INSTALL_SITE_SETUP_TYPE

Just like in previous versions, if you use the --no-interaction flag, only required arguments need to be set. For all optional arguments the default values will be used then.

Last but not least, the whole setup process is now defined in a Yaml file. This means adding new arguments or even completely new steps is a matter of changing configuration.

Overriding the default configuration file is possible by providing the path to your own file with the TYPO3_INSTALL_SETUP_STEPS environment variable. In this file you can decide to either import the default configuration and amend it to fit your needs (e.g. using different environment variables names or even hard code know values), or create a completely customized setup workflow, or even run different setup steps in different scenarios.

We are very much looking forward to what you are going to build with this feature.

Deprecations

  • The CommandDispatcher::createFromComposerRun() API changed, so that the first Composer event argument is obsolete. Passing it anyway will continue to work, but is deprecated.

Further changes

The full change log can be examined on Github The extension can be found at the TER release page.