7.0.13 (2022-03-15)

Overview of merged pull requests

TASK: Fix some psalm complaints, update baseline

null

TASK: Return 400 response when HMAC validation fails

When HMAC validation fails during request processing, the controller will return a response with a status code of 400, as that is caused by a bad request. The exception is logged with a notice to the log, to aid in debugging errors

Previously the uncaught exception would cause a status 500 response and log a critical error.

BUGFIX: Documentation fix follow up to #1108 and #2638

related #1108 related #2638

Concerning: Neos.Flow.error.exceptionHandler.renderingGroups.{exampleGroup}.options

include the overseen options:

viewClassName, and viewOptions

mark the legacy options as @deprecated and show alternative

  • Packages: Flow

TASK: Update vimeo/psalm 4.9.3 to 4.22.0

null

  • Packages: Flow

TASK: Improve ThrowableStorage docblocks

This clarifies the use of logThrowable() from ThrowableStorage and ThrowableStorageInterface.

BUGFIX: Use custom error view for rendering group independent of the configuration ‘templatePathAndFilename’

resolves: #1108

previously, a custom error view is for rendering groups only used if templatePathAndFilename is set. * See: #1108

A custom view will now be used if … - … there is a matching rendering group (no further checks. It could be also a rendering group with empty options (no viewClassName or viewOptions) … what would then trow an error probably - depending on the view) - … defaultRenderingOptions.templatePathAndFilename passes isset() (to not change previous working behaviour - should get depreceated sometime)

  • [x] Code follows the PSR-2 coding style

  • [x] Tests have been created, run and adjusted as needed

  • [x] The PR is created against the lowest maintained branch

  • Packages: Flow

BUGFIX: Correctly adjust Cache-Control in makeStandardsCompliant()

  • Fixes: #2625

  • Packages: Flow

BUGFIX: Clear stat cache when checking for directory

Makes sure the check does not use potentially outdated information.

  • Fixes: #2670

  • Packages: Files

BUGFIX: Use __toString for resolving value in DynamicRoutePart

When resolving values for a route via DynamicRoutePart, object are only being looked up in the persistence manager.

With this change, we honour if a identifier is found, and if not, we look at the object to see, if it has a __toString method available, to give us a value.

This is backward compatible, since we respect the identifier, if given at first

Reolves #2658

BUGFIX: Correct check on cache file write success

BUGFIX: Don’t access uninitialized property in Debugger

  • Fixes: #2664

  • Packages: Flow

BUGFIX: Fix rendering of release notes

null

  • Packages: Flow

Detailed log