4.1.1 (2017-06-20)

Overview of merged pull requests

BUGFIX: Add handling of HTTP HEAD-request with curl

Extended CurlEngine for request-type HEAD to set the option to not expect a body.

resolves #992

TASK: Better message on missing runtime expression

This improves the error message on missing AOP runtime expressions just a little.

TASK: Add missing documentation for trait introduction

Trait introduction is available since some time, but it was never documented. This change adds a short explanation with a code example to fix that.

TASK: Throw error if package exists two times

Without this change a package (defined by composer name eg. “neos/party”) that exists two times in the installation would be silently ignored and added with the second path found. This could still result in strange effects happening as autoload and Flow internal paths (configuration, resources) could diverge.

With this change an exception is thrown when the package states are resolved and a package is found a second time.

Fixes: #611

BUGFIX: Trait AOP works when only introduces traits to class

When introducing a trait using AOP it now works if the class only has traits introduced via AOP.

BUGFIX: Check for link in unpublishFile()

unpublishFile() in the FileSystemTarget does not remove symlinks correctly, thus the method is adjusted in the FileSystemSymlinkTarget to check using is_link() instead of file_exists().

Fixes #972

TASK: Remove TYPO3 and TypoScript uses from code

Changes some package names used in a test and a comment in a class to no longer mention TYPO3, TypoScript or TYPO3CR.

  • Packages: Flow

TASK: Improve documentation on Configuration and Installation

Have Add a note to chapter «Installation» and change the sequence in chaper «Configuration» for better usable/find the context-part, not to skip because of note I moved this to the end and add more subtitle about context for better SERP-Result.

More Details about the reason in slack-channel «guilde-documentation»

(Second try: Sorry)

  • Packages: Flow

BUGFIX: FileSystemTargetTest shouldn’t have side effects

The test would create a Flow package in the current installation as the package manager in the test was not prepared with a virtual filesystem.

TASK: Adjust schema of routes configuration

Previously the route parts were evaluated correct regardless of the configured keys because the schema used the configuration additionalAttributes = FALSE instead of additionalProperties = FALSE. This is fixed and the schema is updated

  • validate the keys in route parts strictly
  • allow configuration of objectType and uriPattern ` instead of `handler
  • allow options and toLowerCase for all routeParts
  • [x] Code follows the PSR-2 coding style
  • [ ] Tests have been created, run and adjusted as needed
  • [x] The PR is created against the [lowest maintained branch](https://www.neos.io/features/release-roadmap.html)

BUGFIX: ConfigurationManager should never have empty configuration

Custom configuration types of processing type settings could break the compile process as the array wouldn’t have the custom configuration name as key set because it was never initialized in this processing type.

This change initializes any configuration type with an empty array in the beginning and provides a test to proof the behavior.

Fixes: #934

  • Packages: Flow

TASK: Fix error message to correctly refer to composer.json

This misleading message was introduced in a0a1453d87053e2c17b954804c61c5c03fa00c89 due to too much javascript work being done.