From 56a69e572b46a1e3e05f8853126970fe5323b6cf Mon Sep 17 00:00:00 2001 From: Jenkins Date: Thu, 12 Oct 2023 12:38:21 +0000 Subject: [PATCH] TASK: Add changelog for 8.2.7 [skip ci] See https://jenkins.neos.io/job/flow-release/425/ --- .../PartV/ChangeLogs/827.rst | 115 ++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ChangeLogs/827.rst diff --git a/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ChangeLogs/827.rst b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ChangeLogs/827.rst new file mode 100644 index 0000000000..b536c5bd2f --- /dev/null +++ b/Neos.Flow/Documentation/TheDefinitiveGuide/PartV/ChangeLogs/827.rst @@ -0,0 +1,115 @@ +`8.2.7 (2023-10-12) `_ +============================================================================================== + +Overview of merged pull requests +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +`BUGFIX: Add PDO driverOptions `_ +------------------------------------------------------------------------------------------------ + +This allows to pass driver options for the PDO cache backend, e.g. to make use of SSL, like so: + +```yaml +Flow_Session_Storage: + backend: Neos\\Cache\\Backend\\PdoBackend + backendOptions: + dataSourceName: 'mysql:host=%env:DB_HOST%;dbname=%env:DB_NAME%;charset=utf8mb4' + username: '%env:DB_USER%' + password: '%env:DB_PASSWORD%' + cacheTableName: 'cache_session_storage' + tagsTableName: 'cache_session_storage_tags' + driverOptions: + '%PDO::MYSQL_ATTR_SSL_CA%': 'https://cacerts.digicert.com/DigiCertGlobalRootG2.crt.pem' + '%PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT%': false +``` + +* Fixes: `#3157 `_ + + +* Packages: ``Cache`` + +`BUGFIX: Fix `RedisBackend` to allow scheme in hostname `_ +------------------------------------------------------------------------------------------------------------------------- + +The hostname can hold a scheme, that is needed to enable TLS for the connection: + + tls://127.0.0.1 + +or + + tlsv1.2://127.0.0.1 + +This change fixes the overly naive check for a unix socket to allow using a scheme in the hostname together with a custom port. + +**Review instructions** + +Have an TLS enabled Redis (e.g. free tier on upstash.com) and try to connect to it… + + +* Packages: ``Flow`` ``Cache`` + +`BUGFIX: Allow arrays in `replace`-String-Helper `_ +------------------------------------------------------------------------------------------------------------------ + +The ``str_replace`` function allows arrays as arguments to replace multiple words with other words + +### Here is a simple example: +If you have an array to replace i. e. BB-Codes: + +```yaml +Foo: + Bar: + bbCodes: + '[h2]': '

' + '[/h2]': '

' + '[h3]': '

' + '[/h3]': '

' +``` + +You can usethe helper (with my changes) like this: + +```neosfusion +prototype(Foo.Bar:String) < prototype(Neos.Fusion:Value) { + string = '[h2]Hello[/h2][h3]something[/h3]'; + + search = ${Array.keys(Configuration.setting('Foo.Bar.bbCodes'))} + replace = ${Configuration.setting('Foo.Bar.bbCodes')} + + value = ${String.replace(this.string, this.search, this.replace)} +} +``` + +* Resolves: `#3166 `_ + + +* Packages: ``Flow`` ``Eel`` + +`BUGFIX: Fix `ConfigurationManager::setTemporaryDirectoryBase()` for PHP 8+ `_ +--------------------------------------------------------------------------------------------------------------------------------------------- + +Fixes ``ConfigurationManager::setTemporaryDirectoryBase()`` by replacing the use of the `error control operator `_ that leads to a Warning with PHP 8.0+ + +* Fixes: `#3182 `_ + +* Packages: ``Flow`` + +`BUGFIX: 3129 ProxyClassBuilder php 8.0 fix `get_class_methods` `_ +--------------------------------------------------------------------------------------------------------------------------------- + +* Resolves: `#3129 `_ + +**Upgrade instructions** + + +* Packages: ``Flow`` + +`TASK: Fix cache RedisBackend unittest `_ +-------------------------------------------------------------------------------------------------------- + +A test failed due to a missing return value from a method not being mocked (correctly), + + +* Packages: ``Flow`` ``Cache`` + +`Detailed log `_ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~